Commit 545b56f9 authored by DonBatman's avatar DonBatman
Browse files

added aliases for xpanes

parent 63e99767
-- xjailbarss mod by xyz -- xjailbarss mod by xyz
local function rshift(x, by) local function rshift(x, by)
return math.floor(x / 2 ^ by) return math.floor(x / 2 ^ by)
end end
...@@ -88,8 +89,15 @@ for i = 1, 15 do ...@@ -88,8 +89,15 @@ for i = 1, 15 do
fixed = take fixed = take
} }
}) })
--register aliases if changing from an xpane version
minetest.register_alias("xpane:jailbars","castle:jailbars")
minetest.register_alias("xpane:jailbars_"..sum,"castle:jailbars_"..sum)
end end
minetest.register_node("castle:jailbars", { minetest.register_node("castle:jailbars", {
description = "Jailbars", description = "Jailbars",
tiles = {"castle_space.png"}, tiles = {"castle_space.png"},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment