kitpvp/kits.lua

108 lines
2.9 KiB
Lua
Raw Normal View History

2021-05-14 07:16:56 -07:00
--[[
HOW TO ADD KITS:
kitpvp.api.register_kit({
name = agreatkitname,
2021-05-16 00:05:11 -07:00
items = {
2021-05-19 10:15:40 -07:00
item(itemstr1, count, {enchantment1 = value, enchantment2 = value}),
2021-05-17 05:12:30 -07:00
item(itemstr2, count, {enchantment1 = value, enchantment2 = value}),
item(itemstr3, count, {enchantment1 = value, enchantment2 = value})
2021-05-16 00:05:11 -07:00
},
2021-05-16 02:52:48 -07:00
armor = leather/chain/iron/gold/diamond/netherite,
2021-05-19 10:15:40 -07:00
armor_enchantments = {
{enchantmentsforhelmet = value},
{enchantmentsforchestplate = value},
{enchantmentsforleggings = value},
{enchantmentsforboots = value}},
2021-05-14 07:16:56 -07:00
})
2021-05-14 07:16:56 -07:00
]]
2021-05-16 00:00:58 -07:00
-- To make the item converter function a bit shorter
item = kitpvp.api.get_item_obj
2021-05-16 00:00:58 -07:00
2021-05-14 07:16:56 -07:00
kitpvp.api.register_kit({
name = "tank",
2021-05-16 00:00:58 -07:00
items = {
item("mcl_tools:sword_iron", {sharpness = 1})
},
2021-05-14 07:16:56 -07:00
default_items = true,
armor = "iron",
armor_enchantments = {{protection = 1}, {protection = 1}, {protection = 1}, {protection = 1}}
2021-05-14 07:16:56 -07:00
})
kitpvp.api.register_kit({
name = "archer",
2021-05-16 00:00:58 -07:00
items = {
item("mcl_tools:sword_stone", {sharpness = 1}),
item("mcl_bows:bow", {infinity = 1}),
item("mcl_bows:arrow 1")
},
2021-05-14 07:16:56 -07:00
default_items = true,
armor = "gold",
armor_enchantments = {{protection = 1}, {protection = 1}, {protection = 1}, {protection = 1}}
2021-05-14 07:16:56 -07:00
})
kitpvp.api.register_kit({
name = "speedrunner",
2021-05-16 00:00:58 -07:00
items = {
item("mcl_tools:sword_stone", {sharpness = 1}),
item("mcl_potions:swiftness_2"),
},
2021-05-14 07:16:56 -07:00
default_items = true,
armor = "gold",
armor_enchantments = {{protection = 1}, {protection = 1}, {protection = 1}, {protection = 1}}
2021-05-14 07:16:56 -07:00
})
2021-05-16 03:24:59 -07:00
kitpvp.api.register_kit({
name = "blaze",
items = {
item("mcl_tools:sword_iron", {sharpness = 1, fire_aspect = 2})
},
default_items = true,
armor = "gold",
armor_enchantments = {{fire_protection = 5}, {fire_protection = 5}, {fire_protection = 5}, {fire_protection = 5}}
})
kitpvp.api.register_kit({
name = "elytrian",
items = {
item("mcl_tools:sword_iron", 1, {sharpness = 1}),
item("mcl_armor:elytra", 1),
item("mcl_fireworks:rocket_3", 50),
item("mcl_core:apple_gold", 1),
item("mcl_farming:bread", 20),
item("mcl_bows:bow", 1),
item("mcl_bows:arrow", 20)
},
default_items = true,
armor = "leather",
armor_enchantments = {{protection = 1}, {protection = 1}, {protection = 1}, {protection = 1}}
})
2021-05-17 13:50:39 -07:00
kitpvp.api.register_kit({
name = "spy",
items = {
item("mcl_tools:sword_stone", 1, {sharpness = 1}),
item("mcl_potions:invisibility", 2),
item("mcl_potions:night_vision", 2),
2021-05-17 13:50:39 -07:00
},
default_items = true,
armor = "iron",
armor_enchantments = {{protection = 1}, {protection = 1}, {protection = 1}, {protection = 1}}
})
2021-05-18 06:34:46 -07:00
kitpvp.api.register_kit({
name = "blaster",
items = {
item("mcl_tnt:tnt", 4),
item("mesecons:redstone", 64),
item("mesecons_delayer:delayer_off_1", 64),
item("mesecons_button:button_stone_off", 4),
item("mesecons_pressureplates:pressure_plate_stone", 4),
},
default_items = true,
armor = "iron",
armor_enchantments = {{protection = 1}, {protection = 3}, {protection = 2}, {protection = 1}}
})