Actor sheet
All checks were successful
Release Creation / build (release) Successful in 42s

This commit is contained in:
2025-03-05 22:15:32 +01:00
parent da9a69b916
commit 9013229c20
24 changed files with 958 additions and 682 deletions

View File

@@ -50,11 +50,26 @@ export const WEAPON_TYPES = {
"grenade": { id: "grenade", label: "FTLNOMAD.Weapon.Types.Grenade" },
"vehicle": { id: "vehicle", label: "FTLNOMAD.Weapon.Types.Vehicle" }
}
export const WEAPON_RANGE = {
"melee": { id: "melee", label: "FTLNOMAD.Weapon.Range.Melee" },
"handgun": { id: "handgun", label: "FTLNOMAD.Weapon.Range.Handgun" },
"rifle": { id: "rifle", label: "FTLNOMAD.Weapon.Range.Rifle" },
"longrange": { id: "longrange", label: "FTLNOMAD.Weapon.Range.LongRange" }
"handgun": { id: "handgun", label: "FTLNOMAD.Weapon.Range.Handgun", range: {close: 0, near:0, far:-2} },
"assault": { id: "assault", label: "FTLNOMAD.Weapon.Range.Assault", range: {close: -2, near:0, far:-1, distant: -2} },
"rifle": { id: "rifle", label: "FTLNOMAD.Weapon.Range.Rifle", range: {close: -3, near:0, far:0, distant: -1} },
"melee": { id: "melee", label: "FTLNOMAD.Weapon.Range.Melee", range: {close: 0} },
"heavyweapon": { id: "heavyweapon", label: "FTLNOMAD.Weapon.Range.HeavyWeapon", range: {near:-1, far:0, distant: 0} },
"thrownweapon": { id: "thrownweapon", label: "FTLNOMAD.Weapon.Range.ThrownWeapon", range: {close: 0, near:-1} }
}
export const ATTACK_MODIFIERS = {
"two-attacks": -1,
"aiming": 1,
"dim": -1,
"darkness": -2,
"prone": -1,
"cover": -2,
"recoil-first": -1,
"recoil-third": -2,
"aware": -1
}
export const TRIAGE_RESULTS = {
@@ -98,12 +113,22 @@ export const CREATURE_SIZES = {
"titanic": { id: "titanic", label: "FTLNOMAD.Creature.Size.Titanic" }
}
export const MODIFIER_CHOICES = {
"easy": { id: "easy", label: "FTLNOMAD.Label.Easy", value :"1" },
"moderate": { id: "moderate", label: "FTLNOMAD.Label.Moderate", value: "0" },
"difficult": { id: "difficult", label: "FTLNOMAD.Label.Difficult", value: "-1" },
"formidable": { id: "formidable", label: "FTLNOMAD.Label.Formidable", value: "-2" },
"impossible": { id: "impossible", label: "FTLNOMAD.Label.Impossible", value: "-4" }
}
/**
* Include all constant definitions within the SYSTEM global export
* @type {Object}
*/
export const SYSTEM = {
id: SYSTEM_ID,
MODIFIER_CHOICES,
ATTACK_MODIFIERS,
TECH_AGES,
WEAPON_TYPES,
WEAPON_RANGE,