Lua API

LuaGameData classmod

Contains parameters for the current game save.

Fields

LuaGameData.holy_well_count [RW] The amount of the water which the the holy well has.
LuaGameData.home_scale [RW] The player's home scale.
LuaGameData.initial_cart_limit [RW] The player's initial cargo capacity.
LuaGameData.current_cart_limit [RW] The player's maximum cargo capacity.
LuaGameData.left_bill [RW] The number of unpaid bills the player owns.
LuaGameData.date [R] The current date and time.

Fields

# LuaGameData.holy_well_count

[RW] The amount of the water which the the holy well has.

  • holy_well_count : (num)
# LuaGameData.home_scale

[RW] The player's home scale.

  • home_scale : (num)
# LuaGameData.initial_cart_limit

[RW] The player's initial cargo capacity.

  • initial_cart_limit : (num)
# LuaGameData.current_cart_limit

[RW] The player's maximum cargo capacity.

  • current_cart_limit : (num)
# LuaGameData.left_bill

[RW] The number of unpaid bills the player owns.

  • left_bill : (num)
# LuaGameData.date

[R] The current date and time.