6 Commits

Author SHA1 Message Date
FaceDeer
28d1aa3634 math.random can have trouble when given more than a 32 bit maxint range 2019-07-09 23:55:24 -06:00
FaceDeer
d10e0a6e5a
Major rewrite of the API to support more complex decoration methods. Old API still available in legacy.lua
This major rewrite grew out of a desire to be able to have stalactites placed according to a global noise function, which meant the whole decoration approach had to be changed to allow for data to be efficiently carried over between nodes. In the process I cleaned up a lot of old inefficient code, some of it written back when I was still learning LUA in general.

The legacy.lua file contains the old deprecated code so in theory any mods depending on subterrane should still function as they did before.
2018-12-29 12:56:30 -07:00
FaceDeer
3f5abecef7 fix legacy function redirection 2018-05-25 23:56:18 -06:00
FaceDeer
c3fd6f1bed differentiate legacy stalagmite function from newer one 2018-05-25 23:52:18 -06:00
FaceDeer
c2000ac612 enable legacy dripstone by default, at least for now. 2018-05-24 00:30:53 -06:00
FaceDeer
4aaeaabc5f adding the option to define the old dripstone nodes 2018-05-23 23:54:23 -06:00