Trash Landfill


Adds a large landfill that disposes of trash at the cost of creating pollution

Utilities
7 years ago
0.13 - 0.14
16
Owner:
zackman0010
Source:
N/A
Homepage:
N/A
License:
The Unlicense (Public Domain)
Created:
7 years ago
Latest Version:
1.1.3 (7 years ago)
Factorio version:
0.13 - 0.14
Downloaded by:
16 users

Ever realize that you have a lot of useless stuff just laying around, clogging up your chests and/or inventory? The trash landfill mod allows you to throw those items away to allow them to degrade into pollution. Current pollution created is 5 per item, and items degrade approx 13000 ticks (216.67 seconds / 3.61 minutes) after they were thrown in. I originally made this mod to deal with certain byproducts in the Bob's Mod modpack, namely sodium hydroxide. The graphic is created from a bunch of vanilla items thrown together onto a darker colored version of the Field from Treefarm.

Features:
Get rid of unused items by letting them degrade into pollution

Future Plans (If I get around to them):
Adjustable rates of degradation
Adjustable pollution per item
More types of landfills, including one that burns trash to produce power (Cannot promise this will happen)

Known Bugs:
Do your best not to remove any items from the landfill after they are put in. My code only detects if every copy of a certain type of item is removed from the landfill. For example, if you put in 50 Iron Plate but later remove 25, the pollution produced will still be as if there were 50 Iron Plates in the landfill. Removing items could also cause other bugs that I didn't discover. I'm still trying to figure out ways around these.

Update Log:
v0.13.15 - Original
v1.1.1 - Changed version numbering scheme; Fixed possible desync caused by my lack of LUA knowledge
v1.1.2 - Updated for 0.14
v1.1.3 - Fixed bugs caused by a stupid mistake on my end. Resulted in crash due to negative numbers ending up in the item tables. Also a possible cause of desyncs.