From a00aeebdf79ec19dd90e6313caea26212bb8fb09 Mon Sep 17 00:00:00 2001 From: Ben Deutsch Date: Thu, 1 Oct 2015 21:59:44 +0200 Subject: [PATCH] Extenders (non-functional) --- init.lua | 40 +++++++++++++++++++++++++ textures/src/telemosaic_extenders.xcf | Bin 0 -> 3001 bytes textures/telemosaic_extender_one.png | Bin 0 -> 280 bytes textures/telemosaic_extender_three.png | Bin 0 -> 342 bytes textures/telemosaic_extender_two.png | Bin 0 -> 320 bytes 5 files changed, 40 insertions(+) create mode 100644 textures/src/telemosaic_extenders.xcf create mode 100644 textures/telemosaic_extender_one.png create mode 100644 textures/telemosaic_extender_three.png create mode 100644 textures/telemosaic_extender_two.png diff --git a/init.lua b/init.lua index aadb7b9..934caca 100644 --- a/init.lua +++ b/init.lua @@ -151,6 +151,21 @@ minetest.register_node('telemosaic:beacon_err', { on_rightclick = beacon_rightclick, }) +minetest.register_node('telemosaic:beacon_off', { + description = 'Telemosaic beacon', + tiles = { + 'telemosaic_beacon_off.png', + 'telemosaic_beacon_side.png', + 'telemosaic_beacon_side.png', + 'telemosaic_beacon_side.png', + 'telemosaic_beacon_side.png', + 'telemosaic_beacon_side.png', + }, + paramtype = 'light', + groups = { cracky = 2 }, + on_rightclick = beacon_rightclick, +}) + minetest.register_tool('telemosaic:key', { description = 'Telemosaic key', @@ -158,6 +173,31 @@ minetest.register_tool('telemosaic:key', { stack_max = 1, }) +minetest.register_node('telemosaic:extender_one', { + description = 'Telemosaic extender, tier 1', + tiles = { + 'telemosaic_extender_one.png', + }, + paramtype = 'light', + groups = { cracky = 2 }, +}) +minetest.register_node('telemosaic:extender_two', { + description = 'Telemosaic extender, tier 2', + tiles = { + 'telemosaic_extender_two.png', + }, + paramtype = 'light', + groups = { cracky = 2 }, +}) +minetest.register_node('telemosaic:extender_three', { + description = 'Telemosaic extender, tier 3', + tiles = { + 'telemosaic_extender_three.png', + }, + paramtype = 'light', + groups = { cracky = 2 }, +}) + minetest.register_on_joinplayer(function(player) local name = player:get_player_name() if not M.players[name] then diff --git a/textures/src/telemosaic_extenders.xcf b/textures/src/telemosaic_extenders.xcf new file mode 100644 index 0000000000000000000000000000000000000000..b5d03920237de85b2919240b7cfe47ac7e53df39 GIT binary patch literal 3001 zcmeHH%Wl&^6tx{UB%y`!l#seGf<-Eks@<^$A;bcSKd4e?;#x}LC>cbu;{$@kf+g(O zvSXHf0)Nw*k}837=Fui4zzQiy8R^>h+}B*s+~Xu|ccVevjGAdncvzcOs9%HlJ{~t9 zrAKeW_Y~+iAt7V~a@*>RyM_2Cv?nNAi?eoHbR@7x=k>=uQJ10-y-MX_^z_;D7xZlE z(6n7oL@nv14cZtzt@h=xC8B=TN*mjiYBPzmR@RHE`c>;C2lZ%oXIHNU%AR#?BlTcG zs`E#`SC~5Jck6N5Nur0YUZpx*V6&#$%T6kzv=bkSKC`oCvoGXXdoT@uH5to%Do?>K z|Fh?Yau&R2Z|S}iEz!>U^)%iW11UNU(c8~DVyBC~((VG&gTZkVYq_VHqd=b0k(JZw%{Z2m3*Rd zwXVL(TuC`nN(&yuIiON7jx?ZGxlQsVvSi zh(|?}3hbMnbhh1w71<5op9%Jm)mFZYE}bhFB_y!$uaF=!b` z2V%Lkc5F5GA@CLX1K_f@;vE7voMR3&Cw+pk_SK1@9Sx_NHF)cQKz#=T$czA?nkJSJ zCXH+WB?5IcOT17W6C$3kP#rM_NW%cTSr*Ncj`gu0QcTHHV9Aa&>(HdBsJjO5d^I*d zhl|8peVaZ<93oGD`S0y~MmeG0)*lE+f4~RUGH}rKf_BP7-PIZ2JaDl5X5Lo*KltlHq$>K8&CpLeK zv%6D!pzy3^zE#hvppC~@HZ0~(=Fv!G>E_saZ9$7*j-ycD1CK+J5}p>^)sw;lvVGUD z|Nc+h<>&kwgi&5B2p>WZ4kdcxlt`Q~9`MJ5Nc_j?aMX8A;sVNHO znI#zt?w-B@;f;LaKt=mJT^vI!PA{E&P_R{j$0hu^_(U;{aC#Ak^Q$ z^FV!oAKT6CzudN8yVW|~JM`mg@%ap5N=hD@y?ZT=8}C+~7IY_Zl85HPYg`NpoPv($ zDpS}TT-==bC%de@>R5G$P?M f_QBJ?l-*r^XSYG?S~mrtPZ&I1{an^LB{Ts5Q_X#& literal 0 HcmV?d00001 diff --git a/textures/telemosaic_extender_two.png b/textures/telemosaic_extender_two.png new file mode 100644 index 0000000000000000000000000000000000000000..59c85b2b16a8f8787960de1b96f96033bafe31a7 GIT binary patch literal 320 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)3s5@b&_?lRy#90*}aI z1_o|n5N2eUHAey{$X?><>&kwgi&5B2P@(3!0Z>S?#5JPCIX^cyHLrxhxhOTUBsE2$ zJhLQ2!QIn0AiR-J9H?l8r;B5V#p$J!5Aw1qa=4`Ty549?z0j8$(egH+O*f$N`rXOL zVgu{{%(-Hq&vPi$YiFUv8J=kV9k3!j&UE&RFk%v9Um zpS6@u-&;|9!P(^Fmd?K#;T>x4W>-uNdRIT~q|xV(W=sc|3&IyYeabV}8R%vPPgg&e IbxsLQ0AvPq3;+NC literal 0 HcmV?d00001