Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CoolantTank = {
- capacity = 0,
- cold_fluid_amount = 0,
- hot_fluid_amount = 0,
- }
- setmetatable(CoolantTank, CoolantTank)
- function CoolantTank:new(coolant_tank)
- coolant_tank = coolant_tank or {}
- setmetatable(coolant_tank, CoolantTank)
- CoolantTank.__index = CoolantTank
- return {
- capacity = function()
- return coolant_tank.capacity
- end,
- coldFluidAmount = function()
- return coolant_tank.cold_fluid_amount
- end,
- dump = function()
- return
- end,
- hotFluidAmount = function()
- return coolant_tank.hot_fluid_amount
- end,
- maxTransitionedLastTick = function()
- return 0
- end,
- transitionedLastTick = function()
- return 0
- end,
- }
- end
- return CoolantTank
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement