Add ant grass

This commit is contained in:
Wuzzy 2024-11-29 02:22:49 +01:00
parent 4e9dc13233
commit 21f60cb35f
4 changed files with 47 additions and 1 deletions

View File

@ -29,7 +29,7 @@ All levels by Wuzzy.
- Sandstone, forge animation, cold forge, wood loose, circular stone, mossy circular stone, hanging candle by Wuzzy (CC0)
- Derivative work of PixelBox
- Raindrop, crosshair, wieldhand, `smoke_puff.png`: Textures by Wuzzy (CC0)
- `lzr_damage_screen_*.png`, `lzr_decor_ships_wheel_*.png`:
- `lzr_damage_screen_*.png`, `lzr_decor_ships_wheel_*.png`, `lzr_plants_small_ant_grass.png`, `lzr_plants_large_ant_grass.png`:
- By Wuzzy
- License: CC BY 4.0
- `lzr_laser_bomb_smoke_*.png`:

View File

@ -49,6 +49,52 @@ minetest.register_node("lzr_plants:crab_grass", {
buildable_to = true,
})
minetest.register_node("lzr_plants:ant_grass_small", {
description = S("Small Ant Grass"),
tiles = { "lzr_plants_small_ant_grass.png" },
wield_image = "lzr_plants_small_ant_grass.png",
inventory_image = "lzr_plants_small_ant_grass.png",
drawtype = "plantlike",
walkable = false,
selection_box = {
type = "fixed",
fixed = { -7/16, -0.5, -7/16, 7/16, 0, 7/16 },
},
paramtype2 = "meshoptions",
place_param2 = 4,
waving = 1,
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
sounds = lzr_sounds.node_sound_grass_defaults(),
groups = { punchdig = 1, laser_destroys = 1, explosion_destroys = 1, attached_node = 1, plant = 1 },
drop = "",
buildable_to = true,
})
minetest.register_node("lzr_plants:ant_grass_large", {
description = S("Large Ant Grass"),
tiles = { "lzr_plants_large_ant_grass.png" },
wield_image = "lzr_plants_large_ant_grass.png",
inventory_image = "lzr_plants_large_ant_grass.png",
drawtype = "plantlike",
walkable = false,
selection_box = {
type = "fixed",
fixed = { -7/16, -0.5, -7/16, 7/16, 3/16, 7/16 },
},
paramtype2 = "meshoptions",
place_param2 = 4,
waving = 1,
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
sounds = lzr_sounds.node_sound_grass_defaults(),
groups = { punchdig = 1, laser_destroys = 1, explosion_destroys = 1, attached_node = 1, plant = 1 },
drop = "",
buildable_to = true,
})
-- Large fern occupies two nodes vertically.
-- This is the bottom piece that also acts
-- as an editor item to place the full fern.

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B