Initial import with skill sheet worning

This commit is contained in:
2024-11-30 08:38:13 +01:00
parent 2e96b256fb
commit df8995f8b7
52 changed files with 6986 additions and 2189 deletions

View File

@@ -1,50 +1,57 @@
export const CHARACTERISTICS = Object.freeze({
rob: {
id: "rob",
label: "LETHALFANTASY.Character.rob.label",
abbreviation: "LETHALFANTASY.Character.rob.short",
},
dex: {
id: "dex",
label: "LETHALFANTASY.Character.dex.label",
abbreviation: "LETHALFANTASY.Character.dex.short",
str: {
id: "str",
label: "LETHALFANTASY.Character.str.label"
},
int: {
id: "int",
label: "LETHALFANTASY.Character.int.label",
abbreviation: "LETHALFANTASY.Character.int.short",
label: "LETHALFANTASY.Character.int.label"
},
per: {
id: "per",
label: "LETHALFANTASY.Character.per.label",
abbreviation: "LETHALFANTASY.Character.per.short",
wis: {
id: "wis",
label: "LETHALFANTASY.Character.wis.label"
},
vol: {
id: "vol",
label: "LETHALFANTASY.Character.vol.label",
abbreviation: "LETHALFANTASY.Character.vol.short",
dex: {
id: "dex",
label: "LETHALFANTASY.Character.dex.label"
},
con: {
id: "con",
label: "LETHALFANTASY.Character.con.label"
},
cha: {
id: "cha",
label: "LETHALFANTASY.Character.cha.label"
},
app: {
id: "app",
label: "LETHALFANTASY.Character.app.label"
},
})
export const RESOURCES = Object.freeze({
san: {
id: "san",
label: "LETHALFANTASY.Character.san.label",
export const SAVES = Object.freeze({
str: {
id: "str",
label: "LETHALFANTASY.Character.str.label"
},
oeil: {
id: "oeil",
label: "LETHALFANTASY.Character.oeil.label",
agility: {
id: "agility",
label: "LETHALFANTASY.Character.agility.label"
},
verbe: {
id: "verbe",
label: "LETHALFANTASY.Character.verbe.label",
dying: {
id: "dying",
label: "LETHALFANTASY.Character.dying.label"
},
bourse: {
id: "bourse",
label: "LETHALFANTASY.Character.bourse.label",
will: {
id: "will",
label: "LETHALFANTASY.Character.will.label"
},
magie: {
id: "magie",
label: "LETHALFANTASY.Character.magie.label",
dodge: {
id: "dodge",
label: "LETHALFANTASY.Character.dodge.label"
},
toughness: {
id: "toughness",
label: "LETHALFANTASY.Character.toughness.label"
}
})

22
module/config/skill.mjs Normal file
View File

@@ -0,0 +1,22 @@
export const CATEGORY = Object.freeze({
layperson: {
id: "layperson",
label: "LETHALFANTASY.Skill.Category.layperson",
},
professional: {
id: "professional",
label: "LETHALFANTASY.Skill.Category.professional",
},
weapon: {
id: "weapon",
label: "LETHALFANTASY.Skill.Category.weapon",
},
armor: {
id: "armor",
label: "LETHALFANTASY.Skill.Category.armor",
},
resist: {
id: "resist",
label: "LETHALFANTASY.Skill.Category.resist",
}
})

View File

@@ -2,19 +2,11 @@ import * as CHARACTER from "./character.mjs"
import * as WEAPON from "./weapon.mjs"
import * as ARMOR from "./armor.mjs"
import * as SPELL from "./spell.mjs"
import * as SKILL from "./skill.mjs"
export const SYSTEM_ID = "tenebris"
export const SYSTEM_ID = "fvtt-lethal-fantasy"
export const DEV_MODE = false
export const RESOURCE_VALUE = Object.freeze({
ZERO: "0",
D4: "d4",
D6: "d6",
D8: "d8",
D10: "d10",
D12: "d12",
})
export const DICE_VALUE = Object.freeze({
D4: "d4",
D6: "d6",
@@ -32,55 +24,50 @@ export const ROLL_TYPE = Object.freeze({
ATTACK: "attack",
})
export const MINOR_PATH = Object.freeze({
epee: {
onze: "rob",
neuf: {
main: "per",
plume: "vol",
livre: "int",
},
export const MONEY = {
tinbit: {
id: "tinbit",
abbrev: "tb",
label: "LETHALFANTASY.Money.Tinbits",
valuetb: 1
},
main: {
onze: "dex",
neuf: {
chene: "rob",
plume: "vol",
livre: "int",
},
copper: {
id: "copper",
abbrev: "cp",
label: "LETHALFANTASY.Money.Coppers",
valuetb: 10
},
plume: {
onze: "int",
neuf: {
chene: "rob",
main: "per",
epee: "dex",
},
silver: {
id: "silver",
abbrev: "sp",
label: "LETHALFANTASY.Money.Silvers",
valuetb: 100
},
chene: {
onze: "per",
neuf: {
plume: "vol",
livre: "int",
epee: "dex",
},
gold: {
id: "gold",
abbrev: "gp",
label: "LETHALFANTASY.Money.Golds",
valuetb: 1000
},
livre: {
onze: "vol",
neuf: {
chene: "rob",
main: "per",
epee: "dex",
},
},
})
platinum: {
id: "platinum",
abbrev: "pp",
label: "LETHALFANTASY.Money.Platinums",
valuetb: 10000
}
}
export const ASCII = `
██████ ████████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ███████ ███ ██ ███████ ██████ ██████ ██ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ███████ ██ ██ ██ ███████ ██ ██ ██ █████ ██ ██ ██ █████ ██████ ██████ ██ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ██ ██████ ███████ ██ ██ ██████ ██ ███████ ██ ████ ███████ ██████ ██ ██ ██ ███████ `
······················································································································
: :
:@@@ @@@@@@@@ @@@@@@@ @@@ @@@ @@@@@@ @@@ @@@@@@@@ @@@@@@ @@@ @@@ @@@@@@@ @@@@@@ @@@@@@ @@@ @@@ :
:@@! @@! @!! @@! @@@ @@! @@@ @@! @@! @@! @@@ @@!@!@@@ @!! @@! @@@ !@@ @@! !@@ :
:@!! @!!!:! @!! @!@!@!@! @!@!@!@! @!! @!!!:! @!@!@!@! @!@@!!@! @!! @!@!@!@! !@@!! !@!@! :
:!!: !!: !!: !!: !!! !!: !!! !!: !!: !!: !!! !!: !!! !!: !!: !!! !:! !!: :
:: ::.: : : :: :: : : : : : : : : ::.: : : : : : :: : : : : : ::.: : .: :
: :
······················································································································
`
/**
* Include all constant definitions within the SYSTEM global export
@@ -90,13 +77,14 @@ export const SYSTEM = {
id: SYSTEM_ID,
CHARACTERISTICS: CHARACTER.CHARACTERISTICS,
RESOURCES: CHARACTER.RESOURCES,
RESOURCE_VALUE,
SAVES: CHARACTER.SAVES,
SKILL_CATEGORY: SKILL.CATEGORY,
WEAPON_CATEGORY: WEAPON.CATEGORY,
WEAPON_DAMAGE: WEAPON.DAMAGE,
ARMOR_CATEGORY: ARMOR.CATEGORY,
SPELL_RANGE: SPELL.RANGE,
MONEY,
ASCII,
MINOR_PATH,
ROLL_TYPE,
DEV_MODE,
}