remove some old debug code
This commit is contained in:
parent
ac3df3bd02
commit
5e925b7da5
1 changed files with 3 additions and 45 deletions
|
@ -1,9 +1,5 @@
|
|||
#textdomain wesnoth-tutorial
|
||||
|
||||
#! -- I don't think that I've ever seen more ugly piece of WML than this scenario, I really hope I won't ever see one.
|
||||
#! -- My first reaction after seeing scenario 2? Something along the lines of OMGWTFFFS! But since I volunteered to fix a bug
|
||||
#! -- here, I might as well fix the whole damned thing. For past version see 1.4 relase.
|
||||
|
||||
# wmlscope: set export=no
|
||||
|
||||
# wmllint: no-syntax-rewrite
|
||||
|
@ -16,8 +12,6 @@
|
|||
{VARIABLE target_hex.is_set yes}
|
||||
#enddef
|
||||
|
||||
#FIXME: You'd think that using CLEAR_VARIABLE here would make it fail the
|
||||
#equals="set" test. You'd be wrong...
|
||||
#define NO_TARGET_HEX
|
||||
{VARIABLE target_hex.is_set no}
|
||||
#enddef
|
||||
|
@ -1102,46 +1096,10 @@ These dummies only attack if you are a single tile away. With care, you should b
|
|||
[event]
|
||||
name=advance
|
||||
first_time_only=no
|
||||
[store_unit]
|
||||
[filter]
|
||||
x,y=$x1,$y1
|
||||
[/filter]
|
||||
variable=Unit
|
||||
[/store_unit]
|
||||
# [message]
|
||||
# x,y=$x1,$y1
|
||||
# message="My previous experience is $Unit.variables.previous_xp but it will soon be increased by $Unit.max_experience"
|
||||
# [/message]
|
||||
{VARIABLE_OP Unit.variables.previous_xp add $Unit.max_experience}
|
||||
{VARIABLE_OP unit.variables.previous_xp add $unit.max_experience}
|
||||
[unstore_unit]
|
||||
variable=Unit
|
||||
variable=unit
|
||||
advance=false
|
||||
[/unstore_unit]
|
||||
# [store_unit]
|
||||
# [filter]
|
||||
# x,y=$x1,$y1
|
||||
# [/filter]
|
||||
# variable=Sanity
|
||||
# [/store_unit]
|
||||
# [message]
|
||||
# x,y=$x1,$y1
|
||||
# message="SANITY CHECK: My previous experience is now $Sanity.variables.previous_xp"
|
||||
# [/message]
|
||||
[/event]
|
||||
# [event]
|
||||
# name="post_advance"
|
||||
# first_time_only="no"
|
||||
# [message]
|
||||
# x,y=$x1,$y1
|
||||
# message="POST_ADVANCE: My previous experience is $unit.variables.previous_xp"
|
||||
# [/message]
|
||||
# [/event]
|
||||
# [event]
|
||||
# name="moveto"
|
||||
# first_time_only="no"
|
||||
# [message]
|
||||
# x,y=$x1,$y1
|
||||
# message="My previous experience is $unit.variables.previous_xp"
|
||||
# [/message]
|
||||
# [/event]
|
||||
[/event]
|
||||
[/tutorial]
|
||||
|
|
Loading…
Add table
Reference in a new issue