diff --git a/mods/hades_core/textures/hades_core_palette_dead_grass.png b/mods/hades_core/textures/hades_core_palette_dead_grass.png new file mode 100644 index 0000000..ddd1227 Binary files /dev/null and b/mods/hades_core/textures/hades_core_palette_dead_grass.png differ diff --git a/mods/hades_grass/init.lua b/mods/hades_grass/init.lua index 031caed..0c1a017 100644 --- a/mods/hades_grass/init.lua +++ b/mods/hades_grass/init.lua @@ -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 = { diff --git a/mods/hades_grass/textures/hades_dead_grass_plant_colorable_1.png b/mods/hades_grass/textures/hades_dead_grass_plant_colorable_1.png new file mode 100644 index 0000000..709f235 Binary files /dev/null and b/mods/hades_grass/textures/hades_dead_grass_plant_colorable_1.png differ diff --git a/mods/hades_grass/textures/hades_dead_grass_plant_colorable_2.png b/mods/hades_grass/textures/hades_dead_grass_plant_colorable_2.png new file mode 100644 index 0000000..4f83b37 Binary files /dev/null and b/mods/hades_grass/textures/hades_dead_grass_plant_colorable_2.png differ diff --git a/mods/hades_grass/textures/hades_dead_grass_plant_colorable_3.png b/mods/hades_grass/textures/hades_dead_grass_plant_colorable_3.png new file mode 100644 index 0000000..422c3e5 Binary files /dev/null and b/mods/hades_grass/textures/hades_dead_grass_plant_colorable_3.png differ diff --git a/mods/hades_grass/textures/hades_dead_grass_plant_colorable_4.png b/mods/hades_grass/textures/hades_dead_grass_plant_colorable_4.png new file mode 100644 index 0000000..4c041ea Binary files /dev/null and b/mods/hades_grass/textures/hades_dead_grass_plant_colorable_4.png differ diff --git a/mods/hades_grass/textures/hades_dead_grass_plant_colorable_5.png b/mods/hades_grass/textures/hades_dead_grass_plant_colorable_5.png new file mode 100644 index 0000000..1bf0c98 Binary files /dev/null and b/mods/hades_grass/textures/hades_dead_grass_plant_colorable_5.png differ diff --git a/mods/hades_magic_wand/init.lua b/mods/hades_magic_wand/init.lua index ef9858c..76fad01 100644 --- a/mods/hades_magic_wand/init.lua +++ b/mods/hades_magic_wand/init.lua @@ -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]