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

@ -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