PGRData/Script/matrix/xmodule/xrestaurant/xproduct/XCashier.lua
2024-09-01 22:49:41 +02:00

12 lines
No EOL
346 B
Lua

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