- remote.call("freeplay", "set_created_items", {
- ["iron-plate"] = 8,
- ["wood"] = 1,
- ["pistol"] = 1,
- ["firearm-magazine"] = 10,
- ["burner-mining-drill"] = 1,
- ["stone-furnace"] = 1,
- ["assembling-machine-3"] = 1,
- ["small-electric-pole"] = 1,
- ["boiler"] = 1,
- ["steam-engine"] = 1,
- ["offshore-pump"] = 1
- })
+ if script.active_mods["some-spaceship-wreck-generator"] then
+ remote.call("freeplay", "set_created_items", {
+ ["pistol"] = 1,
+ ["firearm-magazine"] = 10,
+ ["assembling-machine-3"] = 1,
+ ["small-electric-pole"] = 1,
+ ["electric-mining-drill"] = 1
+ })
+ else
+ remote.call("freeplay", "set_created_items", {
+ ["pistol"] = 1,
+ ["firearm-magazine"] = 10,
+ ["assembling-machine-3"] = 1,
+ ["small-electric-pole"] = 1,
+ ["electric-mining-drill"] = 1,
+ ["boiler"] = 1,
+ ["steam-engine"] = 1,
+ ["offshore-pump"] = 1
+ })
+ end