Follow-up Comment #13, bug #21882 (project wesnoth):

@involution

> I have corrected the part about modify_side
<http://wiki.wesnoth.org/DirectActionsWML#.5Bmodify_side.5D> not affecting the
defeat condition, that was intended to be added. 
But why? Some people don't know lua, and would like to be able to control
defeat_condition via modify_side

>After this is backported, I believe that there will be no way to end the game
for just one defeated side. Of course you can mimic it in WML if desired.
You mean if my "user-defined" victory conditions are met then I can
immediatelly end all turns of that side, but the side will still be considered
as alive?

Hm ... now I see my question was pointless:
my original concern was whether BfW allowed to determine any user-defined
victory conditions. Now I see I missed next procedure was possible:
- The addon author sets [side] defeat_condition=never
- he checks his user-defined victory conditions in events
- Once his user-defined victory conditions are met, he removes all units of
that side, he sets defeat_condition=no_leader_left and he uses [end_turn].

So it looks BfW allows any user-defined victory conditions.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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