1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-25 11:10:24 +02:00

cleanup codebase

This commit is contained in:
Niklp09
2023-07-10 18:49:34 +02:00
parent d9782771c3
commit 6212e52539
97 changed files with 195 additions and 862 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"