starlit  Diff

Differences From Artifact [7f11ba51a8]:

To Artifact [8324bad06e]:


   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