Create a new daemondeath sword

master
Jordan Irwin 2021-05-04 04:45:37 -07:00
parent c3d5ace9e7
commit bc52d471cc
4 changed files with 41 additions and 0 deletions

33
mods/antum/items/init.lua Normal file
View File

@ -0,0 +1,33 @@
core.register_tool(":antum:sword_daemondeath", {
description = "Daemondeath Sword",
inventory_image = "antum_sword_daemondeath.png",
tool_capabilities = {
full_punch_interval = 0.50,
max_drop_level = 1,
groupcaps={
fleshy={times={[1]=2.00, [2]=0.80, [3]=0.40}, uses=0, maxlevel=1},
snappy={times={[2]=0.70, [3]=0.30}, uses=0, maxlevel=1},
choppy={times={[3]=0.70}, uses=0, maxlevel=0},
deamon={times={[1]=0.25, [2]=0.10, [3]=0.05}, uses=0, maxlevel=3},
},
damage_groups = {fleshy=28,},
},
})
local i = {
gem = "gems_tools:ruby_gem",
bone = "bonemeal:bone",
crystal = "basic_materials:energy_crystal_simple",
}
core.register_craft({
output = "antum:sword_daemondeath",
recipe = {
{i.crystal, i.gem, i.crystal},
{i.crystal, i.gem, i.crystal},
{i.crystal, i.bone, i.crystal},
},
})
core.register_alias("animalmaterials:sword_deamondeath", "antum:sword_daemondeath")

View File

@ -0,0 +1,3 @@
name = antum_items
description = Custom items for Antum game
depends = bonemeal, gems_tools, basic_materials

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

View File

@ -0,0 +1,5 @@
- antum_sword_daemondeath:
- author: Dungeon Crawl Stone Soup
- license: CC0
- link: https://opengameart.org/node/12210