Shelter-k2

by zanven

Adds a shelter so players respawn off the building location. this is from kastorio2

Utilities
a month ago
1.1 - 2.0
1.87K

g Updating to 2.0

a month ago
  1. At the end of the recipe section change as shown below.
    ingredients =
    {
    {type = "item", name = "iron-plate", amount = 300},
    {type = "item", name = "iron-stick", amount = 50},
    {type = "item", name = "copper-plate", amount = 100},
    {type = "item", name = "copper-cable", amount = 50},
    {type = "item", name = "coal", amount = 50}
    },
    results =
    {
    {type="item", name="kr-shelter", amount=1}
    },

  2. In control.lua and shelter.lua, change all occurrences of the word 'global' with the word 'storage'.

  3. Edit the lines of info.json as shown below. (JSONedit or any text editor works fine.)
    "dependencies" : [ "base >= 2.0.7" ],
    "factorio_version" : "2.0",
    "version" : "0.0.5"

It compiles fine with Factorio 2.0, Have not built it yet. Let me know if you have issues.

a month ago

Will do, I'll have a look within half an hour. On mobile ATM. Ty for finding the issues ( been enjoying 2.0 as I didn't have a early key ). Sounds like an easy fix.

a month ago

i have updated the mod and tested this only on 1 surface, haven't yet gone to other surfaces to test it on my save.

Researching tech: working
Placing build: working
Dieing and respawning at building: working
picking up building: working

Hopefully the new release 0.0.3 works on all surfaces.

a month ago

Thanks. Also tested on Nauvis.

New response