Changes

Jump to navigation Jump to search
→‎Elsewhere: fix typo, tweak capitalization for consistency
Line 210: Line 210:  
<li>A [[Modding:Dialogue|dialogue string]] using the <samp>$action</samp> command. For example:
 
<li>A [[Modding:Dialogue|dialogue string]] using the <samp>$action</samp> command. For example:
 
<syntaxhighlight lang="js">
 
<syntaxhighlight lang="js">
"Mon": "Hi there! Here's 10g and a parsnip, don't spend it all once.#$action AddMoney 10#$action AddItem (O)24"
+
"Mon": "Hi there! Here's 10g and a parsnip, don't spend it all at once.#$action AddMoney 10#$action AddItem (O)24"
 
</syntaxhighlight></li>
 
</syntaxhighlight></li>
    
<li>An [[Modding:Event data|event script]] using the <samp>action</samp> command. For example:
 
<li>An [[Modding:Event data|event script]] using the <samp>action</samp> command. For example:
 
<syntaxhighlight lang="js">
 
<syntaxhighlight lang="js">
"{{ModId}}_Event": "continue/64 15/farmer 64 16 2 Abigail 64 18 0/pause 1500/speak Abigail \"Hi. Here's 10g and a parsnip.\"/action AddMoney 10/Action AddItem (O)24/pause 500/end"
+
"{{ModId}}_Event": "continue/64 15/farmer 64 16 2 Abigail 64 18 0/pause 1500/speak Abigail \"Hi. Here's 10g and a parsnip.\"/action AddMoney 10/action AddItem (O)24/pause 500/end"
 
</syntaxhighlight></li>
 
</syntaxhighlight></li>
  
translators
8,438

edits

Navigation menu