I have no idea of modding and im hoping someone here be kind enough to help me if possible
I would like to change the output of the salt-mine result from PYORES "salt" to ANGELS "solid-salt"
I want to add this code to PyCoalTBaA-temp-dark mod for my own personal use ONLY
I would ask on the relevant modder but seems there mod page has been quiet for a month so i hope some experienced modder would like to help as to what i need to add
Kindest Regards to all
And TIA
Steve
pycoaltbaa-temp-dark change of mining output HELP PLS
Re: pycoaltbaa-temp-dark change of mining output HELP PLS
1. Install the info mod viewtopic.php?t=45107
2. Start the game
3. Look into the factorio-current.log (with notepad++)
4. Find the data.raw.resource what you need: data.raw.resource["salt-rock"]
5. Copy this line and add it to your mod to the data.lua or data-updates.lua or data-final-fixes.lua
6. Change this string. old code:
Code: Select all
data.raw.resource["salt-rock"].minable.results[1] = {"salt", 1}
Code: Select all
data.raw.resource["salt-rock"].minable.results[1] = {"solid-salt", 1}
Code: Select all
data.raw.resource["salt-rock"].minable.results = {{"salt", 1}, {"solid-salt", 1}}
Last edited by darkfrei on Tue Sep 29, 2020 5:15 pm, edited 1 time in total.
Re: pycoaltbaa-temp-dark change of mining output HELP PLS
thankyou darkfrei for your kind assistance and wow a nice mod you have made very useful
5 star help to darkfrei
5 star help to darkfrei
Re: pycoaltbaa-temp-dark change of mining output HELP PLS
Thanks
With this mod is very easy to understand what you have after all mods loading.
Also you can replace all items "salt" with item "solid-salt", in all recipes for all mods. Or "solid-salt" to "salt", of course. Just with one script.