Differences From
Artifact [7f11ba51a8]:
- File
mods/starlit/suit.lua
— part of check-in
[953151446f]
at
2024-05-05 19:31:39
on branch trunk
— better alarm LEDs, continue work on matter compiler UI, hack around gravitational horrorscape (i.e. stop shitting all over the server's `minetest.conf`), better stat interface, tweak some compute stats, be more generous with starting battery loadout, mercilessly squash numberless bugs beneath my jackbooted heel
(user:
lexi,
size: 12377)
[annotate]
[blame]
[check-ins using]
341 341 if rst.itemClass and not grp(item, rst.itemClass) then
342 342 return false
343 343 end
344 344 if rst.maintenanceNode then return false end
345 345 -- FIXME figure out best way to identify when the player is using a maintenance node
346 346
347 347 if grp(item, 'specialInventory') then
348 - if grp(item, 'powder') and list ~= 'starlit_suit_elem' then return false end
349 - -- FIXME handle containers
350 - if grp(item, 'psi') and list ~= 'starlit_psi' then return false end
351 348 end
352 349
353 350 return true
354 351 end
355 352 local function itemCanLeave(item, list)
356 353 local rst, ok = checkBaseRestrictions(list)
357 354 if not ok then return false end