Changes

33 bytes removed ,  00:59, 16 December 2018
m
→‎Dialogue commands: currently working on a mod and using this page as reference, looked through the code and it just calls Game1.random which is solely derived from the time and date.
Line 249: Line 249:  
|-
 
|-
 
| <tt>$c {{t|probability}}#{{t|text1}}#{{t|text2}}</tt>
 
| <tt>$c {{t|probability}}#{{t|text1}}#{{t|text2}}</tt>
| Show {{t|text1}} with a {{t|probability}} between 0 and 1; otherwise, show {{t|text2}}.  E.g. <code>$c 0.9</code> for a 90% chance of {{t|text1}} and a 10% chance of {{t|text2}}.  NOTE: Replacer commands (see below) do not work in {{t|text1}}. This does not need to be the first command in a dialogue string. Unsure how daily luck affects the chance of dialogue, if at all.
+
| Show {{t|text1}} with a {{t|probability}} between 0 and 1; otherwise, show {{t|text2}}.  E.g. <code>$c 0.9</code> for a 90% chance of {{t|text1}} and a 10% chance of {{t|text2}}.  NOTE: Replacer commands (see below) do not work in {{t|text1}}. This does not need to be the first command in a dialogue string. It is unaffected by daily luck.
 
|-
 
|-
 
| <tt>$d {{t|bus|joja|cc}}</tt>
 
| <tt>$d {{t|bus|joja|cc}}</tt>
1

edit