optimize pngs, add is_ground_content to everything

This commit is contained in:
FaceDeer 2019-11-10 21:47:10 -07:00
parent cacddcd347
commit 13c75410aa
53 changed files with 123 additions and 37 deletions

View File

@ -17,6 +17,7 @@ local register_cave_wheat = function(number)
inventory_image = "dfcaverns_cave_wheat_"..tostring(number)..".png",
paramtype = "light",
walkable = false,
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},

View File

@ -16,6 +16,7 @@ local register_dimple_cup = function(number)
paramtype = "light",
walkable = false,
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},
sounds = default.node_sound_leaves_defaults(),

View File

@ -17,6 +17,7 @@ local register_pig_tail = function(number)
inventory_image = "dfcaverns_pig_tail_"..tostring(number)..".png",
paramtype = "light",
walkable = false,
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},

View File

@ -15,6 +15,7 @@ minetest.register_node("df_farming:dead_fungus", {
inventory_image = "dfcaverns_dead_fungus.png",
paramtype = "light",
walkable = false,
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},
@ -47,6 +48,7 @@ minetest.register_node("df_farming:cavern_fungi", {
inventory_image = "dfcaverns_fungi.png",
paramtype = "light",
walkable = false,
is_ground_content = false,
buildable_to = true,
floodable = true,
light_source = 6,
@ -155,6 +157,7 @@ df_farming.register_seed = function(name, description, image, stage_one, grow_ti
_dfcaverns_next_stage_time = grow_time,
paramtype = "light",
walkable = false,
is_ground_content = false,
floodable = true,
sunlight_propagates = true,
selection_box = {

View File

@ -71,6 +71,7 @@ minetest.register_node("df_farming:plump_helmet_spawn", {
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
is_ground_content = false,
floodable = true,
node_box = {
type = "fixed",
@ -103,6 +104,7 @@ minetest.register_node("df_farming:plump_helmet_1", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
walkable = false,
floodable = true,
node_box = {
@ -141,6 +143,7 @@ minetest.register_node("df_farming:plump_helmet_2", {
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
is_ground_content = false,
floodable = true,
node_box = {
type = "fixed",
@ -176,6 +179,7 @@ minetest.register_node("df_farming:plump_helmet_3", {
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
is_ground_content = false,
floodable = true,
node_box = {
type = "fixed",
@ -209,6 +213,7 @@ minetest.register_node("df_farming:plump_helmet_4", {
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
is_ground_content = false,
floodable = false, -- I figure full grown plump helmets are sturdy enough to survive inundation
node_box = {
type = "fixed",
@ -261,6 +266,7 @@ minetest.register_node("df_farming:plump_helmet_4_picked", {
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
is_ground_content = false,
floodable = false,
node_box = {
type = "fixed",

View File

@ -18,6 +18,7 @@ local register_quarry_bush = function(number)
paramtype = "light",
walkable = false,
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},
sounds = default.node_sound_leaves_defaults(),

View File

@ -15,6 +15,7 @@ local register_sweet_pod = function(number)
inventory_image = "dfcaverns_sweet_pod_"..tostring(number)..".png",
paramtype = "light",
walkable = false,
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},

View File

@ -13,6 +13,7 @@ minetest.register_node("df_mapitems:castle_coral", {
_doc_items_longdesc = df_mapitems.doc.castle_coral_desc,
_doc_items_usagehelp = df_mapitems.doc.castle_coral_usage,
drawtype = "mesh",
is_ground_content = false,
light_source = 2,
mesh = "octagonal_coral.obj",
drop = "df_mapitems:castle_coral_skeleton",
@ -34,6 +35,7 @@ minetest.register_node("df_mapitems:castle_coral_skeleton", {
drawtype = "mesh",
mesh = "octagonal_coral.obj",
paramtype = "light",
is_ground_content = false,
groups = {cracky = 3},
sounds = default.node_sound_stone_defaults(),
})

View File

@ -10,6 +10,7 @@ minetest.register_node("df_mapitems:cave_coral_3", {
drop = "default:coral_skeleton",
light_source = 3,
paramtype2 = "facedir",
is_ground_content = false,
groups = {cracky = 3, dfcaverns_cave_coral = 1},
sounds = default.node_sound_stone_defaults(),
})
@ -22,6 +23,7 @@ minetest.register_node("df_mapitems:cave_coral_2", {
drop = "default:coral_skeleton",
light_source = 2,
paramtype2 = "facedir",
is_ground_content = false,
groups = {cracky = 3, dfcaverns_cave_coral = 1},
sounds = default.node_sound_stone_defaults(),
})
@ -34,6 +36,7 @@ minetest.register_node("df_mapitems:cave_coral_1", {
drop = "default:coral_skeleton",
light_source = 1,
paramtype2 = "facedir",
is_ground_content = false,
groups = {cracky = 3, dfcaverns_cave_coral = 1},
sounds = default.node_sound_stone_defaults(),
})

View File

@ -12,6 +12,7 @@ minetest.register_node("df_mapitems:cave_pearls", {
paramtype2 = "facedir",
groups = {cracky = 2},
walkable = false,
is_ground_content = false,
climbable = true,
light_source = 4,
node_box = {

View File

@ -8,9 +8,9 @@ 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"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_glass_defaults(),
is_ground_content = false,
light_source = 13,
paramtype = "light",
use_texture_alpha = true,
@ -36,7 +36,7 @@ minetest.register_node("df_mapitems:mese_crystal", {
drawtype = "mesh",
mesh = "underch_crystal.obj",
light_source = 12,
is_ground_content = true,
is_ground_content = false,
sounds = default.node_sound_glass_defaults(),
use_texture_alpha = true,
sunlight_propagates = true,

View File

@ -7,7 +7,7 @@ minetest.register_node("df_mapitems:glow_ruby_ore", {
_doc_items_longdesc = df_mapitems.doc.glow_ruby_ore_desc,
_doc_items_usagehelp = df_mapitems.doc.glow_ruby_ore_usage,
tiles = {"dfcaverns_glow_ruby_ore.png"},
is_ground_content = true,
is_ground_content = false,
groups = {cracky=2},
sounds = default.node_sound_glass_defaults(),
})
@ -25,6 +25,7 @@ minetest.register_node("df_mapitems:big_crystal", {
use_texture_alpha = true,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
sunlight_propagates = true,
light_source = 12,
groups = {cracky=2, dfcaverns_big_crystal = 1},
@ -52,6 +53,7 @@ minetest.register_node("df_mapitems:med_crystal", {
use_texture_alpha = true,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
sunlight_propagates = true,
light_source = 12,
groups = {cracky=2, dfcaverns_big_crystal = 1},
@ -81,6 +83,7 @@ minetest.register_node("df_mapitems:big_crystal_30", {
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = false,
light_source = 12,
drop = "df_mapitems:big_crystal",
groups = {cracky=2, dfcaverns_big_crystal = 1},
@ -132,6 +135,7 @@ minetest.register_node("df_mapitems:med_crystal_30", {
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = false,
light_source = 12,
drop = "df_mapitems:med_crystal",
groups = {cracky=2, dfcaverns_big_crystal = 1},
@ -168,6 +172,7 @@ minetest.register_node("df_mapitems:big_crystal_30_45", {
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = false,
light_source = 12,
drop = "df_mapitems:big_crystal",
groups = {cracky=2, dfcaverns_big_crystal = 1},
@ -205,6 +210,7 @@ minetest.register_node("df_mapitems:med_crystal_30_45", {
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = false,
light_source = 12,
drop = "df_mapitems:med_crystal",
groups = {cracky=2, dfcaverns_big_crystal = 1},

View File

@ -16,6 +16,7 @@ minetest.register_node("df_mapitems:salt_crystal", {
sounds = default.node_sound_glass_defaults(),
use_texture_alpha = true,
sunlight_propagates = true,
is_ground_content = false,
on_place = df_mapitems.place_against_surface,
})
@ -26,7 +27,7 @@ minetest.register_node("df_mapitems:salty_cobble", {
tiles = {"default_cobble.png^dfcaverns_salty.png"},
groups = {cracky = 3, stone = 1, lava_heatable = 1},
_magma_conduits_heats_to = "default:cobble",
is_ground_content = true,
is_ground_content = false,
light_source = 2,
drop = 'default:cobble',
sounds = default.node_sound_stone_defaults(),

View File

@ -13,6 +13,7 @@ df_mapitems.dry_stalagmite_ids = subterrane.register_stalagmite_nodes("df_mapite
},
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
is_ground_content = false,
})
minetest.register_node("df_mapitems:dry_flowstone", {
@ -22,7 +23,7 @@ minetest.register_node("df_mapitems:dry_flowstone", {
tiles = {"default_stone.png^[brighten"},
groups = {cracky = 3, stone = 1, lava_heatable = 1},
_magma_conduits_heats_to = "default:cobble",
is_ground_content = true,
is_ground_content = false,
drop = 'default:cobble',
sounds = default.node_sound_stone_defaults(),
})
@ -38,6 +39,7 @@ df_mapitems.wet_stalagmite_ids = subterrane.register_stalagmite_nodes("df_mapite
},
groups = {cracky = 3, stone = 2, subterrane_wet_dripstone = 1},
sounds = default.node_sound_stone_defaults(),
is_ground_content = false,
}, "df_mapitems:dry_stal")
@ -48,7 +50,7 @@ minetest.register_node("df_mapitems:wet_flowstone", {
tiles = {"default_stone.png^[brighten^dfcaverns_dripstone_streaks.png"},
groups = {cracky = 3, stone = 1, subterrane_wet_dripstone = 1, lava_heatable = 1},
_magma_conduits_heats_to = "df_mapitems:dry_flowstone",
is_ground_content = true,
is_ground_content = false,
drop = 'default:cobble',
sounds = default.node_sound_stone_defaults(),
})

View File

@ -24,7 +24,7 @@ minetest.register_node("df_mapitems:glow_worm", {
},
inventory_image = "dfcaverns_glow_worm.png",
wield_image = "dfcaverns_glow_worm.png",
is_ground_content = true,
is_ground_content = false,
groups = {oddly_breakable_by_hand=3, light_sensitive_fungus = 12},
_dfcaverns_dead_node = "air",
light_source = 9,

View File

@ -15,7 +15,7 @@ minetest.register_node("df_mapitems:dirt_with_cave_moss", {
{name = "default_dirt.png^dfcaverns_cave_moss_side.png",
tileable_vertical = false}},
drop = "default:dirt",
is_ground_content = true,
is_ground_content = false,
light_source = 2,
paramtype = "light",
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8},
@ -56,7 +56,7 @@ minetest.register_node("df_mapitems:cobble_with_floor_fungus", {
_doc_items_usagehelp = df_mapitems.doc.floor_fungus_usage,
tiles = {"default_cobble.png^dfcaverns_floor_fungus.png"},
drops = "default:cobble",
is_ground_content = true,
is_ground_content = false,
paramtype = "light",
groups = {cracky = 3, stone = 2, slippery = 1, light_sensitive_fungus = 8},
_dfcaverns_dead_node = "default:cobble",
@ -71,7 +71,7 @@ minetest.register_node("df_mapitems:cobble_with_floor_fungus_fine", {
_doc_items_usagehelp = df_mapitems.doc.floor_fungus_usage,
tiles = {"default_cobble.png^dfcaverns_floor_fungus_fine.png"},
drops = "default:cobble",
is_ground_content = true,
is_ground_content = false,
paramtype = "light",
groups = {cracky = 3, stone = 2, slippery = 1, light_sensitive_fungus = 8},
_dfcaverns_dead_node = "default:cobble",
@ -113,6 +113,7 @@ minetest.register_node("df_mapitems:ice_with_hoar_moss", {
drops = "default:ice",
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},
sounds = default.node_sound_glass_defaults(),
_dfcaverns_dead_node = "default:ice",

View File

@ -10,7 +10,7 @@ minetest.register_node("df_mapitems:snareweed", {
drawtype="plantlike_rooted",
paramtype2 = "leveled",
special_tiles = {{name = "dfcaverns_snareweed.png", tileable_vertical = true}},
is_ground_content = true,
is_ground_content = false,
drop = 'default:dirt',
light_source = 6,
groups = {crumbly = 3, soil = 1},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 629 B

After

Width:  |  Height:  |  Size: 477 B

View File

@ -9,7 +9,7 @@ minetest.register_node("df_mapitems:veinstone", {
tiles = {"default_stone.png^dfcaverns_veins.png"},
groups = {cracky = 3, stone = 1, lava_heatable = 1},
_magma_conduits_heats_to = "default:cobble",
is_ground_content = true,
is_ground_content = false,
light_source = 2,
drop = 'default:cobble',
sounds = default.node_sound_stone_defaults(),

View File

@ -43,6 +43,7 @@ minetest.register_node("df_primordial_items:glow_orb_hanging", {
paramtype2 = "degrotate",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
light_source = 6,
sounds = default.node_sound_leaves_defaults(),

View File

@ -18,6 +18,7 @@ minetest.register_node("df_primordial_items:fungal_grass_1", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
@ -35,6 +36,7 @@ minetest.register_node("df_primordial_items:fungal_grass_2", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
place_param2 = 3,
sounds = default.node_sound_leaves_defaults(),
@ -55,6 +57,7 @@ minetest.register_node("df_primordial_items:glow_orb", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
light_source = 9,
sounds = default.node_sound_leaves_defaults(),
@ -73,6 +76,7 @@ minetest.register_node("df_primordial_items:glow_orb_stalks", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
light_source = 6,
sounds = default.node_sound_leaves_defaults(),
@ -91,6 +95,7 @@ minetest.register_node("df_primordial_items:glow_pods", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
light_source = 6,
sounds = default.node_sound_leaves_defaults(),
@ -105,6 +110,7 @@ minetest.register_node("df_primordial_items:dirt_with_mycelium", {
description = S("Dirt With Primordial Mycelium"),
tiles = {"dfcaverns_mush_soil.png"},
groups = {crumbly = 3, soil = 1},
is_ground_content = false,
drops = "default:dirt",
sounds = default.node_sound_dirt_defaults(),
light_source = 3,

View File

@ -38,6 +38,7 @@ minetest.register_node("df_primordial_items:giant_fern_tree_slant_bottom", {
drop = "df_primordial_items:giant_fern_tree",
groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1},
sounds = default.node_sound_wood_defaults(),
is_ground_content = false,
on_place = minetest.rotate_node,
selection_box = {
type = "fixed",
@ -74,6 +75,7 @@ minetest.register_node("df_primordial_items:giant_fern_tree_slant_top", {
drop = "df_primordial_items:giant_fern_tree",
groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1},
sounds = default.node_sound_wood_defaults(),
is_ground_content = false,
on_place = minetest.rotate_node,
selection_box = {
type = "fixed",
@ -110,6 +112,7 @@ minetest.register_node("df_primordial_items:giant_fern_tree_slant_full", {
drop = "df_primordial_items:giant_fern_tree",
groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1},
sounds = default.node_sound_wood_defaults(),
is_ground_content = false,
on_place = minetest.rotate_node,
selection_box = {
type = "fixed",
@ -253,6 +256,7 @@ minetest.register_node("df_primordial_items:fern_sapling", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,

View File

@ -97,6 +97,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_sapling", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,

View File

@ -17,6 +17,7 @@ minetest.register_node("df_primordial_items:fern_1", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
@ -35,6 +36,7 @@ minetest.register_node("df_primordial_items:fern_2", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
@ -55,6 +57,7 @@ minetest.register_node("df_primordial_items:glow_plant_1", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
light_source = 6,
sounds = default.node_sound_leaves_defaults(),
@ -73,6 +76,7 @@ minetest.register_node("df_primordial_items:glow_plant_2", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
light_source = 6,
sounds = default.node_sound_leaves_defaults(),
@ -91,6 +95,7 @@ minetest.register_node("df_primordial_items:glow_plant_3", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
light_source = 6,
sounds = default.node_sound_leaves_defaults(),
@ -113,6 +118,7 @@ minetest.register_node("df_primordial_items:jungle_grass_1", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
@ -130,6 +136,7 @@ minetest.register_node("df_primordial_items:jungle_grass_2", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
place_param2 = 3,
sounds = default.node_sound_leaves_defaults(),
@ -148,6 +155,7 @@ minetest.register_node("df_primordial_items:jungle_grass_3", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
place_param2 = 3,
sounds = default.node_sound_leaves_defaults(),
@ -173,9 +181,9 @@ minetest.register_node("df_primordial_items:jungle_ivy", {
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
sunlight_propagates = true,
is_ground_content = false,
walkable = false,
climbable = true,
is_ground_content = false,
selection_box = {
type = "wallmounted",
},
@ -195,6 +203,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_1", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
@ -212,6 +221,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_2", {
paramtype = "light",
drawtype = "plantlike",
buildable_to = true,
is_ground_content = false,
walkable = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
@ -225,6 +235,7 @@ minetest.register_node("df_primordial_items:dirt_with_jungle_grass", {
description = S("Dirt With Primordial Jungle Grass"),
tiles = {"dfcaverns_jungle_plant_grass_node_01.png"},
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
is_ground_content = false,
drops = "default:dirt",
sounds = default.node_sound_dirt_defaults(),
})
@ -233,6 +244,7 @@ minetest.register_node("df_primordial_items:plant_matter", {
_doc_items_longdesc = df_primordial_items.doc.plant_matter_desc,
_doc_items_usagehelp = df_primordial_items.doc.plant_matter_usage,
tiles = {"dfcaverns_jungle_plant_matter_01.png"},
is_ground_content = false,
groups = {crumbly = 3, soil = 1},
sounds = default.node_sound_dirt_defaults(),
})
@ -284,6 +296,7 @@ minetest.register_node("df_primordial_items:jungle_roots_2", {
drawtype = "plantlike",
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
is_ground_content = false,
sunlight_propagates = true,
walkable = false,
climbable = true,
@ -304,6 +317,7 @@ minetest.register_node("df_primordial_items:jungle_thorns", {
paramtype = "light",
drawtype = "plantlike",
walkable = false,
is_ground_content = false,
place_param2 = 3,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,

View File

@ -225,6 +225,7 @@ minetest.register_node("df_primordial_items:jungletree_sapling", {
drawtype = "plantlike",
buildable_to = true,
walkable = false,
is_ground_content = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
sunlight_propagates = true,

View File

@ -38,6 +38,7 @@ minetest.register_node("df_primordial_items:mushroom_gills", {
drawtype = "plantlike",
waving = 2,
walkable = false,
is_ground_content = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
sunlight_propagates = true,
@ -68,6 +69,7 @@ minetest.register_node("df_primordial_items:mushroom_gills_glowing", {
drawtype = "plantlike",
waving = 2,
walkable = false,
is_ground_content = false,
light_source = 6,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
@ -652,6 +654,7 @@ minetest.register_node("df_primordial_items:mush_sapling", {
drawtype = "plantlike",
buildable_to = true,
walkable = false,
is_ground_content = false,
sounds = default.node_sound_leaves_defaults(),
use_texture_alpha = true,
sunlight_propagates = true,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 B

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 B

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 437 B

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 B

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 333 B

View File

@ -8,7 +8,7 @@ minetest.register_node("df_trees:black_cap_stem", {
_doc_items_longdesc = df_trees.doc.black_cap_desc,
_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 = true,
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
@ -19,7 +19,7 @@ minetest.register_node("df_trees:black_cap", {
_doc_items_longdesc = df_trees.doc.black_cap_desc,
_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 = true,
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})
@ -30,7 +30,7 @@ minetest.register_node("df_trees:black_cap_gills", {
_doc_items_longdesc = df_trees.doc.black_cap_desc,
_doc_items_usagehelp = df_trees.doc.black_cap_usage,
tiles = {"dfcaverns_black_cap_gills.png"},
is_ground_content = true,
is_ground_content = false,
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
sounds = default.node_sound_leaves_defaults(),
drawtype = "plantlike",
@ -143,6 +143,7 @@ minetest.register_node("df_trees:black_cap_sapling", {
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = false,
floodable = true,
selection_box = {
type = "fixed",

View File

@ -39,6 +39,7 @@ minetest.register_node("df_trees:blood_thorn", {
groups = {choppy = 3, tree = 1, flammable = 2, light_sensitive_fungus = 11},
_dfcaverns_dead_node = "df_trees:blood_thorn_dead",
sounds = default.node_sound_wood_defaults(),
is_ground_content = false,
on_place = minetest.rotate_node,
after_dig_node = blood_thorn_after_dig,
})
@ -53,6 +54,7 @@ minetest.register_node("df_trees:blood_thorn_dead", {
paramtype = "light",
groups = {choppy = 3, tree = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
is_ground_content = false,
on_place = minetest.rotate_node,
after_dig_node = blood_thorn_after_dig,
})
@ -74,6 +76,7 @@ minetest.register_node("df_trees:blood_thorn_spike", {
sounds = default.node_sound_wood_defaults(),
drawtype = "nodebox",
climbable = true,
is_ground_content = false,
damage_per_second = 1,
paramtype = "light",
paramtype2 = "facedir",
@ -103,6 +106,7 @@ minetest.register_node("df_trees:blood_thorn_spike_dead", {
sounds = default.node_sound_wood_defaults(),
drawtype = "nodebox",
climbable = true,
is_ground_content = false,
paramtype = "light",
paramtype2 = "facedir",
node_box = {

View File

@ -115,6 +115,7 @@ minetest.register_node("df_trees:fungiwood_sapling", {
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = false,
floodable = true,
selection_box = {
type = "fixed",

View File

@ -8,7 +8,7 @@ minetest.register_node("df_trees:goblin_cap_stem", {
_doc_items_longdesc = df_trees.doc.goblin_cap_desc,
_doc_items_usagehelp = df_trees.doc.goblin_cap_usage,
tiles = {"dfcaverns_goblin_cap_stem.png"},
is_ground_content = true,
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1},
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
})
@ -19,7 +19,7 @@ minetest.register_node("df_trees:goblin_cap", {
_doc_items_longdesc = df_trees.doc.goblin_cap_desc,
_doc_items_usagehelp = df_trees.doc.goblin_cap_usage,
tiles = {"dfcaverns_goblin_cap.png"},
is_ground_content = true,
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1},
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
})
@ -30,7 +30,7 @@ minetest.register_node("df_trees:goblin_cap_gills", {
_doc_items_longdesc = df_trees.doc.goblin_cap_desc,
_doc_items_usagehelp = df_trees.doc.goblin_cap_usage,
tiles = {"dfcaverns_goblin_cap_gills.png"},
is_ground_content = true,
is_ground_content = false,
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, goblin_cap = 1},
sounds = default.node_sound_leaves_defaults(),
drawtype = "plantlike",
@ -143,6 +143,7 @@ minetest.register_node("df_trees:goblin_cap_sapling", {
wield_image = "dfcaverns_goblin_cap_sapling.png",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
walkable = false,
floodable = true,
selection_box = {

View File

@ -8,7 +8,7 @@ minetest.register_node("df_trees:nether_cap_stem", {
_doc_items_longdesc = df_trees.doc.nether_cap_desc,
_doc_items_usagehelp = df_trees.doc.nether_cap_usage,
tiles = {"dfcaverns_nether_cap_stem.png"},
is_ground_content = true,
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1},
sounds = default.node_sound_wood_defaults(),
})
@ -19,7 +19,7 @@ minetest.register_node("df_trees:nether_cap", {
_doc_items_longdesc = df_trees.doc.nether_cap_desc,
_doc_items_usagehelp = df_trees.doc.nether_cap_usage,
tiles = {"dfcaverns_nether_cap.png"},
is_ground_content = true,
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1 },
sounds = default.node_sound_wood_defaults({
footstep = {name = "default_snow_footstep", gain = 0.2},
@ -32,7 +32,7 @@ minetest.register_node("df_trees:nether_cap_gills", {
_doc_items_longdesc = df_trees.doc.nether_cap_desc,
_doc_items_usagehelp = df_trees.doc.nether_cap_usage,
tiles = {"dfcaverns_nether_cap_gills.png"},
is_ground_content = true,
is_ground_content = false,
light_source = 6,
groups = {snappy = 3, leafdecay = 3, leaves = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1},
sounds = default.node_sound_leaves_defaults(),
@ -103,6 +103,7 @@ minetest.register_node("df_trees:nether_cap_sapling", {
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = false,
floodable = true, -- nether cap spawn aren't tough enough to freeze water yet
selection_box = {
type = "fixed",

View File

@ -64,7 +64,7 @@ minetest.register_node("df_trees:spindlestem_stem", {
description = S("Spindlestem"),
_doc_items_longdesc = df_trees.doc.spindlestem_desc,
_doc_items_usagehelp = df_trees.doc.spindlestem_usage,
is_ground_content = true,
is_ground_content = false,
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, spindlestem = 1},
sounds = default.node_sound_wood_defaults(),
tiles = {
@ -95,7 +95,7 @@ local register_spindlestem_type = function(item_suffix, colour_name, colour_code
minetest.register_node(cap_item, {
description = S("@1 Spindlestem Cap", colour_name),
is_ground_content = true,
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},
@ -241,6 +241,7 @@ minetest.register_node("df_trees:spindlestem_seedling", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
walkable = false,
floodable = true,
node_box = {

View File

@ -157,6 +157,7 @@ minetest.register_node("df_trees:spore_tree_sapling", {
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = false,
floodable = true,
selection_box = {
type = "fixed",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 327 B

After

Width:  |  Height:  |  Size: 106 B

View File

@ -63,7 +63,7 @@ minetest.register_node("df_trees:torchspine_1", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
is_ground_content = false,
drops = "default:torch",
node_box = {
type = "fixed",
@ -82,7 +82,7 @@ minetest.register_node("df_trees:torchspine_1_lit", {
paramtype = "light",
paramtype2 = "facedir",
light_source = 6,
is_ground_content = true,
is_ground_content = false,
drops = "default:torch 2",
node_box = {
type = "fixed",
@ -100,7 +100,7 @@ minetest.register_node("df_trees:torchspine_2", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
is_ground_content = false,
node_box = {
type = "fixed",
fixed = stal_box_2,
@ -126,7 +126,7 @@ minetest.register_node("df_trees:torchspine_3", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
is_ground_content = false,
node_box = {
type = "fixed",
fixed = stal_box_3,
@ -156,7 +156,7 @@ minetest.register_node("df_trees:torchspine_4", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
is_ground_content = false,
node_box = {
type = "fixed",
fixed = stal_box_4,
@ -187,6 +187,7 @@ minetest.register_node("df_trees:torchspine_ember", {
light_source = 2,
paramtype2 = "facedir",
walkable = false,
is_ground_content = false,
floodable = true,
node_box = {
type = "fixed",

View File

@ -8,7 +8,7 @@ minetest.register_node("df_trees:tower_cap_stem", {
_doc_items_longdesc = df_trees.doc.tower_cap_desc,
_doc_items_usagehelp = df_trees.doc.tower_cap_usage,
tiles = {"dfcaverns_tower_cap.png"},
is_ground_content = true,
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1},
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
})
@ -19,7 +19,7 @@ minetest.register_node("df_trees:tower_cap", {
_doc_items_longdesc = df_trees.doc.tower_cap_desc,
_doc_items_usagehelp = df_trees.doc.tower_cap_usage,
tiles = {"dfcaverns_tower_cap.png"},
is_ground_content = true,
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1},
sounds = df_trees.node_sound_tree_soft_fungus_defaults(),
})
@ -30,7 +30,7 @@ minetest.register_node("df_trees:tower_cap_gills", {
_doc_items_longdesc = df_trees.doc.tower_cap_desc,
_doc_items_usagehelp = df_trees.doc.tower_cap_usage,
tiles = {"dfcaverns_tower_cap_gills.png"},
is_ground_content = true,
is_ground_content = false,
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, tower_cap = 1},
sounds = default.node_sound_leaves_defaults(),
drawtype = "plantlike",
@ -125,6 +125,7 @@ minetest.register_node("df_trees:tower_cap_sapling", {
wield_image = "dfcaverns_tower_cap_sapling.png",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
walkable = false,
floodable = true,
selection_box = {

View File

@ -17,6 +17,7 @@ minetest.register_node("df_trees:tunnel_tube", {
tiles = {"dfcaverns_tunnel_tube.png"},
paramtype2 = "facedir",
drawtype = "nodebox",
is_ground_content = false,
paramtype = "light",
groups = {choppy = 3, tree = 1, oddly_breakable_by_hand=1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
@ -40,6 +41,7 @@ minetest.register_node("df_trees:tunnel_tube_slant_bottom", {
tiles = {"dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png"},
paramtype2 = "facedir",
drawtype = "mesh",
is_ground_content = false,
mesh = "tunnel_tube_slant.obj",
paramtype = "light",
drop = "df_trees:tunnel_tube",
@ -70,6 +72,7 @@ minetest.register_node("df_trees:tunnel_tube_slant_top", {
tiles = {"dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png"},
paramtype2 = "facedir",
drawtype = "mesh",
is_ground_content = false,
mesh = "tunnel_tube_slant_2.obj",
paramtype = "light",
drop = "df_trees:tunnel_tube",
@ -99,6 +102,7 @@ minetest.register_node("df_trees:tunnel_tube_slant_full", {
tiles = {"dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png"},
paramtype2 = "facedir",
drawtype = "mesh",
is_ground_content = false,
mesh = "tunnel_tube_slant_full.obj",
paramtype = "light",
drop = "df_trees:tunnel_tube",
@ -172,6 +176,7 @@ if df_trees.config.enable_tnt then
_doc_items_usagehelp = df_trees.doc.tunnel_tube_usage,
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,},
sounds = default.node_sound_wood_defaults(),
on_place = minetest.rotate_node,
@ -227,6 +232,7 @@ if df_trees.config.enable_tnt then
_doc_items_longdesc = df_trees.doc.tunnel_tube_desc,
_doc_items_usagehelp = df_trees.doc.tunnel_tube_usage,
tiles = {"dfcaverns_tunnel_tube.png^[multiply:#b09090"},
is_ground_content = false,
groups = {not_in_creative_inventory = 1,},
light_source = 5,
drop = "",
@ -248,6 +254,7 @@ else
_doc_items_usagehelp = df_trees.doc.tunnel_tube_usage,
tiles = {"dfcaverns_tunnel_tube.png^[multiply:#b09090"},
paramtype2 = "facedir",
is_ground_content = false,
groups = {choppy = 3, oddly_breakable_by_hand=1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
on_place = minetest.rotate_node,
@ -285,6 +292,7 @@ minetest.register_node("df_trees:tunnel_tube_sapling", {
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = false,
floodable = true,
selection_box = {
type = "fixed",

View File

@ -7,7 +7,7 @@ minetest.register_node("df_underworld_items:glow_amethyst", {
_doc_items_longdesc = df_underworld_items.doc.glow_amethyst_desc,
_doc_items_usagehelp = df_underworld_items.doc.glow_amethyst_usage,
tiles = {"dfcaverns_glow_amethyst.png"},
is_ground_content = true,
is_ground_content = false,
groups = {cracky=3, pit_plasma_resistant=1},
sounds = default.node_sound_glass_defaults(),
light_source = 6,

View File

@ -8,7 +8,7 @@ local glowstone_def = {
light_source = minetest.LIGHT_MAX,
description = S("Lightseam"),
tiles = {"dfcaverns_glowstone.png"},
is_ground_content = true,
is_ground_content = false,
groups = {cracky=3},
sounds = default.node_sound_glass_defaults(),
paramtype = "light",

View File

@ -35,7 +35,7 @@ minetest.register_node("df_underworld_items:pit_plasma", {
liquid_alternative_flowing = "df_underworld_items:pit_plasma_flowing",
liquid_alternative_source = "df_underworld_items:pit_plasma",
liquid_renewable = false,
is_ground_content = true,
is_ground_content = false,
light_source = minetest.LIGHT_MAX,
paramtype = "light",
})
@ -84,7 +84,7 @@ minetest.register_node("df_underworld_items:pit_plasma_flowing", {
liquid_alternative_flowing = "df_underworld_items:pit_plasma_flowing",
liquid_alternative_source = "df_underworld_items:pit_plasma",
liquid_renewable = false,
is_ground_content = true,
is_ground_content = false,
light_source = minetest.LIGHT_MAX,
paramtype = "light",
})

View File

@ -64,6 +64,7 @@ local slade_wall_def = {
paramtype = "light",
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},
sounds = default.node_sound_stone_defaults({ footstep = { name = "bedrock2_step", gain = 1 } }),
}
@ -78,7 +79,7 @@ minetest.register_node("df_underworld_items: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 = true,
is_ground_content = false,
groups = {crumbly = 3, level = 2, falling_node = 1, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1},
sounds = default.node_sound_gravel_defaults({
footstep = {name = "default_gravel_footstep", gain = 0.45},

View File

@ -38,6 +38,7 @@ minetest.register_node("ice_sprites:ice_sprite", {
paramtype = "light",
sunlight_propagates = true,
buildable_to = true,
is_ground_content = false,
walkable = false,
groups = {catchable = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1},
selection_box = {
@ -75,6 +76,7 @@ minetest.register_node("ice_sprites:hidden_ice_sprite", {
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = false,
pointable = false,
diggable = false,
buildable_to = true,
@ -124,6 +126,7 @@ minetest.register_node("ice_sprites:ice_sprite_bottle", {
paramtype = "light",
sunlight_propagates = true,
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},
selection_box = {

View File

@ -31,6 +31,7 @@ minetest.register_node("mine_gas:gas", {
walkable = false,
pointable = false,
diggable = false,
is_ground_content = false,
buildable_to = true,
drawtype = "glasslike",
drowning = 1,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 573 B

After

Width:  |  Height:  |  Size: 567 B

View File

@ -14,6 +14,7 @@ minetest.register_node("mine_gas:gas_wisp", {
_doc_items_longdesc = wisp_desc,
_doc_items_usagehelp = wisp_usage,
walkable = false,
is_ground_content = false,
diggable = false,
buildable_to = true,
drawtype = "plantlike",