From 0722c8064b30b80cae2870b78709bb10de259000 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 2 Sep 2012 23:58:21 +0300 Subject: [PATCH] Animated torches --- mods/default/README.txt | 8 +++++++- mods/default/init.lua | 7 ++++++- .../default/textures/default_torch_animated.png | Bin 0 -> 1441 bytes .../default_torch_on_ceiling_animated.png | Bin 0 -> 1302 bytes .../default/textures/default_torch_on_floor.png | Bin 232 -> 282 bytes .../default_torch_on_floor_animated.png | Bin 0 -> 1355 bytes 6 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 mods/default/textures/default_torch_animated.png create mode 100644 mods/default/textures/default_torch_on_ceiling_animated.png create mode 100644 mods/default/textures/default_torch_on_floor_animated.png diff --git a/mods/default/README.txt b/mods/default/README.txt index 22dc14da..23e6aad6 100644 --- a/mods/default/README.txt +++ b/mods/default/README.txt @@ -61,4 +61,10 @@ Originating from G4JC's Almost MC Texture Pack: default_torch.png default_torch_on_ceiling.png default_torch_on_floor.png - + +VanessaE's animated torches (WTFPL): + default_torch_animated.png + default_torch_on_ceiling_animated.png + default_torch_on_floor_animated.png + default_torch_on_floor.png + diff --git a/mods/default/init.lua b/mods/default/init.lua index c2927e72..2dbb8f51 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -1098,7 +1098,12 @@ minetest.register_node("default:lava_source", { minetest.register_node("default:torch", { description = "Torch", drawtype = "torchlike", - tiles = {"default_torch_on_floor.png", "default_torch_on_ceiling.png", "default_torch.png"}, + --tiles = {"default_torch_on_floor.png", "default_torch_on_ceiling.png", "default_torch.png"}, + tiles = { + {name="default_torch_on_floor_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}, + {name="default_torch_on_ceiling_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}, + {name="default_torch_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}} + }, inventory_image = "default_torch_on_floor.png", wield_image = "default_torch_on_floor.png", paramtype = "light", diff --git a/mods/default/textures/default_torch_animated.png b/mods/default/textures/default_torch_animated.png new file mode 100644 index 0000000000000000000000000000000000000000..ca1668c718830c6ce22ebf8652a116da7202ef68 GIT binary patch literal 1441 zcmV;S1z!4zP)EK|00009a7bBm000XU z000XU0RWnu7ytkO2XskIMF-pl5eF0q>-YLh000F*NklF;I->}7?!l@fw~(aJW7kxf46u0uY{qFt zx}*ae*BgmDVNE7IZCX=9Sx4|leqRzwAcBuyYNf1l@JKdKkQHb(WSjPht$ka=V%oc@ znX;b3Bh3b*7irJw|*1$vwsvhp1PV`(8h+qi@T{6UcE=E!5!z~)y&tBVUz>D*RwPxsR++t%~rZAD#?SiRs=NUUCv{R7E^-0JoR1~DGE z%->VGU?Es|5*5w6v*&@KX$!+27ogIq`TGZfmGLc$6V86+>S12LDusd*3ES zxlOfI3k3W@ZIKucX8k0_1G^{4bdm>>2RyoasQX{{{(mM>w_zEa)(OG>f!$6n^8j&0 z003#P7i#S&oc1gHkqm#`PRi^sF+jv0=*9Ypia#mVPn7;Z@*uaeoO)l72ezB!9y`R( z0~Vh_I_ibXah13RsHkselc)Qj)%pMt9xOBJsZ*qX5D6y{l>GzAgC|$+bGyWN;B-xr z(=teweXID6bHsfOYPA{KH^1bM;>S-mkoW#265>H)buo3dR`c^96iguyj!GU#9z2P< zck3`se7Bdse_$UyPO6gSV4(z3sVNxiJNfp`Sbq;W%?J38^3it<6!r=7V0mRRb%^jF z97!Q0c_4X^6WuvbNk=pS``>xJk6hM^{4X@ALIX&v%i*+LCfCHb+53Z~Yd>Y_6o6C; zs^~5LTwMBMIn7M{%+G`ECXi|AJnH1-LGL73GC>H6@W46~VEG!gmQgZ^whOlz#k-INd!VdJP5LU zjr0eS2OJvQsS_*xZSia5u>C^9kvN=oa##oX-cJMojjA6B#m>)zD?glt`+gbJ1%(3r z#JUoCakaqrOi?8ce@NhaCaWjN@@2gsdGLQIqh%aB*hU45rlD5rVc33+Z|R+G7dh^k z`TT)(e1!61lfcl+{B!O5yo+q3y|i#akpK@&3ux1tI)Ud4z8I81NcImT5BN3K4zYje znG@ywPy6oozeDlHef&UiT5b~Z^&px?rJ;po?GMs<^N^?5pz-YI&%wya7s%oKomMoI v@+Y&tdOmfx3Gg5hOu*+4Nq-=D@RH-h?Y00000NkvXXu0mjf@Yu4} literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_torch_on_ceiling_animated.png b/mods/default/textures/default_torch_on_ceiling_animated.png new file mode 100644 index 0000000000000000000000000000000000000000..b101561fc0b55bdabef2f13a1962a15cac1649cd GIT binary patch literal 1302 zcmV+x1?l>UP)EK|00009a7bBm000XU z000XU0RWnu7ytkO2XskIMF-pl5eF0y_?u!H000EFNklKte5+MWD3A z2U0>5s1VCG%-jnM11MDlnKI1h!w~5MjodRY);ZtP%-ozW-~FHbe{;Tb4zNP(*c?V! zWhhqqF;*LhcwOMCldKrYF(JfU0RVV=sNhrrFLxF0)dmoAf*?OH*ca{pTEQLb)T;gA z8>~Ug(F|I!si3g-L%Z{&AWO*NBU+jizoDMf``BirzOsO(#1dk91ppWw?MH24HF(^W zk>V^5;{HE8*z7D1Zp~Z&`QGvVT9TDO8|;tWkKTvz!DcevXeFP79Qi_)WTF`N^E#ax%JsVu9~Udg)&Kx*ddHzQKa)F)^T6eKKz7IYV{atW@vKOaBaG`uZc()qR#E={no`AY#WstoK)7r2ZV+RF-^lfC~3|avpFV@P0wz1P`JkH1Juv z&?FgK*#y1tPC7|q1C1E3(eN+b@=iPffTEv-o11`;&?LtD2fuZr^rd~=S)2!)2TSXN z&g>8xD@&5sFGOoK@OE?X!25}OETmnOFJ#g2Lo_wfOrqFN!)>|pXXWbmB~*7hll^|; z&|oKKuGDa6aUQrl4{rZQHP*Z;j|Wlr1R*ro&#`~d*FnPeBl3m3c;-18pJ*rJ@BmxC zpoxDPrp`u0=%d)q7n&N+W5ehr?kvs&m*)Y|@_4ECHF>M`$glv++CA~pwXbQCf?>CL z05~I0$hOkQNE)al$TjTis1I~lHnFqe>f@u0}cVgy&&!QEoj3gKigBW<=hs?*f;V*4I+>W-%uOP3Y zT}a%t2pg>hR2ncX_rqe7uweNSqInHlf}T+&=6l~lM&1bL!GAjb1`Dwnq^kvD`v3p{ M07*qoM6N<$g7(yE+W-In literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_torch_on_floor.png b/mods/default/textures/default_torch_on_floor.png index 0b2195fd9d60c0d6cf84dd39289673524b1d3fea..925a59af960eb65250a99618fc383d636643f8b7 100644 GIT binary patch delta 254 zcmV z006m3L_t(I%VS^|5@5Fz!~Y#Q4F9povEb8q^VsbFoP0kSn11|Xcz5+20|Ubn3^h#n z3}F3ni{Z~tK8D*@J~HUVFJUCv=}#{A|9|#y@qe=Xos;hR|9Aa^HUFEUmHv|*c*+u- z|9#9<@fv_P4A@!O8PsL?8OSz(iHV8f^Vc8b8^FrU#PIj;U-Aw3&%nU&>(74*yuir7 z@S74B{QJkiz|P7{ffxS&XW-^wrN9OM|1;cq_7SfE0KtSlfz`#wmH+?%07*qoM6N<$ Ef&wjk?f?J) delta 204 zcmbQm^n!7MNGZx^prw85kH?(j9#r85lP9bN@+X1@buyJR*x382Ao@Fyrz3 z6)8YL$r9IylHmNblJdl&REB`W%)AmkKi3e2GGjecJxd3h4X1&MB0OCjLoEE06C_w! zoFCMS9jpHD1p2X7U9T3q;m_XEo>`6pbPf|U%}7#Nzkf)bxJ?q&yC!rEK|00009a7bBm000XU z000XU0RWnu7ytkO2XskIMF-pl5eF0*fk)cD000E)Nkl{#DH41fG+RDyz424d+_0ndNLr@ApWod9R& z7}oA;&_&LJdtXqW?^|Mxd*7ay=#lq49ey*H*ps&+)lB6ZSMqsaG#F8kxkT_l@E{6w zpgM;R>|ai-Ie7H*7Ml9I6qz&YcnLshDbuM!E+b`A9#AquWdTptO{9w6-b`)u-7mRUnc-k)N1;K-uk@s#Jj|cvT z-;-omh7b~Yt02$K;C|02mZ?V~H*n$X=VVM8!=J5tV9q(qvu{Hf9&Z= zM%uO^m(PPl#f;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