Buckaroo Banzai
a3ce221eed
Add luacheck and github workflow ( #4 )
...
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
Co-authored-by: OgelGames <olliverdc28@gmail.com>
2021-12-10 13:45:31 +11:00
Vanessa Dannenberg
76b5046009
Split the actual API code into a separate file from init.lua
2021-04-20 21:05:50 -04:00
Vanessa Dannenberg
5148cca1b7
Using ":" notation to treat functions as methods is now deprecated
...
in favor of more normal "." notation.
In the process, I have renamed a few functions in favor of
more meaningful names (see API.txt), and provided
"compatibility shims" for old mods where needed, with warnings.
2021-04-20 17:40:03 -04:00
Vanessa Dannenberg
7f1fec6ae0
add compatibility for games other than minetest_game
2021-04-01 05:47:22 -04:00
Vanessa Dannenberg
a96f015ce9
properly-limit abm-based growth to just the proper surfaces
...
(if no surface list is given, just grow on anything)
2019-05-22 20:02:30 -04:00
Vanessa Dannenberg
d72e15f1d0
get rid of old junglegrass -> dry shrub "corner case"
2019-05-22 19:28:13 -04:00
SmallJoker
fa304f9d18
Fixes
2019-01-02 22:06:07 +01:00
SmallJoker
b7d69a8487
Split code and tidy up
...
Split to growth.lua and search_functions.lua
New function populate_single_surface for a single position check
Use 'return' to reduce indent levels
2019-01-02 20:35:39 +01:00