Hey, since the original homeworld author hasn't updated it in ages, i'm trying to update it.
Dyworld has sand & glass recipe, when having both dyworld and homeworld there is sand & glass twice with diffrent picture/recipe.
How can i make it so that the dyworld picture/recipe is used and the homeworld recipe/picture gets deactivated when dyworld is active?
Item Duplicate
Re: Item Duplicate
They must have the same internal names.Alukat wrote:Hey, since the original homeworld author hasn't updated it in ages, i'm trying to update it.
Dyworld has sand & glass recipe, when having both dyworld and homeworld there is sand & glass twice with diffrent picture/recipe.
How can i make it so that the dyworld picture/recipe is used and the homeworld recipe/picture gets deactivated when dyworld is active?
Please always write PM to old mod author before ljdp's Profile
So, all dyworld-intermediates must be without "dyworld-" prefix.
Code: Select all
data.raw.item["dyworld-sand"].type = "item"
data.raw.item["dyworld-sand"].name = "dyworld-sand"
data.raw.item["dyworld-sand"].flags.1 = "goes-to-main-inventory"
data.raw.item["dyworld-sand"].subgroup = "dyworld-intermediates"
data.raw.item["dyworld-sand"].stack_size = 500
data.raw.item["dyworld-sand"].icon = "__DyWorld__/graphics/icons/sand.png"
data.raw.item["dyworld-sand"].order = "sand"
Re: Item Duplicate
So, here is DyWorld Renamer, it makes all items from DyWorld same like in all other mods (without prefixes).
Added migration script.
Added migration script.
- Attachments
-
- 2017-12-04 20_11_55.png (76.58 KiB) Viewed 3073 times
Re: Item Duplicate
thx ^^
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Item Duplicate
I can understand why he does that... but there was a talk about conventions, and when and where you should and shouldn't prefix things.
By prefixing everything, he's just being.... unkind.
Common items like ores, plates, gears etc SHOULDN'T be prefixed, though if the production process differs from the base game (you don't get a plate from smelting an ore in the furnace, and gears don't cost 2 plates each in an assembling machine etc), then you should prefix the RECIPE only.
By prefixing everything, he's just being.... unkind.
Common items like ores, plates, gears etc SHOULDN'T be prefixed, though if the production process differs from the base game (you don't get a plate from smelting an ore in the furnace, and gears don't cost 2 plates each in an assembling machine etc), then you should prefix the RECIPE only.