Skip to content

Commit

Permalink
ANL: removed unused macro (closes #2878)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Vultraz committed Apr 13, 2018
1 parent fee6415 commit 90d45dc
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions data/multiplayer/scenarios/ANL_utils/ANL_general_macros.cfg
Expand Up @@ -8,42 +8,6 @@
[/capture_village]
#enddef

#define OPEN_CHEST X Y TREASURE_VALUE
[sound]
name=open-chest.wav
[/sound]

[remove_item]
x={X}
y={Y}
image=items/chest-plain-closed.png
[/remove_item]
[item]
x={X}
y={Y}
image=items/chest-plain-open.png
[/item]

[set_variable]
name=oc_treasure
value={TREASURE_VALUE}
[/set_variable]
[message]
speaker=narrator
image=items/chest-plain-open.png
message= _ "The chest contains $oc_treasure gold."
[/message]

[clear_variable]
name=oc_treasure
[/clear_variable]

[gold]
side=$side_number
amount={TREASURE_VALUE}
[/gold]
#enddef

#define MOVEMENT_RESTRICTION TERR1_NAME TERR2_NAME
[object]
silent=yes
Expand Down

0 comments on commit 90d45dc

Please sign in to comment.