From 3ea7027a446b706346b322245bfaabc8310aa9c5 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Tue, 24 Apr 2018 09:18:58 +0200 Subject: [PATCH] new textures --- cannon.lua | 6 +++--- textures/{cannon.png => cannon_blank.png} | Bin textures/cannon_front.png | Bin 227 -> 0 bytes textures/cannon_front_blue.png | Bin 0 -> 217 bytes textures/cannon_front_green.png | Bin 0 -> 217 bytes textures/cannon_front_red.png | Bin 0 -> 219 bytes textures/cannon_front_yellow.png | Bin 0 -> 217 bytes .../{energycube.png => energycube_blue.png} | Bin 144 -> 144 bytes textures/energycube_green.png | Bin 0 -> 144 bytes textures/energycube_red.png | Bin 0 -> 144 bytes textures/energycube_yellow.png | Bin 0 -> 144 bytes textures/{spark.png => spacecannon_spark.png} | Bin 12 files changed, 3 insertions(+), 3 deletions(-) rename textures/{cannon.png => cannon_blank.png} (100%) delete mode 100644 textures/cannon_front.png create mode 100644 textures/cannon_front_blue.png create mode 100644 textures/cannon_front_green.png create mode 100644 textures/cannon_front_red.png create mode 100644 textures/cannon_front_yellow.png rename textures/{energycube.png => energycube_blue.png} (55%) create mode 100644 textures/energycube_green.png create mode 100644 textures/energycube_red.png create mode 100644 textures/energycube_yellow.png rename textures/{spark.png => spacecannon_spark.png} (100%) diff --git a/cannon.lua b/cannon.lua index ffdd32a..bcfbe21 100644 --- a/cannon.lua +++ b/cannon.lua @@ -25,7 +25,7 @@ minetest.register_entity("spacecannon:energycube", { initial_properties = { visual = "cube", visual_size = {x=0.25, y=0.25}, - textures = {"energycube.png","energycube.png","energycube.png","energycube.png","energycube.png","energycube.png"}, + textures = {"energycube_red.png","energycube_red.png","energycube_red.png","energycube_red.png","energycube_red.png","energycube_red.png"}, collisionbox = {-0.25,-0.25,-0.25, 0.25,0.25,0.25}, physical = false, }, @@ -67,7 +67,7 @@ minetest.register_entity("spacecannon:energycube", { maxexptime = 2.5, minsize = radius * 3, maxsize = radius * 5, - texture = "tnt_smoke.png", + texture = "spacecannon_spark.png", }) minetest.sound_play("tnt_explode", {pos = pos, gain = 1.5, max_hear_distance = math.min(radius * 20, 128)}) @@ -103,7 +103,7 @@ end minetest.register_node("spacecannon:cannon", { description = "Spacecannon", -- top, bottom - tiles = {"cannon.png","cannon_front.png","cannon.png","cannon.png","cannon.png","cannon.png"}, + tiles = {"cannon_blank.png","cannon_front_red.png","cannon_blank.png","cannon_blank.png","cannon_blank.png","cannon_blank.png"}, groups = {cracky=3,oddly_breakable_by_hand=3,technic_machine = 1, technic_hv = 1}, drop = "spacecannon:cannon", sounds = default.node_sound_glass_defaults(), diff --git a/textures/cannon.png b/textures/cannon_blank.png similarity index 100% rename from textures/cannon.png rename to textures/cannon_blank.png diff --git a/textures/cannon_front.png b/textures/cannon_front.png deleted file mode 100644 index 9f9ba716013d3624694af04236880001677bb306..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 227 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1SJ1Ryj={WI14-?iy0XB4ude`@%$AjKtc8r zPhVH|M=avJnz9XjJJ$h)nmk<`Lp+WrmlPBvq@|@PaR2%Hd-?(?F*Y`~=;&y+TMf+Y zdwZq1d0FpXTinJHVTgw7^heYr+HFgoDcI8&kO_E}Qe=qvCNUpuX4X z=Q(E8g?MF|Omf!+s=2~+OSFvTw4|5rfnc{jw@)irXNd7UT&BFZxtZCwnS-J1nvA4N Su|*}&H4L7velF{r5}E*aOiW?` diff --git a/textures/cannon_front_blue.png b/textures/cannon_front_blue.png new file mode 100644 index 0000000000000000000000000000000000000000..ad2ae979717d8d12dab181512121475726759fa0 GIT binary patch literal 217 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1SJ1Ryj={WI14-?iy0XB4ude`@%$AjKtc8r zPhVH|M=TQT{M?TUq@saB6`n4RAs)w*O9~1S($dltxc~h9J$-?c7#kZ~baXV^tp;Xx zJ_Ei6bl!id#AK4YuEZ^0cQwZq1d0FpXTinJHVTgw7^heYr+HFgoDc0FI;d~qFE8L>B04%|D_Wz zOYU@2uDsF|$nB=PATiN>!<>cjnO0IK7mM+{U8cOaxtZCwnS&vAyOj6T9qONfZeZ|q L^>bP0l+XkK!XZnZ literal 0 HcmV?d00001 diff --git a/textures/energycube.png b/textures/energycube_blue.png similarity index 55% rename from textures/energycube.png rename to textures/energycube_blue.png index f5dbe78d217424f4c12f39affe4c7774878b8358..c5329a96b607692d3235d671e9b9e38f54c66c06 100644 GIT binary patch delta 68 zcmbQhIDv6Ou&o3;FW&;4o-hUm23b!R#}JFt$teau{?Bh@I&j26QNlFgN<$zsTQ?(v Xq#Tpq`BfPlK!psRu6{1-oD!M<$p#dw delta 68 zcmbQhIDv6Ou&p>Bt8u!1;xq;Z23b!R#}JFt$$#_}KFn`qI&j26QNlFgN<$zsTQ?)a YEmYK;-DyD hnsB8dkeRKUk>QpslU>|{_Qybl44$rjF6*2UngAa0B=!IR literal 0 HcmV?d00001 diff --git a/textures/energycube_yellow.png b/textures/energycube_yellow.png new file mode 100644 index 0000000000000000000000000000000000000000..5def9394efb13b2ea894f5f3f9fe6c7b75002f59 GIT binary patch literal 144 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPdiv&Bb(xfjBwgQD@JzX3_EKVo?`QQ7{o|(0wv(d>Q i>%a=e#cVuc%nWw2%p!}zM6LrBGI+ZBxvX