PGRData/Script/matrix/xmodule/xrestaurant/xproduct/XCashier.lua

12 lines
346 B
Lua
Raw Normal View History

2024-09-01 22:49:41 +02:00
local XRestaurantProduct = require("XModule/XRestaurant/XRestaurantProduct")
---@class XCashier : XRestaurantProduct 货币
local XCashier = XClass(XRestaurantProduct, "XCashier")
function XCashier:OnRestaurantLevelUp(level)
local limit = XRestaurantConfigs.GetCashierLimit(level)
self:SetProperty("_Limit", limit)
end
return XCashier