supporting different dialogue colors.
This commit is contained in:
@@ -167,6 +167,7 @@
|
||||
:right {:stand warriors-stand
|
||||
:talk warriors-stand}
|
||||
:facing :right
|
||||
:talk-color (color 1.0 0.4 0.3 1.0)
|
||||
:script (actions/get-script entities
|
||||
(do-warrior-dialogue entities)
|
||||
))
|
||||
|
||||
@@ -135,6 +135,7 @@
|
||||
:right {:talk wizard-talk
|
||||
:stand wizard-stand
|
||||
:disappear wizard-disappear}
|
||||
:talk-color (color 0.75 0.1 1.0 1.0)
|
||||
:facing :left
|
||||
:script (actions/get-script entities (do-wizard-dialogue entities)))
|
||||
:stand)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
(< (dist-to-sheep entities) 45))
|
||||
|
||||
(defn wizard-dialogue [entities]
|
||||
(actions/do-dialogue entities :ego "Hello there Gandarf!" :wizard "Oh no, not you again!")
|
||||
(actions/do-dialogue entities :ego "Hello there [RED]Gandarf[]!" :wizard "Oh no, not you again!")
|
||||
(actions/present-choices entities
|
||||
{:choices ["What do you mean, \"Not you again?\""
|
||||
{:run #(actions/respond entities % :wizard "I mean, you've wrecked my life and I never want to see you again.")
|
||||
|
||||
Reference in New Issue
Block a user