Page 1 of 1
Item Duplicate
Posted: Sun Dec 03, 2017 12:19 am
by Alukat
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?
Re: Item Duplicate
Posted: Sun Dec 03, 2017 11:09 am
by darkfrei
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?
They must have the same internal names.
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
Posted: Mon Dec 04, 2017 7:30 pm
by darkfrei
So, here is
DyWorld Renamer, it makes all items from DyWorld same like in all other mods (without prefixes).
Added migration script.
Re: Item Duplicate
Posted: Mon Dec 04, 2017 10:25 pm
by Alukat
thx ^^
Re: Item Duplicate
Posted: Tue Dec 05, 2017 9:23 am
by bobingabout
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.