Add dead grass
parent
76f382564c
commit
6bc2dbdf6f
Binary file not shown.
After Width: | Height: | Size: 150 B |
|
@ -191,6 +191,56 @@ minetest.register_abm({
|
|||
end
|
||||
})
|
||||
|
||||
minetest.register_node("hades_grass:dead_grass_1", {
|
||||
description = S("Dead Grass Clump"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"hades_dead_grass_plant_colorable_1.png"},
|
||||
inventory_image = "hades_dead_grass_plant_colorable_1.png",
|
||||
wield_image = "hades_dead_grass_plant_colorable_1.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "color",
|
||||
palette = "hades_core_palette_dead_grass.png",
|
||||
color = "#FFE770",
|
||||
waving = 1,
|
||||
walkable = false,
|
||||
is_ground_content = true,
|
||||
buildable_to = true,
|
||||
floodable = true,
|
||||
groups = {snappy=3,flammable=3,dead_grass_clump=1,grass=1,attached_node=1},
|
||||
sounds = hades_sounds.node_sound_grass_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-6/16, -0.5, -6/16, 6/16, -5/16, 6/16},
|
||||
},
|
||||
})
|
||||
|
||||
for i=2,5 do
|
||||
minetest.register_node("hades_grass:dead_grass_"..i, {
|
||||
description = S("Dead Grass Clump (Stage @1)", i),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"hades_dead_grass_plant_colorable_"..i..".png"},
|
||||
inventory_image = "hades_dead_grass_plant_colorable_"..i..".png",
|
||||
wield_image = "hades_dead_grass_plant_colorable_"..i..".png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "color",
|
||||
palette = "hades_core_palette_dead_grass.png",
|
||||
color = "#FFE770",
|
||||
waving = 1,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
floodable = true,
|
||||
is_ground_content = true,
|
||||
drop = "hades_grass:dead_grass_1",
|
||||
groups = {snappy=3,flammable=3,grass=1,dead_grass_clump=i,attached_node=1,not_in_creative_inventory=1},
|
||||
sounds = hades_sounds.node_sound_grass_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-6/16, -0.5, -6/16, 6/16, -3/16, 6/16},
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'hades_grass:grass_1',
|
||||
recipe = {
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 240 B |
Binary file not shown.
After Width: | Height: | Size: 336 B |
Binary file not shown.
After Width: | Height: | Size: 461 B |
Binary file not shown.
After Width: | Height: | Size: 565 B |
Binary file not shown.
After Width: | Height: | Size: 660 B |
|
@ -4,6 +4,7 @@ local cycles = {
|
|||
{ "hades_core:dirt", "hades_core:dirt_with_grass_l1", "hades_core:dirt_with_grass_l2", "hades_core:dirt_with_grass_l3", "hades_core:dirt_with_grass" },
|
||||
{ "hades_farming:soil", "hades_farming:soil_wet" },
|
||||
{ "hades_grass:grass_1", "hades_grass:grass_2", "hades_grass:grass_3", "hades_grass:grass_4", "hades_grass:grass_5" },
|
||||
{ "hades_grass:dead_grass_1", "hades_grass:dead_grass_2", "hades_grass:dead_grass_3", "hades_grass:dead_grass_4", "hades_grass:dead_grass_5" },
|
||||
{ "hades_waterplants:seaweed_4", "hades_waterplants:seaweed_2", "hades_waterplants:seaweed_3", "hades_waterplants:seaweed" },
|
||||
{ "hades_waterplants:waterlily", "hades_waterplants:waterlily_225", "hades_waterplants:waterlily_45", "hades_waterplants:waterlily_675", "hades_waterplants:waterlily_s3", "hades_waterplants:waterlily_s1", "hades_waterplants:waterlily_s2", "hades_waterplants:waterlily_s4" },
|
||||
{ "hades_vines:willow", "hades_vines:willow_rotten" },
|
||||
|
@ -19,7 +20,6 @@ local cycles = {
|
|||
|
||||
local seeds = {
|
||||
{ 3, "hades_farming", { "cotton", "wheat", "spice", "potato", "strawberry", "tomato" } },
|
||||
{ 5, "hades_grass", { "grass" } }
|
||||
}
|
||||
for s=1,#seeds do
|
||||
local seedinfo = seeds[s]
|
||||
|
|
Loading…
Reference in New Issue