Add old crate and old barrel

This commit is contained in:
Wuzzy 2024-10-02 15:54:51 +02:00
parent 390d2b89c9
commit d894c77d58
9 changed files with 28 additions and 1 deletions

View File

@ -37,7 +37,7 @@ All levels by Wuzzy.
- Coconut and coconut tree by Neuromancer (CC BY-SA 4.0)
- Crosshair, wieldhand, `smoke_puff.png`: trivial textures by Wuzzy (CC0)
- `lzr_laser_overload_smoke.png`: by Wuzzy (CC0)
- Emitter, detector, dark locked chest textures: Derivate works of xdecor textures by jp (CC0)
- Emitter, detector, dark locked chest, old crate, old barrel textures: Derivate works of xdecor textures by jp (CC0)
- Mirror textures: by Wuzzy (CC0)
- Screwdriver texture: by 12Me21 (CC0)
- Hotbar textures are a recolored version from from the hotbar textures of the Isabella Texture Pack by Bonemouse (http://www.minecraftforum.net/topic/242175-Isabella/) (CC BY 3.0)
@ -230,6 +230,10 @@ All levels by Wuzzy.
- by artisticdue
- Source: <https://opengameart.org/content/rpg-sound-pack> (`misc/random5.wav`)
- License: CC0
- `lzr_laser_crate_old_break.*.ogg`:
- by melle\_teich
- Source: <https://freesound.org/people/melle_teich/sounds/628398/>
- License: CC0
- All other sounds come from Minetest Game (see license of Minetest Game 5.4.1 for details)

View File

@ -103,6 +103,17 @@ minetest.register_node("lzr_decor:barrel", {
groups = {breakable = 1, rotatable = 3},
sounds = lzr_sounds.node_sound_wood_defaults()
})
-- Breaks at the slightest touch
minetest.register_node("lzr_decor:barrel_old", {
description = S("Old Barrel"),
tiles = {"lzr_decor_barrel_old_top.png", "lzr_decor_barrel_old_top.png", "lzr_decor_barrel_old_sides.png"},
paramtype2 = "facedir",
groups = {breakable = 1, rotatable = 3, punchdig = 1, explosion_destroys = 1},
sounds = lzr_sounds.node_sound_wood_squeak_defaults({
dug = { name = "lzr_laser_crate_old_break", gain = 0.35 },
}),
drop = "",
})
local function register_storage(name, desc, def)
minetest.register_node(name, {

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

View File

@ -41,6 +41,18 @@ minetest.register_node("lzr_laser:crate", {
sounds = lzr_sounds.node_sound_wood_defaults(),
groups = { crate = 1, breakable = 1 },
})
-- Crate that is destroyed at the slightest touch
minetest.register_node("lzr_laser:crate_old", {
description = S("Old Crate"),
tiles = {
"lzr_laser_crate_old.png",
},
sounds = lzr_sounds.node_sound_wood_squeak_defaults({
dug = { name = "lzr_laser_crate_old_break", gain = 0.3 },
}),
groups = { crate = 1, breakable = 1, punchdig = 1, explosion_destroys = 1 },
drop = "",
})
minetest.register_node("lzr_laser:crate_mossy", {
description = S("Mossy Heavy Crate"),
tiles = {

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B