wowowo looking gooooood

This commit is contained in:
Kacper Kostka 2023-01-28 11:04:13 +01:00
parent 046d6fb7a1
commit 8b7a428b88
7 changed files with 182 additions and 4 deletions

View File

@ -365,3 +365,101 @@ minetest.register_node("amogus_blocks:green_leaves", {
sunlight_propagates = true,
groups = {cracky=3,oddly_breakable_by_hand=3},
})
minetest.register_node("amogus_blocks:grass_tall", {
description = "Grass plant",
drawtype = "plantlike",
tiles = {"grass_tall.png"},
inventory_image = "grass_tall.png",
wield_image = "grass_tall.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
groups = {snappy=3,flammable=2,flower=1},
--sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
},
on_punch = function(pos, node, puncher, pointed_thing)
minetest.remove_node(pos)
end
})
minetest.register_node("amogus_blocks:purple_grass_tall", {
description = "Grass plant",
drawtype = "plantlike",
tiles = {"purple_grass_tall.png"},
inventory_image = "purple_grass_tall.png",
wield_image = "purple_grass_tall.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
groups = {snappy=3,flammable=2,flower=1},
--sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
},
on_punch = function(pos, node, puncher, pointed_thing)
minetest.remove_node(pos)
end
})
minetest.register_node("amogus_blocks:amogflower", {
description = "amogus flower",
drawtype = "plantlike",
tiles = {"amog_flower.png"},
inventory_image = "amog_flower.png",
wield_image = "amog_flower.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
light_source = 14,
groups = {snappy=3,flammable=2,flower=1},
--sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
},
on_punch = function(pos, node, puncher, pointed_thing)
minetest.remove_node(pos)
end
})
minetest.register_node("amogus_blocks:redflower", {
description = "red flower",
drawtype = "plantlike",
tiles = {"flower.png"},
inventory_image = "flower.png",
wield_image = "flower.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
groups = {snappy=3,flammable=2,flower=1},
--sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
},
on_punch = function(pos, node, puncher, pointed_thing)
minetest.remove_node(pos)
end
})
minetest.register_node("amogus_blocks:yellowflower", {
description = "yellow flower",
drawtype = "plantlike",
tiles = {"flower_2.png"},
inventory_image = "flower_2.png",
wield_image = "flower_2.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
groups = {snappy=3,flammable=2,flower=1},
--sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
},
on_punch = function(pos, node, puncher, pointed_thing)
minetest.remove_node(pos)
end
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 B

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 B

After

Width:  |  Height:  |  Size: 260 B

View File

@ -90,7 +90,7 @@ minetest.register_decoration({
decoration = "amogus_blocks:lucky_block",
})minetest.register_decoration({
deco_type = "simple",
place_on = {"amogus_blocks:grass"},
place_on = {"amogus_blocks:grass_green"},
sidelen = 16,
noise_params = {
offset = 0,
@ -105,6 +105,68 @@ minetest.register_decoration({
y_min = 1,
decoration = "amogus_blocks:lucky_block",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"amogus_blocks:grass_green"},
sidelen = 16,
fill_ratio = 0.01,
biomes = {"green_biome"},
y_max = 31000,
y_min = 1,
decoration = "amogus_blocks:amogflower",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"amogus_blocks:grass_green"},
sidelen = 16,
fill_ratio = 0.10,
biomes = {"green_biome"},
y_max = 31000,
y_min = 1,
decoration = "amogus_blocks:grass_tall",
})minetest.register_decoration({
deco_type = "simple",
place_on = {"amogus_blocks:grass"},
sidelen = 16,
fill_ratio = 0.10,
biomes = {"amogus_biome"},
y_max = 31000,
y_min = 1,
decoration = "amogus_blocks:purple_grass_tall",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"amogus_blocks:grass"},
sidelen = 16,
fill_ratio = 0.01,
biomes = {"amogus_biome"},
y_max = 31000,
y_min = 1,
decoration = "amogus_blocks:amogflower",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"amogus_blocks:grass_green"},
sidelen = 16,
fill_ratio = 0.01,
biomes = {"green_biome"},
y_max = 31000,
y_min = 1,
decoration = "amogus_blocks:redflower",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"amogus_blocks:grass_green"},
sidelen = 16,
fill_ratio = 0.01,
biomes = {"green_biome"},
y_max = 31000,
y_min = 1,
decoration = "amogus_blocks:yellowflower",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"amogus_blocks:grass"},

View File

@ -8,7 +8,7 @@ minetest.register_item(":", { -- Hand
full_punch_interval = 0.4,
groupcaps = {
choppy = {times = {[1] = 2, [2] = 1.5, [3] = 1.3}, uses = 20, maxlevel = 1},
crumbly = {times = {[1] = 0.5, [2] = 0.3, [3] = 0.2}, uses = 20, maxlevel = 1},
crumbly = {times = {[1] = 1.0, [2] = 0.9, [3] = 0.8}, uses = 20, maxlevel = 1},
cracky = {times = {[1] = 1.0, [2] = 0.7, [3] = 0.5}, uses = 20, maxlevel = 1},
},
damage_groups = {fleshy = 1, snappy = 1, cracky=1},
@ -265,7 +265,7 @@ minetest.register_tool("amogus_items:sussiumaxe", {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
choppy={times={[1]=0.90, [2]=0.80, [3]=0.20}, uses=30, maxlevel=2},
choppy={times={[1]=0.90, [2]=0.80, [3]=0.35}, uses=30, maxlevel=2},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=4},
@ -273,3 +273,21 @@ minetest.register_tool("amogus_items:sussiumaxe", {
groups = {flammable = 2}
})
minetest.register_tool("amogus_items:obsussian_hammer", {
description = "obsussian hammer",
inventory_image = "obsusian_hammer.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
choppy={times={[1]=0.90, [2]=0.40, [3]=0.06}, uses=30, maxlevel=2},
crumbly={times={[1]=0.90, [2]=0.40, [3]=0.06}, uses=30, maxlevel=2},
stone={times={[1]=0.90, [2]=0.40, [3]=0.06}, uses=30, maxlevel=1},
crumbly={times={[1]=0.90, [2]=0.40, [3]=0.06}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=4},
},
groups = {flammable = 2}
})