wesnoth/data/lua/scenario_end_events.lua
gfgtdf 06d1fade32 split gold_carryover into smaller functions
this way the functions can easily be reused for alternative
carryover implementations.
2024-12-15 05:17:57 +01:00

12 lines
236 B
Lua

local carryover = wesnoth.require("carryover_gold.lua")
wesnoth.game_events.add {
name = "scenario_end",
id = "carryover_gold",
first_time_only = false,
priority = -1000,
action = function()
carryover.do_carryover_gold()
end
}