From 88070246496da795c52b21efbadd57cbe35e3d14 Mon Sep 17 00:00:00 2001 From: simonmakemods <40895813+simonmakemods@users.noreply.github.com> Date: Sun, 22 Jul 2018 10:11:01 +0200 Subject: [PATCH] Add files via upload --- depends.txt | 1 + init.lua | 97 ++++++++++++++++++++++++++++++ textures/obsidiantools_axe.png | Bin 0 -> 226 bytes textures/obsidiantools_pick.png | Bin 0 -> 247 bytes textures/obsidiantools_shovel.png | Bin 0 -> 239 bytes textures/obsidiantools_sword.png | Bin 0 -> 210 bytes 6 files changed, 98 insertions(+) create mode 100644 depends.txt create mode 100644 init.lua create mode 100644 textures/obsidiantools_axe.png create mode 100644 textures/obsidiantools_pick.png create mode 100644 textures/obsidiantools_shovel.png create mode 100644 textures/obsidiantools_sword.png 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 new file mode 100644 index 0000000..4861042 --- /dev/null +++ b/init.lua @@ -0,0 +1,97 @@ +minetest.register_tool("obsidiantools:pick", { + description = "Obsiadian Pickaxe", + inventory_image = "obsidiantools_pick.png", + tool_capabilities = { + full_punch_interval = 0.9, + max_drop_level=3, + groupcaps={ + cracky = {times={[1]=1.0, [2]=0.5, [3]=0.25}, uses=100, maxlevel=3}, + }, + damage_groups = {fleshy=7}, + }, +}) + +minetest.register_craft({ + output = "obsidiantools:pick", + recipe = { + {"default:obsidian", "default:obsidian", "default:obsidian"}, + {"", "default:stick", ""}, + {"", "default:stick", ""}, + }, +}) + +--------------------------------------------------------------------------------------------------------------------------------- + + +minetest.register_tool("obsidiantools:shovel", { + description = "Obsidian Shovel", + inventory_image = "obsidiantools_shovel.png", + wield_image = "obsidiantools_shovel.png^[transformR90", + tool_capabilities = { + full_punch_interval = 1.0, + max_drop_level=1, + groupcaps={ + crumbly = {times={[1]=0.6, [2]=0.25, [3]=0.15}, uses=100, maxlevel=3}, + }, + damage_groups = {fleshy=6}, + }, +}) + +minetest.register_craft({ + output = "obsidiantools:shovel", + recipe = { + {"", "default:obsidian", ""}, + {"", "default:stick", ""}, + {"", "default:stick", ""}, + }, +}) + + +-------------------------------------------------------------------------------------------------------------------------------- + + +minetest.register_tool("obsidiantools:axe", { + description = "Obsidian Axe", + inventory_image = "obsidiantools_axe.png", + tool_capabilities = { + full_punch_interval = 0.9, + max_drop_level=1, + groupcaps={ + choppy={times={[1]=1.05, [2]=0.45, [3]=0.25}, uses=100, maxlevel=2}, + }, + damage_groups = {fleshy=9}, + }, +}) + +minetest.register_craft({ + output = "obsidiantools:axe", + recipe = { + {"default:obsidian", "default:obsidian", ""}, + {"default:obsidian", "default:stick", ""}, + {"", "default:stick", ""}, + }, +}) + +----------------------------------------------------------------------------------------------------------------------------- + +minetest.register_tool("obsidiantools:sword", { + description = "Obsidian Sword", + inventory_image = "obsidiantools_sword.png", + tool_capabilities = { + full_punch_interval = 0.7, + max_drop_level=1, + groupcaps={ + snappy={times={[1]=0.95, [2]=0.45, [3]=0.15}, uses=130, maxlevel=3}, + }, + damage_groups = {fleshy=10}, + }, +}) + +minetest.register_craft({ + output = "obsidiantools:sword", + recipe = { + {"", "default:obsidian", ""}, + {"", "default:obsidian", ""}, + {"", "default:stick", ""}, + }, +}) diff --git a/textures/obsidiantools_axe.png b/textures/obsidiantools_axe.png new file mode 100644 index 0000000000000000000000000000000000000000..680a85012539abbcff100921b624f2f6a623f05a GIT binary patch literal 226 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPFP2=EDU4YZWW@f5aJ6)>MQ!%Rt_ z@yVm?bEo4E9f;Ypv+d>cirY7fu3iq{XE)7O>#5xW=%gVhXCp8}wewx^3@ z2*>s01P3;~fLW}^3JMDw3}sjobQn!sn*vOGnhY2jlUOBKBm)>3%8FPx=h>LY0<|%C My85}Sb4q9e0PILU!vFvP literal 0 HcmV?d00001 diff --git a/textures/obsidiantools_pick.png b/textures/obsidiantools_pick.png new file mode 100644 index 0000000000000000000000000000000000000000..ff26a8d3193ba941c83b4b25c6add7dada241a52 GIT binary patch literal 247 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!aez;VtF@{?pruTXr*PNX*U@`- zmEXLccj>(Dgg!GR0mmha4CQ$npFB!Cb~td$rf4S_XMJ&hQ{JU#G!6o_GnNGT1v5B2 zyO9RsBze2LFm$lWdH^|`1s;*b3=G`DAk4@xYmNj^kiEpy*OmPdyBG(fPU)=^2|yuR zPZ!4!iOaoxj$8~194x7Q|NbA0RCy+Jo@*MJ~fMx={n=&Z&7c40S#jCboFyt=akR{0CEgYCIA2c literal 0 HcmV?d00001 diff --git a/textures/obsidiantools_shovel.png b/textures/obsidiantools_shovel.png new file mode 100644 index 0000000000000000000000000000000000000000..fca98c32bc975d3464cda64d2da0687899b71b36 GIT binary patch literal 239 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!O@L2`YoMh}j;CrdJ-Ik=jTg) z1DeBF666=m;PC858ivL>4nJa0`PlBg3pY5H=O_DAeu z987GjK0&2GAstT_#}J9j$q5H|cQi1}?bkWfs&?S0s|PEyva;2D!MXfbT92hKkekmq bx1W!}BA#)TM^I2KP#=S*tDnm{r-UW|P!>uj literal 0 HcmV?d00001 diff --git a/textures/obsidiantools_sword.png b/textures/obsidiantools_sword.png new file mode 100644 index 0000000000000000000000000000000000000000..b8fa212e998b623a21ddab22e1452ef2ddd895ee GIT binary patch literal 210 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPGa2=EDU6)rDTY-#Fx``UT#Y)f^a z{0rxDJca#Dc_%wBy#rLkSQ6wH%;50sMjD8d&XcYta^L`vsjN6G#W+3#C+i1vBQBi v#vo+FK^|}K#*Ph34ILyhIRmOMFEC-)`-W@g-^s~RKbgh literal 0 HcmV?d00001