Starbound/assets/devel/tech/summonmech/summonmech.lua
2025-03-21 22:23:30 +11:00

14 lines
289 B
Lua

function init()
end
function update(args)
if args.moves["special1"] and not self.specialLast then
world.sendEntityMessage(entity.id(), "unlockMech")
world.sendEntityMessage(entity.id(), "toggleMech")
end
self.specialLast = args.moves["special1"]
end
function uninit()
end