From 47c6382e1a4ee664428de6125538047eaf811e9b Mon Sep 17 00:00:00 2001 From: D00Med Date: Tue, 22 Nov 2016 10:46:53 +1000 Subject: [PATCH] Tower, more plants, rock, and junk added --- init.lua | 39 +++++++++++++++++++++++++++- textures/scifi_nodes_grass.png | Bin 0 -> 408 bytes textures/scifi_nodes_junk.png | Bin 0 -> 804 bytes textures/scifi_nodes_plant10.png | Bin 0 -> 241 bytes textures/scifi_nodes_plant8.png | Bin 0 -> 300 bytes textures/scifi_nodes_plant9.png | Bin 0 -> 358 bytes textures/scifi_nodes_rock.png | Bin 0 -> 641 bytes textures/scifi_nodes_rock2.png | Bin 0 -> 621 bytes textures/scifi_nodes_tower.png | Bin 0 -> 809 bytes textures/scifi_nodes_tower_anim.png | Bin 0 -> 1115 bytes 10 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 textures/scifi_nodes_grass.png create mode 100644 textures/scifi_nodes_junk.png create mode 100644 textures/scifi_nodes_plant10.png create mode 100644 textures/scifi_nodes_plant8.png create mode 100644 textures/scifi_nodes_plant9.png create mode 100644 textures/scifi_nodes_rock.png create mode 100644 textures/scifi_nodes_rock2.png create mode 100644 textures/scifi_nodes_tower.png create mode 100644 textures/scifi_nodes_tower_anim.png diff --git a/init.lua b/init.lua index 0ca4b6d..436c2c1 100644 --- a/init.lua +++ b/init.lua @@ -351,6 +351,37 @@ minetest.register_node("scifi_nodes:octppl", { sounds = default.node_sound_glass_defaults(), }) +minetest.register_node("scifi_nodes:tower", { + description = "Wind tower", + sunlight_propagates = false, + drawtype = "plantlike", + tiles = {{ + name = "scifi_nodes_tower_anim.png", + animation = {type = "vertical_frames", aspect_w = 32, aspect_h = 32, length = 1.00}, + }}, + visual_scale = 2, + inventory_image = "scifi_nodes_tower.png", + paramtype = "light", + groups = {cracky=2}, +}) + +minetest.register_node("scifi_nodes:junk", { + description = "Junk", + sunlight_propagates = true, + paramtype = "light", + liquid_viscosity = 8, + liquidtype = "source", + liquid_alternative_flowing = "scifi_nodes:junk", + liquid_alternative_source = "scifi_nodes:junk", + liquid_renewable = false, + liquid_range = 0, + walkable = false, + tiles = { + "scifi_nodes_junk.png" + }, + groups = {snappy=1, oddly_breakable_by_hand=1, liquid=3, dig_immediate=1} +}) + --edited wool code (Copyright (C) 2012 celeron55, Perttu Ahola ) local node = {} @@ -435,7 +466,9 @@ node.types = { {"pplwll3", "Purple wall3", "", 0}, {"pplwll4", "Purple wall4", "", 0}, {"pplblk", "Purple tile", "", 0}, - {"purple", "Purple block", "", 0}, + {"purple", "Purple node", "", 0}, + {"rock", "Moonstone", "", 0}, + {"rock2", "Moonstone2", "", 0}, } for _, row in ipairs(node.types) do @@ -465,7 +498,11 @@ node.plants = { {"plant5", "Fern Plant", 1.7,0, 0}, {"plant6", "Curly Plant", 1,0, 10}, {"plant7", "Egg weed", 1,0, 0}, + {"plant8", "Slug weed", 1,0, 10}, + {"plant9", "Prickly Plant", 1,0, 0}, + {"plant10", "Umbrella weed", 1,0, 10}, {"eyetree", "Eye Tree", 2.5,0, 0}, + {"grass", "Alien Grass", 1,0, 0}, } for _, row in ipairs(node.plants) do diff --git a/textures/scifi_nodes_grass.png b/textures/scifi_nodes_grass.png new file mode 100644 index 0000000000000000000000000000000000000000..7fabb476d6d3227074d1211271c78d378e997d78 GIT binary patch literal 408 zcmV;J0cZY+P)wwD`E#c_ zd3um#!JU?!sW1PGTqp3Gh@low&z7~AWuda6(e`ZOJl@OYa75akP0EAYmsc&4HyGHn zi~s;E)2#i5GxgElKA38+$_^XD7fxJ!Lbn>NfJZl#yVXX5zij9a}w+O z$HgV--(Jh*a75BLMw2!XajpqN!C_Ix0Mn`vv?wj~tkW&@X_`O;K}L`-)qe{C01!c- z$y$`cY%~A>`+E$BeH#X4tl*{wRB#8q9_oTsx%>cE_^J8)lhI=U0000e#kOs9U8h_wGc`3uwblY4 z2-7%@Ll6W=DG@>-gkb;8pTrHr0H8md0pRGc1VAE@;MtQ^H1$2UZIj7l$bVfx*L74? z9a~Jy+#g^AIX#D(R;e760eJddo|lImq)hYZ`$Z0a-DhaUNZeECGbE5#2qB19Yb}Hj z{Pv;*!)ToL%fk-cZWr6O0hs>eBOat?2s)SeUK`oz;kqty0M~U9LQttxc=lwK^@sPV z*Xt~Qc4JFQ$wU|-r9^gmEX?ZTMzM{Jji}XX;rl+n{QL!f{Ckb(dEADp>pHz&kN(65 zdR{O-H~`zWiEVFhN2;o_x3@P|&E;}5o6WJvUG5fdZf-IWMbYzQGRfrRB);#HPN%Uf zi!clU$Ye5Xt$oVJ(@7?0bn5jwrfIUawnn?%zFFhN#RZC@a5sEwh3W&$%`|J?uO?xg<)QZsdpu79@QRpplA_j0%D|L5!DPaOaPg_jG@eyBMf z%2Sq6isSj$E z*2-sAo>>&bqyP8Xp`QkpGZLpSt(JKB@7Oc@kG=>07q$wUeU)%{RiWeP>NDlotpm~y mg%&)G20woPx~Er~7i~~RPUj3^NljUOrg0}nNbp{-|!6_;y89?06QOExsW_iM^;%UahH%smH zpX2KPfy)1%&prRYKCk-U|JW;k|MLKW&Jn49Ac=PIdBz4Y4Ig;dM;cCg!*Z>`h=1)nncR{;OL6N=@#Ipe m`RBHccdmcYq&CSWe`AK4*sfP?vkrs2&*16m=d#Wzp$Py%;d|=< literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_plant9.png b/textures/scifi_nodes_plant9.png new file mode 100644 index 0000000000000000000000000000000000000000..f1df1470d577ee43369e5b391b1563078ee99584 GIT binary patch literal 358 zcmV-s0h#`ZP)G#O$;s(IHa1D%;bDdUxHP-FyZFl97duH(6b8u&ntBc&KHuu&+zVnFatJMpcnv?6jyn|AgL_Ez`(%3 zU>&0SpOv41fmiAl+!bCaUT{O;PV!3e`oC??Hb$=$um2xEJZ9jRi&0)Gyl)Pz`$Vap@}mZ0Vm&dI5-x}O8@`>07*qoM6N<$ Eg0TIga{vGU literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_rock.png b/textures/scifi_nodes_rock.png new file mode 100644 index 0000000000000000000000000000000000000000..98e7e3b189a452bfd8481e4cd897c263813def52 GIT binary patch literal 641 zcmV-{0)G98P)+3$tGDHMb1)wMjK0iNERYU}9EnU~K+wHK{ zA|i+ghlhux!vzo@kB^V(x(;hC0N#6yG30p;fU4rXXEK?PetdkykKTJ!mGO8?-}i(N zP*tq8Os7-2uETpzp67I3$9la+E-o(EY&H?KC<-1QAFRRXfz^8 z5}Kw#MA+~5BsVuVeOZX8%aXDzDT;!=?@`tNd*Z#P zZCg~8)6-L`s$#WTaejWz+uIw?IbL61Ns@%gWD+BFU57D-G|%&xZ!qtiW4qmAjEUIB z7zSEZjUwguCO$koaCUaacDtpn>(~H52;mR9suDsVRaM^K-y>38*Zlna#Qj%Q@;t{m zM+kwUC|E2Ogb)T|VYyt!{jREt5JJp5Ol#Yg*=$B#*VJ{*)zuZZx3@@|rrh1#VXZ|~ znayT=e}BhM)9DoNJpl9hoTh2WvMg4aHcf+b4r2_)7@DTx;NT!m9~!dOa({o%<>h5; bOGNkw>kLbwRM*n(00000NkvXXu0mjf0kI-( literal 0 HcmV?d00001 diff --git a/textures/scifi_nodes_rock2.png b/textures/scifi_nodes_rock2.png new file mode 100644 index 0000000000000000000000000000000000000000..c4f7a53e5cb63b45ecc863c8f0b93a37011af3ed GIT binary patch literal 621 zcmV-z0+RiSP);ORZa5v_;@VK5>+LHfOC$n>llWC-!;!OMN#0K z!x)2ej+>hsQdLDn@ZJLuLO@lS=a~=!Ap`)jEQ>wwJyliVoFjG4AtG^8(=>z-;(&2q3LzlgdmbJhqAmOVo@ttJ&H-?D zcgGTU?>)QS4r?t*l2F$*$`3eZ6|xoc0KE(%GEn@*t}MRtzn> z0;1U#@Nse$-5qsl`GBRfxu&`bnik0(0RWI?1z96tnjBgrl05bRh@o#_O0unpOf!b~ z?aNET!3Zmch9BQ1AuEc7ylQ))IDg}fWQz$CPeCh&2FDtaa4?pJMOE9733E~%frAlN zO^$G235>`}M0v^j+!MuQoPbkSkmvHiRaj~{o)KYD)smuU>wzRb21aDz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