From 20e8e9a3c8d371b991449244493fa6d754bf9455 Mon Sep 17 00:00:00 2001 From: D00Med Date: Tue, 22 Nov 2016 06:44:38 +1000 Subject: [PATCH] Eyetree and purple nodes >added eye tree >added purple nodes >added octagon glass nodes --- init.lua | 69 ++++++++++++++++++++++++++++++- nodeboxes.lua | 24 +++++++++++ textures/scifi_nodes_eyetree.png | Bin 0 -> 2827 bytes textures/scifi_nodes_octbl.png | Bin 0 -> 138 bytes textures/scifi_nodes_octgrn.png | Bin 0 -> 138 bytes textures/scifi_nodes_octppl.png | Bin 0 -> 147 bytes textures/scifi_nodes_octrng.png | Bin 0 -> 138 bytes textures/scifi_nodes_pplblk.png | Bin 0 -> 198 bytes textures/scifi_nodes_ppllght.png | Bin 0 -> 297 bytes textures/scifi_nodes_pplwll.png | Bin 0 -> 176 bytes textures/scifi_nodes_pplwll2.png | Bin 0 -> 122 bytes textures/scifi_nodes_pplwll3.png | Bin 0 -> 153 bytes textures/scifi_nodes_pplwll4.png | Bin 0 -> 161 bytes textures/scifi_nodes_pplwndw.png | Bin 0 -> 402 bytes textures/scifi_nodes_purple.png | Bin 0 -> 107 bytes 15 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 textures/scifi_nodes_eyetree.png create mode 100644 textures/scifi_nodes_octbl.png create mode 100644 textures/scifi_nodes_octgrn.png create mode 100644 textures/scifi_nodes_octppl.png create mode 100644 textures/scifi_nodes_octrng.png create mode 100644 textures/scifi_nodes_pplblk.png create mode 100644 textures/scifi_nodes_ppllght.png create mode 100644 textures/scifi_nodes_pplwll.png create mode 100644 textures/scifi_nodes_pplwll2.png create mode 100644 textures/scifi_nodes_pplwll3.png create mode 100644 textures/scifi_nodes_pplwll4.png create mode 100644 textures/scifi_nodes_pplwndw.png create mode 100644 textures/scifi_nodes_purple.png diff --git a/init.lua b/init.lua index fffa3f9..0ca4b6d 100644 --- a/init.lua +++ b/init.lua @@ -292,6 +292,64 @@ minetest.register_node("scifi_nodes:grnpipe2", { on_place = minetest.rotate_node }) +minetest.register_node("scifi_nodes:octrng", { + description = "Orange Octagon Glass", + sunlight_propagates = false, + drawtype = "glasslike", + tiles = { + "scifi_nodes_octrng.png", + }, + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + light_source = 10, + groups = {cracky=2}, + sounds = default.node_sound_glass_defaults(), +}) + +minetest.register_node("scifi_nodes:octgrn", { + description = "Green Octagon Glass", + sunlight_propagates = false, + drawtype = "glasslike", + tiles = { + "scifi_nodes_octgrn.png", + }, + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + groups = {cracky=2}, + sounds = default.node_sound_glass_defaults(), +}) + +minetest.register_node("scifi_nodes:octbl", { + description = "Blue Octagon Glass", + sunlight_propagates = false, + drawtype = "glasslike", + tiles = { + "scifi_nodes_octbl.png", + }, + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + light_source = 10, + groups = {cracky=2}, + sounds = default.node_sound_glass_defaults(), +}) + +minetest.register_node("scifi_nodes:octppl", { + description = "Purple Octagon Glass", + sunlight_propagates = false, + drawtype = "glasslike", + tiles = { + "scifi_nodes_octppl.png", + }, + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + light_source = 10, + groups = {cracky=2}, + sounds = default.node_sound_glass_defaults(), +}) --edited wool code (Copyright (C) 2012 celeron55, Perttu Ahola ) @@ -369,8 +427,15 @@ node.types = { {"monitorwall", "Wall monitors", "monitorwall"}, {"screen3", "Wall monitor", "screen3"}, {"doomlight", "Doom light", "doomlight", 12}, - {"bluwllight", "Blue wall light", "capsule3", 20}, + {"bluwllight", "Blue wall light", "capsule3", 20}, {"fan", "Fan", "fan"}, + {"ppllght", "Purple wall light", "", 50}, + {"pplwll", "Purple wall", "", 0}, + {"pplwll2", "Purple wall2", "", 0}, + {"pplwll3", "Purple wall3", "", 0}, + {"pplwll4", "Purple wall4", "", 0}, + {"pplblk", "Purple tile", "", 0}, + {"purple", "Purple block", "", 0}, } for _, row in ipairs(node.types) do @@ -383,6 +448,7 @@ for _, row in ipairs(node.types) do tiles = {"scifi_nodes_"..name..".png"}, groups = {cracky=1}, paramtype = "light", + paramtype2 = "facedir", light_source = light, }) end @@ -399,6 +465,7 @@ node.plants = { {"plant5", "Fern Plant", 1.7,0, 0}, {"plant6", "Curly Plant", 1,0, 10}, {"plant7", "Egg weed", 1,0, 0}, + {"eyetree", "Eye Tree", 2.5,0, 0}, } for _, row in ipairs(node.plants) do diff --git a/nodeboxes.lua b/nodeboxes.lua index 1f27445..4cb2b5c 100644 --- a/nodeboxes.lua +++ b/nodeboxes.lua @@ -3,6 +3,30 @@ -- Node Box Editor, version 0.9.0 -- Namespace: scifi_nodes +minetest.register_node("scifi_nodes:pplwndw", { + description = "Purple Window", + tiles = { + "scifi_nodes_purple.png", + "scifi_nodes_purple.png", + "scifi_nodes_purple.png", + "scifi_nodes_purple.png", + "scifi_nodes_pplwndw.png", + "scifi_nodes_pplwndw.png" + }, + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + use_texture_alpha = true, + groups = {cracky=3}, + sounds = default.node_sound_glass_defaults(), + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.0625, 0.5, 0.5, 0.0625}, -- NodeBox1 + } + } +}) + minetest.register_node("scifi_nodes:gloshroom", { description = "Gloshroom", tiles = { diff --git a/textures/scifi_nodes_eyetree.png b/textures/scifi_nodes_eyetree.png new file mode 100644 index 0000000000000000000000000000000000000000..64f1c4b0d3d3096df9ffe5ef3b6301d02db246ee GIT binary patch literal 2827 zcmV+m3-t7fP)}yX96}Z$REaj+!Ul*YG2COgDcLDx zoTf9_85nGt4p4!DNT}92j#C_UoZ1c-DPGbRoeZ5Reo#lOgpR005D9S?av{lb31T2* z2{|M=yW~B|>4(i(HaFOCQ9tyZ$z>m!m_2M_XD97A5r+_`RAM<49 zT8_W$<<0W9QDQ<4bx(Fv|EodYOP=)$VBet{TkcGkc|9OP5v*Renhx24)~eCk-b&C2 zqQk(xwy=4kT=$$_>&JCC_D0L*=d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7b1(4^lGz|@`7&1WC^Loe~D#3&e@290_nI}g9Zk!6Rkb!3*l z(StgwLk)LAeNks00xKL+gX3bcozR%}Xd205hV$;L`w)s9P5YLPj?U6%&hHpQ% zBb=9Ov(_MDLR5c8w2&1(u2CaG^?uiG~3Iu);?g5@);! z2!J&JR&HnPTaAmwK&R`QxqHMtd{FW=E1!E9@zzl@nzk~s{-{N&d8z3V2?+^YxpIY` zlk3}>1J+?)*Es?wPkzg(2A$dY6A0F7l$~gZsutX~GqQoM!Ev#qBqvf@ewHh(*SJ5q zT~GrIiH`%C`B4I}rV!rhdKMQvO!MU?207x`_1Dj-sq-U*5>;bA&}F}!^hu*mUHxT5 zLJT8YVmbb$k4L7D=d1F18k%&Yj=aP3|n-s3^Juj&%pkI>7({002ovPDHLkV1l2Kcn|;p literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_octbl.png b/textures/scifi_nodes_octbl.png new file mode 100644 index 0000000000000000000000000000000000000000..a02a9aca17b28b0ed91653c36cb21b9166083d34 GIT binary patch literal 138 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkP|(KH z#WBR%-?l3N{TS<^i>3dYW3)v}ag gTbyWc=`aJswJ9D?94!^51I=OZboFyt=akR{09WfM>Hq)$ literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_octgrn.png b/textures/scifi_nodes_octgrn.png new file mode 100644 index 0000000000000000000000000000000000000000..d35428a319dac8f7f5c89c276aa2aab0a80c3ccc GIT binary patch literal 138 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkP|(KH z#WBRzYOD<$Pz>>%iX~=9>DHfD_75r;kl+Y+N`Sh^H_zc04n7;%(qO#IPxet>%-?l3N{TS<^i>3dYW3)v}ag gTbyWc=`aJscXjvaJ!WDSKyw&8UHx3vIVCg!08LXUFaQ7m literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_pplblk.png b/textures/scifi_nodes_pplblk.png new file mode 100644 index 0000000000000000000000000000000000000000..84ac7be6c81dca8418f1436af73d84680cc406fb GIT binary patch literal 198 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkP_V+& z#WBRxsoWJ3r8!`*f*iHW{C*+4fic)I$ztaD0e0sx4(KbZgk literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_ppllght.png b/textures/scifi_nodes_ppllght.png new file mode 100644 index 0000000000000000000000000000000000000000..7329630c2365a2a07931a2c8488c867f0c84ca34 GIT binary patch literal 297 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkQ1G^= zi(`nz>7_x2T+I#wGR<4>3Mz?(eM?HrjZ08`BDn9kJBMaXV=b3`Laj!T>jRJcu7aZK zd!iQ`wfj=j($lYdKTbNz`Ga9X%T2{k7QFV13>EcaK_ZhT+jA>zXP$eciNmSrPQ3q? z&1zBCqJ718&xjSd+45qR?9EpW6MyevGG^VCR=lZLL8bkL)RxapcIzj!NLH>{(F;X-$1^SVwCa1G$^F6}w<8JYO$JX_KbLh*2~7aLu5Skb literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_pplwll.png b/textures/scifi_nodes_pplwll.png new file mode 100644 index 0000000000000000000000000000000000000000..9aa352578bac91fc5a5a92f25754924c57e89c76 GIT binary patch literal 176 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkP%z2U z#WBRgTe~DWM4fg?2fA literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_pplwll2.png b/textures/scifi_nodes_pplwll2.png new file mode 100644 index 0000000000000000000000000000000000000000..905f7efb188fa9d3771843abe62cea133fc006c8 GIT binary patch literal 122 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkP*BIy z#WBRW3AM=^sCET=U3+wQCQ5`1I7f%{)KOxaQZtK1Q~EfBzgg00bYN w9%tWi3)7^TY>ocDyNBz47=V4AGOdsF%f7ygQu&X%Q~lo FCIEb*GW`Gm literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_pplwndw.png b/textures/scifi_nodes_pplwndw.png new file mode 100644 index 0000000000000000000000000000000000000000..e6d27f03034455703db2b4c4662906dfc581eaf8 GIT binary patch literal 402 zcmV;D0d4+?P)ldo^WKorM6uycqu=}1*8X6i5}@DmFj>>M72M9q-# zuT0OuKd^wn5wd21g{OoI{o2os-pIY$7@=C1&(zLx;_@ihQZ@(Dl?&khJa!Z!efUMTXlTJZchzJ;;M zcYtQ<{6So6N$Gk+gk?CJ&f|20=B6ke@8^5K?+90Uv9B;wf$~k5wuT?;{G;Pe-ZGrt z!0jSV6lE$fZ4F*Pc#~-B_Qf6?L8b!rM#MB2se3-lgK022P;iz9Y9US>%JP6P@d3!I zjao~}RFNWU9wF=0+ZE}0LjZEsa$~K68?(gIL%+`-sJAO};C4AS0V!Z07*qoM6N<$g4Lz1FaQ7m literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_purple.png b/textures/scifi_nodes_purple.png new file mode 100644 index 0000000000000000000000000000000000000000..f7516e39a636363ef06805ebde70435230e28bd4 GIT binary patch literal 107 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkP*B#> z#WBR