[Wesnoth-bugs] [bug #23841] a [make_tag] tag to create custom wml tags.

2015-09-01 Thread anonymous
Follow-up Comment #5, bug #23841 (project wesnoth): Oh, one other thing (I'm the same person who posted the previous comment #4) - if the ability to overwrite the preset tags is retained, then there should be a way to restore the default behaviour of a preset tag. ~~CelticMinstrel

[Wesnoth-bugs] [bug #23841] a [make_tag] tag to create custom wml tags.

2015-09-01 Thread anonymous
Follow-up Comment #4, bug #23841 (project wesnoth): I think it could benefit from a slightly more standardized approach to return values, and maybe a different name, but overall I think it seems good. Also, maybe it should support delayed_variable_substitution=no. My only concern is that, as

[Wesnoth-bugs] [bug #23841] a [make_tag] tag to create custom wml tags.

2015-09-01 Thread anonymous
Follow-up Comment #2, bug #23841 (project wesnoth): Ok i made a new (tested) version that makes the custom wml tags also persistent (so that they won't be lost when reloading): Lua code: local helper = wesnoth.require("lua/helper.lua") local _ = wesnoth.textdomain 'wesnoth' local T =

[Wesnoth-bugs] [bug #23841] a [make_tag] tag to create custom wml tags.

2015-09-01 Thread anonymous
Follow-up Comment #3, bug #23841 (project wesnoth): This code will also work in 1.12.x, just put it in a toplevel [lua] tag in your campaign. ___ Reply to this item at:

[Wesnoth-bugs] [bug #23841] a [make_tag] tag to create custom wml tags.

2015-09-01 Thread Rodrigo López Caruana
Follow-up Comment #1, bug #23841 (project wesnoth): It you any doubt about its usefullness I can tell you I have dreamed with something like this beign implemented for years :) ___ Reply to this item at:

[Wesnoth-bugs] [bug #23841] a [make_tag] tag to create custom wml tags.

2015-09-01 Thread anonymous
URL: Summary: a [make_tag] tag to create custom wml tags. Project: Battle for Wesnoth Submitted by: None Submitted on: Di 01 Sep 2015 14:21:55 UTC Category: Feature Request