From 700790c20dbd5ea00a0c9d760a5bd44cae8681e3 Mon Sep 17 00:00:00 2001 From: kaadmy Date: Tue, 20 Oct 2015 12:00:54 -0700 Subject: [PATCH] changed compass images --- mods/nav/compass.lua | 43 +++++++++++------- mods/nav/textures/nav_compass_0.xcf | Bin 956 -> 956 bytes mods/nav/textures/nav_compass_inventory_0.png | Bin 0 -> 314 bytes mods/nav/textures/nav_compass_inventory_0.xcf | Bin 0 -> 1440 bytes mods/nav/textures/nav_compass_inventory_1.png | Bin 0 -> 323 bytes mods/nav/textures/nav_compass_inventory_1.xcf | Bin 0 -> 1440 bytes 6 files changed, 27 insertions(+), 16 deletions(-) create mode 100644 mods/nav/textures/nav_compass_inventory_0.png create mode 100644 mods/nav/textures/nav_compass_inventory_0.xcf create mode 100644 mods/nav/textures/nav_compass_inventory_1.png create mode 100644 mods/nav/textures/nav_compass_inventory_1.xcf diff --git a/mods/nav/compass.lua b/mods/nav/compass.lua index 358ff1d..8a37b6e 100644 --- a/mods/nav/compass.lua +++ b/mods/nav/compass.lua @@ -1,11 +1,15 @@ -- Compass handling +local wield_image_0 = "nav_compass_inventory_0.png" +local wield_image_1 = "nav_compass_inventory_1.png" + minetest.register_craftitem( "nav:compass_0", { - description = "Compass(East)", + description = "Compass(E)", - inventory_image = "nav_compass_0.png^[transformR90", + inventory_image = "nav_compass_inventory_0.png^[transformR90", + wield_image = wield_image_0 .. "^[transformR90", groups = {nav_compass = 1}, stack_max = 1, @@ -14,9 +18,10 @@ minetest.register_craftitem( minetest.register_craftitem( "nav:compass_1", { - description = "Compass(North-East)", + description = "Compass(NE)", - inventory_image = "nav_compass_1.png^[transformR90", + inventory_image = "nav_compass_inventory_1.png^[transformR90", + wield_image = wield_image_1 .. "^[transformR90", groups = {nav_compass = 1}, stack_max = 1, @@ -25,9 +30,10 @@ minetest.register_craftitem( minetest.register_craftitem( "nav:compass_2", { - description = "Compass(North)", + description = "Compass(N)", - inventory_image = "nav_compass_0.png", + inventory_image = "nav_compass_inventory_0.png", + wield_image = wield_image_0, groups = {nav_compass = 1}, stack_max = 1, @@ -36,9 +42,10 @@ minetest.register_craftitem( minetest.register_craftitem( "nav:compass_3", { - description = "Compass(North-West)", + description = "Compass(NW)", - inventory_image = "nav_compass_1.png", + inventory_image = "nav_compass_inventory_1.png", + wield_image = wield_image_1, groups = {nav_compass = 1}, stack_max = 1, @@ -47,9 +54,10 @@ minetest.register_craftitem( minetest.register_craftitem( "nav:compass_4", { - description = "Compass(West)", + description = "Compass(W)", - inventory_image = "nav_compass_0.png^[transformR270", + inventory_image = "nav_compass_inventory_0.png^[transformR270", + wield_image = wield_image_0 .. "^[transformR270", groups = {nav_compass = 1}, stack_max = 1, @@ -58,9 +66,10 @@ minetest.register_craftitem( minetest.register_craftitem( "nav:compass_5", { - description = "Compass(South-West)", + description = "Compass(SW)", - inventory_image = "nav_compass_1.png^[transformR270", + inventory_image = "nav_compass_inventory_1.png^[transformR270", + wield_image = wield_image_1 .. "^[transformR270", groups = {nav_compass = 1}, stack_max = 1, @@ -69,9 +78,10 @@ minetest.register_craftitem( minetest.register_craftitem( "nav:compass_6", { - description = "Compass(South)", + description = "Compass(S)", - inventory_image = "nav_compass_0.png^[transformR180", + inventory_image = "nav_compass_inventory_0.png^[transformR180", + wield_image = wield_image_0 .. "^[transformR180", groups = {nav_compass = 1}, stack_max = 1, @@ -80,9 +90,10 @@ minetest.register_craftitem( minetest.register_craftitem( "nav:compass_7", { - description = "Compass(South-East)", + description = "Compass(SE)", - inventory_image = "nav_compass_1.png^[transformR180", + inventory_image = "nav_compass_inventory_1.png^[transformR180", + wield_image = wield_image_1 .. "^[transformR180", groups = {nav_compass = 1}, stack_max = 1, diff --git a/mods/nav/textures/nav_compass_0.xcf b/mods/nav/textures/nav_compass_0.xcf index 68732d095f13b36ef8a528773ff9c68784d1ec1b..5c0d0fd7c5393b2073f6351d42886aec2f6dfb03 100644 GIT binary patch delta 12 TcmdnPzK4B+9V6>T`&woI8;=9a delta 12 TcmdnPzK4B+9V7Eb`&woI8-)YO diff --git a/mods/nav/textures/nav_compass_inventory_0.png b/mods/nav/textures/nav_compass_inventory_0.png new file mode 100644 index 0000000000000000000000000000000000000000..916bc9411c59f9381f92443a8796bc253987289f GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP~mxz$H#+plS-UEe>d%8G=Se#xvd86PV10II^mRk7} zx)iT0@qDW#9Z=nD64}T(X%_E_O^m$G0UI5oG>Sf19&0)D;#|7-r`IacMu%@O8TfNE zT-vDp{q-*Ed`5%AH`pS2S1q6PYwmUlLC?AC_wvlyuEv+-lEVC2a>2@KhP?B|8_r(d z#2J)%mP>m{0*`rV|7WulP1%slvxWtG)@VNuUbZN}jPcQz{hn3JEt;Lz95H3G@tf~Z z_1r#x!tdYlU)#g`TW7?a)bPeD@%dY;Ue(8c*sA?^iPccK6Q literal 0 HcmV?d00001 diff --git a/mods/nav/textures/nav_compass_inventory_0.xcf b/mods/nav/textures/nav_compass_inventory_0.xcf new file mode 100644 index 0000000000000000000000000000000000000000..cf83f9118a6ba5f1244e4679f89b3bb721b9c65e GIT binary patch literal 1440 zcma)5O>5gg5S7;QSKKx!{W$d?2!-U}k}#0lUUDq-ROqqbIFc&j*ui!n(WSoi+Ur7p z#r}%^BB$6v?t99vL@pu7i9ep>DvMuYrxe`_zz`lG>U z9Pd@GJI+pe@xi-;YCQrD-PS&&Cyz+|e*AYp>DA<-*UyJpeCW>tdHopaxbEdJpT_yH z|0S7FKT6X{GF>-F^`F!o^H9ora4Y>T&{XW4jkIjpWuxfEVEuYCn; zIn4C7!*BtwpE+DxFpoPM_{j!-x`DTWS=X;7fYyl~4>^@G4vSEl zX($RlEb6dO7KKPrNCSa_l~RDUs+f~a3n^?76*m?jO_2$ysZowH@M~OJ>Wo6F2s3^B z%f&^@soIray2|saGS717-V(FD=4N|Q6|isi&y#>=m;^pFm;`=dM2z7i29ual3|Ono zob1equ_iJ%7GO3*CZxJXIm*DVacQa33aKK@^f4!?lr5)fSAOX#&#THj%bj~m%=R$J zeS4S$0sChEJgFl}18GbFztAFDa|(?qbSWCFReDZVv}mg%y|e(Lqzw_Rw7Q{7E71nJ z+pEdaY37xNRb0heVjhhC?hi(P2o$;s^={ByHG=jk3OcLWKP*B{1G&5W$oyBh{V^FN z{b@cL#vgibWJ>t8uycdVsW|WBwHqX!&*7{4Ci5e~ch(V$=VlxBFkeY!Kk&G=JN@&H zoJk@zZUMzR(I!jiUt6TKmvea>Y3-SH^(YNW!zP9-5f95)~YtFf> zdiTYz;syIYPj5b)KjHUx%cUD{oJyB|S)wgIlhM$jEb|8YZokJf3;!`aI#aOxul-L@ PFfn+#`njxgN@xNA<7$HW literal 0 HcmV?d00001 diff --git a/mods/nav/textures/nav_compass_inventory_1.xcf b/mods/nav/textures/nav_compass_inventory_1.xcf new file mode 100644 index 0000000000000000000000000000000000000000..45ce3c159cd168ff9eac77d8c711874e4f104dda GIT binary patch literal 1440 zcma)6O=}x55M3$qSKKx!{W$fo5DLk`B|(szE;$x@D)d-z9Pf6CV+Y%TM3?&3Yp;U- z3jK=yBB#V*-S;+<JF z(12gU6l??bI$-9#LjD{0?Hpx0#aTD+ck*#@0xH42NOmXFt3f}Vj0VNY-sWzW_eO)! zINhyWXPh5*)BSh*)p`URgsnYDj~|i7{q*mE(#y$tw^t1F^dO!E^6D`%aGi@`F-?nM z?@NC|{V2;O{pqSfs{f?!n1@o{Ls;V59Z)|55ig$i*gop^PV@2TVpv_B3@LSZUi%W( z44CPyfZ-BeKXbS?VG+02@RK$CbPaC-vu<1sfT)i@dF%yS@+c(6){!eeJ>+D@SXiMO zna~nm*cwde8>_Xox{g4?N^QY60^O=dV8u0*f;xUWuO@*ffo*wz~4Bno#P}9lekhl zuwJ@3*_qSMJLRrDz-)$0<%FS3pp0^Ig-Z_|Lr%g>#==O)Nh)PCs9Kd@gv#@(GS3R< z-V(DtOmg2ICPBcy**`0{HBQsQU<&vfqqQ-d!e9zhY6I3wGbgK!Hr^<+@Bmus7DTkt zo4P5zR%_^PZ$mGFW?pGnB~-j6=E3Oi{$TWnK%y&Qc9O=jp0t)KX)ibaVG22QZ`Cq6<6)Hkb9W?2BNPm9{>OV literal 0 HcmV?d00001