1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-16 23:01:07 +02:00

cleanup codebase (#46)

* cleanup codebase

* fix typo

* add nil checks to on_place

* nuke all mod loaded statements
This commit is contained in:
Niklp
2023-07-11 00:24:25 +02:00
committed by GitHub
parent d9782771c3
commit c7f65aac83
98 changed files with 200 additions and 877 deletions

View File

@ -1,13 +1,10 @@
-----------------------------------------------------------------------------------------------
-- Idea by Sokomine
-- Code & textures by Mossmanikin
-- support for i18n
local S = minetest.get_translator("molehills")
-----------------------------------------------------------------------------------------------
-- NoDe
-----------------------------------------------------------------------------------------------
-- Node
local mh_cbox = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, -0.125, 0.5}
@ -27,9 +24,7 @@ minetest.register_node("molehills:molehill",{
sounds = default.node_sound_dirt_defaults(),
})
-----------------------------------------------------------------------------------------------
-- CRaFTiNG
-----------------------------------------------------------------------------------------------
-- Crafting
minetest.register_craft({ -- molehills --> dirt
output = "default:dirt",
recipe = {
@ -38,9 +33,7 @@ minetest.register_craft({ -- molehills --> dirt
}
})
-----------------------------------------------------------------------------------------------
-- GeNeRaTiNG
-----------------------------------------------------------------------------------------------
-- Generating
minetest.register_decoration({
decoration = {
"molehills:molehill"