Help with data.raw
Posted: Fri Nov 07, 2014 11:58 pm
I am currently having trouble with adding three values to a ore of another mod without adding it directly to another mod. Simply adding these to the resource prototype works but i don't know how to use data.raw to add these:
I have tried this as well as couple other things but haven't gotten them to work:
I am trying to add those values to a mod ore, the endless resource mod does this to vanilla ores but i am unsure how to apply this to mod added ores.
Code: Select all
infinite = true,
minimum = 175,
normal = 350,
Code: Select all
data.raw["resource"]["gold-ore"].infinite = true
table.insert(data.raw["item"]["gold-ore"].infinite = true)