mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-01-11 18:50:27 +01:00
added mineclone groups to all registered nodes. TODO: craftitems.
This was extremely tedious. Completely untested, aside from simply running the game.
This commit is contained in:
parent
ad723ac5ae
commit
1934e172a1
@ -20,15 +20,17 @@ local get_node_box = function(connector_thickness)
|
||||
}
|
||||
end
|
||||
|
||||
local anchor_groups = {"group:soil", "group:stone", "group:tree", "group:wood", "group:webbing", "group:solid"}
|
||||
|
||||
local in_anchor_group = function(name)
|
||||
return
|
||||
minetest.get_item_group(name, "soil") > 0 or
|
||||
minetest.get_item_group(name, "stone") > 0 or
|
||||
minetest.get_item_group(name, "tree") > 0 or
|
||||
minetest.get_item_group(name, "leaves") > 0 or
|
||||
minetest.get_item_group(name, "sand") > 0 or
|
||||
minetest.get_item_group(name, "wood") > 0 or
|
||||
name == "ignore"
|
||||
for _, group in pairs(anchor_groups) do
|
||||
if minetest.get_item_group(name, group:strsub(7)) then
|
||||
return true
|
||||
end
|
||||
end
|
||||
if name == "ignore" then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
local cardinal_directions = {
|
||||
@ -125,7 +127,7 @@ minetest.register_node("big_webs:webbing", {
|
||||
{name="big_webs.png"},
|
||||
},
|
||||
use_texture_alpha = "blend",
|
||||
connects_to = {"group:soil", "group:stone", "group:tree", "group:leaves", "group:sand", "group:wood", "group:webbing"},
|
||||
connects_to = anchor_groups,
|
||||
connect_sides = { "top", "bottom", "front", "left", "back", "right" },
|
||||
drawtype = "nodebox",
|
||||
node_box = get_node_box(0.0625),
|
||||
@ -135,8 +137,7 @@ minetest.register_node("big_webs:webbing", {
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
climbable = true,
|
||||
floodable = true,
|
||||
groups = {snappy = 2, choppy = 2, webbing = 1, flammable=1, fall_damage_add_percent=-100, bouncy=20},
|
||||
groups = {snappy = 2, choppy = 2, webbing = 1, shearsy = 1, swordy=1, flammable=1, destroy_by_lava_flow=1, fall_damage_add_percent=-100, bouncy=20},
|
||||
sounds = sound,
|
||||
on_construct = function(pos)
|
||||
minetest.get_node_timer(pos):start(30)
|
||||
@ -175,7 +176,7 @@ minetest.register_node("big_webs:web_egg", {
|
||||
{name="big_webs.png"},
|
||||
},
|
||||
use_texture_alpha = "blend",
|
||||
connects_to = {"group:soil", "group:stone", "group:tree", "group:leaves", "group:sand", "group:wood", "group:webbing"},
|
||||
connects_to = anchor_groups,
|
||||
connect_sides = { "top", "bottom", "front", "left", "back", "right" },
|
||||
drawtype = "nodebox",
|
||||
node_box = get_node_box(0.0625),
|
||||
|
@ -32,9 +32,10 @@ else
|
||||
"bones_front.png"
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
groups = {oddly_diggable_by_hand=1},
|
||||
groups = {oddly_diggable_by_hand=1, handy=1},
|
||||
sounds = df_dependencies.sound_gravel(),
|
||||
|
||||
_mcl_hardness = 1.5,
|
||||
_mcl_blast_resistance = 6,
|
||||
can_dig = function(pos, player)
|
||||
local inv = minetest.get_meta(pos):get_inventory()
|
||||
return inv:is_empty("main")
|
||||
|
@ -24,13 +24,15 @@ minetest.register_node("df_dependencies:firefly", {
|
||||
sunlight_propagates = true,
|
||||
buildable_to = true,
|
||||
walkable = false,
|
||||
groups = {catchable = 1},
|
||||
groups = {catchable = 1, destroy_by_lava_flow=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.1, -0.1, -0.1, 0.1, 0.1, 0.1},
|
||||
},
|
||||
light_source = 6,
|
||||
floodable = true,
|
||||
_mcl_blast_resistance = 0.2,
|
||||
_mcl_hardness = 0.2,
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local player_name = placer:get_player_name()
|
||||
local pos = pointed_thing.above
|
||||
@ -64,8 +66,10 @@ minetest.register_node("df_dependencies:hidden_firefly", {
|
||||
diggable = false,
|
||||
buildable_to = true,
|
||||
drop = "",
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
groups = {not_in_creative_inventory = 1, destroy_by_lava_flow=1},
|
||||
floodable = true,
|
||||
_mcl_blast_resistance = 0.2,
|
||||
_mcl_hardness = 0.2,
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local player_name = placer:get_player_name()
|
||||
local pos = pointed_thing.above
|
||||
@ -144,7 +148,7 @@ minetest.register_node("df_dependencies:firefly_bottle", {
|
||||
sunlight_propagates = true,
|
||||
light_source = 9,
|
||||
walkable = false,
|
||||
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
|
||||
groups = {vessel = 1, dig_immediate = 3, attached_node = 1, material_glass = 1, destroy_by_lava_flow=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
||||
|
@ -18,7 +18,7 @@ local register_cave_wheat = function(number)
|
||||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
floodable = true,
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, flora = 1},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, flora = 1, handy=1, swordy=1, hoey=1, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -167,7 +167,7 @@ minetest.register_node("df_farming:cave_straw", {
|
||||
description = S("Cave Straw"),
|
||||
tiles = {"dfcaverns_cave_straw.png"},
|
||||
is_ground_content = false,
|
||||
groups = {snappy=3, flammable=4, fall_damage_add_percent=-30, straw=1},
|
||||
groups = {snappy=3, flammable=4, straw=1, handy=1,hoey=1, compostability=85, flammable=2, fire_encouragement=60, fire_flammability=20, building_block=1, fall_damage_add_percent=-80, enderman_takable=1},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
_mcl_blast_resistance = 0.5,
|
||||
_mcl_hardness = 0.5,
|
||||
@ -208,7 +208,7 @@ if minetest.get_modpath("footprints") then
|
||||
{-0.5, -0.5, -0.5, 0.5, -3 / 8, 0.5}
|
||||
},
|
||||
},
|
||||
groups = {snappy = 3, flammable = 2, attached_node = 1},
|
||||
groups = {snappy = 3, flammable = 2, attached_node = 1, handy=1, hoey=1, compostability=85, fire_encouragement=60, fire_flammability=20, fall_damage_add_percent=-30, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
drop = "",
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
_mcl_blast_resistance = 0.5,
|
||||
|
@ -2,6 +2,8 @@ local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local dimple_grow_time = df_farming.config.plant_growth_time * df_farming.config.dimple_cup_delay_multiplier / 4
|
||||
|
||||
local dimple_cup_groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, color_blue = 1, basecolor_blue = 1, excolor_blue = 1, light_sensitive_fungus = 11, flower = 1, flora = 1, fire_encouragement=60,fire_flammability=100, compostability=70, handy=1,shearsy=1,hoey=1}
|
||||
|
||||
local register_dimple_cup = function(number)
|
||||
local name = "df_farming:dimple_cup_"..tostring(number)
|
||||
local def = {
|
||||
@ -16,7 +18,7 @@ local register_dimple_cup = function(number)
|
||||
floodable = true,
|
||||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, color_blue = 1, light_sensitive_fungus = 11, flower = 1, flora = 1},
|
||||
groups = dimple_cup_groups,
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -71,7 +73,7 @@ local def = {
|
||||
floodable = true,
|
||||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, attached_node = 1, color_blue = 1, basecolor_blue = 1, excolor_blue = 1, light_sensitive_fungus = 11, flower = 1, flora = 1},
|
||||
groups = dimple_cup_groups,
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -18,7 +18,7 @@ local register_pig_tail = function(number)
|
||||
is_ground_content = false,
|
||||
floodable = true,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, flora = 1},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, flora = 1, fire_encouragement=60,fire_flammability=100, compostability=70, handy=1,shearsy=1,hoey=1, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -35,11 +35,11 @@ local register_pig_tail = function(number)
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
items = {'df_farming:pig_tail_seed 2', 'df_farming:pig_tail_thread 2'},
|
||||
items = {'df_farming:pig_tail_seed 2', 'df_farming:pig_tail_thread 3'},
|
||||
rarity = 9-number,
|
||||
},
|
||||
{
|
||||
items = {'df_farming:pig_tail_seed 1', 'df_farming:pig_tail_thread'},
|
||||
items = {'df_farming:pig_tail_seed 1', 'df_farming:pig_tail_thread 2'},
|
||||
rarity = 9-number,
|
||||
},
|
||||
{
|
||||
@ -137,7 +137,7 @@ if minetest.get_modpath("footprints") then
|
||||
{-0.5, -0.5, -0.5, 0.5, -3 / 8, 0.5}
|
||||
},
|
||||
},
|
||||
groups = {snappy = 3, flammable = 2, attached_node = 1},
|
||||
groups = {snappy = 3, flammable = 2, attached_node = 1, handy=1, hoey=1, compostability=85, fire_encouragement=60, fire_flammability=20, fall_damage_add_percent=-30, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
drop = "",
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
_mcl_blast_resistance = 0.2,
|
||||
|
@ -15,7 +15,7 @@ minetest.register_node("df_farming:dead_fungus", {
|
||||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
floodable = true,
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, flow_through = 1, flora = 1},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, flow_through = 1, flora = 1, fire_encouragement=60,fire_flammability=100,destroy_by_lava_flow=1,dig_by_piston=1, compostability=65, handy=1, hoey=1},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -50,7 +50,7 @@ minetest.register_node("df_farming:cavern_fungi", {
|
||||
buildable_to = true,
|
||||
floodable = true,
|
||||
light_source = 6,
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, flow_through = 1, flora = 1},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, flow_through = 1, flora = 1, fire_encouragement=50,fire_flammability=60,destroy_by_lava_flow=1,dig_by_piston=1, compostability=65, handy=1, hoey=1},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -157,7 +157,7 @@ df_farming.register_seed = function(name, description, image, stage_one, grow_ti
|
||||
wield_image = image,
|
||||
drawtype = "signlike",
|
||||
paramtype2 = "wallmounted",
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, flammable = 2, dfcaverns_cookable = 1, digtron_on_place=1},
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dfcaverns_cookable = 1, digtron_on_place=1,destroy_by_lava_flow=1,dig_by_piston=1, handy=1, hoey=1},
|
||||
_dfcaverns_next_stage = stage_one,
|
||||
_dfcaverns_next_stage_time = grow_time,
|
||||
paramtype = "light",
|
||||
|
@ -67,7 +67,7 @@ minetest.register_node("df_farming:plump_helmet_spawn", {
|
||||
tiles = {
|
||||
"dfcaverns_plump_helmet_cap.png",
|
||||
},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, attached_node = 1, light_sensitive_fungus = 11, dfcaverns_cookable = 1, digtron_on_place=1, flora = 1},
|
||||
groups = {snappy = 3, plant = 1, attached_node = 1, light_sensitive_fungus = 11, dfcaverns_cookable = 1, digtron_on_place=1, flora = 1, destroy_by_lava_flow=1,dig_by_piston=1, handy=1, hoey=1},
|
||||
_dfcaverns_next_stage = "df_farming:plump_helmet_1",
|
||||
_dfcaverns_next_stage_time = plump_helmet_grow_time,
|
||||
drawtype = "nodebox",
|
||||
@ -98,6 +98,8 @@ minetest.register_node("df_farming:plump_helmet_spawn", {
|
||||
end,
|
||||
})
|
||||
|
||||
local plump_helmet_groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, dfcaverns_cookable = 1, plump_helmet = 1, food = 1, digtron_on_place=1, flora = 1, fire_encouragement=60,fire_flammability=100,destroy_by_lava_flow=1,dig_by_piston=1,compostability=65}
|
||||
|
||||
minetest.register_node("df_farming:plump_helmet_1", {
|
||||
description = S("Plump Helmet"),
|
||||
_doc_items_longdesc = df_farming.doc.plump_helmet_desc,
|
||||
@ -107,7 +109,7 @@ minetest.register_node("df_farming:plump_helmet_1", {
|
||||
"dfcaverns_plump_helmet_cap.png",
|
||||
"dfcaverns_plump_helmet_cap.png^[lowpart:5:dfcaverns_plump_helmet_stem.png",
|
||||
},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, dfcaverns_cookable = 1, plump_helmet = 1, food = 1, digtron_on_place=1, flora = 1},
|
||||
groups = plump_helmet_groups,
|
||||
_dfcaverns_next_stage = "df_farming:plump_helmet_2",
|
||||
_dfcaverns_next_stage_time = plump_helmet_grow_time,
|
||||
drawtype = "nodebox",
|
||||
@ -150,7 +152,7 @@ minetest.register_node("df_farming:plump_helmet_2", {
|
||||
"dfcaverns_plump_helmet_cap.png",
|
||||
"dfcaverns_plump_helmet_cap.png^[lowpart:15:dfcaverns_plump_helmet_stem.png",
|
||||
},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, dfcaverns_cookable = 1, plump_helmet = 1, food = 2, digtron_on_place=1, flora = 1},
|
||||
groups = plump_helmet_groups,
|
||||
_dfcaverns_next_stage = "df_farming:plump_helmet_3",
|
||||
_dfcaverns_next_stage_time = plump_helmet_grow_time,
|
||||
drawtype = "nodebox",
|
||||
@ -192,7 +194,7 @@ minetest.register_node("df_farming:plump_helmet_3", {
|
||||
"dfcaverns_plump_helmet_cap.png",
|
||||
"dfcaverns_plump_helmet_cap.png^[lowpart:35:dfcaverns_plump_helmet_stem.png",
|
||||
},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, dfcaverns_cookable = 1, plump_helmet = 1, food = 3, digtron_on_place=1, flora = 1},
|
||||
groups = plump_helmet_groups,
|
||||
_dfcaverns_next_stage = "df_farming:plump_helmet_4",
|
||||
_dfcaverns_next_stage_time = plump_helmet_grow_time,
|
||||
drawtype = "nodebox",
|
||||
@ -234,7 +236,7 @@ minetest.register_node("df_farming:plump_helmet_4", {
|
||||
"dfcaverns_plump_helmet_cap.png",
|
||||
"dfcaverns_plump_helmet_cap.png^[lowpart:40:dfcaverns_plump_helmet_stem.png",
|
||||
},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, dfcaverns_cookable = 1, plump_helmet = 1, food = 4, digtron_on_place=1, flora = 1},
|
||||
groups = plump_helmet_groups,
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -283,6 +285,11 @@ minetest.register_node("df_farming:plump_helmet_4", {
|
||||
_hunger_ng = {satiates = 4},
|
||||
})
|
||||
|
||||
local picked_groups = {}
|
||||
for key, val in pairs(plump_helmet_groups) do
|
||||
picked_groups[key]=val
|
||||
end
|
||||
picked_groups.not_in_creative_inventory = nil
|
||||
-- Need a separate picked type to prevent it from giving infinite spawn by just placing and re-harvesting
|
||||
minetest.register_node("df_farming:plump_helmet_4_picked", {
|
||||
description = S("Plump Helmet"),
|
||||
@ -293,7 +300,7 @@ minetest.register_node("df_farming:plump_helmet_4_picked", {
|
||||
"dfcaverns_plump_helmet_cap.png",
|
||||
"dfcaverns_plump_helmet_cap.png^[lowpart:40:dfcaverns_plump_helmet_stem.png",
|
||||
},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, attached_node = 1, light_sensitive_fungus = 11, dfcaverns_cookable = 1, plump_helmet = 1, food = 4, digtron_on_place=1, flora = 1},
|
||||
groups = picked_groups,
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
@ -18,7 +18,7 @@ local register_quarry_bush = function(number)
|
||||
buildable_to = true,
|
||||
is_ground_content = false,
|
||||
floodable = true,
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, flora = 1},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, flora = 1, fire_encouragement=60,fire_flammability=100, compostability=50, handy=1,shearsy=1,hoey=1, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -21,7 +21,7 @@ local register_sweet_pod = function(number)
|
||||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
floodable = true,
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, flora = 1},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11, flora = 1, fire_encouragement=60,fire_flammability=100, compostability=70, handy=1,shearsy=1,hoey=1, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -190,7 +190,7 @@ if df_dependencies.bucket_register_liquid then
|
||||
liquid_renewable = false,
|
||||
liquid_range = 2,
|
||||
post_effect_color = {a = 204, r = 179, g = 131, b = 88},
|
||||
groups = {liquid = 3, flammable = 2, dig_by_piston=1},
|
||||
groups = {liquid = 1, flammable = -1, dig_by_piston=1, fire_encouragement=5},
|
||||
sounds = syrup_sound,
|
||||
_mcl_blast_resistance = 100,
|
||||
_mcl_hardness = -1,
|
||||
@ -241,7 +241,7 @@ if df_dependencies.bucket_register_liquid then
|
||||
liquid_renewable = false,
|
||||
liquid_range = 2,
|
||||
post_effect_color = {a = 204, r = 179, g = 131, b = 88},
|
||||
groups = {liquid = 3, flammable = 2, not_in_creative_inventory = 1, dig_by_piston=1},
|
||||
groups = {liquid = 1, flammable = -1, not_in_creative_inventory = 1, dig_by_piston=1, fire_encouragement = 5},
|
||||
sounds = syrup_sound,
|
||||
_mcl_blast_resistance = 100,
|
||||
_mcl_hardness = -1,
|
||||
|
@ -16,7 +16,7 @@ minetest.register_node("df_mapitems:castle_coral", {
|
||||
mesh = "octagonal_coral.obj",
|
||||
drop = "df_mapitems:castle_coral_skeleton",
|
||||
paramtype = "light",
|
||||
groups = {cracky=2,},
|
||||
groups = {cracky=2, pickaxey = 1, building_block = 1, coral=1, coral_block=1},
|
||||
sounds = df_dependencies.sound_stone(),
|
||||
_mcl_hardness = 1.5,
|
||||
_mcl_blast_resistance = 6,
|
||||
@ -33,7 +33,7 @@ minetest.register_node("df_mapitems:castle_coral_skeleton", {
|
||||
mesh = "octagonal_coral.obj",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3},
|
||||
groups = {cracky = 3,pickaxey = 1, building_block = 1, coral=2, coral_block=1},
|
||||
sounds = df_dependencies.sound_stone(),
|
||||
_mcl_hardness = 1.5,
|
||||
_mcl_blast_resistance = 6,
|
||||
|
@ -12,7 +12,7 @@ minetest.register_node("df_mapitems:cave_coral_3", {
|
||||
light_source = 3,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, dfcaverns_cave_coral = 1},
|
||||
groups = {cracky = 3, dfcaverns_cave_coral = 1, pickaxey = 1, building_block = 1, coral=1, coral_block=1},
|
||||
sounds = df_dependencies.sound_stone(),
|
||||
on_timer = function(pos)
|
||||
if minetest.find_node_near(pos, 1, {water_source}) == nil then
|
||||
@ -32,7 +32,7 @@ minetest.register_node("df_mapitems:cave_coral_2", {
|
||||
light_source = 2,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, dfcaverns_cave_coral = 1},
|
||||
groups = {cracky = 3, dfcaverns_cave_coral = 1, pickaxey = 1, building_block = 1, coral=1, coral_block=1},
|
||||
sounds = df_dependencies.sound_stone(),
|
||||
on_timer = function(pos)
|
||||
if minetest.find_node_near(pos, 1, {water_source}) == nil then
|
||||
@ -52,7 +52,7 @@ minetest.register_node("df_mapitems:cave_coral_1", {
|
||||
light_source = 1,
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, dfcaverns_cave_coral = 1},
|
||||
groups = {cracky = 3, dfcaverns_cave_coral = 1, pickaxey = 1, building_block = 1, coral=1, coral_block=1},
|
||||
sounds = df_dependencies.sound_stone(),
|
||||
on_timer = function(pos)
|
||||
if minetest.find_node_near(pos, 1, {water_source}) == nil then
|
||||
|
@ -8,7 +8,7 @@ minetest.register_node("df_mapitems:cave_pearls", {
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 2},
|
||||
groups = {cracky = 2, pickaxey = 2,attached_node_facedir=1},
|
||||
walkable = false,
|
||||
is_ground_content = false,
|
||||
climbable = true,
|
||||
|
@ -6,7 +6,7 @@ minetest.register_node("df_mapitems:glow_mese", {
|
||||
_doc_items_longdesc = df_mapitems.doc.glow_mese_desc,
|
||||
_doc_items_usagehelp = df_mapitems.doc.glow_mese_usage,
|
||||
tiles = {"dfcaverns_glow_mese.png"},
|
||||
groups = {cracky=3},
|
||||
groups = {cracky=3, pickaxey=4, material_stone=1, enderman_takable=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
is_ground_content = false,
|
||||
light_source = 13,
|
||||
@ -30,7 +30,7 @@ minetest.register_node("df_mapitems:mese_crystal", {
|
||||
_doc_items_longdesc = df_mapitems.doc.glow_mese_desc,
|
||||
_doc_items_usagehelp = df_mapitems.doc.glow_mese_usage,
|
||||
tiles = {"dfcaverns_glow_mese.png"},
|
||||
groups = {cracky = 2},
|
||||
groups = {cracky = 2, pickaxey=4, material_stone=1, building_block=1, enderman_takable=1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drawtype = "mesh",
|
||||
|
@ -6,7 +6,7 @@ minetest.register_node("df_mapitems:glow_ruby_ore", {
|
||||
_doc_items_usagehelp = df_mapitems.doc.glow_ruby_ore_usage,
|
||||
tiles = {"dfcaverns_glow_ruby_ore.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky=2},
|
||||
groups = {cracky=2, pickaxey=3, material_stone=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
_mcl_blast_resistance = 1.5,
|
||||
_mcl_hardness = 1.5,
|
||||
@ -28,7 +28,7 @@ minetest.register_node("df_mapitems:big_crystal", {
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1},
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1, pickaxey=5, material_stone=1, enderman_takable=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -58,7 +58,7 @@ minetest.register_node("df_mapitems:med_crystal", {
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
light_source = 12,
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1},
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1, pickaxey=5, material_stone=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -90,7 +90,7 @@ minetest.register_node("df_mapitems:big_crystal_30", {
|
||||
is_ground_content = false,
|
||||
light_source = 12,
|
||||
drop = "df_mapitems:big_crystal",
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1},
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1, pickaxey=5, material_stone=1, enderman_takable=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -144,7 +144,7 @@ minetest.register_node("df_mapitems:med_crystal_30", {
|
||||
is_ground_content = false,
|
||||
light_source = 12,
|
||||
drop = "df_mapitems:med_crystal",
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1},
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1, pickaxey=5, material_stone=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -183,7 +183,7 @@ minetest.register_node("df_mapitems:big_crystal_30_45", {
|
||||
is_ground_content = false,
|
||||
light_source = 12,
|
||||
drop = "df_mapitems:big_crystal",
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1},
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1, pickaxey=5, material_stone=1, enderman_takable=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -223,7 +223,7 @@ minetest.register_node("df_mapitems:med_crystal_30_45", {
|
||||
is_ground_content = false,
|
||||
light_source = 12,
|
||||
drop = "df_mapitems:med_crystal",
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1},
|
||||
groups = {cracky=2, dfcaverns_big_crystal = 1, pickaxey=5, material_stone=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -5,7 +5,7 @@ minetest.register_node("df_mapitems:salt_crystal", {
|
||||
_doc_items_longdesc = df_mapitems.doc.salt_desc,
|
||||
_doc_items_usagehelp = df_mapitems.doc.salt_usage,
|
||||
tiles = {"dfcaverns_salt_crystal.png"},
|
||||
groups = {cracky = 2},
|
||||
groups = {cracky = 2, pickaxey = 1, shovely=1, material_stone=1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drawtype = "mesh",
|
||||
@ -25,7 +25,7 @@ minetest.register_node("df_mapitems:salty_cobble", {
|
||||
_doc_items_longdesc = df_mapitems.doc.salty_cobble_desc,
|
||||
_doc_items_usagehelp = df_mapitems.doc.salty_cobble_desc,
|
||||
tiles = {df_dependencies.texture_cobble .. "^dfcaverns_salty.png"},
|
||||
groups = {cracky = 3, stone = 1, lava_heatable = 1},
|
||||
groups = {cracky = 3, stone = 1, lava_heatable = 1, pickaxey = 1, material_stone=1},
|
||||
_magma_conduits_heats_to = df_dependencies.node_name_cobble,
|
||||
is_ground_content = false,
|
||||
light_source = 2,
|
||||
|
@ -9,7 +9,7 @@ df_mapitems.dry_stalagmite_ids = subterrane.register_stalagmite_nodes("df_mapite
|
||||
tiles = {
|
||||
df_dependencies.texture_stone .. "^[brighten",
|
||||
},
|
||||
groups = {cracky = 3, stone = 2},
|
||||
groups = {cracky = 3, stone = 2, pickaxey=1, building_block=1, material_stone=1},
|
||||
sounds = df_dependencies.sound_stone(),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 6,
|
||||
@ -21,7 +21,7 @@ minetest.register_node("df_mapitems:dry_flowstone", {
|
||||
_doc_items_longdesc = df_mapitems.doc.flowstone_desc,
|
||||
_doc_items_usagehelp = df_mapitems.doc.flowstone_usage,
|
||||
tiles = {df_dependencies.texture_stone .. "^[brighten"},
|
||||
groups = {cracky = 3, stone = 1, lava_heatable = 1},
|
||||
groups = {cracky = 3, stone = 1, lava_heatable = 1, pickaxey=1, building_block=1, material_stone=1},
|
||||
_magma_conduits_heats_to = df_dependencies.node_name_cobble,
|
||||
is_ground_content = false,
|
||||
drop = df_dependencies.node_name_cobble,
|
||||
@ -39,7 +39,7 @@ df_mapitems.wet_stalagmite_ids = subterrane.register_stalagmite_nodes("df_mapite
|
||||
tiles = {
|
||||
df_dependencies.texture_stone .. "^[brighten^dfcaverns_dripstone_streaks.png",
|
||||
},
|
||||
groups = {cracky = 3, stone = 2, subterrane_wet_dripstone = 1},
|
||||
groups = {cracky = 3, stone = 2, subterrane_wet_dripstone = 1, pickaxey=1, building_block=1, material_stone=1},
|
||||
sounds = df_dependencies.sound_stone(),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 6,
|
||||
@ -52,7 +52,7 @@ minetest.register_node("df_mapitems:wet_flowstone", {
|
||||
_doc_items_longdesc = df_mapitems.doc.flowstone_desc,
|
||||
_doc_items_usagehelp = df_mapitems.doc.flowstone_usage,
|
||||
tiles = {df_dependencies.texture_stone .. "^[brighten^dfcaverns_dripstone_streaks.png"},
|
||||
groups = {cracky = 3, stone = 1, subterrane_wet_dripstone = 1, lava_heatable = 1},
|
||||
groups = {cracky = 3, stone = 1, subterrane_wet_dripstone = 1, lava_heatable = 1, pickaxey=1, building_block=1, material_stone=1},
|
||||
_magma_conduits_heats_to = "df_mapitems:dry_flowstone",
|
||||
is_ground_content = false,
|
||||
drop = df_dependencies.node_name_cobble,
|
||||
@ -70,7 +70,7 @@ df_mapitems.icicle_ids = subterrane.register_stalagmite_nodes("df_mapitems:icicl
|
||||
tiles = {
|
||||
df_dependencies.texture_ice,
|
||||
},
|
||||
groups = {cracky = 3, puts_out_fire = 1, cools_lava = 1, slippery = 3},
|
||||
groups = {cracky = 3, puts_out_fire = 1, cools_lava = 1, slippery = 3, pickaxey=1, building_block=1, handy=1, slippery=3, building_block=1, ice=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
_mcl_blast_resistance = 0.5,
|
||||
_mcl_hardness = 0.5,
|
||||
|
@ -23,7 +23,7 @@ minetest.register_node("df_mapitems:glow_worm", {
|
||||
inventory_image = "dfcaverns_glow_worm.png",
|
||||
wield_image = "dfcaverns_glow_worm.png",
|
||||
is_ground_content = false,
|
||||
groups = {oddly_breakable_by_hand=3, light_sensitive_fungus = 12},
|
||||
groups = {oddly_breakable_by_hand=3, light_sensitive_fungus = 12, shearsy=1, swordy=1, destroy_by_lava_flow=1},
|
||||
_dfcaverns_dead_node = "air",
|
||||
light_source = 9,
|
||||
paramtype = "light",
|
||||
|
@ -45,7 +45,7 @@ minetest.register_node("df_mapitems:dirt_with_cave_moss", {
|
||||
is_ground_content = false,
|
||||
light_source = 2,
|
||||
paramtype = "light",
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8},
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8, handy=1,shovely=1,dirt=2, soil_sapling=2, soil_sugarcane=1, cultivatable=1, enderman_takable=1, building_block=1, compostability=30},
|
||||
sounds = df_dependencies.sound_dirt({footstep = {name = df_dependencies.soundfile_grass_footstep, gain = 0.25},}),
|
||||
soil = {
|
||||
base = "df_mapitems:dirt_with_cave_moss",
|
||||
@ -73,7 +73,7 @@ minetest.register_node("df_mapitems:sand_scum", {
|
||||
is_ground_content = false,
|
||||
light_source = 2,
|
||||
paramtype = "light",
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8},
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8, handy=1,shovely=1, falling_node=1, sand=1, soil_sugarcane=1, enderman_takable=1, building_block=1, material_sand=1},
|
||||
sounds = df_dependencies.sound_sand({footstep = {name = "dfcaverns_squish", gain = 0.25},}),
|
||||
_dfcaverns_dead_node = sand_node,
|
||||
_mcl_blast_resistance = 0.5,
|
||||
@ -96,7 +96,7 @@ minetest.register_node("df_mapitems:dirt_with_pebble_fungus", {
|
||||
is_ground_content = false,
|
||||
light_source = 2,
|
||||
paramtype = "light",
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8},
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8, handy=1,shovely=1,dirt=2, soil_sapling=2, soil_sugarcane=1, cultivatable=1, enderman_takable=1, building_block=1, compostability=30},
|
||||
sounds = df_dependencies.sound_dirt(),
|
||||
soil = {
|
||||
base = "df_mapitems:dirt_with_pebble_fungus",
|
||||
@ -124,7 +124,7 @@ minetest.register_node("df_mapitems:dirt_with_stillworm", {
|
||||
is_ground_content = false,
|
||||
light_source = 2,
|
||||
paramtype = "light",
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8},
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8, handy=1,shovely=1,dirt=2, soil_sapling=2, soil_sugarcane=1, cultivatable=1, enderman_takable=1, building_block=1, compostability=30},
|
||||
sounds = df_dependencies.sound_dirt({footstep = {name = df_dependencies.soundfile_grass_footstep, gain = 0.25},}),
|
||||
soil = {
|
||||
base = "df_mapitems:dirt_with_stillworm",
|
||||
@ -149,7 +149,7 @@ minetest.register_node("df_mapitems:spongestone", {
|
||||
drop = dirt_node,
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8},
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8, shovely=1,dirt=2, enderman_takable=1, building_block=1, compostability=10},
|
||||
sounds = df_dependencies.sound_dirt(),
|
||||
soil = {
|
||||
base = "df_mapitems:spongestone",
|
||||
@ -172,7 +172,7 @@ minetest.register_node("df_mapitems:rock_rot", {
|
||||
is_ground_content = false,
|
||||
light_source = 2,
|
||||
paramtype = "light",
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8},
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8, shovely=1,dirt=2, enderman_takable=1, building_block=1, compostability=5},
|
||||
sounds = df_dependencies.sound_dirt(),
|
||||
_dfcaverns_dead_node = stone_node,
|
||||
_mcl_blast_resistance = 3,
|
||||
@ -195,7 +195,7 @@ minetest.register_node("df_mapitems:cobble_with_floor_fungus", {
|
||||
drop = cobble_node,
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
groups = {cracky = 3, stone = 2, slippery = 1, light_sensitive_fungus = 8, df_caverns_floor_fungus = 1},
|
||||
groups = {cracky = 3, stone = 2, slippery = 1, light_sensitive_fungus = 8, df_caverns_floor_fungus = 1, pickaxey=1, building_block=1, material_stone=1},
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_cobble,
|
||||
sounds = df_dependencies.sound_stone({footstep = {name = "dfcaverns_squish", gain = 0.25},}),
|
||||
_mcl_blast_resistance = 6,
|
||||
@ -210,7 +210,7 @@ minetest.register_node("df_mapitems:cobble_with_floor_fungus_fine", {
|
||||
drop = cobble_node,
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
groups = {cracky = 3, stone = 2, slippery = 1, light_sensitive_fungus = 8, df_caverns_floor_fungus = 1},
|
||||
groups = {cracky = 3, stone = 2, slippery = 1, light_sensitive_fungus = 8, df_caverns_floor_fungus = 1, pickaxey=1, building_block=1, material_stone=1},
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_cobble,
|
||||
df_dependencies.sound_stone({footstep = {name = "dfcaverns_squish", gain = 0.25},}),
|
||||
_mcl_blast_resistance = 6,
|
||||
@ -253,7 +253,7 @@ minetest.register_node("df_mapitems:ice_with_hoar_moss", {
|
||||
paramtype = "light",
|
||||
light_source = 2,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, puts_out_fire = 1, cools_lava = 1, slippery = 2, light_sensitive_fungus = 8},
|
||||
groups = {cracky = 3, puts_out_fire = 1, cools_lava = 1, slippery = 2, light_sensitive_fungus = 8, handy=1,pickaxey=1, building_block=1, ice=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_ice,
|
||||
_mcl_blast_resistance = 0.5,
|
||||
|
@ -11,7 +11,7 @@ minetest.register_node("df_mapitems:snareweed", {
|
||||
is_ground_content = false,
|
||||
drop = df_dependencies.node_name_dirt,
|
||||
light_source = 6,
|
||||
groups = {crumbly = 3, soil = 1},
|
||||
groups = {crumbly = 3, soil = 1, handy=1,shovely=1, dirt=1,},
|
||||
sounds = df_dependencies.sound_dirt(),
|
||||
_mcl_blast_resistance = 0.5,
|
||||
_mcl_hardness = 0.6,
|
||||
|
@ -5,7 +5,7 @@ minetest.register_node("df_mapitems:veinstone", {
|
||||
_doc_items_longdesc = df_mapitems.doc.veinstone_desc,
|
||||
_doc_items_usagehelp = df_mapitems.doc.veinstone_usage,
|
||||
tiles = {df_dependencies.texture_stone .. "^dfcaverns_veins.png"},
|
||||
groups = {cracky = 3, stone = 1, lava_heatable = 1},
|
||||
groups = {cracky = 3, stone = 1, lava_heatable = 1, pickaxey=1, building_block=1, material_stone=1},
|
||||
_magma_conduits_heats_to = df_dependencies.node_name_cobble,
|
||||
is_ground_content = false,
|
||||
light_source = 2,
|
||||
@ -25,7 +25,7 @@ minetest.register_node("df_mapitems:veinstone_pulse", {
|
||||
_doc_items_longdesc = df_mapitems.doc.veinstone_desc,
|
||||
_doc_items_usagehelp = df_mapitems.doc.veinstone_usage,
|
||||
tiles = {df_dependencies.texture_stone .. "^dfcaverns_veins.png"},
|
||||
groups = {cracky = 3, stone = 1, lava_heatable = 1, not_in_creative_inventory = 1},
|
||||
groups = {cracky = 3, stone = 1, lava_heatable = 1, not_in_creative_inventory = 1, pickaxey=1, building_block=1, material_stone=1},
|
||||
_magma_conduits_heats_to = df_dependencies.node_name_cobble,
|
||||
is_ground_content = false,
|
||||
light_source = 8,
|
||||
@ -58,7 +58,7 @@ minetest.register_node("df_mapitems:veinstone_refractory", {
|
||||
_doc_items_longdesc = df_mapitems.doc.veinstone_desc,
|
||||
_doc_items_usagehelp = df_mapitems.doc.veinstone_usage,
|
||||
tiles = {df_dependencies.texture_stone .. "^dfcaverns_veins.png"},
|
||||
groups = {cracky = 3, stone = 1, lava_heatable = 1, not_in_creative_inventory = 1},
|
||||
groups = {cracky = 3, stone = 1, lava_heatable = 1, not_in_creative_inventory = 1, pickaxey=1, building_block=1, material_stone=1},
|
||||
_magma_conduits_heats_to = df_dependencies.node_name_cobble,
|
||||
is_ground_content = false,
|
||||
light_source = 1,
|
||||
|
@ -12,7 +12,7 @@ minetest.register_node("df_primordial_items:glownode", {
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3},
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, handy=1, glass=1, building_block=1, material_glass=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
_mcl_blast_resistance = 0.3,
|
||||
@ -26,7 +26,7 @@ minetest.register_node("df_primordial_items:glownode_stalk", {
|
||||
tiles = {"dfcaverns_mush_stalk_top.png", "dfcaverns_mush_stalk_top.png", "dfcaverns_mush_stalk_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, handy=1,axey=1,building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
on_place = minetest.rotate_node,
|
||||
_mcl_blast_resistance = 2,
|
||||
@ -40,7 +40,7 @@ minetest.register_node("df_primordial_items:glow_orb_hanging", {
|
||||
tiles = {"dfcaverns_mush_orb_vert.png"},
|
||||
inventory_image = "dfcaverns_mush_orb_vert.png",
|
||||
wield_image = "dfcaverns_mush_orb_vert.png",
|
||||
groups = {snappy = 3, flora = 1, flammable = 1},
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, attached_node = 1, plant = 1, handy=1, swordy=1, hoey=1, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "degrotate",
|
||||
drawtype = "plantlike",
|
||||
|
@ -12,7 +12,7 @@ minetest.register_node("df_primordial_items:fungal_grass_1", {
|
||||
tiles = {"dfcaverns_mush_grass_01.png"},
|
||||
inventory_image = "dfcaverns_mush_grass_01.png",
|
||||
wield_image = "dfcaverns_mush_grass_01.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 11},
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 11, plant=1, handy=1, swordy=1, hoey=1, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
buildable_to = true,
|
||||
@ -33,7 +33,7 @@ minetest.register_node("df_primordial_items:fungal_grass_2", {
|
||||
tiles = {"dfcaverns_mush_grass_02.png"},
|
||||
inventory_image = "dfcaverns_mush_grass_02.png",
|
||||
wield_image = "dfcaverns_mush_grass_02.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 11},
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 11, plant=1, handy=1, swordy=1, hoey=1, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
buildable_to = true,
|
||||
@ -57,7 +57,7 @@ minetest.register_node("df_primordial_items:glow_orb", {
|
||||
tiles = {"dfcaverns_mush_orb.png"},
|
||||
inventory_image = "dfcaverns_mush_orb.png",
|
||||
wield_image = "dfcaverns_mush_orb.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 13, plant=1, handy=1, swordy=1, hoey=1, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
buildable_to = true,
|
||||
@ -79,7 +79,7 @@ minetest.register_node("df_primordial_items:glow_orb_stalks", {
|
||||
tiles = {"dfcaverns_mush_stalks.png"},
|
||||
inventory_image = "dfcaverns_mush_stalks.png",
|
||||
wield_image = "dfcaverns_mush_stalks.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 13, plant=1, handy=1, swordy=1, hoey=1, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
buildable_to = true,
|
||||
@ -101,7 +101,7 @@ minetest.register_node("df_primordial_items:glow_pods", {
|
||||
tiles = {"dfcaverns_mush_pods.png"},
|
||||
inventory_image = "dfcaverns_mush_pods.png",
|
||||
wield_image = "dfcaverns_mush_pods.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 13, plant=1, handy=1, swordy=1, hoey=1, destroy_by_lava_flow=1,dig_by_piston=1},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
drop = {
|
||||
@ -137,7 +137,7 @@ minetest.register_node("df_primordial_items:dirt_with_mycelium", {
|
||||
_doc_items_longdesc = df_primordial_items.doc.dirt_with_mycelium_desc,
|
||||
_doc_items_usagehelp = df_primordial_items.doc.dirt_with_mycelium_usage,
|
||||
tiles = {"dfcaverns_mush_soil.png"},
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 13},
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 13, handy=1,shovely=1, dirt=2, building_block=1},
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dirt,
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
|
@ -8,7 +8,7 @@ minetest.register_node("df_primordial_items:giant_fern_tree", {
|
||||
_doc_items_longdesc = df_primordial_items.doc.giant_fern_desc,
|
||||
_doc_items_usagehelp = df_primordial_items.doc.giant_fern_usage,
|
||||
tiles = {"dfcaverns_jungle_fern_stem.png","dfcaverns_jungle_fern_stem.png","dfcaverns_jungle_fern_bark.png",},
|
||||
groups = {tree=1, choppy=2, oddly_breakable_by_hand=1, flammable= 2, fern_stem = 1},
|
||||
groups = {tree=1, choppy=2, oddly_breakable_by_hand=1, flammable= 2, fern_stem = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -36,7 +36,7 @@ minetest.register_node("df_primordial_items:giant_fern_tree_slant_bottom", {
|
||||
mesh = "dfcaverns_fern_slant.obj",
|
||||
paramtype = "light",
|
||||
drop = "df_primordial_items:giant_fern_tree",
|
||||
groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1},
|
||||
groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
is_ground_content = false,
|
||||
on_place = minetest.rotate_node,
|
||||
@ -75,7 +75,7 @@ minetest.register_node("df_primordial_items:giant_fern_tree_slant_top", {
|
||||
mesh = "dfcaverns_fern_slant_2.obj",
|
||||
paramtype = "light",
|
||||
drop = "df_primordial_items:giant_fern_tree",
|
||||
groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1},
|
||||
groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
is_ground_content = false,
|
||||
on_place = minetest.rotate_node,
|
||||
@ -114,7 +114,7 @@ minetest.register_node("df_primordial_items:giant_fern_tree_slant_full", {
|
||||
mesh = "dfcaverns_fern_slant_full.obj",
|
||||
paramtype = "light",
|
||||
drop = "df_primordial_items:giant_fern_tree",
|
||||
groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1},
|
||||
groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
is_ground_content = false,
|
||||
on_place = minetest.rotate_node,
|
||||
@ -143,7 +143,7 @@ minetest.register_node("df_primordial_items:fern_wood", {
|
||||
paramtype2 = "facedir",
|
||||
tiles = {df_dependencies.texture_wood .. "^[multiply:#10FF10"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=10},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 1,
|
||||
@ -166,7 +166,7 @@ minetest.register_node("df_primordial_items:giant_fern_leaves", {
|
||||
visual_scale = 1.41,
|
||||
inventory_image = "dfcaverns_jungle_fern_leaves_01.png",
|
||||
wield_image = "dfcaverns_jungle_fern_leaves_01.png",
|
||||
groups = {snappy = 3, leafdecay = 2, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 2, flammable = 2, leaves = 1, handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30, compostability=30},
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
@ -304,7 +304,7 @@ minetest.register_node("df_primordial_items:fern_sapling", {
|
||||
tiles = {"dfcaverns_jungle_fern_03.png"},
|
||||
inventory_image = "dfcaverns_jungle_fern_03.png",
|
||||
wield_image = "dfcaverns_jungle_fern_03.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, sapling = 1, light_sensitive_fungus = 13},
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, sapling = 1, light_sensitive_fungus = 13, attached_node=1,dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30,dig_immediate=3},
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dry_shrub,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -34,7 +34,7 @@ minetest.register_node("df_primordial_items:giant_hypha_root", {
|
||||
light_source = 2,
|
||||
is_ground_content = false,
|
||||
climbable = true,
|
||||
groups = {oddly_breakable_by_hand = 1, choppy = 2, hypha = 1},
|
||||
groups = {oddly_breakable_by_hand = 1, choppy = 2, hypha = 1, handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=1, fire_flammability=1},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
drop = {
|
||||
max_items = 1,
|
||||
@ -67,7 +67,7 @@ minetest.register_node("df_primordial_items:giant_hypha", {
|
||||
light_source = 2,
|
||||
is_ground_content = false,
|
||||
climbable = true,
|
||||
groups = {oddly_breakable_by_hand = 1, choppy = 2, hypha = 1},
|
||||
groups = {oddly_breakable_by_hand = 1, choppy = 2, hypha = 1, handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=1, fire_flammability=1},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
drop = {
|
||||
max_items = 1,
|
||||
@ -320,7 +320,7 @@ minetest.register_node("df_primordial_items:giant_hypha_apical_meristem", {
|
||||
paramtype = "light",
|
||||
|
||||
is_ground_content = false,
|
||||
groups = {oddly_breakable_by_hand = 1, choppy = 2, hypha = 1, light_sensitive_fungus = 13},
|
||||
groups = {oddly_breakable_by_hand = 1, choppy = 2, hypha = 1, light_sensitive_fungus = 13, handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=1, fire_flammability=1},
|
||||
_dfcaverns_dead_node = "df_primordial_items:giant_hypha_root",
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
_mcl_blast_resistance = 2,
|
||||
@ -411,7 +411,7 @@ minetest.register_node("df_primordial_items:giant_hypha_apical_mapgen", {
|
||||
paramtype = "light",
|
||||
|
||||
is_ground_content = false,
|
||||
groups = {oddly_breakable_by_hand = 1, choppy = 2, hypha = 1, not_in_creative_inventory = 1, light_sensitive_fungus = 13},
|
||||
groups = {oddly_breakable_by_hand = 1, choppy = 2, hypha = 1, not_in_creative_inventory = 1, light_sensitive_fungus = 13, handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=1, fire_flammability=1},
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
|
@ -10,7 +10,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_trunk", {
|
||||
tiles = {"dfcaverns_jungle_mushroom_stem.png", "dfcaverns_jungle_mushroom_stem.png", "dfcaverns_jungle_mushroom_stem_02.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
on_place = minetest.rotate_node,
|
||||
_mcl_blast_resistance = 2,
|
||||
@ -24,7 +24,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_cap_1", {
|
||||
tiles = {"dfcaverns_jungle_mushroom_top_02.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, primordial_mushroom_cap = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, primordial_mushroom_cap = 1, handy=1,axey=1, tree=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5, compostability=30},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
on_place = minetest.rotate_node,
|
||||
drop = {
|
||||
@ -50,7 +50,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_cap_2", {
|
||||
tiles = {"dfcaverns_jungle_mushroom_top_01.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, primordial_mushroom_cap = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, primordial_mushroom_cap = 1, handy=1,axey=1, tree=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5, compostability=30},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
on_place = minetest.rotate_node,
|
||||
drop = {
|
||||
@ -100,7 +100,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_sapling", {
|
||||
tiles = {"dfcaverns_jungle_mushroom_02.png^[brighten"},
|
||||
inventory_image = "dfcaverns_jungle_mushroom_02.png^[brighten",
|
||||
wield_image = "dfcaverns_jungle_mushroom_02.png^[brighten",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, sapling = 1, light_sensitive_fungus = 13},
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, sapling = 1, light_sensitive_fungus = 13, dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30,dig_immediate=3},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||
|
@ -3,6 +3,8 @@ local S = minetest.get_translator(minetest.get_current_modname())
|
||||
----------------------------------------------------
|
||||
-- Ferns
|
||||
|
||||
local jungle_plant_groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 13, handy=1, swordy=1, hoey=1, destroy_by_lava_flow=1,dig_by_piston=1, compostability = 30}
|
||||
|
||||
minetest.register_node("df_primordial_items:fern_1", {
|
||||
description = S("Primordial Fern"),
|
||||
_doc_items_longdesc = df_primordial_items.doc.fern_desc,
|
||||
@ -10,7 +12,7 @@ minetest.register_node("df_primordial_items:fern_1", {
|
||||
tiles = {"dfcaverns_jungle_fern_01.png"},
|
||||
inventory_image = "dfcaverns_jungle_fern_01.png",
|
||||
wield_image = "dfcaverns_jungle_fern_01.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = jungle_plant_groups,
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dry_shrub,
|
||||
visual_scale = 1.69,
|
||||
paramtype = "light",
|
||||
@ -34,7 +36,7 @@ minetest.register_node("df_primordial_items:fern_2", {
|
||||
visual_scale = 1.69,
|
||||
inventory_image = "dfcaverns_jungle_fern_02.png",
|
||||
wield_image = "dfcaverns_jungle_fern_02.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = jungle_plant_groups,
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dry_shrub,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
@ -59,7 +61,7 @@ minetest.register_node("df_primordial_items:glow_plant_1", {
|
||||
tiles = {"dfcaverns_jungle_flower_01.png"},
|
||||
inventory_image = "dfcaverns_jungle_flower_01.png",
|
||||
wield_image = "dfcaverns_jungle_flower_01.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = jungle_plant_groups,
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dry_shrub,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
@ -95,7 +97,7 @@ minetest.register_node("df_primordial_items:glow_plant_2", {
|
||||
tiles = {"dfcaverns_jungle_glow_plant_01.png"},
|
||||
inventory_image = "dfcaverns_jungle_glow_plant_01.png",
|
||||
wield_image = "dfcaverns_jungle_glow_plant_01.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = jungle_plant_groups,
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dry_shrub,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
@ -119,7 +121,7 @@ minetest.register_node("df_primordial_items:glow_plant_3", {
|
||||
tiles = {"dfcaverns_jungle_glow_plant_02.png"},
|
||||
inventory_image = "dfcaverns_jungle_glow_plant_02.png",
|
||||
wield_image = "dfcaverns_jungle_glow_plant_02.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = jungle_plant_groups,
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dry_shrub,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
@ -147,7 +149,7 @@ minetest.register_node("df_primordial_items:jungle_grass_1", {
|
||||
tiles = {"dfcaverns_jungle_grass_01.png"},
|
||||
inventory_image = "dfcaverns_jungle_grass_01.png",
|
||||
wield_image = "dfcaverns_jungle_grass_01.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = jungle_plant_groups,
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dry_grass_3,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
@ -169,7 +171,7 @@ minetest.register_node("df_primordial_items:jungle_grass_2", {
|
||||
tiles = {"dfcaverns_jungle_grass_02.png"},
|
||||
inventory_image = "dfcaverns_jungle_grass_02.png",
|
||||
wield_image = "dfcaverns_jungle_grass_02.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = jungle_plant_groups,
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dry_grass_4,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
@ -192,7 +194,7 @@ minetest.register_node("df_primordial_items:jungle_grass_3", {
|
||||
tiles = {"dfcaverns_jungle_grass_03.png"},
|
||||
inventory_image = "dfcaverns_jungle_grass_03.png",
|
||||
wield_image = "dfcaverns_jungle_grass_03.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 13},
|
||||
groups = jungle_plant_groups,
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dry_grass_4,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
@ -219,7 +221,7 @@ minetest.register_node("df_primordial_items:jungle_ivy", {
|
||||
tiles = {"dfcaverns_jungle_ivy_01.png"},
|
||||
inventory_image = "dfcaverns_jungle_ivy_01.png",
|
||||
wield_image = "dfcaverns_jungle_ivy_01.png",
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, vines = 1},
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, vines = 1, handy=1,axey=1,shearsy=1,swordy=1, flammable=2,deco_block=1,destroy_by_lava_flow=1,dig_by_piston=1, fire_encouragement=15, fire_flammability=100, compostability=50},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
place_param2 = 3,
|
||||
@ -248,7 +250,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_1", {
|
||||
tiles = {"dfcaverns_jungle_mushroom_01.png^[multiply:#f3df2a"},
|
||||
inventory_image = "dfcaverns_jungle_mushroom_01.png^[multiply:#f3df2a",
|
||||
wield_image = "dfcaverns_jungle_mushroom_01.png^[multiply:#f3df2a",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 11},
|
||||
groups = jungle_plant_groups,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
buildable_to = true,
|
||||
@ -269,7 +271,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_2", {
|
||||
tiles = {"dfcaverns_jungle_mushroom_02.png"},
|
||||
inventory_image = "dfcaverns_jungle_mushroom_02.png",
|
||||
wield_image = "dfcaverns_jungle_mushroom_02.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_jungle_plant = 1, light_sensitive_fungus = 11},
|
||||
groups = jungle_plant_groups,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
buildable_to = true,
|
||||
@ -292,7 +294,7 @@ minetest.register_node("df_primordial_items:dirt_with_jungle_grass", {
|
||||
_doc_items_usagehelp = df_primordial_items.doc.dirt_with_jungle_grass_usage,
|
||||
tiles = {"dfcaverns_jungle_plant_grass_node_01.png"},
|
||||
paramtype = "light",
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 13},
|
||||
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 13, handy=1,shovely=1, dirt=2, building_block=1},
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dirt,
|
||||
is_ground_content = false,
|
||||
drop = df_dependencies.node_name_dirt,
|
||||
@ -323,7 +325,7 @@ minetest.register_node("df_primordial_items:plant_matter", {
|
||||
tiles = {"dfcaverns_jungle_plant_matter_01.png"},
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
groups = {crumbly = 3, soil = 1, flammable = 1},
|
||||
groups = {crumbly = 3, soil = 1, flammable = 1, handy=1,shovely=1, dirt=2, building_block=1, fire_encouragement=1, fire_flammability=1},
|
||||
sounds = df_dependencies.sound_dirt(),
|
||||
on_timer = function(pos, elapsed)
|
||||
if elapsed > 130 then
|
||||
@ -348,7 +350,7 @@ minetest.register_node("df_primordial_items:packed_roots", {
|
||||
tiles = {"dfcaverns_jungle_plant_packed_roots_01.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 3,
|
||||
@ -397,7 +399,7 @@ minetest.register_node("df_primordial_items:jungle_roots_1", {
|
||||
tiles = {"dfcaverns_jungle_root_01.png"},
|
||||
inventory_image = "dfcaverns_jungle_root_01.png",
|
||||
wield_image = "dfcaverns_jungle_root_01.png",
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, vines = 1},
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, vines = 1, handy=1,axey=1,shearsy=1,swordy=1, deco_block=1,destroy_by_lava_flow=1,dig_by_piston=1, fire_encouragement=3, fire_flammability=10, compostability=50},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
@ -417,7 +419,7 @@ minetest.register_node("df_primordial_items:jungle_roots_2", {
|
||||
tiles = {"dfcaverns_jungle_root_02.png"},
|
||||
inventory_image = "dfcaverns_jungle_root_02.png",
|
||||
wield_image = "dfcaverns_jungle_root_02.png",
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, vines = 1},
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, vines = 1, handy=1,axey=1,shearsy=1,swordy=1, deco_block=1,destroy_by_lava_flow=1,dig_by_piston=1, fire_encouragement=3, fire_flammability=10, compostability=50},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
@ -441,7 +443,7 @@ minetest.register_node("df_primordial_items:jungle_thorns", {
|
||||
visual_scale = 1.41,
|
||||
inventory_image = "dfcaverns_jungle_thorns_01.png",
|
||||
wield_image = "dfcaverns_jungle_thorns_01.png",
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, primordial_jungle_plant = 1},
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, primordial_jungle_plant = 1, handy=1, swordy=1, hoey=1, destroy_by_lava_flow=1,dig_by_piston=1, fire_encouragement=30, fire_flammability=100, compostability=50},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
walkable = false,
|
||||
|
@ -15,7 +15,7 @@ minetest.register_node("df_primordial_items:jungle_leaves", {
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, leafdecay = 1, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 1, flammable = 2, leaves = 1, handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=30, fire_flammability=60, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
drop = {
|
||||
max_items = 1,
|
||||
@ -50,7 +50,7 @@ minetest.register_node("df_primordial_items:jungle_leaves_glowing", {
|
||||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
light_source = 2,
|
||||
groups = {snappy = 3, leafdecay = 1, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 1, flammable = 2, leaves = 1, handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=30, fire_flammability=60, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
drop = {
|
||||
max_items = 1,
|
||||
@ -79,7 +79,7 @@ minetest.register_node("df_primordial_items:jungle_tree", {
|
||||
tiles = {"dfcaverns_jungle_wood_02.png", "dfcaverns_jungle_wood_02.png", "dfcaverns_jungle_wood_01.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, primordial_jungle_tree = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, primordial_jungle_tree = 1, handy=1,axey=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
on_place = minetest.rotate_node,
|
||||
_mcl_blast_resistance = 2,
|
||||
@ -93,7 +93,7 @@ minetest.register_node("df_primordial_items:jungle_tree_mossy", {
|
||||
tiles = {"dfcaverns_jungle_wood_02.png", "dfcaverns_jungle_wood_02.png", "dfcaverns_jungle_wood_03.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, primordial_jungle_tree = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, primordial_jungle_tree = 1, handy=1,axey=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
on_place = minetest.rotate_node,
|
||||
_mcl_blast_resistance = 2,
|
||||
@ -108,7 +108,7 @@ minetest.register_node("df_primordial_items:jungle_tree_glowing", {
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
light_source = 4,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, primordial_jungle_tree = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, primordial_jungle_tree = 1, handy=1,axey=1, flammable=2, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
on_place = minetest.rotate_node,
|
||||
_mcl_blast_resistance = 2,
|
||||
@ -234,7 +234,7 @@ minetest.register_node("df_primordial_items:jungletree_sapling", {
|
||||
tiles = {"dfcaverns_jungle_sapling.png"},
|
||||
inventory_image = "dfcaverns_jungle_sapling.png",
|
||||
wield_image = "dfcaverns_jungle_sapling.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, sapling = 1, light_sensitive_fungus = 13},
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, sapling = 1, light_sensitive_fungus = 13, dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30,dig_immediate=3},
|
||||
_dfcaverns_dead_node = df_dependencies.node_name_dry_shrub,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -7,7 +7,7 @@ minetest.register_node("df_primordial_items:mushroom_trunk", {
|
||||
tiles = {"dfcaverns_mush_shaft_top.png", "dfcaverns_mush_shaft_top.png", "dfcaverns_mush_shaft_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
on_place = minetest.rotate_node,
|
||||
_mcl_blast_resistance = 3,
|
||||
@ -21,7 +21,7 @@ minetest.register_node("df_primordial_items:mushroom_cap", {
|
||||
tiles = {"dfcaverns_mush_cap.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
on_place = minetest.rotate_node,
|
||||
_mcl_blast_resistance = 2,
|
||||
@ -35,7 +35,7 @@ minetest.register_node("df_primordial_items:mushroom_gills", {
|
||||
tiles = {"dfcaverns_mush_gills.png"},
|
||||
inventory_image = "dfcaverns_mush_gills.png",
|
||||
wield_image = "dfcaverns_mush_gills.png",
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, leaves = 1, leafdecay = 8},
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, leaves = 1, leafdecay = 8,handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30, compostability=30},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
waving = 2,
|
||||
@ -71,7 +71,7 @@ minetest.register_node("df_primordial_items:mushroom_gills_glowing", {
|
||||
tiles = {"dfcaverns_mush_gills_glow.png"},
|
||||
inventory_image = "dfcaverns_mush_gills_glow.png",
|
||||
wield_image = "dfcaverns_mush_gills_glow.png",
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, leaves = 1, leafdecay = 8},
|
||||
groups = {snappy = 3, flora = 1, flammable = 1, leaves = 1, leafdecay = 8,handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30, compostability=30},
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
waving = 2,
|
||||
@ -114,7 +114,7 @@ minetest.register_node("df_primordial_items:primordial_mush_trunk_wood", {
|
||||
paramtype2 = "facedir",
|
||||
tiles = {"dfcaverns_mush_shaft_side.png^(dfcaverns_mush_gills.png^[multiply:#888888)"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 4,
|
||||
_mcl_hardness = 3,
|
||||
@ -136,7 +136,7 @@ minetest.register_node("df_primordial_items:primordial_mush_cap_wood", {
|
||||
paramtype2 = "facedir",
|
||||
tiles = {"dfcaverns_mush_cap.png^dfcaverns_mush_gills.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 2,
|
||||
@ -747,7 +747,7 @@ minetest.register_node("df_primordial_items:mush_sapling", {
|
||||
tiles = {"dfcaverns_mush_sapling.png"},
|
||||
inventory_image = "dfcaverns_mush_sapling.png",
|
||||
wield_image = "dfcaverns_mush_sapling.png",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, sapling = 1, light_sensitive_fungus = 11},
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, sapling = 1, light_sensitive_fungus = 11, dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30,dig_immediate=3},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||
|
@ -7,7 +7,7 @@ minetest.register_node("df_trees:black_cap_stem", {
|
||||
_doc_items_usagehelp = df_trees.doc.black_cap_usage,
|
||||
tiles = {"dfcaverns_black_cap_top.png","dfcaverns_black_cap_top.png","dfcaverns_black_cap_side.png",},
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 6,
|
||||
_mcl_hardness = 5,
|
||||
@ -20,7 +20,7 @@ minetest.register_node("df_trees:black_cap", {
|
||||
_doc_items_usagehelp = df_trees.doc.black_cap_usage,
|
||||
tiles = {"dfcaverns_black_cap_top.png","dfcaverns_black_cap_top.png","dfcaverns_black_cap_side.png^[transformR90",},
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 6,
|
||||
_mcl_hardness = 5,
|
||||
@ -33,7 +33,7 @@ minetest.register_node("df_trees:black_cap_gills", {
|
||||
_doc_items_usagehelp = df_trees.doc.black_cap_usage,
|
||||
tiles = {"dfcaverns_black_cap_gills.png"},
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 1, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 1, flammable = 2, leaves = 1,handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
@ -101,7 +101,7 @@ minetest.register_node("df_trees:black_cap_wood", {
|
||||
place_param2 = 0,
|
||||
tiles = {"dfcaverns_black_cap_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 5,
|
||||
_mcl_hardness = 5,
|
||||
@ -155,7 +155,7 @@ minetest.register_node("df_trees:black_cap_sapling", {
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||
},
|
||||
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11},
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11, dig_immediate=3,dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
_mcl_blast_resistance = 0.5,
|
||||
_mcl_hardness = 0.5,
|
||||
|
@ -37,7 +37,7 @@ minetest.register_node("df_trees:blood_thorn", {
|
||||
"dfcaverns_blood_thorn_side.png", "dfcaverns_blood_thorn_side.png", "dfcaverns_blood_thorn_side.png", "dfcaverns_blood_thorn_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
paramtype = "light",
|
||||
groups = {choppy = 3, tree = 1, flammable = 2, light_sensitive_fungus = 11},
|
||||
groups = {choppy = 3, tree = 1, flammable = 2, light_sensitive_fungus = 11, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
_dfcaverns_dead_node = "df_trees:blood_thorn_dead",
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
is_ground_content = false,
|
||||
@ -84,7 +84,7 @@ minetest.register_node("df_trees:blood_thorn_dead", {
|
||||
"dfcaverns_blood_thorn_side.png^[multiply:#804000"},
|
||||
paramtype2 = "facedir",
|
||||
paramtype = "light",
|
||||
groups = {choppy = 3, tree = 1, flammable = 2},
|
||||
groups = {choppy = 3, tree = 1, flammable = 2, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
is_ground_content = false,
|
||||
on_place = minetest.rotate_node,
|
||||
@ -105,7 +105,7 @@ minetest.register_node("df_trees:blood_thorn_spike", {
|
||||
"dfcaverns_blood_thorn_spike_front.png",
|
||||
"dfcaverns_blood_thorn_spike_front.png"
|
||||
},
|
||||
groups = {choppy = 3, flammable = 2, fall_damage_add_percent=100, light_sensitive_fungus = 11},
|
||||
groups = {choppy = 3, flammable = 2, fall_damage_add_percent=100, light_sensitive_fungus = 11, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
_dfcaverns_dead_node = "df_trees:blood_thorn_spike_dead",
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
drawtype = "nodebox",
|
||||
@ -138,7 +138,7 @@ minetest.register_node("df_trees:blood_thorn_spike_dead", {
|
||||
"dfcaverns_blood_thorn_spike_front.png^[multiply:#804000",
|
||||
"dfcaverns_blood_thorn_spike_front.png^[multiply:#804000"
|
||||
},
|
||||
groups = {choppy = 3, flammable = 2, fall_damage_add_percent=100},
|
||||
groups = {choppy = 3, flammable = 2, fall_damage_add_percent=100, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
drawtype = "nodebox",
|
||||
climbable = true,
|
||||
@ -180,7 +180,7 @@ minetest.register_node("df_trees:blood_thorn_wood", {
|
||||
place_param2 = 0,
|
||||
tiles = {"dfcaverns_blood_thorn_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 1,
|
||||
|
@ -14,7 +14,7 @@ minetest.register_node("df_trees:fungiwood", {
|
||||
tiles = {"dfcaverns_fungiwood.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 3, oddly_breakable_by_hand = 1, flammable = 3},
|
||||
groups = {tree = 1, choppy = 3, oddly_breakable_by_hand = 1, flammable = 3, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
@ -38,7 +38,7 @@ minetest.register_node("df_trees:fungiwood_wood", {
|
||||
place_param2 = 0,
|
||||
tiles = {"dfcaverns_fungiwood_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 2,
|
||||
@ -84,7 +84,7 @@ minetest.register_node("df_trees:fungiwood_shelf",{
|
||||
}
|
||||
},
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 5, flammable = 2, leaves = 1},
|
||||
groups = {snappy = 3, leafdecay = 5, flammable = 2, leaves = 1,handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30, compostability=30},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
@ -125,7 +125,7 @@ minetest.register_node("df_trees:fungiwood_sapling", {
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||
},
|
||||
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11},
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11, dig_immediate=3,dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
_mcl_blast_resistance = 0.2,
|
||||
_mcl_hardness = 0.2,
|
||||
|
@ -13,7 +13,7 @@ minetest.register_node("df_trees:goblin_cap_stem", {
|
||||
_doc_items_usagehelp = df_trees.doc.goblin_cap_usage,
|
||||
tiles = {"dfcaverns_goblin_cap_stem.png"},
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
@ -26,7 +26,7 @@ minetest.register_node("df_trees:goblin_cap", {
|
||||
_doc_items_usagehelp = df_trees.doc.goblin_cap_usage,
|
||||
tiles = {"dfcaverns_goblin_cap.png"},
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
@ -39,7 +39,7 @@ minetest.register_node("df_trees:goblin_cap_gills", {
|
||||
_doc_items_usagehelp = df_trees.doc.goblin_cap_usage,
|
||||
tiles = {"dfcaverns_goblin_cap_gills.png"},
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 1, flammable = 2, leaves = 1, goblin_cap = 1},
|
||||
groups = {snappy = 3, leafdecay = 1, flammable = 2, leaves = 1, goblin_cap = 1,handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
@ -90,7 +90,7 @@ minetest.register_node("df_trees:goblin_cap_wood", {
|
||||
place_param2 = 0,
|
||||
tiles = {"dfcaverns_goblin_cap_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 2,
|
||||
@ -104,7 +104,7 @@ minetest.register_node("df_trees:goblin_cap_stem_wood", {
|
||||
place_param2 = 0,
|
||||
tiles = {"dfcaverns_goblin_cap_stem_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 2,
|
||||
@ -220,7 +220,7 @@ minetest.register_node("df_trees:goblin_cap_sapling", {
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||
},
|
||||
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11},
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11, dig_immediate=3,dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
_mcl_blast_resistance = 0.2,
|
||||
_mcl_hardness = 0.2,
|
||||
|
@ -14,7 +14,7 @@ minetest.register_node("df_trees:nether_cap_stem", {
|
||||
_doc_items_usagehelp = df_trees.doc.nether_cap_usage,
|
||||
tiles = {"dfcaverns_nether_cap_stem.png"},
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1, nether_cap = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1, nether_cap = 1, handy=1,axey=1, building_block=1, material_wood=1},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 0.7,
|
||||
_mcl_hardness = 0.7,
|
||||
@ -27,7 +27,7 @@ minetest.register_node("df_trees:nether_cap", {
|
||||
_doc_items_usagehelp = df_trees.doc.nether_cap_usage,
|
||||
tiles = {"dfcaverns_nether_cap.png"},
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1, nether_cap = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1, nether_cap = 1, handy=1,axey=1, building_block=1, material_wood=1},
|
||||
sounds = df_dependencies.sound_wood({footstep = {name = df_dependencies.soundfile_snow_footstep, gain = 0.2},}),
|
||||
_mcl_blast_resistance = 0.5,
|
||||
_mcl_hardness = 0.5,
|
||||
@ -41,7 +41,7 @@ minetest.register_node("df_trees:nether_cap_gills", {
|
||||
tiles = {"dfcaverns_nether_cap_gills.png"},
|
||||
is_ground_content = false,
|
||||
light_source = 6,
|
||||
groups = {snappy = 3, leafdecay = 1, leaves = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1, nether_cap = 1},
|
||||
groups = {snappy = 3, leafdecay = 1, leaves = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1, nether_cap = 1,handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
@ -92,7 +92,7 @@ minetest.register_node("df_trees:nether_cap_wood", {
|
||||
place_param2 = 0,
|
||||
tiles = {"dfcaverns_nether_cap_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, wood = 1, freezes_water = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, wood = 1, freezes_water = 1, handy=1,axey=1,building_block=1, material_wood=1},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 0.5,
|
||||
_mcl_hardness = 0.5,
|
||||
@ -120,7 +120,7 @@ minetest.register_node("df_trees:nether_cap_sapling", {
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||
},
|
||||
groups = {snappy = 2, dig_immediate = 3,
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11},
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11, dig_immediate=3,dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
_mcl_blast_resistance = 0.1,
|
||||
_mcl_hardness = 0.1,
|
||||
|
@ -63,7 +63,7 @@ minetest.register_node("df_trees:spindlestem_stem", {
|
||||
_doc_items_longdesc = df_trees.doc.spindlestem_desc,
|
||||
_doc_items_usagehelp = df_trees.doc.spindlestem_usage,
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, spindlestem = 1},
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, spindlestem = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
tiles = {
|
||||
"dfcaverns_tower_cap.png",
|
||||
@ -99,7 +99,7 @@ local register_spindlestem_type = function(item_suffix, colour_name, colour_code
|
||||
is_ground_content = false,
|
||||
_doc_items_longdesc = df_trees.doc["spindlestem_cap_"..item_suffix.."_desc"],
|
||||
_doc_items_usagehelp = df_trees.doc["spindlestem_cap_"..item_suffix.."_usage"],
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, spindlestem = 1, not_in_creative_inventory = 1},
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, spindlestem = 1, not_in_creative_inventory = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
tiles = {
|
||||
"dfcaverns_tower_cap.png^[multiply:#"..colour_code,
|
||||
@ -209,7 +209,7 @@ local register_spindlestem_type = function(item_suffix, colour_name, colour_code
|
||||
local tex = "dfcaverns_vessels_glowing_liquid.png^[multiply:#"..colour_code.."^"..df_dependencies.texture_glass_bottle
|
||||
local new_light = light_level + math.floor((minetest.LIGHT_MAX-light_level)/2)
|
||||
|
||||
local groups = {vessel = 1, dig_immediate = 3, attached_node = 1}
|
||||
local groups = {vessel = 1, dig_immediate = 3, attached_node = 1, material_glass = 1, destroy_by_lava_flow=1}
|
||||
if extract_color_group then
|
||||
groups[extract_color_group] = 1
|
||||
end
|
||||
@ -264,7 +264,7 @@ minetest.register_node("df_trees:spindlestem_seedling", {
|
||||
tiles = {
|
||||
"dfcaverns_tower_cap.png",
|
||||
},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, attached_node = 1, light_sensitive_fungus = 11, digtron_on_place=1},
|
||||
groups = {snappy = 3, flammable = 2, plant = 1, attached_node = 1, light_sensitive_fungus = 11, digtron_on_place=1, dig_immediate=3,dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
@ -15,7 +15,7 @@ minetest.register_node("df_trees:spore_tree", {
|
||||
tiles = {"dfcaverns_spore_tree_top.png", "dfcaverns_spore_tree_top.png", "dfcaverns_spore_tree.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
@ -39,7 +39,7 @@ minetest.register_node("df_trees:spore_tree_wood", {
|
||||
place_param2 = 0,
|
||||
tiles = {"dfcaverns_spore_tree_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 2,
|
||||
@ -80,7 +80,7 @@ minetest.register_node("df_trees:spore_tree_hyphae", {
|
||||
waving = 1,
|
||||
tiles = {"dfcaverns_spore_tree.png"},
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, spore_tree_hyphae = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, spore_tree_hyphae = 1,handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30, compostability=30},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
|
||||
@ -109,7 +109,7 @@ minetest.register_node("df_trees:spore_tree_fruiting_body", {
|
||||
waving = 1,
|
||||
tiles = {"dfcaverns_spore_tree.png"},
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, spore_tree_hyphae = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, spore_tree_hyphae = 1,handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30, compostability=100},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
_mcl_blast_resistance = 0.7,
|
||||
@ -170,7 +170,7 @@ minetest.register_node("df_trees:spore_tree_sapling", {
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||
},
|
||||
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11},
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11, dig_immediate=3,dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
_mcl_blast_resistance = 0.2,
|
||||
_mcl_hardness = 0.2,
|
||||
@ -341,7 +341,7 @@ minetest.register_node("df_trees:spore_tree_ladder", {
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 3, flammable = 2},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 3, flammable = 2, handy=1,axey=1, attached_node=1, deco_block=1, dig_by_piston=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
legacy_wallmounted = true,
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 1,
|
||||
|
@ -106,7 +106,7 @@ minetest.register_node("df_trees:torchspine_1", {
|
||||
_doc_items_longdesc = df_trees.doc.torchspine_desc,
|
||||
_doc_items_usagehelp = df_trees.doc.torchspine_usage,
|
||||
tiles = {"dfcaverns_torchspine_0.5.png", "dfcaverns_torchspine_1.5.png", "dfcaverns_torchspine_1.png"},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1, fall_damage_add_percent = 100, df_trees_torchspine = 1},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1, fall_damage_add_percent = 100, df_trees_torchspine = 1, pickaxey=1, building_block=1, material_stone=1},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -144,7 +144,7 @@ minetest.register_node("df_trees:torchspine_1_lit", {
|
||||
_doc_items_longdesc = df_trees.doc.torchspine_desc,
|
||||
_doc_items_usagehelp = df_trees.doc.torchspine_usage,
|
||||
tiles = {df_dependencies.texture_gold_block, "dfcaverns_torchspine_1.5.png", "dfcaverns_torchspine_1_lit.png"},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1, torch = 1, fall_damage_add_percent = 150, smokey = 4, df_trees_torchspine = 1},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1, torch = 1, fall_damage_add_percent = 150, smokey = 4, df_trees_torchspine = 1,pickaxey=1, building_block=1, material_stone=1,set_on_fire=3},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -174,7 +174,7 @@ minetest.register_node("df_trees:torchspine_2", {
|
||||
_doc_items_longdesc = df_trees.doc.torchspine_desc,
|
||||
_doc_items_usagehelp = df_trees.doc.torchspine_usage,
|
||||
tiles = {"dfcaverns_torchspine_1.5.png", "dfcaverns_torchspine_2.5.png", "dfcaverns_torchspine_2.png"},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1, fall_damage_add_percent = 50, df_trees_torchspine = 1},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1, fall_damage_add_percent = 50, df_trees_torchspine = 1,pickaxey=1, building_block=1, material_stone=1},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -203,7 +203,7 @@ minetest.register_node("df_trees:torchspine_3", {
|
||||
_doc_items_longdesc = df_trees.doc.torchspine_desc,
|
||||
_doc_items_usagehelp = df_trees.doc.torchspine_usage,
|
||||
tiles = {"dfcaverns_torchspine_2.5.png", "dfcaverns_torchspine_3.5.png", "dfcaverns_torchspine_3.png"},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1, df_trees_torchspine = 1},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1, df_trees_torchspine = 1,pickaxey=1, building_block=1, material_stone=1},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -236,7 +236,7 @@ minetest.register_node("df_trees:torchspine_4", {
|
||||
_doc_items_longdesc = df_trees.doc.torchspine_desc,
|
||||
_doc_items_usagehelp = df_trees.doc.torchspine_usage,
|
||||
tiles = {"dfcaverns_torchspine_3.5.png", "dfcaverns_torchspine_4.5.png", "dfcaverns_torchspine_4.png"},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1, df_trees_torchspine = 1},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1, df_trees_torchspine = 1,pickaxey=1, building_block=1, material_stone=1},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -268,7 +268,7 @@ minetest.register_node("df_trees:torchspine_ember", {
|
||||
_doc_items_longdesc = df_trees.doc.torchspine_desc,
|
||||
_doc_items_usagehelp = df_trees.doc.torchspine_usage,
|
||||
tiles = {"dfcaverns_torchspine_0.5.png",},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1},
|
||||
groups = {oddly_breakable_by_hand = 1, subterrane_stal_align = 1, flow_through = 1,pickaxey=1, building_block=1, material_stone=1,set_on_fire=1},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
light_source = 2,
|
||||
|
@ -7,7 +7,7 @@ minetest.register_node("df_trees:tower_cap_stem", {
|
||||
_doc_items_usagehelp = df_trees.doc.tower_cap_usage,
|
||||
tiles = {"dfcaverns_tower_cap.png"},
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1, tower_cap_trunk = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1, tower_cap_trunk = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
@ -20,7 +20,7 @@ minetest.register_node("df_trees:tower_cap", {
|
||||
_doc_items_usagehelp = df_trees.doc.tower_cap_usage,
|
||||
tiles = {"dfcaverns_tower_cap.png"},
|
||||
is_ground_content = false,
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1, tower_cap_trunk = 1},
|
||||
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1, tower_cap_trunk = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
@ -33,7 +33,7 @@ minetest.register_node("df_trees:tower_cap_gills", {
|
||||
_doc_items_usagehelp = df_trees.doc.tower_cap_usage,
|
||||
tiles = {"dfcaverns_tower_cap_gills.png"},
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, tower_cap = 1},
|
||||
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, tower_cap = 1,handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
@ -76,7 +76,7 @@ minetest.register_node("df_trees:tower_cap_wood", {
|
||||
place_param2 = 0,
|
||||
tiles = {"dfcaverns_tower_cap_wood.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 3,
|
||||
_mcl_hardness = 2,
|
||||
@ -130,7 +130,7 @@ minetest.register_node("df_trees:tower_cap_sapling", {
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||
},
|
||||
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11},
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11, dig_immediate=3,dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
_mcl_blast_resistance = 0.2,
|
||||
_mcl_hardness = 0.2,
|
||||
|
@ -17,7 +17,7 @@ minetest.register_node("df_trees:tunnel_tube", {
|
||||
drawtype = "nodebox",
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
groups = {choppy = 3, tree = 1, oddly_breakable_by_hand=1, flammable = 2},
|
||||
groups = {choppy = 3, tree = 1, oddly_breakable_by_hand=1, flammable = 2, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
on_place = minetest.rotate_node,
|
||||
_mcl_blast_resistance = 2,
|
||||
@ -45,7 +45,7 @@ minetest.register_node("df_trees:tunnel_tube_slant_bottom", {
|
||||
mesh = "tunnel_tube_slant.obj",
|
||||
paramtype = "light",
|
||||
drop = "df_trees:tunnel_tube",
|
||||
groups = {choppy = 3, tree = 1, oddly_breakable_by_hand=1, flammable = 2},
|
||||
groups = {choppy = 3, tree = 1, oddly_breakable_by_hand=1, flammable = 2, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
on_place = minetest.rotate_node,
|
||||
selection_box = {
|
||||
@ -77,7 +77,7 @@ minetest.register_node("df_trees:tunnel_tube_slant_top", {
|
||||
mesh = "tunnel_tube_slant_2.obj",
|
||||
paramtype = "light",
|
||||
drop = "df_trees:tunnel_tube",
|
||||
groups = {choppy = 3, tree = 1, oddly_breakable_by_hand=1, flammable = 2},
|
||||
groups = {choppy = 3, tree = 1, oddly_breakable_by_hand=1, flammable = 2, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
on_place = minetest.rotate_node,
|
||||
selection_box = {
|
||||
@ -109,7 +109,7 @@ minetest.register_node("df_trees:tunnel_tube_slant_full", {
|
||||
mesh = "tunnel_tube_slant_full.obj",
|
||||
paramtype = "light",
|
||||
drop = "df_trees:tunnel_tube",
|
||||
groups = {choppy = 3, tree = 1, oddly_breakable_by_hand=1, flammable = 2},
|
||||
groups = {choppy = 3, tree = 1, oddly_breakable_by_hand=1, flammable = 2, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
on_place = minetest.rotate_node,
|
||||
selection_box = {
|
||||
@ -154,7 +154,7 @@ minetest.register_node("df_trees:tunnel_tube_wood", {
|
||||
place_param2 = 0,
|
||||
tiles = {"dfcaverns_tunnel_tube_wood_top.png", "dfcaverns_tunnel_tube_wood_top.png", "dfcaverns_tunnel_tube_wood_side.png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, handy=1,axey=1, building_block=1, material_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
_mcl_blast_resistance = 10,
|
||||
_mcl_hardness = 2,
|
||||
@ -203,7 +203,7 @@ if df_trees.config.enable_tnt then
|
||||
tiles = {"dfcaverns_tunnel_tube.png^[multiply:#b09090"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 3, oddly_breakable_by_hand=1, flammable = 2, tnt = 1,},
|
||||
groups = {choppy = 3, oddly_breakable_by_hand=1, flammable = 2, tnt = 1, handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
on_place = minetest.rotate_node,
|
||||
drop = {
|
||||
@ -287,7 +287,7 @@ else
|
||||
tiles = {"dfcaverns_tunnel_tube.png^[multiply:#b09090"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 3, oddly_breakable_by_hand=1, flammable = 2},
|
||||
groups = {choppy = 3, oddly_breakable_by_hand=1, flammable = 2,handy=1, hoey=1, shearsy=1, swordy=1, deco_block=1, dig_by_piston=1, fire_encouragement=15, fire_flammability=30},
|
||||
sounds = df_dependencies.sound_wood(),
|
||||
on_place = minetest.rotate_node,
|
||||
_mcl_blast_resistance = 12,
|
||||
@ -333,7 +333,7 @@ minetest.register_node("df_trees:tunnel_tube_sapling", {
|
||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||
},
|
||||
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11},
|
||||
attached_node = 1, sapling = 1, light_sensitive_fungus = 11, dig_immediate=3,dig_by_piston=1,destroy_by_lava_flow=1,deco_block=1, compostability=30},
|
||||
sounds = df_dependencies.sound_leaves(),
|
||||
_mcl_blast_resistance = 10,
|
||||
_mcl_hardness = 0.2,
|
||||
|
@ -32,7 +32,7 @@ end
|
||||
|
||||
local slade_mcl_blast_resistance = 1200
|
||||
local slade_mcl_hardness = 50
|
||||
local slade_groups = {stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1, cracky = 3}
|
||||
local slade_groups = {stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1, cracky = 3, creative_breakable=1, building_block=1, material_stone=1}
|
||||
if invulnerable then
|
||||
slade_groups.immortal = 1
|
||||
slade_mcl_blast_resistance = 3600000
|
||||
|
@ -6,7 +6,7 @@ minetest.register_node("df_underworld_items:glow_amethyst", {
|
||||
_doc_items_usagehelp = df_underworld_items.doc.glow_amethyst_usage,
|
||||
tiles = {"dfcaverns_glow_amethyst.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky=3, pit_plasma_resistant=1},
|
||||
groups = {cracky=3, pit_plasma_resistant=1, pickaxey = 4, building_block = 1, material_stone=1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
light_source = 6,
|
||||
paramtype = "light",
|
||||
|
@ -18,7 +18,7 @@ local glowstone_def = {
|
||||
},
|
||||
},
|
||||
is_ground_content = false,
|
||||
groups = {cracky=3},
|
||||
groups = {cracky=3, pickaxey = 1, building_block = 1, material_stone =1},
|
||||
sounds = df_dependencies.sound_glass(),
|
||||
paramtype = "light",
|
||||
drawtype = "glasslike",
|
||||
|
@ -19,7 +19,7 @@ minetest.register_node("df_underworld_items:pit_plasma", {
|
||||
},
|
||||
},
|
||||
|
||||
groups={pit_plasma=1, pit_plasma_resistant=1},
|
||||
groups={pit_plasma=1, pit_plasma_resistant=1,destroys_items=1, set_on_fire=15, fire_damage=1, liquid=1},
|
||||
walkable = false,
|
||||
pointable = false,
|
||||
diggable = false,
|
||||
@ -69,7 +69,7 @@ minetest.register_node("df_underworld_items:pit_plasma_flowing", {
|
||||
},
|
||||
},
|
||||
},
|
||||
groups={pit_plasma=1, pit_plasma_resistant=1, not_in_creative_inventory=1},
|
||||
groups={pit_plasma=1, pit_plasma_resistant=1, not_in_creative_inventory=1,destroys_items=1, set_on_fire=15, fire_damage=1, liquid=1},
|
||||
walkable = false,
|
||||
pointable = false,
|
||||
diggable = false,
|
||||
|
@ -13,7 +13,7 @@ end
|
||||
|
||||
local slade_mcl_blast_resistance = 1200
|
||||
local slade_mcl_hardness = 50
|
||||
local slade_groups = {stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1, cracky = 3, not_in_creative_inventory=1}
|
||||
local slade_groups = {stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1, cracky = 3, not_in_creative_inventory=1,creative_breakable=1, building_block=1, material_stone=1}
|
||||
if invulnerable then
|
||||
slade_groups.immortal = 1
|
||||
slade_mcl_blast_resistance = 3600000
|
||||
@ -296,7 +296,7 @@ local digging_seal_def = {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
groups = {immortal=1, stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1, not_in_creative_inventory=1},
|
||||
groups = {immortal=1, stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1, not_in_creative_inventory=1,building_block=1, material_stone=1},
|
||||
sounds = df_dependencies.sound_stone({ footstep = { name = "bedrock2_step", gain = 1 } }),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -17,12 +17,14 @@ local add_immortality = function(slade_def)
|
||||
return slade_def
|
||||
end
|
||||
|
||||
local slade_groups = {cracky=3, stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1,creative_breakable=1, building_block=1, material_stone=1}
|
||||
|
||||
local slade_def = {
|
||||
description = S("Slade"),
|
||||
_doc_items_longdesc = df_underworld_items.doc.slade_desc,
|
||||
_doc_items_usagehelp = df_underworld_items.doc.slade_usage,
|
||||
tiles = {"dfcaverns_slade.png"},
|
||||
groups = {cracky=3, stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1},
|
||||
groups = slade_groups,
|
||||
sounds = df_dependencies.sound_stone({ footstep = { name = "bedrock2_step", gain = 1 } }),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 1200,
|
||||
@ -44,7 +46,7 @@ local slade_brick_def = {
|
||||
_doc_items_longdesc = df_underworld_items.doc.slade_desc,
|
||||
_doc_items_usagehelp = df_underworld_items.doc.slade_usage,
|
||||
tiles = {"dfcaverns_slade_brick.png"},
|
||||
groups = { cracky=3, stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1},
|
||||
groups = slade_groups,
|
||||
sounds = df_dependencies.sound_stone({ footstep = { name = "bedrock2_step", gain = 1 } }),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 1200,
|
||||
@ -55,6 +57,10 @@ if invulnerable then
|
||||
end
|
||||
minetest.register_node("df_underworld_items:slade_brick", slade_brick_def)
|
||||
|
||||
local slade_wall_groups = {wall=1}
|
||||
for key, val in pairs(slade_groups) do
|
||||
slade_wall_groups[key]=val
|
||||
end
|
||||
local slade_wall_def = {
|
||||
description = S("Slade Wall"),
|
||||
drawtype = "nodebox",
|
||||
@ -72,7 +78,7 @@ local slade_wall_def = {
|
||||
tiles = {"dfcaverns_slade_brick.png"},
|
||||
walkable = true,
|
||||
is_ground_content = false,
|
||||
groups = { cracky=3, stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1, wall=1},
|
||||
groups = slade_wall_groups,
|
||||
sounds = df_dependencies.sound_stone({ footstep = { name = "bedrock2_step", gain = 1 } }),
|
||||
_mcl_blast_resistance = 1200,
|
||||
_mcl_hardness = 50,
|
||||
@ -82,14 +88,14 @@ if invulnerable then
|
||||
end
|
||||
minetest.register_node("df_underworld_items:slade_wall", slade_wall_def)
|
||||
|
||||
|
||||
-- TODO: ensure that explosives turn slade into slade sand in MCL too
|
||||
minetest.register_node("df_underworld_items:slade_sand", {
|
||||
description = S("Slade Sand"),
|
||||
_doc_items_longdesc = df_underworld_items.doc.slade_desc,
|
||||
_doc_items_usagehelp = df_underworld_items.doc.slade_usage,
|
||||
tiles = {"dfcaverns_slade_sand.png"},
|
||||
is_ground_content = false,
|
||||
groups = {crumbly = 3, level = 2, falling_node = 1, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1},
|
||||
groups = {crumbly = 3, level = 2, falling_node = 1, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1,building_block=1, material_sand=1, crush_after_fall=1, falling_node_damage=1},
|
||||
sounds = df_dependencies.sound_gravel({footstep = {name = df_dependencies.soundfile_gravel_footstep, gain = 0.45},}),
|
||||
_mcl_blast_resistance = 2000,
|
||||
_mcl_hardness = 5,
|
||||
@ -100,7 +106,7 @@ local slade_block_def = {
|
||||
_doc_items_longdesc = df_underworld_items.doc.slade_desc,
|
||||
_doc_items_usagehelp = df_underworld_items.doc.slade_usage,
|
||||
tiles = {"dfcaverns_slade_block.png"},
|
||||
groups = {cracky=3, stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1},
|
||||
groups = slade_groups,
|
||||
sounds = df_dependencies.sound_stone({ footstep = { name = "bedrock2_step", gain = 1 } }),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 1200,
|
||||
@ -118,7 +124,7 @@ local slade_seal_def = {
|
||||
_doc_items_longdesc = df_underworld_items.doc.slade_seal_desc,
|
||||
_doc_items_usagehelp = df_underworld_items.doc.slade_usage,
|
||||
tiles = {"dfcaverns_slade_block.png^dfcaverns_seal.png", "dfcaverns_slade_block.png"},
|
||||
groups = {cracky=3, stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1},
|
||||
groups = slade_groups,
|
||||
sounds = df_dependencies.sound_stone({ footstep = { name = "bedrock2_step", gain = 1 } }),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 1200,
|
||||
|
@ -139,7 +139,7 @@ minetest.register_node("ice_sprites:ice_sprite_bottle", {
|
||||
light_source = 9,
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
groups = {dig_immediate = 3, attached_node = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1},
|
||||
groups = {dig_immediate = 3, attached_node = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1, material_glass=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
||||
|
@ -39,7 +39,7 @@ minetest.register_node("mine_gas:gas", {
|
||||
post_effect_color = {a = 20, r = 20, g = 20, b = 250},
|
||||
tiles = {"mine_gas.png^[opacity:28"},
|
||||
use_texture_alpha = "blend",
|
||||
groups = {not_in_creative_inventory=1, ropes_can_extend_into=1},
|
||||
groups = {not_in_creative_inventory=1, ropes_can_extend_into=1, not_solid=1, not_opaque=1},
|
||||
paramtype = "light",
|
||||
drop = {},
|
||||
sunlight_propagates = true,
|
||||
@ -51,7 +51,7 @@ minetest.register_node("mine_gas:gas_seep", {
|
||||
_doc_items_longdesc = seep_desc,
|
||||
_doc_items_usagehelp = seep_usage,
|
||||
tiles = {df_dependencies.texture_stone.."^"..df_dependencies.texture_mineral_coal.."^[combine:16x80:0,-16=crack_anylength.png"},
|
||||
groups = {cracky = 3},
|
||||
groups = {cracky = 3, pickaxey=1, building_block=1, material_stone=1},
|
||||
drop = df_dependencies.node_name_coal_lump,
|
||||
sounds = df_dependencies.sound_stone(),
|
||||
is_ground_content = true,
|
||||
@ -150,7 +150,7 @@ local tnt_boom = df_dependencies.tnt_boom
|
||||
if minetest.get_modpath("tnt") then
|
||||
minetest.register_abm({
|
||||
label = "mine_gas:gas ignition",
|
||||
nodenames = {"group:torch", "group:igniter"},
|
||||
nodenames = {"group:torch", "group:igniter", "group:fire"}, -- checking for ignition sources because there will be fewer than there are gas nodes
|
||||
neighbors = {"mine_gas:gas"},
|
||||
interval = 1.0,
|
||||
chance = 1,
|
||||
|
@ -61,7 +61,7 @@ minetest.register_node("oil:oil_source", {
|
||||
liquid_alternative_source = "oil:oil_source",
|
||||
liquid_viscosity = 1,
|
||||
post_effect_color = {a = 250, r = 0, g = 0, b = 0},
|
||||
groups = {liquid = 3, dig_by_piston=1},
|
||||
groups = {liquid = 1, dig_by_piston=1},
|
||||
sounds = oil_sounds,
|
||||
_mcl_blast_resistance = 100,
|
||||
_mcl_hardness = -1,
|
||||
@ -113,7 +113,7 @@ minetest.register_node("oil:oil_flowing", {
|
||||
liquid_alternative_source = "oil:oil_source",
|
||||
liquid_viscosity = 1,
|
||||
post_effect_color = {a = 250, r = 0, g = 0, b = 0},
|
||||
groups = {liquid = 3, not_in_creative_inventory = 1, dig_by_piston=1},
|
||||
groups = {liquid = 1, not_in_creative_inventory = 1, dig_by_piston=1},
|
||||
sounds = oil_sounds,
|
||||
_mcl_blast_resistance = 100,
|
||||
_mcl_hardness = -1,
|
||||
|
Loading…
Reference in New Issue
Block a user