Called when saving the logic piece to a save file.
Called when saving the logic piece to a save file.
1 table
the data to save. Must contain the id of the logic piece in the form of {id =
-- taken from game/logic_pieces/logic_piece.lua function logicPiece:save() return {id = self.id} end