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 9f9ba71..0000000 Binary files a/textures/cannon_front.png and /dev/null differ diff --git a/textures/cannon_front_blue.png b/textures/cannon_front_blue.png new file mode 100644 index 0000000..ad2ae97 Binary files /dev/null and b/textures/cannon_front_blue.png differ diff --git a/textures/cannon_front_green.png b/textures/cannon_front_green.png new file mode 100644 index 0000000..35b261d Binary files /dev/null and b/textures/cannon_front_green.png differ diff --git a/textures/cannon_front_red.png b/textures/cannon_front_red.png new file mode 100644 index 0000000..9f94e94 Binary files /dev/null and b/textures/cannon_front_red.png differ diff --git a/textures/cannon_front_yellow.png b/textures/cannon_front_yellow.png new file mode 100644 index 0000000..c603fd4 Binary files /dev/null and b/textures/cannon_front_yellow.png differ 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 f5dbe78..c5329a9 100644 Binary files a/textures/energycube.png and b/textures/energycube_blue.png differ diff --git a/textures/energycube_green.png b/textures/energycube_green.png new file mode 100644 index 0000000..e2975bf Binary files /dev/null and b/textures/energycube_green.png differ diff --git a/textures/energycube_red.png b/textures/energycube_red.png new file mode 100644 index 0000000..6c8631d Binary files /dev/null and b/textures/energycube_red.png differ diff --git a/textures/energycube_yellow.png b/textures/energycube_yellow.png new file mode 100644 index 0000000..5def939 Binary files /dev/null and b/textures/energycube_yellow.png differ diff --git a/textures/spark.png b/textures/spacecannon_spark.png similarity index 100% rename from textures/spark.png rename to textures/spacecannon_spark.png