URL:
  <http://gna.org/bugs/?11532>

                 Summary: Allow [teleport] abilities to specify valid
source/destination
                 Project: Battle for Wesnoth
            Submitted by: zookeeper
            Submitted on: Sunday 20/04/08 at 19:53
                Category: Feature Request
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: alink
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk
        Operating System: all

    _______________________________________________________

Details:

Teleportation shouldn't be hardcoded to only work from village to village,
but instead the ability should be able to specify the valid source and
destination locations.

The core village-to-village teleport WML would become something like this:


[teleport]
    id=teleport
    name= _ "teleport"
    id= _ "Teleport:
This unit may teleport between any two empty villages owned by its side using
one of its moves."
    [filter_self]
        [filter_location]
            terrain=*^V*
            owner_side=$this_unit.side
        [/filter_location]
    [/filter_self]
    [filter_destination]
        terrain=*^V*
        owner_side=$this_unit.side
    [/filter_destination]
[/teleport]


As discussed in IRC, some yet undecided extra C++ support is actually needed
to enable the ownership test in [filter_destination].




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?11532>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to