Page 1 of 1
base-edit
Posted: Mon Nov 04, 2013 12:27 pm
by Dysoch
how do i add "mining-drill" to base-edits without using "-"? as it is an unrecognized symbol.
Code: Select all
data.raw.mining-drill.mining-drill.fast_replaceable_group = "drill"
Re: base-edit
Posted: Mon Nov 04, 2013 12:30 pm
by kovarex
Try:
Code: Select all
data.raw["mining-drill"]["mining-drill"].fast_replaceable_group = "drill"
Re: base-edit
Posted: Mon Nov 04, 2013 12:33 pm
by Dysoch
kovarex wrote:Try:
Code: Select all
data.raw["mining-drill"]["mining-drill"].fast_replaceable_group = "drill"
still a nil value error
Re: base-edit
Posted: Mon Nov 04, 2013 12:57 pm
by rk84
Dysoch wrote:kovarex wrote:Try:
Code: Select all
data.raw["mining-drill"]["mining-drill"].fast_replaceable_group = "drill"
still a nil value error
Code: Select all
data.raw["mining-drill"]["basic-mining-drill"].fast_replaceable_group = "drill"
--or
data.raw["mining-drill"]["burner-mining-drill"].fast_replaceable_group = "drill"
Re: base-edit
Posted: Mon Nov 04, 2013 1:03 pm
by Dysoch
rk84 wrote:Dysoch wrote:kovarex wrote:Try:
Code: Select all
data.raw["mining-drill"]["mining-drill"].fast_replaceable_group = "drill"
still a nil value error
Code: Select all
data.raw["mining-drill"]["basic-mining-drill"].fast_replaceable_group = "drill"
--or
data.raw["mining-drill"]["burner-mining-drill"].fast_replaceable_group = "drill"
you sir, are a life saver
thx worked perfectly !
Re: base-edit
Posted: Fri Nov 08, 2013 2:53 pm
by Dysoch
I have added an packing and unpacking machine.
They work mainly with iron, copper and steel.
But when i add the unpacking recipes, the recipes in the base game get deleted. I can no longer smelt iron ore to iron plates.
Is there anyway i can have both recipes? (Mean "ore to plate" and "bundle to plate")
Re: base-edit
Posted: Fri Nov 08, 2013 2:55 pm
by ficolas
I think that what you need to do is change the recipe name to "unpackiron" or something else, because by letting the recipe name be the same, you are "overriding" the base recipe.
Re: base-edit
Posted: Fri Nov 08, 2013 3:02 pm
by Dysoch
ok, thx. working correctly now!