mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 20:27:40 +00:00
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:
parent
70361db1bd
commit
68f6c984e7
@ -266,6 +266,14 @@ SIDE_SETTER("carryover_percentage", int) {
|
|||||||
t.set_carryover_percentage(value);
|
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) {
|
SIDE_GETTER("carryover_add", bool) {
|
||||||
return t.carryover_add();
|
return t.carryover_add();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user