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

                 Summary: More customizable recuitlists
                 Project: Battle for Wesnoth
            Submitted by: gfgtdf
            Submitted on: Mo 09 Mai 2016 17:39:49 UTC
                Category: Feature Request
                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.13
        Operating System: all

    _______________________________________________________

Details:

It is currently not possible to change the gold price of units with actionwml,
neigher its possible to recuit different variations of certain units.

So i suggest to instead of having a recuits=a,b,c to have a [recuit] wml array
that could then look like

[side]
 [recuit]
  type="Walking Corpse"
  cost=8
 [/recuit]
 [recuit]
  type="Walking Corpse"
  variation="Dwarf"
  cost=9
 [/recuit]
 [recuit]
  type="Mage"
 [/recuit]
 [recuit]
  type="Mage"
  cost=23
  [variables]
   addon_specific_information=22
  [/variables]
 [/recuit]
 [recuit]
  # recuit a weakened mage.
  type="Mage"
  cost=15
  [effect]
   apply_to=max_hitpoints
   increase_total=-20
  [/effect]
 [/recuit]
[/side]


So i suggest to let [recuit] have the attributes 'type' 'variation' and 'cost'
and the subtags 'variables' and 'effect' (multiple effects are possible)


ofcourse the old recuit="a,b,c" should still be supported as a backwards
compability path .




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to