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

@ -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,
}