#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} {QUICK_4MP_LEADERS} {TURNS_OVER_ADVANTAGE} #enddef [era] id=era_default name= _ "Default" description=_ "The standard era for Wesnoth multiplayer. Consists of six factions and is generally balanced." type=hybrid {ERA_DEFAULT} [/era] #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} {QUICK_4MP_LEADERS} {TURNS_OVER_ADVANTAGE} #enddef [era] id=era_heroes name= _ "Age of Heroes" description= _"An era with higher level units: level three leaders, with level one and two units available for recruit. Consists of six factions. Not considered balanced." {ERA_HEROES} [/era] [era] id=era_dunefolk name= _ "Default + Dunefolk" description= _ "An era featuring an additional faction besides the six factions from Default Era. Dunefolk units rely on careful use of terrain and coordinated strikes around dusk or dawn. This era is still under development, so please be sure to report any problems that arise." {ERA_DEFAULT} {multiplayer/factions/dunefolk-default.cfg} [/era] [era] id=era_dunefolk_heroes name= _ "Age of Heroes + Dunefolk" description= _ "An era featuring an additional faction besides the six factions from Age of Heroes Era. Dunefolk units rely on careful use of terrain and coordinated strikes around dusk or dawn. This era is still under development, so please be sure to report any problems that arise." {ERA_HEROES} {multiplayer/factions/dunefolk-aoh.cfg} [/era]