Taking the ring of speed is now optional
This commit is contained in:
parent
a26a452d5a
commit
9b056eed92
3 changed files with 66 additions and 20 deletions
|
@ -80,6 +80,7 @@ Version 1.11.0-svn:
|
|||
* Display dehydration status in the sidebar
|
||||
* Ensure player always has positive gold leaving the cave in Out of the Frying Pan
|
||||
* New AI for human messenger in "Out of the Frying Pan"
|
||||
* Taking ring of speed is now optional
|
||||
* Editor:
|
||||
* New gui theme, fixes the editor being broken on low resolutions.
|
||||
* Smaller font for displaying the terrain information.
|
||||
|
|
|
@ -259,6 +259,11 @@
|
|||
value=0
|
||||
[/set_variable]
|
||||
|
||||
[set_variable]
|
||||
name=took_ring
|
||||
value=0
|
||||
[/set_variable]
|
||||
|
||||
# added extra NW bridge in EASY
|
||||
[terrain]
|
||||
x=7
|
||||
|
@ -666,6 +671,7 @@
|
|||
[event]
|
||||
name=moveto
|
||||
delayed_variable_substitution=no
|
||||
first_time_only=no
|
||||
|
||||
[filter]
|
||||
x=$x1
|
||||
|
@ -676,27 +682,65 @@
|
|||
[/not]
|
||||
[/filter]
|
||||
|
||||
[object]
|
||||
id=SpeedyRing
|
||||
name= _ "Ring of Speed"
|
||||
image=items/ring-gold.png
|
||||
description= _ "This ring will increase your maximum speed by 1."
|
||||
[filter]
|
||||
x=$x1
|
||||
y=$y1
|
||||
side=1
|
||||
[/filter]
|
||||
[if]
|
||||
[variable]
|
||||
name=took_ring
|
||||
equals=0
|
||||
[/variable]
|
||||
|
||||
[effect]
|
||||
apply_to=movement
|
||||
increase=1
|
||||
[/effect]
|
||||
[/object]
|
||||
[then]
|
||||
[message]
|
||||
speaker=unit
|
||||
|
||||
[remove_item]
|
||||
x=$x1
|
||||
y=$y1
|
||||
[/remove_item]
|
||||
message= _ "Should I take this ring?"
|
||||
[option]
|
||||
message= _ "Yes, I’ll take it."
|
||||
|
||||
[command]
|
||||
[object]
|
||||
id=SpeedyRing
|
||||
name= _ "Ring of Speed"
|
||||
image=items/ring-gold.png
|
||||
description= _ "This ring will increase your maximum speed by 1."
|
||||
[filter]
|
||||
x=$x1
|
||||
y=$y1
|
||||
side=1
|
||||
[/filter]
|
||||
|
||||
[effect]
|
||||
apply_to=movement
|
||||
increase=1
|
||||
[/effect]
|
||||
[/object]
|
||||
|
||||
[remove_item]
|
||||
x=$x1
|
||||
y=$y1
|
||||
[/remove_item]
|
||||
|
||||
[set_variable]
|
||||
name=took_ring
|
||||
value=1
|
||||
[/set_variable]
|
||||
[/command]
|
||||
[/option]
|
||||
|
||||
[option]
|
||||
message= _ "No, I think someone else should wear it."
|
||||
|
||||
[command]
|
||||
[allow_undo]
|
||||
[/allow_undo]
|
||||
[/command]
|
||||
[/option]
|
||||
[/message]
|
||||
[/then]
|
||||
[else]
|
||||
[allow_undo]
|
||||
[/allow_undo]
|
||||
[/else]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
#when Panok dies, if player hasn't triggered naga ambush, then units attack
|
||||
|
@ -1071,7 +1115,7 @@
|
|||
[/message]
|
||||
|
||||
{CLEAR_VARIABLE naga_ambush}
|
||||
{CLEAR_VARIABLE took_dagger}
|
||||
{CLEAR_VARIABLE took_dagger,took_ring}
|
||||
[/event]
|
||||
|
||||
# if player runs out of time, display time over message
|
||||
|
|
|
@ -55,6 +55,7 @@ Version 1.11.0-svn:
|
|||
* Display dehydration status in the sidebar.
|
||||
* Ensure player always has positive gold leaving the cave in Out of the Frying Pan.
|
||||
* New and much improved AI for human messenger in "Out of the Frying Pan".
|
||||
* Taking ring of speed is now optional.
|
||||
|
||||
* Editor:
|
||||
* New gui theme, fixes the editor being broken on low resolutions.
|
||||
|
|
Loading…
Add table
Reference in a new issue