2020-03-14 19:56:40 +00:00
|
|
|
ctf_classes.default_class = "knight"
|
|
|
|
|
|
|
|
ctf_classes.register("knight", {
|
|
|
|
description = "Knight",
|
|
|
|
pros = { "+50% Health Points" },
|
|
|
|
cons = { "-10% speed" },
|
|
|
|
color = "#ccc",
|
|
|
|
properties = {
|
|
|
|
max_hp = 30,
|
|
|
|
speed = 0.90,
|
|
|
|
|
|
|
|
initial_stuff = {
|
|
|
|
"default:sword_steel",
|
|
|
|
},
|
|
|
|
|
|
|
|
allowed_guns = {
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_guns:pistol",
|
2020-03-15 18:33:25 +00:00
|
|
|
"shooter_guns:machine_gun",
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_guns:shotgun",
|
2020-03-14 19:56:40 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
ctf_classes.register("shooter", {
|
|
|
|
description = "Sharp Shooter",
|
|
|
|
pros = { "+50% range", "+20% faster shooting" },
|
|
|
|
cons = {},
|
|
|
|
color = "#c60",
|
|
|
|
properties = {
|
|
|
|
allow_grapples = true,
|
|
|
|
|
|
|
|
initial_stuff = {
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_guns:rifle_loaded",
|
|
|
|
"shooter_hook:grapple_gun_loaded",
|
2020-03-14 19:56:40 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
additional_item_blacklist = {
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_hook:grapple_gun",
|
|
|
|
"shooter_hook:grapple_hook",
|
|
|
|
"shooter_guns:rifle",
|
2020-03-14 19:56:40 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
allowed_guns = {
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_guns:pistol",
|
|
|
|
"shooter_guns:rifle",
|
2020-03-15 18:33:25 +00:00
|
|
|
"shooter_guns:machine_gun",
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_guns:shotgun",
|
2020-04-22 02:01:27 +00:00
|
|
|
"sniper_rifles:rifle_762",
|
|
|
|
"sniper_rifles:rifle_magnum"
|
2020-03-14 19:56:40 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
shooter_multipliers = {
|
|
|
|
range = 1.5,
|
2020-03-14 21:51:24 +00:00
|
|
|
tool_caps = {
|
|
|
|
full_punch_interval = 0.8,
|
|
|
|
},
|
2020-03-14 19:56:40 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
ctf_classes.register("medic", {
|
|
|
|
description = "Medic",
|
2020-04-30 15:04:23 +00:00
|
|
|
pros = { "x2 regen for nearby friendlies", "+10% speed" },
|
2020-03-14 19:56:40 +00:00
|
|
|
cons = {},
|
|
|
|
color = "#0af",
|
|
|
|
properties = {
|
2020-03-14 19:59:10 +00:00
|
|
|
nearby_hpregen = true,
|
2020-04-30 15:04:23 +00:00
|
|
|
speed = 1.1,
|
2020-03-14 19:59:10 +00:00
|
|
|
|
2020-03-14 19:56:40 +00:00
|
|
|
initial_stuff = {
|
|
|
|
"ctf_bandages:bandage 20",
|
|
|
|
},
|
|
|
|
|
|
|
|
allowed_guns = {
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_guns:pistol",
|
2020-03-15 18:33:25 +00:00
|
|
|
"shooter_guns:machine_gun",
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_guns:shotgun",
|
2020-03-14 19:56:40 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2020-04-26 02:14:30 +00:00
|
|
|
--[[ctf_classes.register("rocketeer", {
|
2020-03-14 19:56:40 +00:00
|
|
|
description = "Rocketeer",
|
|
|
|
pros = { "Can craft rockets" },
|
|
|
|
cons = {},
|
|
|
|
color = "#fa0",
|
|
|
|
properties = {
|
|
|
|
initial_stuff = {
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_rocket:rocket_gun_loaded",
|
|
|
|
"shooter_rocket:rocket 4",
|
2020-03-14 19:56:40 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
additional_item_blacklist = {
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_rocket:rocket_gun",
|
2020-03-14 19:56:40 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
allowed_guns = {
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_guns:pistol",
|
2020-03-15 18:33:25 +00:00
|
|
|
"shooter_guns:machine_gun",
|
2020-03-14 21:51:24 +00:00
|
|
|
"shooter_guns:shotgun",
|
2020-03-14 19:56:40 +00:00
|
|
|
},
|
2020-03-14 22:48:50 +00:00
|
|
|
|
|
|
|
crafting = {
|
|
|
|
"shooter_rocket:rocket"
|
|
|
|
},
|
2020-03-14 19:56:40 +00:00
|
|
|
},
|
2020-04-26 02:14:30 +00:00
|
|
|
})]]
|