Changes

Jump to navigation Jump to search
group triggers/actions/players into a 'valid values' section
Line 47: Line 47:  
Remember that quotes and backslashes inside JSON strings need to be escaped too. For example, <code>"AddFriendshipPoints \"Mister Qi\" 10"</code> will send <code>AddFriendshipPoints "Mister Qi" 10</code> to the game code. Alternatively, you can use single-quotes for the JSON string instead, like <code>'AddFriendshipPoints "Mister Qi" 10'</code>.
 
Remember that quotes and backslashes inside JSON strings need to be escaped too. For example, <code>"AddFriendshipPoints \"Mister Qi\" 10"</code> will send <code>AddFriendshipPoints "Mister Qi" 10</code> to the game code. Alternatively, you can use single-quotes for the JSON string instead, like <code>'AddFriendshipPoints "Mister Qi" 10'</code>.
   −
==Triggers==
+
==Valid values==
 +
===Triggers===
 
The game has one built-in trigger which can be used in the <samp>Trigger</samp> field. (Other custom triggers may be [[#For C# mod authors|added by C# mods]].)
 
The game has one built-in trigger which can be used in the <samp>Trigger</samp> field. (Other custom triggers may be [[#For C# mod authors|added by C# mods]].)
   Line 59: Line 60:  
|}
 
|}
   −
==Actions==
+
===Actions===
 
These are the built-in actions which can be used in the <samp>Actions</samp> field. (Other custom actions may be [[#For C# mod authors|added by C# mods]].)
 
These are the built-in actions which can be used in the <samp>Actions</samp> field. (Other custom actions may be [[#For C# mod authors|added by C# mods]].)
   Line 134: Line 135:  
|}
 
|}
   −
==Common values==
   
===Target player===
 
===Target player===
 
Some conditions have a {{t|player}} argument. This can be one of...
 
Some conditions have a {{t|player}} argument. This can be one of...
translators
8,446

edits

Navigation menu