Author: sapient
Date: Wed Aug 27 06:13:13 2008
New Revision: 29012
URL: http://svn.gna.org/viewcvs/wesnoth?rev=29012&view=rev
Log:
remove some old debug code
Modified:
trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg
Modified: trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg?rev=29012&r1=29011&r2=29012&view=diff
==============================================================================
--- trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg (original)
+++ trunk/data/campaigns/tutorial/scenarios/1_Tutorial.cfg Wed Aug 27 06:13:13
2008
@@ -1,8 +1,4 @@
#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
@@ -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 @@
[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]
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits