mesh by Sumi
This commit is contained in:
parent
65171a34a8
commit
dd9e6e5d6b
@ -276,13 +276,13 @@ awards.register_achievement("mcl:enchanter", {
|
|||||||
awards.register_achievement("mcl:beacon", {
|
awards.register_achievement("mcl:beacon", {
|
||||||
title = S("Bring Home the Beacon"),
|
title = S("Bring Home the Beacon"),
|
||||||
description = S("Use a beacon."),
|
description = S("Use a beacon."),
|
||||||
icon = "default_glass.png^beacon_overlay.png",
|
icon = "beacon_achievement_icon.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("mcl:maxed_beacon", {
|
awards.register_achievement("mcl:maxed_beacon", {
|
||||||
title = S("Beaconator"),
|
title = S("Beaconator"),
|
||||||
description = S("Use a fully powered beacon."),
|
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.)
|
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
||||||
|
@ -182,10 +182,10 @@ end
|
|||||||
|
|
||||||
minetest.register_node("mcl_beacons:beacon", {
|
minetest.register_node("mcl_beacons:beacon", {
|
||||||
description = S"Beacon",
|
description = S"Beacon",
|
||||||
drawtype = "glasslike",
|
drawtype = "mesh",
|
||||||
tiles = {
|
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||||
"default_glass.png^beacon_overlay.png"
|
mesh = "mcl_beacon.b3d",
|
||||||
},
|
tiles = {"beacon_UV.png"},
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
@ -289,7 +289,6 @@ minetest.register_node("mcl_beacons:beacon", {
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--if minetest.get_node_group(nodename, "glass") ~= 0 then
|
|
||||||
if node.name == "air" then
|
if node.name == "air" then
|
||||||
minetest.set_node({x=pos.x,y=y,z=pos.z},{name=beam_itemstring})
|
minetest.set_node({x=pos.x,y=y,z=pos.z},{name=beam_itemstring})
|
||||||
end
|
end
|
||||||
|
BIN
mods/ITEMS/mcl_beacons/textures/beacon_UV.png
Normal file
BIN
mods/ITEMS/mcl_beacons/textures/beacon_UV.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1014 B |
BIN
mods/ITEMS/mcl_beacons/textures/beacon_achievement_icon.png
Normal file
BIN
mods/ITEMS/mcl_beacons/textures/beacon_achievement_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 340 B |
BIN
mods/ITEMS/mcl_beacons/textures/mcl_beacon.b3d
Normal file
BIN
mods/ITEMS/mcl_beacons/textures/mcl_beacon.b3d
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user