Changes

Jump to navigation Jump to search
39 bytes added ,  03:35, 19 April 2021
m
no edit summary
Line 15: Line 15:     
==Event preconditions==
 
==Event preconditions==
Each event has a key which includes an event ID and any preconditions. Event IDs are a max of 10 digits, with a maximum value of 2147483647 (based on the game coding). '''We recommend using something such as the last four digits of your Nexus user ID as the beginning of your event ID and then a further four numbers for each event.'''  As an example, a user ID of <code>51777556</code> would have event numbers of <code>75560001</code>, <code>75560002</code>, etc.  When you are ready to publish, use the four digit mod ID you get from Nexus (found in the mod page URL) as the prefix instead.  If uploading to Moddrop or another site instead, adjust according to the number of digits found in that site's IDs.
+
Each event has a key which includes an event ID and any preconditions. Event IDs are a max of 10 digits, with a maximum value of 2147483647 (based on the game coding). '''We recommend using something such as the last four digits of your Nexus user ID as the beginning of your event ID and then a further four numbers for each event. (To prevent clashing with other mods) '''  As an example, a user ID of <code>51777556</code> would have event numbers of <code>75560001</code>, <code>75560002</code>, etc.  When you are ready to publish, use the four digit mod ID you get from Nexus (found in the mod page URL) as the prefix instead.  If uploading to Moddrop or another site instead, adjust according to the number of digits found in that site's IDs.
    
Event preconditions include any number of the following arguments (separated by <tt>/</tt>). For example, Clint's Saloon heart event preconditions are <code>97/f Clint 750/t 1900 2300/d Tue Wed Thu Fri Sat Sun</code>, which (per the tables below) means ''event #97, requires 3 hearts with Clint, between 7pm and 11pm on Monday''.
 
Event preconditions include any number of the following arguments (separated by <tt>/</tt>). For example, Clint's Saloon heart event preconditions are <code>97/f Clint 750/t 1900 2300/d Tue Wed Thu Fri Sat Sun</code>, which (per the tables below) means ''event #97, requires 3 hearts with Clint, between 7pm and 11pm on Monday''.
2

edits

Navigation menu