Re-add rocketeer class
This commit is contained in:
parent
81bd8ca9b2
commit
04c75c989d
6 changed files with 33 additions and 20 deletions
|
@ -2,8 +2,8 @@ ctf_classes.default_class = "knight"
|
|||
|
||||
ctf_classes.register("knight", {
|
||||
description = "Knight",
|
||||
pros = { "Skilled with swords", "+50% health points" },
|
||||
cons = { "-10% speed" },
|
||||
pros = { ">Skilled with swords", "> +50% health points" },
|
||||
cons = { "> -10% speed" },
|
||||
color = "#ccc",
|
||||
properties = {
|
||||
max_hp = 30,
|
||||
|
@ -23,8 +23,8 @@ ctf_classes.register("knight", {
|
|||
|
||||
ctf_classes.register("shooter", {
|
||||
description = "Sharp Shooter",
|
||||
pros = { "Skilled with ranged weapons", "Can craft/use sniper rifles"},
|
||||
cons = {"-25% health points"},
|
||||
pros = { ">Skilled with ranged", "weapons and can", "craft/use sniper rifles"},
|
||||
cons = { "> -20% health points" },
|
||||
color = "#c60",
|
||||
properties = {
|
||||
allow_grapples = true,
|
||||
|
@ -72,7 +72,7 @@ ctf_classes.register("shooter", {
|
|||
|
||||
ctf_classes.register("medic", {
|
||||
description = "Medic",
|
||||
pros = { "x2 regen for nearby friendlies", "Building supplies + Paxel", "+10% speed" },
|
||||
pros = { ">x2 regen for nearby", "friendlies", ">Building supplies +", "Paxel", "> +10% speed" },
|
||||
cons = {},
|
||||
color = "#0af",
|
||||
properties = {
|
||||
|
@ -154,12 +154,16 @@ ctf_classes.register("sniper", {
|
|||
})
|
||||
]]--
|
||||
|
||||
--[[ctf_classes.register("rocketeer", {
|
||||
ctf_classes.register("rocketeer", {
|
||||
description = "Rocketeer",
|
||||
pros = { "Can craft rockets" },
|
||||
cons = {},
|
||||
pros = { ">Can craft/use rockets" },
|
||||
cons = { "> -50% health points" },
|
||||
color = "#fa0",
|
||||
properties = {
|
||||
-- Disallow rocketeers from capturing flags - they're intended to be support
|
||||
can_capture = false,
|
||||
max_hp = 10,
|
||||
|
||||
initial_stuff = {
|
||||
"shooter_rocket:rocket_gun_loaded",
|
||||
"shooter_rocket:rocket 4",
|
||||
|
@ -171,12 +175,10 @@ ctf_classes.register("sniper", {
|
|||
|
||||
allowed_guns = {
|
||||
"shooter_guns:pistol",
|
||||
"shooter_guns:machine_gun",
|
||||
"shooter_guns:shotgun",
|
||||
},
|
||||
|
||||
crafting = {
|
||||
"shooter_rocket:rocket"
|
||||
},
|
||||
},
|
||||
})]]
|
||||
})
|
||||
|
|
|
@ -24,7 +24,7 @@ function ctf_classes.show_gui(name, player)
|
|||
fs[#fs + 1] = "]"
|
||||
fs[#fs + 1] = "tableoptions[background=#00000000;highlight=#00000000;border=false]"
|
||||
fs[#fs + 1] = "tablecolumns[color;text]"
|
||||
fs[#fs + 1] = "table[0,0.9;2.8,2.2;;"
|
||||
fs[#fs + 1] = "table[0,0.9;3.0,2.25;;"
|
||||
fs[#fs + 1] = class.color
|
||||
fs[#fs + 1] = ","
|
||||
fs[#fs + 1] = minetest.formspec_escape(class.description)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue