Get Biomes out of position

Place to get help with not working mods / modding interface.
asdff45
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Sun Aug 07, 2016 1:23 pm
Contact:

Get Biomes out of position

Post by asdff45 »

Hi,

i would like to make a mod with which you can place trees, i found out, that it has different treetypes, in different biomes/Temperature-Moisture-rate (https://wiki.factorio.com/index.php?tit ... laceSheets).
Is it possible to find out, in which biome i place something or even better, which Temperature-Moisture-rate it has at a given position?

User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: Get Biomes out of position

Post by Adil »

Temperature-moisture, etc...
http://lua-api.factorio.com/latest/LuaS ... properties
You can also get the tile name, I believe it is unique enough to determine biome.
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
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Get Biomes out of position

Post by aubergine18 »

Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

asdff45
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Sun Aug 07, 2016 1:23 pm
Contact:

Re: Get Biomes out of position

Post by asdff45 »

Thank you two, that will help alot :)

Post Reply

Return to “Modding help”