Add WWN skill list.
This commit is contained in:
@@ -459,6 +459,7 @@ input[type=text].sheet-inherit {
|
||||
.sheet-skills-type[value="neither"] ~ div .sheet-skills-either,
|
||||
.sheet-skills-type:not([value="first"]) ~ div .sheet-skills-first,
|
||||
.sheet-skills-type:not([value="revised"]) ~ div .sheet-skills-revised,
|
||||
.sheet-skills-type:not([value="wwn"]) ~ div .sheet-skills-wwn,
|
||||
.sheet-skills-type:not([value="neither"]) ~ div .sheet-skills-neither,
|
||||
.sheet-super-type:not([value="psionics"]):not([value="both"]) ~ div .sheet-skills-psionics,
|
||||
.sheet-super-type:not([value="magic"]):not([value="both"]) ~ div .sheet-skills-magic,
|
||||
|
||||
@@ -45,6 +45,8 @@ const skills = {
|
||||
"vehicle_land", "vehicle_space", "vehicle_water"
|
||||
],
|
||||
psionic: ["biopsionics", "metapsionics", "precognition", "telekinesis", "telepathy", "teleportation"],
|
||||
magic: ["know_magic", "use_magic", "sunblade"],
|
||||
wwn: ["administer", "connect", "convince", "craft", "exert", "heal", "know", "lead", "magic", "notice", "perform", "pray", "punch", "ride", "sail", "shoot", "sneak", "stab", "survive", "trade", "work"],
|
||||
};
|
||||
const shipStats = ["ship_ac", "ship_armor", "ship_class", "ship_crew_max", "ship_crew_min",
|
||||
"ship_hardpoints_max", "ship_hp", "ship_hp_max", "ship_mass_max", "ship_power_max", "ship_speed", "ship_hull_price",
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"vehicle_land", "vehicle_space", "vehicle_water", "dummy"],
|
||||
psionic: ["biopsionics", "metapsionics", "precognition", "telekinesis", "telepathy", "teleportation"],
|
||||
magic: ["know_magic", "use_magic", "sunblade"],
|
||||
wwn: ["administer", "connect", "convince", "craft", "exert", "heal", "know", "lead", "magic", "notice", "perform", "pray", "punch", "ride", "sail", "shoot", "sneak", "stab", "survive", "trade", "work"],
|
||||
};
|
||||
|
||||
//- We have foci in two locations, so they are outsourced to this mixin
|
||||
@@ -625,6 +626,16 @@ input(type="hidden", name="attr_setting_transhuman_enable", value="").transhuman
|
||||
.edit.flex-center
|
||||
span(data-i18n="UNSPENT_SKILL_POINTS").name
|
||||
input(type="number", min="0", value="0", name="attr_unspent_skill_points").level
|
||||
.skills-wwn.skill-container(data-i18n-list="SKILL_ORDER_WWN")
|
||||
each skill in skills.wwn
|
||||
+makeSkill(skill, !!customSkills[skill], customSkills[skill])
|
||||
.skill.skill-points
|
||||
.display.flex-center
|
||||
span(data-i18n="UNSPENT_SKILL_POINTS").name
|
||||
span(name="attr_unspent_skill_points").level
|
||||
.edit.flex-center
|
||||
span(data-i18n="UNSPENT_SKILL_POINTS").name
|
||||
input(type="number", min="0", value="0", name="attr_unspent_skill_points").level
|
||||
input(type="hidden", name="attr_homebrew_extra_skills", value="0").hider
|
||||
.skills-repeating
|
||||
fieldset.repeating_skills
|
||||
|
||||
@@ -29,6 +29,7 @@ input(type="hidden", name="attr_show_settings" value="0").hider
|
||||
select(name="attr_homebrew_skill_list")
|
||||
option(selected="", value="revised", data-i18n="REVISED_EDITION")
|
||||
option(value="first", data-i18n="FIRST_EDITION")
|
||||
option(value="wwn", data-i18n="WORLDS_WITHOUT_NUMBER")
|
||||
option(value="neither", data-i18n="NEITHER")
|
||||
span(data-i18n="SKILL_LIST_DESC")
|
||||
p
|
||||
|
||||
Reference in New Issue
Block a user