Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /c
- local surface = game.player.surface
- local position = game.player.position
- local spidertron = surface.create_entity{
- name = "spidertron",
- position = {x = position.x + 5, y = position.y},
- force = game.player.force
- }
- local inventory = spidertron.get_inventory(defines.inventory.spider_trunk)
- inventory.insert{name = "rocket", count = 2000}
- spidertron.grid.put{name = "fusion-reactor-equipment"}
- spidertron.grid.put{name = "exoskeleton-equipment"}
- spidertron.grid.put{name = "personal-roboport-mk2-equipment"}
- spidertron.grid.put{name = "battery-mk2-equipment"}
- game.player.print("Spidertron created with rockets!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement