Remove everything except the caves.
This commit is contained in:
parent
e5e7475476
commit
6cb7f1da1d
205 changed files with 1251 additions and 15326 deletions
|
@ -1,6 +1,7 @@
|
|||
-------------------
|
||||
-- Fungal Tree --
|
||||
-------------------
|
||||
-- Fun_Caves fungal_tree.lua
|
||||
-- Copyright Duane Robertson (duane@duanerobertson.com), 2017
|
||||
-- Distributed under the LGPLv2.1 (https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html)
|
||||
|
||||
|
||||
local colors = {}
|
||||
colors["^[colorize:#FF00FF:60"] = "dye:violet"
|
||||
|
@ -9,7 +10,7 @@ colors["^[colorize:#FF4500:80"] = "dye:green"
|
|||
colors[""] = "dye:white"
|
||||
local fungal_tree_leaves = {}
|
||||
|
||||
local newnode = fun_caves.clone_node("farming:straw")
|
||||
local newnode = fun_caves_mod.clone_node("farming:straw")
|
||||
newnode.description = "Dry Fiber"
|
||||
minetest.register_node("fun_caves:dry_fiber", newnode)
|
||||
|
||||
|
@ -32,13 +33,13 @@ minetest.register_node("fun_caves:fungal_tree_fruit", {
|
|||
groups = {fleshy = 3, dig_immediate = 3, flammable = 2},
|
||||
--on_use = minetest.item_eat(2),
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
on_timer = fun_caves.soft_boom,
|
||||
on_punch = fun_caves.soft_boom,
|
||||
on_timer = fun_caves_mod.soft_boom,
|
||||
on_punch = fun_caves_mod.soft_boom,
|
||||
})
|
||||
|
||||
local fruit = minetest.get_content_id("fun_caves:fungal_tree_fruit")
|
||||
|
||||
function fun_caves.make_fungal_tree(data, area, ivm, height)
|
||||
function fun_caves_mod.make_fungal_tree(data, area, ivm, height)
|
||||
if not (data and area and ivm and height and type(data) == 'table' and type(ivm) == 'number' and type(height) == 'number') then
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue