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

@ -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(),