0
0
Fork 0

mesh by Sumi

This commit is contained in:
chmodsayshello 2022-07-26 10:40:45 +02:00 committed by cora
parent 65171a34a8
commit dd9e6e5d6b
6 changed files with 6 additions and 7 deletions

View File

@ -276,13 +276,13 @@ awards.register_achievement("mcl:enchanter", {
awards.register_achievement("mcl:beacon", {
title = S("Bring Home the Beacon"),
description = S("Use a beacon."),
icon = "default_glass.png^beacon_overlay.png",
icon = "beacon_achievement_icon.png",
})
awards.register_achievement("mcl:maxed_beacon", {
title = S("Beaconator"),
description = S("Use a fully powered beacon."),
icon = "default_glass.png^beacon_overlay.png",
icon = "beacon_achievement_icon.png",
})
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)

View File

@ -182,10 +182,10 @@ end
minetest.register_node("mcl_beacons:beacon", {
description = S"Beacon",
drawtype = "glasslike",
tiles = {
"default_glass.png^beacon_overlay.png"
},
drawtype = "mesh",
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
mesh = "mcl_beacon.b3d",
tiles = {"beacon_UV.png"},
on_construct = function(pos)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
@ -289,7 +289,6 @@ minetest.register_node("mcl_beacons:beacon", {
end
end
--if minetest.get_node_group(nodename, "glass") ~= 0 then
if node.name == "air" then
minetest.set_node({x=pos.x,y=y,z=pos.z},{name=beam_itemstring})
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

Binary file not shown.