Jump to content

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:

 

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. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...