mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
mesh by Sumi
This commit is contained in:
parent
65171a34a8
commit
dd9e6e5d6b
6 changed files with 6 additions and 7 deletions
|
@ -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.)
|
||||
|
|
|
@ -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
|
||||
|
|
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: 1,014 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 a new issue