3 more [wml_message] macros, overlooked to move...
This commit is contained in:
parent
537e899cd4
commit
0d0d036ea0
2 changed files with 39 additions and 39 deletions
|
@ -25,6 +25,45 @@
|
|||
[/wml_message]
|
||||
#enddef
|
||||
|
||||
#define LOG TEXT
|
||||
# Logs a WML message to console and the in-game chat. It does
|
||||
# nothing unless the 'wml' log domain is set to log level at
|
||||
# application startup (usually with --log-info=wml), or in-game
|
||||
# with the :log command (e.g. :log info wml).
|
||||
#
|
||||
# Example:
|
||||
# ! {LOG "player moved to forbidden location"}
|
||||
[wml_message]
|
||||
logger=log
|
||||
message={TEXT}
|
||||
[/wml_message]
|
||||
#enddef
|
||||
|
||||
#define WARNING TEXT
|
||||
# Logs a WML warning to console and the in-game chat. It does
|
||||
# nothing unless the 'wml' log domain is set to warning level at
|
||||
# application startup (usually with --log-warning=wml), or in-game
|
||||
# with the :log command (e.g. :log warning wml).
|
||||
#
|
||||
# Example:
|
||||
# ! {WARNING "malformed unit data"}
|
||||
[wml_message]
|
||||
logger=warn
|
||||
message={TEXT}
|
||||
[/wml_message]
|
||||
#enddef
|
||||
|
||||
#define ERROR TEXT
|
||||
# Logs a WML error to console and the in-game chat.
|
||||
#
|
||||
# Example:
|
||||
# ! {ERROR "could not respawn hero at 2,4"}
|
||||
[wml_message]
|
||||
logger=err
|
||||
message={TEXT}
|
||||
[/wml_message]
|
||||
#enddef
|
||||
|
||||
#define TIMED_ACTIONS TITLE CONTENT_WML
|
||||
# Measure (in milliseconds) the time arbitrary event WML takes to
|
||||
# execute.
|
||||
|
|
|
@ -392,45 +392,6 @@
|
|||
{FADE_STEP 0 5}
|
||||
#enddef
|
||||
|
||||
#define LOG TEXT
|
||||
# Logs a WML message to console and the in-game chat. It does
|
||||
# nothing unless the 'wml' log domain is set to log level at
|
||||
# application startup (usually with --log-info=wml), or in-game
|
||||
# with the :log command (e.g. :log info wml).
|
||||
#
|
||||
# Example:
|
||||
# ! {LOG "player moved to forbidden location"}
|
||||
[wml_message]
|
||||
logger=log
|
||||
message={TEXT}
|
||||
[/wml_message]
|
||||
#enddef
|
||||
|
||||
#define WARNING TEXT
|
||||
# Logs a WML warning to console and the in-game chat. It does
|
||||
# nothing unless the 'wml' log domain is set to warning level at
|
||||
# application startup (usually with --log-warning=wml), or in-game
|
||||
# with the :log command (e.g. :log warning wml).
|
||||
#
|
||||
# Example:
|
||||
# ! {WARNING "malformed unit data"}
|
||||
[wml_message]
|
||||
logger=warn
|
||||
message={TEXT}
|
||||
[/wml_message]
|
||||
#enddef
|
||||
|
||||
#define ERROR TEXT
|
||||
# Logs a WML error to console and the in-game chat.
|
||||
#
|
||||
# Example:
|
||||
# ! {ERROR "could not respawn hero at 2,4"}
|
||||
[wml_message]
|
||||
logger=err
|
||||
message={TEXT}
|
||||
[/wml_message]
|
||||
#enddef
|
||||
|
||||
# Encapsulate text in conventional markup for characters whispering.
|
||||
# We do this so whispers can be restyled by tweaking this markup
|
||||
#define WHISPER TEXT
|
||||
|
|
Loading…
Add table
Reference in a new issue