Guillaume Melquiond
|
82b4efaa59
|
Fixed signature.
|
2009-09-29 20:19:34 +00:00 |
|
Guillaume Melquiond
|
29d9afb566
|
Removed package emulation.
|
2009-09-27 11:44:28 +00:00 |
|
Guillaume Melquiond
|
748c9dc883
|
Made some helper functions part of the interface.
|
2009-09-27 11:44:16 +00:00 |
|
Guillaume Melquiond
|
298a0a32b1
|
Simplified handling of superseded WML action handlers.
|
2009-09-10 06:47:39 +00:00 |
|
Guillaume Melquiond
|
639e458812
|
Adapted code to cope with vconfig objects.
|
2009-09-09 22:21:32 +00:00 |
|
Guillaume Melquiond
|
3291c9b87b
|
Added error message to [clear_variable].
|
2009-09-09 22:11:52 +00:00 |
|
Guillaume Melquiond
|
c2ac5485a1
|
Updated Lua code for [objectives] to vconfig interface.
|
2009-09-09 21:42:09 +00:00 |
|
Guillaume Melquiond
|
7a61f8fdfd
|
Simplified code by using wesnoth.eval_conditional.
|
2009-08-18 05:40:56 +00:00 |
|
Guillaume Melquiond
|
013a364f9a
|
Reenabled 2009-08-16T23:28:54Z!fabianmueller5@gmx.de now that entities are preserved. Cleaned the code a bit.
|
2009-08-17 16:30:25 +00:00 |
|
Guillaume Melquiond
|
460a48fffb
|
Temporarily reverted 2009-08-16T23:28:54Z!fabianmueller5@gmx.de,
...as [message] requires location data, which are currently lost in
the process. While uncommon, it may cause some event messages to not
be displayed.
|
2009-08-17 15:48:16 +00:00 |
|
Fabian Müller
|
01cbc5fe1a
|
Wrapped a wml lua tag arround "message" to allows a [show_if] condition.
example:
[message]
id=Kalenz
message= _ "Landar is here as well"
[show_if]
[have_unit]
id=Landar
[/have_unit]
[/show_if]
[/message]
|
2009-08-16 23:28:54 +00:00 |
|
Guillaume Melquiond
|
a6dde5e695
|
Added some error messages.
|
2009-08-15 08:00:35 +00:00 |
|
Guillaume Melquiond
|
893234212a
|
Updated Lua implementation.
|
2009-08-03 06:26:02 +00:00 |
|
Alexander van Gessel
|
4514180fe6
|
Move [unit_worth] implementation to C++...
...and switch to formula proposed by Sapient.
|
2009-06-17 01:31:45 +01:00 |
|
Guillaume Melquiond
|
ef667d4084
|
Allowed the [gold] tag without a side attribute.
|
2009-06-14 19:48:36 +00:00 |
|
Guillaume Melquiond
|
50ca004918
|
Simplified [unit_worth] code.
|
2009-06-13 12:34:06 +00:00 |
|
Alexander van Gessel
|
ee53d4b1c7
|
Throw errors when the queried unit does not exist.
|
2009-06-08 23:47:30 +01:00 |
|
Alexander van Gessel
|
b5844760ce
|
Move [unit_worth] tag to data/lua/wml-tags.lua,
...make its formula more configurable, store the calculated values.
|
2009-06-08 03:47:11 +01:00 |
|
Guillaume Melquiond
|
5c5ec7d531
|
Added note and removed trailing newline from objective dialog.
|
2009-06-01 19:00:05 +00:00 |
|
Guillaume Melquiond
|
2ee50c09dc
|
Converted objective dialog box to Pango markup.
|
2009-05-31 17:20:24 +00:00 |
|
Guillaume Melquiond
|
e50c9cedd5
|
Removed some newlines, as Pango markup can't cope with them.
It still looks bad, but not so bad.
|
2009-05-31 16:35:37 +00:00 |
|
Guillaume Melquiond
|
c9cf3e7c18
|
Fixed dwarf leaders starting with 1hp in MP games.
|
2009-05-29 20:59:27 +00:00 |
|
Fabian Müller
|
a13632b177
|
New EML tag wml_action that can define new action wml tags.
|
2009-04-22 17:57:13 +00:00 |
|
Guillaume Melquiond
|
436d87058f
|
Implemented support for dynamic objectives.
The [show_if] tag can now be used in [objective] tags. (bug #13042)
|
2009-04-19 10:08:05 +00:00 |
|
Guillaume Melquiond
|
4b40922d28
|
Converted [show_objectives], [gold], [store_gold], [clear_variable] to Lua.
|
2009-04-18 21:53:53 +00:00 |
|
Guillaume Melquiond
|
8eed1425e7
|
Replaced C++ implementation of the [objectives] tag by a Lua function.
|
2009-04-18 18:38:34 +00:00 |
|
Guillaume Melquiond
|
8a20afcc2f
|
Added Lua helper file.
|
2009-03-22 19:00:01 +00:00 |
|