227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
|
table.insert(pgm.file.body.conf, {key='disable',value='yes'})
end
-- update the chip *wince*
pgm.fd:write(pgm.file)
user.entity:get_inventory():set_stack('starlit_suit_chips',
pgm.chipSlot, pgm.chip)
user:reconfigureSuit()
user:suitSound('starlit-configure')
end
return true, true
end;
render = function(state, user)
local suit = user:getSuit()
local swm
|
|
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
|
table.insert(pgm.file.body.conf, {key='disable',value='yes'})
end
-- update the chip *wince*
pgm.fd:write(pgm.file)
user.entity:get_inventory():set_stack('starlit_suit_chips',
pgm.chipSlot, pgm.chip)
user:reconfigureSuit()
user:suitSound 'starlit-configure'
end
return true, true
end;
render = function(state, user)
local suit = user:getSuit()
local swm
|