starlit  Diff

Differences From Artifact [7f11ba51a8]:

To Artifact [8324bad06e]:


341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
		if rst.itemClass and not grp(item, rst.itemClass) then
			return false
		end
		if rst.maintenanceNode then return false end
		-- FIXME figure out best way to identify when the player is using a maintenance node

		if grp(item, 'specialInventory') then
			if grp(item, 'powder') and list ~= 'starlit_suit_elem' then return false end
			-- FIXME handle containers
			if grp(item, 'psi') and list ~= 'starlit_psi' then return false end
		end

		return true
	end
	local function itemCanLeave(item, list)
		local rst, ok = checkBaseRestrictions(list)
		if not ok then return false end







<
<
<







341
342
343
344
345
346
347



348
349
350
351
352
353
354
		if rst.itemClass and not grp(item, rst.itemClass) then
			return false
		end
		if rst.maintenanceNode then return false end
		-- FIXME figure out best way to identify when the player is using a maintenance node

		if grp(item, 'specialInventory') then



		end

		return true
	end
	local function itemCanLeave(item, list)
		local rst, ok = checkBaseRestrictions(list)
		if not ok then return false end