new chunk property

Place to get help with not working mods / modding interface.
User avatar
Lutra
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Fri Apr 01, 2016 9:22 pm
Contact:

new chunk property

Post by Lutra »

is there a way of adding a property similar to pollution to the base chunk? i.e a 1 dimensional value that can change continuously and be spread to other chunks
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: new chunk property

Post by Adil »

You'll just have to create your own table of chunks and calculate the spread in lua yourself.
It's not like anything outside your lua code could react to that new value on its own anyway.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
User avatar
Lutra
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Fri Apr 01, 2016 9:22 pm
Contact:

Re: new chunk property

Post by Lutra »

ok thanks. i thought that might be the only way to do it, but i was wondering if there was any easier ways :D
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
User avatar
Lutra
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Fri Apr 01, 2016 9:22 pm
Contact:

Re: new chunk property

Post by Lutra »

is there a way to make stone smeltable? i have a recipe that uses stone, but when i put stone in the furnace, it says: "stone can't be smelted" :(
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: new chunk property

Post by Adil »

Is recipe in one of the crafting categories allowed for smelters? Is it unlocked?
I believe there's stone brick smelting recipe already.
Also, shouldn't this question be in it's own thread?
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
Post Reply

Return to “Modding help”