mirror of
git://repo.or.cz/tsm_mines.git
synced 2024-11-15 23:10:36 +01:00
Rename mod to “tsm_mines”
This commit is contained in:
parent
22e18d03a2
commit
1b2604c4e7
8
init.lua
8
init.lua
|
@ -12,7 +12,7 @@ if not MINE_FACTOR then
|
|||
MINE_FACTOR = 1.5
|
||||
end
|
||||
|
||||
minetest.register_node("mines:dummy", {
|
||||
minetest.register_node("tsm_mines:dummy", {
|
||||
description = "Air (you hacker you!)",
|
||||
inventory_image = "unknown_node.png",
|
||||
wield_image = "unknown_node.png",
|
||||
|
@ -33,7 +33,7 @@ local ids = {
|
|||
air = minetest.get_content_id("air"),
|
||||
fence = minetest.get_content_id("default:fence_wood"),
|
||||
wood = minetest.get_content_id("default:wood"),
|
||||
dummy = minetest.get_content_id("mines:dummy")
|
||||
dummy = minetest.get_content_id("tsm_mines:dummy")
|
||||
}
|
||||
|
||||
local chest_stuff = {
|
||||
|
@ -51,7 +51,7 @@ local function rotate_torch(pos)
|
|||
minetest.after(8, function()
|
||||
local n = minetest.get_node(pos)
|
||||
if n ~= nil then
|
||||
if n.name == "mines:dummy" then
|
||||
if n.name == "tsm_mines:dummy" then
|
||||
minetest.set_node(pos, {name="default:torch",param2=1})
|
||||
end
|
||||
end
|
||||
|
@ -62,7 +62,7 @@ local function fill_chest(pos)
|
|||
minetest.after(5, function()
|
||||
local n = minetest.get_node(pos)
|
||||
if n ~= nil then
|
||||
if n.name == "mines:dummy" then
|
||||
if n.name == "tsm_mines:dummy" then
|
||||
minetest.set_node(pos, {name="default:chest"})
|
||||
local meta = minetest.get_meta(pos)
|
||||
--meta:set_string("formspec",default.chest_formspec)
|
||||
|
|
Loading…
Reference in New Issue
Block a user