Enhanched the parrot scenario a bit.
Now we have more test cases to test for with the new dialogs.
This commit is contained in:
parent
84cf841b7f
commit
edf2e43f55
1 changed files with 36 additions and 5 deletions
|
@ -45,6 +45,7 @@ Xu , Xu , Qxu , Qxu , Ql , Ql
|
|||
|
||||
[side]
|
||||
random_gender=yes
|
||||
id="test"
|
||||
type="Silver Mage"
|
||||
side=1
|
||||
canrecruit=yes
|
||||
|
@ -270,7 +271,7 @@ Xu , Xu , Qxu , Qxu , Ql , Ql
|
|||
|
||||
[label]
|
||||
x,y=20,9
|
||||
text="parot"
|
||||
text="parrot"
|
||||
[/label]
|
||||
|
||||
[event]
|
||||
|
@ -279,7 +280,17 @@ Xu , Xu , Qxu , Qxu , Ql , Ql
|
|||
[filter]
|
||||
x,y,side=20,9,1
|
||||
[/filter]
|
||||
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message="Who's the parrot"
|
||||
[text_input]
|
||||
label="Message="
|
||||
text="test"
|
||||
variable="parrot"
|
||||
[/text_input]
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message="What does the parrot need to say?"
|
||||
|
@ -287,11 +298,31 @@ Xu , Xu , Qxu , Qxu , Ql , Ql
|
|||
label="Message="
|
||||
variable="text"
|
||||
[/text_input]
|
||||
|
||||
[option]
|
||||
message="Parrot is in denial"
|
||||
[command]
|
||||
[message]
|
||||
speaker=$parrot
|
||||
message="Why are you looking at me, I'm no parrot!!!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image=wesnoth-icon.png
|
||||
message="A short time passes..."
|
||||
[/message]
|
||||
[/command]
|
||||
[/option]
|
||||
|
||||
[option]
|
||||
message="Parrot accepted it's fate"
|
||||
[/option]
|
||||
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
# Note this speaker doesn't exist.
|
||||
speaker="parrot"
|
||||
message="$text"
|
||||
speaker=$parrot
|
||||
message=$text
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue