Lua command for increasing depth of existing ore
Posted: Sat Jan 28, 2017 6:54 pm
Exactly as the title says
There are lots of examples for generating new ore (with excessive depth if you like it). But I like the *natural* shaped ore patches. Hence I would like a command that multiplies the depth of all already existing ore in a certain area around the player by a given factor. This also keeps the natural variation of ore depth among the tiles. Ideally (but optionally), with a condition to multiply only, when the depth is below a threshhold.
I can program myself (although very little experience in Lua), I mainly miss a command to inquire the ore contests of a tile (btw - is there a more in-depth programming reference?). But to be honest - I would be most grateful if someone, who can do this in three minutes, chipped these few lines together, instead of an hour of trial-and-error for myself.
Thanks in advance..
There are lots of examples for generating new ore (with excessive depth if you like it). But I like the *natural* shaped ore patches. Hence I would like a command that multiplies the depth of all already existing ore in a certain area around the player by a given factor. This also keeps the natural variation of ore depth among the tiles. Ideally (but optionally), with a condition to multiply only, when the depth is below a threshhold.
I can program myself (although very little experience in Lua), I mainly miss a command to inquire the ore contests of a tile (btw - is there a more in-depth programming reference?). But to be honest - I would be most grateful if someone, who can do this in three minutes, chipped these few lines together, instead of an hour of trial-and-error for myself.
Thanks in advance..