From dc2fc1d05b6030a9f51dc3bc8ff8819952839c2c Mon Sep 17 00:00:00 2001 From: Eric Rustrum <48301203+MadKamel@users.noreply.github.com> Date: Wed, 2 Feb 2022 15:09:15 -0800 Subject: [PATCH] Initial commit --- .gitattributes | 2 ++ README.md | 2 ++ init.lua | 19 +++++++++++++++++++ textures/zapper.png | Bin 0 -> 293 bytes 4 files changed, 23 insertions(+) create mode 100644 .gitattributes create mode 100644 README.md create mode 100644 init.lua create mode 100644 textures/zapper.png diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/README.md b/README.md new file mode 100644 index 0000000..01f85b2 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# xenozapper + The Xeno-Zapper from Satisfactory, but it's a Minetest weapon. diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..928b317 --- /dev/null +++ b/init.lua @@ -0,0 +1,19 @@ +minetest.register_tool(":default:xenozapper", { + description = "Zapper", + inventory_image = "zapper.png", + wield_image = "zapper.png^[transformR90", + tool_capabilities = { + full_punch_interval = 0.5, + max_drop_level=1, + damage_groups = {fleshy=3}, + } +}) + +minetest.register_craft({ + output = "default:xenozapper", + recipe = { + {"default:steel_ingot", "", "default:steel_ingot"}, + {"", "default:copper_ingot", ""}, + {"", "default:steelblock", ""} + } +}) \ No newline at end of file diff --git a/textures/zapper.png b/textures/zapper.png new file mode 100644 index 0000000000000000000000000000000000000000..ade2ed2352681b14e5bb5eb9305c043dc50a515b GIT binary patch literal 293 zcmV+=0owkFP)Px#-$_J4R5(v#WS|f*QmCJSXam+K^|5Hm?2!; z+zjYpfzyDc^QQlgVxP|dGlbK!nD{{4wqe!(_wU|