Rename mod: bones → hades_bones

This commit is contained in:
Wuzzy 2022-04-26 01:56:38 +02:00
parent 73d4a12b99
commit 3aadb12de3
11 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
Minetest 0.4 mod: bones hades_bones
======================= ===========
License of source code: License of source code:
----------------------- -----------------------

View File

@ -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")

View File

@ -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

View File

@ -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=

View File

@ -1,2 +1,2 @@
name = bones name = hades_bones
depends = hades_sounds depends = hades_sounds

View File

Before

Width:  |  Height:  |  Size: 191 B

After

Width:  |  Height:  |  Size: 191 B

View File

Before

Width:  |  Height:  |  Size: 193 B

After

Width:  |  Height:  |  Size: 193 B

View File

Before

Width:  |  Height:  |  Size: 350 KiB

After

Width:  |  Height:  |  Size: 350 KiB

View File

Before

Width:  |  Height:  |  Size: 195 B

After

Width:  |  Height:  |  Size: 195 B

View File

Before

Width:  |  Height:  |  Size: 195 B

After

Width:  |  Height:  |  Size: 195 B

View File

Before

Width:  |  Height:  |  Size: 192 B

After

Width:  |  Height:  |  Size: 192 B