summaryrefslogtreecommitdiff
path: root/pacmine/portals.lua
diff options
context:
space:
mode:
authorFernando Carmona Varo <ferkiwi@gmail.com>2015-10-24 17:13:09 +0200
committerFernando Carmona Varo <ferkiwi@gmail.com>2015-10-24 17:21:41 +0200
commit3a59f18eb196a3fddb8c67d5e5143a6e3ab0e11b (patch)
tree1b9b0f5d6b55fdb6e7cacaf4fc1d5cd50b23ff4e /pacmine/portals.lua
parenta538d073951f06bf52f7e9f7cc8afe76efffb343 (diff)
parent683316f94c578ec030dc762eb256fd96c4dd978e (diff)
Merge branch 'master' into arcade
Conflicts: pacmine/init.lua pacmine/portals.lua
Diffstat (limited to 'pacmine/portals.lua')
-rw-r--r--pacmine/portals.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/pacmine/portals.lua b/pacmine/portals.lua
index f40763f..e086704 100644
--- a/pacmine/portals.lua
+++ b/pacmine/portals.lua
@@ -12,14 +12,15 @@ local cbox = {
}
--Portals
-minetest.register_alias("mypacman:portalr", "pacmine:portalr")
+minetest.register_alias("pacmine:portalr", "pacmine:portalr")
minetest.register_node("pacmine:portalr", {
description = "Portalr ",
- drawtype = "allfaces",
+ drawtype = "glasslike",
tiles = {"pacmine_portal.png"},
paramtype = "light",
sunlight_propagates = true,
light_source = 14,
+ alpha = 150,
paramtype2 = "facedir",
walkable = false,
is_ground_content = false,
@@ -27,14 +28,15 @@ minetest.register_node("pacmine:portalr", {
selection_box = sbox,
})
-minetest.register_alias("mypacman:portall", "pacmine:portall")
+minetest.register_alias("pacmine:portall", "pacmine:portall")
minetest.register_node("pacmine:portall", {
description = "Portall ",
- drawtype = "allfaces",
+ drawtype = "glasslike",
tiles = {"pacmine_portal.png"},
paramtype = "light",
sunlight_propagates = true,
light_source = 14,
+ alpha = 150,
paramtype2 = "facedir",
walkable = false,
is_ground_content = false,