URL:
<http://gna.org/bugs/?15349>
Summary: can't replace map edge terrain
Project: Battle for Wesnoth
Submitted by: mystic_x
Submitted on: Saturday 02/13/2010 at 02:48
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Graphics
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.7.13
Operating System: .
_______________________________________________________
Details:
It was possible to replace the terrain around the map's edge hexes using the
attached code. This worked in 1.4 and 1.6 but doesn't in the 1.7 branch.
[store_locations]
y=0-$yvar
x=0-$xvar
terrain={T_IN}
[filter_location]
terrain={T_IN}
[/filter_location]
variable=tiles_to_change
[/store_locations]
[terrain]
x=$tiles_to_change[$iter].x
y=$tiles_to_change[$iter].y
terrain={T_OUT}
[/terrain]
actual working code attached bellow.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Saturday 02/13/2010 at 02:48 Name: snow_macro.cfg Size: 2kB By:
mystic_x
<http://gna.org/bugs/download.php?file_id=8063>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?15349>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs