Open main menu
Home
Random
Log in
Settings
About Stardew Valley Wiki
Disclaimers
Stardew Valley Wiki
Search
Changes
← Older edit
Newer edit →
Modding:Dialogue
(view source)
Revision as of 05:41, 20 March 2018
139 bytes added
,
05:41, 20 March 2018
→Dialogue commands
:
Usage of $c
Line 129:
Line 129:
| TODO. Stands for "dialogueKill".
| TODO. Stands for "dialogueKill".
|-
|-
−
| <tt>$c {{t|probability}}</tt>
+
| <tt>$c {{t|probability
}}#{{t|text1}}#{{t|text2
}}</tt>
−
|
Choose the given text
with a {{t|probability}} between 0 and 1.
+
|
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}}
.
|-
|-
| <tt>$d {{t|bus|joja|cc}}</tt>
| <tt>$d {{t|bus|joja|cc}}</tt>
Super aardvark
8
edits