Rename mod: bones → hades_bones
@ -1,5 +1,5 @@
|
|||||||
Minetest 0.4 mod: bones
|
hades_bones
|
||||||
=======================
|
===========
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
-----------------------
|
-----------------------
|
@ -1,7 +1,4 @@
|
|||||||
-- Minetest 0.4 mod: bones
|
local S = minetest.get_translator("hades_bones")
|
||||||
-- See README.txt for licensing and other information.
|
|
||||||
|
|
||||||
local S = minetest.get_translator("bones")
|
|
||||||
|
|
||||||
local function is_owner(pos, name)
|
local function is_owner(pos, name)
|
||||||
local owner = minetest.get_meta(pos):get_string("owner")
|
local owner = minetest.get_meta(pos):get_string("owner")
|
||||||
@ -11,7 +8,7 @@ local function is_owner(pos, name)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("bones:bones", {
|
minetest.register_node("hades_bones:bones", {
|
||||||
description = S("Bones"),
|
description = S("Bones"),
|
||||||
tiles = {
|
tiles = {
|
||||||
"bones_top.png",
|
"bones_top.png",
|
||||||
@ -107,7 +104,7 @@ minetest.register_on_dieplayer(function(player)
|
|||||||
end
|
end
|
||||||
|
|
||||||
minetest.dig_node(pos)
|
minetest.dig_node(pos)
|
||||||
minetest.add_node(pos, {name="bones:bones", param2=param2})
|
minetest.add_node(pos, {name="hades_bones:bones", param2=param2})
|
||||||
|
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
@ -141,3 +138,6 @@ minetest.register_on_dieplayer(function(player)
|
|||||||
local timer = minetest.get_node_timer(pos)
|
local timer = minetest.get_node_timer(pos)
|
||||||
timer:start(10)
|
timer:start(10)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- Regacy alias
|
||||||
|
minetest.register_alias("bones:bones", "hades_bones:bones")
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: bones
|
# textdomain: hades_bones
|
||||||
Bones=Knochen
|
Bones=Knochen
|
||||||
@1's old bones=Alte Knochen von @1
|
@1's old bones=Alte Knochen von @1
|
||||||
@1's fresh bones=Frische Knochen von @1
|
@1's fresh bones=Frische Knochen von @1
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: bones
|
# textdomain: hades_bones
|
||||||
Bones=
|
Bones=
|
||||||
@1's old bones=
|
@1's old bones=
|
||||||
@1's fresh bones=
|
@1's fresh bones=
|
@ -1,2 +1,2 @@
|
|||||||
name = bones
|
name = hades_bones
|
||||||
depends = hades_sounds
|
depends = hades_sounds
|
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 193 B After Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 350 KiB After Width: | Height: | Size: 350 KiB |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 192 B |