mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
Add bell from mcl5
This commit is contained in:
parent
dc30517cd9
commit
a6e9afbb93
4
mods/ITEMS/mcl_bells/README.md
Normal file
4
mods/ITEMS/mcl_bells/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
* sounds/bell_stroke.ogg
|
||||
* created by edsward
|
||||
* modified by sorcerykid
|
||||
* obtained from https://freesound.org/people/edsward/sounds/341866/
|
25
mods/ITEMS/mcl_bells/init.lua
Normal file
25
mods/ITEMS/mcl_bells/init.lua
Normal file
@ -0,0 +1,25 @@
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
mcl_bells = {}
|
||||
|
||||
local has_mcl_wip = minetest.get_modpath("mcl_wip")
|
||||
|
||||
minetest.register_node("mcl_bells:bell", {
|
||||
description = S("Bell"),
|
||||
inventory_image = "bell.png",
|
||||
drawtype = "plantlike",
|
||||
tiles = {"bell.png"},
|
||||
stack_max = 64,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-4/16, -6/16, -4/16,
|
||||
4/16, 7/16, 4/16,
|
||||
},
|
||||
},
|
||||
groups = { pickaxey = 1 }
|
||||
})
|
||||
|
||||
if has_mcl_wip then
|
||||
mcl_wip.register_wip_item("mcl_bells:bell")
|
||||
end
|
2
mods/ITEMS/mcl_bells/locale/mcl_bells.fr.tr
Normal file
2
mods/ITEMS/mcl_bells/locale/mcl_bells.fr.tr
Normal file
@ -0,0 +1,2 @@
|
||||
# textdomain: mcl_observers
|
||||
Bell=Cloche
|
2
mods/ITEMS/mcl_bells/locale/template.txt
Normal file
2
mods/ITEMS/mcl_bells/locale/template.txt
Normal file
@ -0,0 +1,2 @@
|
||||
# textdomain: mcl_observers
|
||||
Bell=
|
3
mods/ITEMS/mcl_bells/mod.conf
Normal file
3
mods/ITEMS/mcl_bells/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = mcl_bells
|
||||
depends = mesecons
|
||||
optional_depends = mcl_wip
|
BIN
mods/ITEMS/mcl_bells/sounds/bell_stroke.ogg
Executable file
BIN
mods/ITEMS/mcl_bells/sounds/bell_stroke.ogg
Executable file
Binary file not shown.
BIN
mods/ITEMS/mcl_bells/textures/bell.png
Normal file
BIN
mods/ITEMS/mcl_bells/textures/bell.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 368 B |
Loading…
Reference in New Issue
Block a user