Accessing world generator resource settings

Place to get help with not working mods / modding interface.
dymen1
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Mar 01, 2015 10:10 pm
Contact:

Accessing world generator resource settings

Post by dymen1 »

I want to access the world generator settings when a specific event runs (the run code at event is working)
But I can't find documentation on how to access world generator resource settings (e.g. iron ore)
I have found some hints about objects that could hold this information:
data.raw["resource"]["resource_name"]
and
game.setting
so does anyone know how to access those settings? (or if at this stage it is even possible to access them)

*edit: typo -_-
Post Reply

Return to “Modding help”