wesnoth/data/core/_main.cfg
gfgtdf fef953a48e remove ai.synced_command
fixes #1649 . ai.synced_command could easily be used to implement all types of
undeteced cheats so it was removed. As a replacement this commit adds a
[custom_command] synced command that just calls
wesnoth.game_events.on_synced_command which calls a lua handler that
must first be set.
2018-03-16 13:43:05 +01:00

35 lines
604 B
INI

#textdomain wesnoth
# Main purpose of this file is to ensure that macros get read in first.
# wmlscope: set export=yes
[lua]
code=<<
wesnoth.dofile 'lua/backwards-compatibility.lua'
wesnoth.dofile 'lua/wml-tags.lua'
wesnoth.dofile 'lua/feeding.lua'
wesnoth.dofile 'lua/custom_command.lua'
>>
[/lua]
#ifndef NO_TERRAIN_GFX
{core/terrain-graphics/}
#endif
{core/macros/}
[credits_group]
{core/about.cfg}
[/credits_group]
[credits_group]
{core/about_i18n.cfg}
[/credits_group]
{core/help.cfg}
{core/hotkeys.cfg}
#ifndef NO_TERRAIN
{core/terrain.cfg}
#endif
{core/units.cfg}
{core/editor/}