Rename output/result

Place to get help with not working mods / modding interface.
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1456
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Rename output/result

Post by TheSAguy »

Angels mod had a output called stone-crushed and Bio-Industries has a output called crushed-stone.

How would I re-name one of these if the other is detected?

something like:
If data.raw.item[stone-crushed] then
rename crushed-stone to stone-crushed
end.

But this would probably have to be done to all recipes also?
This way they can both be used in recipes that use crushed stone.

Thanks,
orzelek
Smart Inserter
Smart Inserter
Posts: 3928
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Rename output/result

Post by orzelek »

I'd say just name them in same way - aka rename it in your Bio-Industries mod for example.
This will mean they will be automatically same item.

Renaming is tricky - nee to go through all the definitions - items, recipes, tech etc.
Post Reply

Return to “Modding help”