Add sounds for itemframe
This commit is contained in:
parent
99b869bb77
commit
ebea522ae0
@ -257,7 +257,12 @@ minetest.register_node("rp_itemshow:frame",{
|
||||
-- So that placing a magnocompass on it will point
|
||||
-- the needle to the correct direction
|
||||
special_magnocompass_place_handling = 1},
|
||||
sounds = rp_sounds.node_sound_defaults(),
|
||||
sounds = rp_sounds.node_sound_defaults({
|
||||
place = { name = "rp_itemshow_place_frame", gain = 0.5 },
|
||||
dug = { name = "rp_itemshow_dug_frame", gain = 0.5 },
|
||||
dig = { name = "rp_itemshow_dig_frame", gain = 0.35 },
|
||||
footstep = { name = "rp_itemshow_dig_frame", gain = 0.35, pitch = 1.5 },
|
||||
}),
|
||||
is_ground_content = false,
|
||||
on_rotate = function(pos, node, user, mode, new_param2)
|
||||
if mode == screwdriver.ROTATE_AXIS then
|
||||
|
@ -1,4 +1,35 @@
|
||||
Itemshow mod
|
||||
# Itemshow mod
|
||||
|
||||
Use the 'place' key to add or remove an item from a item frame or item showcase.
|
||||
Punch the block to force update if items do not appear.
|
||||
|
||||
## Credits / licensing
|
||||
|
||||
### Coding
|
||||
|
||||
By Wuzzy.
|
||||
License: LGPLv2.1
|
||||
|
||||
### Textures
|
||||
|
||||
By Wuzzy, based on works by KaadmY.
|
||||
License: CC BY-SA 3.0
|
||||
|
||||
### Sounds
|
||||
|
||||
* `rp_itemshow_place_frame.ogg`
|
||||
* Derivative work of sound 'Drinking' by PearceWilsonKing
|
||||
* Origin: <https://freesound.org/people/limetoe/sounds/317012/>
|
||||
* License: CC BY 3.0
|
||||
* `rp_itemshow_dig_frame.ogg`
|
||||
* Based on a public domain sound
|
||||
* License: CC0
|
||||
* `rp_itemshow_dug_frame.ogg`
|
||||
* Based on a public domain sound
|
||||
* License: CC0
|
||||
* `rp_itemshow_put_item.*.ogg`
|
||||
* By Wuzzy
|
||||
* License: CC0
|
||||
* `rp_itemshow_take_item.*.ogg`
|
||||
* By Wuzzy
|
||||
* License: CC0
|
||||
|
BIN
mods/rp_itemshow/sounds/rp_itemshow_dig_frame.ogg
Normal file
BIN
mods/rp_itemshow/sounds/rp_itemshow_dig_frame.ogg
Normal file
Binary file not shown.
BIN
mods/rp_itemshow/sounds/rp_itemshow_dug_frame.ogg
Normal file
BIN
mods/rp_itemshow/sounds/rp_itemshow_dug_frame.ogg
Normal file
Binary file not shown.
BIN
mods/rp_itemshow/sounds/rp_itemshow_place_frame.ogg
Normal file
BIN
mods/rp_itemshow/sounds/rp_itemshow_place_frame.ogg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user