URL:
<http://gna.org/bugs/?16052>
Summary: [store_locations] ignores [not]terrain= at map
border
Project: Battle for Wesnoth
Submitted by: anonymissimus
Submitted on: Mittwoch 19.05.2010 um 14:28
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.8.0
Operating System: win XP
_______________________________________________________
Details:
Consider the following code. The map needs to have some matching terrain
(here Gg, normal grassland) at its edge (x=0 and/or y=0).
[event]
name=start
[store_locations]
variable=locations_stored
[not]
terrain=Gg
[/not]
[/store_locations]
{FOREACH locations_stored current_hex}
[label]
x,y=$locations_stored[$current_hex].x,$locations_stored[$current_hex].y
text=_"$current_hex"
[/label]
{NEXT current_hex}
[/event]
The Gg hexes (only) at the map border are stored anyway. Note that when
leaving away the [not] tag, the Gg border hexes are stored, too.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?16052>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs