Code: Select all
ore.amount <= ore.amount - oreAmount
And 2nd would be the refinery still won't place the ore on the ground maybe its just I didn't set the storage position correctly like you said on line 87 I have been messing with it a bit but still no anvil.
So I'm going to up load the mod here so you could take a look at it. And once again thank you for all the help if it weren't for you none of this mod would be possible and I am very grateful
Update: I Seem to have fixed the 2nd problem. I had to change
Code: Select all
elseif #storageEntities == 0 then
Code: Select all
elseif #storageEntities >= 0 then