Create a new text file and name it 'Prop.lua'
Copy the file to your mod into:
\Mods\YOURMOD\hook\lua\sim\
now edit the file
(\Mods\YOURMOD\hook\lua\sim\Prop.lua)
copy this into the prop.lua file:
-- Saving the Prop class, so we can hook it
local oldProp=Prop
-- create a new Prop class based on the original oldProp class
Prop = Class(oldProp) {
-- overwrite the original GetReclaimCosts function with our own:
GetReclaimCosts = function(self, reclaimer)
-- Set reclaim parameter
local ReclaimTime = 1 -- Don't set it to 0 or we will devide by 0 later
local MassReclaim = 0
local EnergyReclaim = 0
-- return the new raclaim values
return ReclaimTime, EnergyReclaim, MassReclaim
end,
}
This will set the reclaim time to 1 tick and reclaim cost/gain to 0