Hello,
I made this mod "https://mods.factorio.com/mod/endless_resources" a few months ago and there is one thing that bothers me a little but I don't know how to fix this. The mod basically makes all ore patches have at least a four digit number of ores in it. But this causes them to always show their graphic with the highest desity. My question is how do I change the ore limits for the graphics to display (e.g. make the lowest density visible until over 2000 units or whatever)? I didn't find the ore prototypes in the game files.
Thanks in advance,
Phil
Modding limits of ore units for the different density graphics
- Philuminati
- Inserter
- Posts: 35
- Joined: Sun Aug 05, 2018 1:04 am
- Contact:
- Deadlock989
- Smart Inserter
- Posts: 2528
- Joined: Fri Nov 06, 2015 7:41 pm
Re: Modding limits of ore units for the different density graphics
https://wiki.factorio.com/Prototype/Res ... age_counts
See base/prototypes/entity/demo-resources.lua. The stage counts definition looks something like this, giving the cut off points for the change in sprite:
See base/prototypes/entity/demo-resources.lua. The stage counts definition looks something like this, giving the cut off points for the change in sprite:
Code: Select all
stage_counts = {15000, 9500, 5500, 2900, 1300, 400, 150, 80},
- Philuminati
- Inserter
- Posts: 35
- Joined: Sun Aug 05, 2018 1:04 am
- Contact:
Re: Modding limits of ore units for the different density graphics
Thank you! I don't know why I didn't see demo-resources...