Jump to content

Range between structures


mitboy

Recommended Posts

example of one mod where I modified that :

local wood_shelter = GLOBAL.Recipe("wood_shelter",
{ 
        Ingredient("log", 10),
        Ingredient("rope", 4),
},
        RECIPETABS.TOWN, TECH.NONE,"wood_shelter_placer" )
        wood_shelter.atlas = "images/inventoryimages/wood_shelter.xml"
        wood_shelter.min_spacing = 0

last line, of course you don't want it to be 0 in your case :p

more examples here if needed:

 

Link to comment
Share on other sites

11 hours ago, whismerhill said:

example of one mod where I modified that :


local wood_shelter = GLOBAL.Recipe("wood_shelter",
{ 
        Ingredient("log", 10),
        Ingredient("rope", 4),
},
        RECIPETABS.TOWN, TECH.NONE,"wood_shelter_placer" )
        wood_shelter.atlas = "images/inventoryimages/wood_shelter.xml"
        wood_shelter.min_spacing = 0

last line, of course you don't want it to be 0 in your case :p

more examples here if needed:

 

http://prntscr.com/ci20gy I tried to copy that code in the mod, but game crashes when I'm loading the world. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...