From dd9e6e5d6b802bde8ff69fe86e199638c175620d Mon Sep 17 00:00:00 2001 From: chmodsayshello Date: Tue, 26 Jul 2022 10:40:45 +0200 Subject: [PATCH] mesh by Sumi --- mods/HUD/mcl_achievements/init.lua | 4 ++-- mods/ITEMS/mcl_beacons/init.lua | 9 ++++----- mods/ITEMS/mcl_beacons/textures/beacon_UV.png | Bin 0 -> 1014 bytes .../textures/beacon_achievement_icon.png | Bin 0 -> 2284 bytes .../mcl_beacons/textures/beacon_overlay.png | Bin 340 -> 0 bytes mods/ITEMS/mcl_beacons/textures/mcl_beacon.b3d | Bin 0 -> 2189 bytes 6 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 mods/ITEMS/mcl_beacons/textures/beacon_UV.png create mode 100644 mods/ITEMS/mcl_beacons/textures/beacon_achievement_icon.png delete mode 100644 mods/ITEMS/mcl_beacons/textures/beacon_overlay.png create mode 100644 mods/ITEMS/mcl_beacons/textures/mcl_beacon.b3d diff --git a/mods/HUD/mcl_achievements/init.lua b/mods/HUD/mcl_achievements/init.lua index 7633ceae25..7fb166e2bd 100644 --- a/mods/HUD/mcl_achievements/init.lua +++ b/mods/HUD/mcl_achievements/init.lua @@ -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.) diff --git a/mods/ITEMS/mcl_beacons/init.lua b/mods/ITEMS/mcl_beacons/init.lua index 936e187d51..3dce00cb07 100644 --- a/mods/ITEMS/mcl_beacons/init.lua +++ b/mods/ITEMS/mcl_beacons/init.lua @@ -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 diff --git a/mods/ITEMS/mcl_beacons/textures/beacon_UV.png b/mods/ITEMS/mcl_beacons/textures/beacon_UV.png new file mode 100644 index 0000000000000000000000000000000000000000..e65e7b3ed5c0bfd084ca4f580f7e3b9436ee47b8 GIT binary patch literal 1014 zcmVEX>4Tx04R}tkv&MmKpe$iQ>7vm2aBjUM5s;{L`5963Pq?8YK2xEOfGFLG-*gu zTpR`0f`cE6RRpZjxksX2=Q0g-ry8KzCVPCT_~ z8=UuvBWy!fiO-2gO}ZfQBi9v=-#8as7IU7)NgP!*o$`f@ z$13M7&RVI$8u#Qc4CnOaC9cyPL;?#~gai=^Dk!1^oBAq3C&faF_TxVO0oN~)OCeVg zj2!bQLxb%4!T;cQw^n{)+)E0_f%X^2`4|R5yFk6_IN!&PQ$GQM&%l-5^p|VE^e5@n zrWQQ{y0?Lg>!zmc0hc>K-;*JmvMU8?3i&+nen#Jv1$u6Q&Q-6s#y(CTfHZZLya5gl zfsq1bulc;YqqVnx&ouh`0l6V^!vU6`;s5{u24YJ`L;(K){{a7>y{D4^000SaNLh0L z04^f{04^f|c%?sf00007bV*G`2j&MF04xxt%R(Li000?uMObu0Z*6U5Zgc=ca%Ew3 zWn>_CX>@2HM@dakSAh-}0005aNklBb5S_UkB7t1NH57!(1UqX(An_+y zT7eCJ!hd3=6(y~miH2ZfVaFv}U`Vt%3L+l|#aNJ)z2kOo_qcVgGAR_SuL?uUOCl{mx{PzBc001TfAtJbb@wS|_`irf_cjw2LR0hmoM=_t3E*MWe z>G;odA{{T}EqMUUtc?GAvP$O;7&7oucHP1PO6>@km9hZ#(dPTx+hYdyX@+jO?d=Ho zl&6(`VE~iW`qJ^hX;pzR191U^b*@CkVN}W!N+EA;5zNQeD<($8QJ_)5@D39z!zfBk zObt7ZO8@{@RU1chlBThoL+m&%)hornzMBUJ0RZkVPod|AFR$5~;f*EV`cnJcmzQwIy)E5 z<=+!bORP*dyP7(?(lOQd#6hc|=MorfBWRf%P_9#$hpDO zstyCP-#%Im1i`mp>iJ8EIyao}uUCpVoay~<;I*OMsD^8Ssy>LcKvf@vTCi&=^6D2U k#~NzLy!z%3XRuSSzjIgIG($JcApigX07*qoM6N<$f-PFR*8l(j literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_beacons/textures/beacon_achievement_icon.png b/mods/ITEMS/mcl_beacons/textures/beacon_achievement_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..dd10a549344b841b9cbb976c29962c1121646177 GIT binary patch literal 2284 zcmV zaB^>EX>4U6ba`-PAZ2)IW&i+q+ND=lvLq=C{O1&V1SFg|4mM(Mu*cuT6z$*i%oNdu zDL{!*hF0yrf4lkz4;yQhbwPaeUgNRRMowsmUQe2D(ssUgM_-MHadkd0h74-6y5jeE z!#HC;@A0ztNf>u`8^yLiWP_Gln z9+CA^<7G`??>q&Iw`CoIk7x^P8=$v3fcC<1taEwo^W0b0R0bw)hK!zXSt!l;u}P={ z-fTSPVGi2H#5oeDezgK+fB@ui>$d5m%?I5aR^C7An`3Qrc%b{Vwi&3G4^L*`+a5Ph z?Dl*c9#;PtlqZEq7ps$mqN{PCnHXDTsFj{ULP%{@cb4I+Q8V3d1T8w*Xjamp(skX#82XXpoy&0}9<#v*3V9=e0$4bh9lpi8h$$P%r1EP}lmgk%eprFl0c1 z_GBD+(t$Y;L6HK25@|skBmm9(y{hZB}2(Z?Hz2HJ(h3dEu~z(GXUxroCX3!5J81 zOJF<<24K)UIMYJb@?dUor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