luaapi: add team.carryover_gold

Not really usuable yet since the game engine overwrites it at game end,
Part of the 'move the carryover gold handling to lua' patch
This commit is contained in:
gfgtdf 2024-12-14 02:22:11 +01:00
parent 70361db1bd
commit 68f6c984e7

View File

@ -266,6 +266,14 @@ SIDE_SETTER("carryover_percentage", int) {
t.set_carryover_percentage(value);
}
SIDE_GETTER("carryover_gold", int) {
return t.carryover_gold();
}
SIDE_SETTER("carryover_gold", int) {
t.set_carryover_gold(value);
}
SIDE_GETTER("carryover_add", bool) {
return t.carryover_add();
}