For example, when hovering an offshore pump:
Code: Select all
game.players[1].selected.fluidbox[1].temperature = 100
Code: Select all
game.players[1].print(game.players[1].selected.fluidbox[1].temperature)
Code: Select all
game.players[1].selected.fluidbox[1].temperature = 100
Code: Select all
game.players[1].print(game.players[1].selected.fluidbox[1].temperature)
Code: Select all
local fluid = game.players[1].selected.fluidbox[1]
fluid.temperature = 100
game.players[1].selected.fluidbox[1] = fluid
Code: Select all
game.players[1].selected.fluidbox[1] = {type="water", amount=10, temperature=100}