From c43df63e1d424ebfe995f36ba650c892176c437e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikita=20Wi=C5=9Bniewski?= Date: Thu, 6 Jul 2023 20:33:00 +0700 Subject: [PATCH] Fixing texture attempt and add .gitignore and depends.txt --- .gitignore | 5 +++++ depends.txt | 1 + init.lua | 14 +++++++------- 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 .gitignore create mode 100644 depends.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..15be859 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +textures/Thumbs.db +*.tgz +*.tar.gz +*.tar.bz2 +*.zip diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..4ad96d5 --- /dev/null +++ b/depends.txt @@ -0,0 +1 @@ +default diff --git a/init.lua b/init.lua index 20f4fee..610c54f 100755 --- a/init.lua +++ b/init.lua @@ -15,11 +15,11 @@ for i, variant in pairs(crosses) do drawtype = "torchlike", -- TODO: meshes use_texture_alpha = "clip", sunlight_propagates = true, - tiles = {"default_stone.png^crosses_".. - variant..".png^[makealpha:255,126,126^"}, - inventory_image = {"default_stone.png^crosses_".. - variant..".png".."^[makealpha:255,126,126^"}, - wield_image = {"default_stone.png^crosses_".. - variant..".png".."^[makealpha:255,126,126^"}, + tiles = {"default_stone.png^cross_".. + variant..".png^[makealpha:255,126,126"}, + inventory_image = {"default_stone.png^cross_".. + variant..".png".."^[makealpha:255,126,126"}, + wield_image = {"default_stone.png^cross_".. + variant..".png".."^[makealpha:255,126,126"}, }) -end \ No newline at end of file +end