mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 20:59:29 +00:00
65 lines
1.8 KiB
INI
65 lines
1.8 KiB
INI
#textdomain wesnoth-multiplayer
|
|
|
|
#define RANDOM_SIDE
|
|
[multiplayer_side]
|
|
id=Random
|
|
name= _"Random"
|
|
image="units/random-dice.png"
|
|
random_faction=yes
|
|
[/multiplayer_side]
|
|
#enddef
|
|
|
|
#define QUICK_4MP_LEADERS
|
|
# This makes all leaders with 4 MP receive the quick trait, except ones with
|
|
# unit.variables.dont_make_me_quick=yes (boolean)
|
|
|
|
[event]
|
|
name=prestart
|
|
[lua]
|
|
code = << wesnoth.require("multiplayer/eras.lua").quick_4mp_leaders(...) >>
|
|
[args]
|
|
{TRAIT_QUICK}
|
|
[/args]
|
|
[/lua]
|
|
[/event]
|
|
#enddef
|
|
|
|
#define TURNS_OVER_ADVANTAGE
|
|
[event]
|
|
name=time over
|
|
[lua]
|
|
code = << wesnoth.require("multiplayer/eras.lua").turns_over_advantage() >>
|
|
[/lua]
|
|
[/event]
|
|
#enddef
|
|
|
|
# These macros make things easier for UMC eras which are additions to or modifications of the default eras.
|
|
# If anything gets changed or added to the default eras, please do it in the code included in these macros.
|
|
#define ERA_DEFAULT
|
|
{RANDOM_SIDE}
|
|
{multiplayer/factions/loyalists-default.cfg}
|
|
{multiplayer/factions/rebels-default.cfg}
|
|
{multiplayer/factions/northerners-default.cfg}
|
|
{multiplayer/factions/undead-default.cfg}
|
|
{multiplayer/factions/knalgans-default.cfg}
|
|
{multiplayer/factions/drakes-default.cfg}
|
|
{multiplayer/factions/dunefolk-default.cfg}
|
|
|
|
{QUICK_4MP_LEADERS}
|
|
{TURNS_OVER_ADVANTAGE}
|
|
#enddef
|
|
|
|
#define ERA_HEROES
|
|
{RANDOM_SIDE}
|
|
{multiplayer/factions/loyalists-aoh.cfg}
|
|
{multiplayer/factions/rebels-aoh.cfg}
|
|
{multiplayer/factions/northerners-aoh.cfg}
|
|
{multiplayer/factions/undead-aoh.cfg}
|
|
{multiplayer/factions/knalgans-aoh.cfg}
|
|
{multiplayer/factions/drakes-aoh.cfg}
|
|
{multiplayer/factions/dunefolk-aoh.cfg}
|
|
|
|
{QUICK_4MP_LEADERS}
|
|
{TURNS_OVER_ADVANTAGE}
|
|
#enddef
|