script.on_init(function (event)
game.permissions.get_group("Default").set_allows_action(defines.input_action.craft ,false)
- 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
end)
{
"name": "some-lazybastard",
- "version": "1.1.2",
+ "version": "2.0.0",
"title": "Some lazy bastard",
"author": "someone1337",
"homepage": "https://git.somenet.org/factorio/some-lazybastard.git",
"description": "For the lazy bastards. Start with: AM3, small-pole, offshort-pump, boiler, steam-engine. Handcrafting disabled by /permissions.",
- "dependencies": ["base>=1.1.0"],
- "factorio_version": "1.1"
+ "factorio_version": "2.0",
+ "dependencies": ["base>=2.0.0",
+
+ "? some-spaceship-wreck-generator"
+ ]
}