System init
5
images/icons/.directory
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Dolphin]
|
||||||
|
Timestamp=2022,12,4,9,33,49.136
|
||||||
|
Version=4
|
||||||
|
ViewMode=2
|
||||||
|
VisibleRoles=Details_text,Details_size,Details_modificationtime,Details_creationtime,CustomizedDetails
|
BIN
images/icons/ability.webp
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
images/icons/action.webp
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
images/icons/armor.webp
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
images/icons/cyber.webp
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
images/icons/equipment.webp
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
images/icons/flash.webp
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
images/icons/genetic.webp
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
images/icons/hitpoint.webp
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
images/icons/intelligence.webp
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
images/icons/melee.webp
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
images/icons/noise.webp
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
images/icons/perk.webp
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
images/icons/skill.webp
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
images/icons/social.webp
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
images/icons/strength.webp
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
images/icons/vehicle.webp
Normal file
After Width: | Height: | Size: 6.1 KiB |
@ -13,7 +13,7 @@ export class DarkStarsActorSheet extends ActorSheet {
|
|||||||
|
|
||||||
return mergeObject(super.defaultOptions, {
|
return mergeObject(super.defaultOptions, {
|
||||||
classes: ["fvtt-dark-stars", "sheet", "actor"],
|
classes: ["fvtt-dark-stars", "sheet", "actor"],
|
||||||
template: "systems/fvtt-dark-stars/templates/actor-sheet.html",
|
template: "systems/fvtt-dark-stars/templates/actor-sheet.hbs",
|
||||||
width: 960,
|
width: 960,
|
||||||
height: 720,
|
height: 720,
|
||||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "skills" }],
|
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "skills" }],
|
||||||
|
@ -10,11 +10,11 @@ const __saveFirstToKey = { r: "reflex", f: "fortitude", w: "willpower"}
|
|||||||
export class DarkStarsCommands {
|
export class DarkStarsCommands {
|
||||||
|
|
||||||
static init() {
|
static init() {
|
||||||
if (!game.system.cruciblerpg.commands) {
|
if (!game.system.darkstars.commands) {
|
||||||
const crucibleCommands = new DarkStarsCommands();
|
const darkStarsCommands = new DarkStarsCommands();
|
||||||
crucibleCommands.registerCommand({ path: ["/rtarget"], func: (content, msg, params) => DarkStarsCommands.rollTarget(msg, params), descr: "Launch the target roll window" });
|
darkStarsCommands.registerCommand({ path: ["/rtarget"], func: (content, msg, params) => DarkStarsCommands.rollTarget(msg, params), descr: "Launch the target roll window" });
|
||||||
crucibleCommands.registerCommand({ path: ["/rsave"], func: (content, msg, params) => DarkStarsCommands.rollSave(msg, params), descr: "Performs a save roll" });
|
darkStarsCommands.registerCommand({ path: ["/rsave"], func: (content, msg, params) => DarkStarsCommands.rollSave(msg, params), descr: "Performs a save roll" });
|
||||||
game.system.cruciblerpg.commands = crucibleCommands;
|
game.system.darkstars.commands = darkStarsCommands;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ export class DarkStarsCommands {
|
|||||||
if (path.length > 0 && path[0] && command.descr && (path.length != 1 || targetTable[path[0]] == undefined)) {
|
if (path.length > 0 && path[0] && command.descr && (path.length != 1 || targetTable[path[0]] == undefined)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
console.warn("crucibleCommands._validateCommand failed ", targetTable, path, command);
|
console.warn("darkStarsCommands._validateCommand failed ", targetTable, path, command);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
const DARKSTARS_CONFIG = {
|
export const DARKSTARS_CONFIG = {
|
||||||
|
|
||||||
basebonus : {
|
basebonus : {
|
||||||
"csb": "CSB",
|
"csb": "CSB",
|
||||||
|
@ -11,7 +11,7 @@ export class DarkStarsItemSheet extends ItemSheet {
|
|||||||
|
|
||||||
return mergeObject(super.defaultOptions, {
|
return mergeObject(super.defaultOptions, {
|
||||||
classes: ["fvtt-dark-stars", "sheet", "item"],
|
classes: ["fvtt-dark-stars", "sheet", "item"],
|
||||||
template: "systems/fvtt-dark-stars/templates/item-sheet.html",
|
template: "systems/fvtt-dark-stars/templates/items/item-sheet.hbs",
|
||||||
dragDrop: [{ dragSelector: null, dropSelector: null }],
|
dragDrop: [{ dragSelector: null, dropSelector: null }],
|
||||||
width: 620,
|
width: 620,
|
||||||
height: 550,
|
height: 550,
|
||||||
@ -49,12 +49,8 @@ export class DarkStarsItemSheet extends ItemSheet {
|
|||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async getData() {
|
async getData() {
|
||||||
|
|
||||||
if ( this.object.type == "skill") {
|
|
||||||
DarkStarsUtility.updateSkill(this.object)
|
|
||||||
}
|
|
||||||
let objectData = duplicate(this.object.system)
|
let objectData = duplicate(this.object.system)
|
||||||
|
|
||||||
let itemData = objectData
|
|
||||||
let formData = {
|
let formData = {
|
||||||
title: this.title,
|
title: this.title,
|
||||||
id: this.id,
|
id: this.id,
|
||||||
@ -66,7 +62,8 @@ export class DarkStarsItemSheet extends ItemSheet {
|
|||||||
weaponSkills: DarkStarsUtility.getWeaponSkills(),
|
weaponSkills: DarkStarsUtility.getWeaponSkills(),
|
||||||
shieldSkills: DarkStarsUtility.getShieldSkills(),
|
shieldSkills: DarkStarsUtility.getShieldSkills(),
|
||||||
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
|
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
|
||||||
data: itemData,
|
config: game.system.darkstars.config,
|
||||||
|
system: objectData,
|
||||||
limited: this.object.limited,
|
limited: this.object.limited,
|
||||||
options: this.options,
|
options: this.options,
|
||||||
owner: this.document.isOwner,
|
owner: this.document.isOwner,
|
||||||
@ -78,7 +75,6 @@ export class DarkStarsItemSheet extends ItemSheet {
|
|||||||
return formData;
|
return formData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
_getHeaderButtons() {
|
_getHeaderButtons() {
|
||||||
let buttons = super._getHeaderButtons();
|
let buttons = super._getHeaderButtons();
|
||||||
@ -107,7 +103,7 @@ export class DarkStarsItemSheet extends ItemSheet {
|
|||||||
payload: chatData,
|
payload: chatData,
|
||||||
});
|
});
|
||||||
|
|
||||||
renderTemplate('systems/fvtt-dark-stars/templates/post-item.html', chatData).then(html => {
|
renderTemplate('systems/fvtt-dark-stars/templates/items/post-item.hbs', chatData).then(html => {
|
||||||
let chatOptions = DarkStarsUtility.chatDataSetup(html);
|
let chatOptions = DarkStarsUtility.chatDataSetup(html);
|
||||||
ChatMessage.create(chatOptions)
|
ChatMessage.create(chatOptions)
|
||||||
});
|
});
|
||||||
@ -159,7 +155,7 @@ export class DarkStarsItemSheet extends ItemSheet {
|
|||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
get template() {
|
get template() {
|
||||||
let type = this.item.type;
|
let type = this.item.type;
|
||||||
return `systems/fvtt-dark-stars/templates/item-${type}-sheet.html`;
|
return `systems/fvtt-dark-stars/templates/items/item-${type}-sheet.hbs`;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
import { DarkStarsUtility } from "./dark-stars-utility.js";
|
import { DarkStarsUtility } from "./dark-stars-utility.js";
|
||||||
|
|
||||||
export const defaultItemImg = {
|
export const defaultItemImg = {
|
||||||
skill: "systems/fvtt-dark-stars/images/icons/icon_skill.webp",
|
skill: "systems/fvtt-dark-stars/images/icons/skill.webp",
|
||||||
armor: "systems/fvtt-dark-stars/images/icons/icon_armour.webp",
|
armor: "systems/fvtt-dark-stars/images/icons/armor.webp",
|
||||||
weapon: "systems/fvtt-dark-stars/images/icons/icon_weapon.webp",
|
equipment: "systems/fvtt-dark-stars/images/icons/equipment.webp",
|
||||||
equipment: "systems/fvtt-dark-stars/images/icons/icon_equipment.webp",
|
weapon: "systems/fvtt-dark-stars/images/icons/melee.webp",
|
||||||
race: "systems/fvtt-dark-stars/images/icons/icon_race.webp",
|
perk: "systems/fvtt-dark-stars/images/icons/perk.webp",
|
||||||
money: "systems/fvtt-dark-stars/images/icons/icon_money.webp",
|
ability: "systems/fvtt-dark-stars/images/icons/ability.webp",
|
||||||
|
genetic: "systems/fvtt-dark-stars/images/icons/genetic.webp",
|
||||||
|
cyber: "systems/fvtt-dark-stars/images/icons/cyber.webp"
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -15,8 +15,9 @@ import { DarkStarsNPCSheet } from "./dark-stars-npc-sheet.js";
|
|||||||
import { DarkStarsUtility } from "./dark-stars-utility.js";
|
import { DarkStarsUtility } from "./dark-stars-utility.js";
|
||||||
import { DarkStarsCombat } from "./dark-stars-combat.js";
|
import { DarkStarsCombat } from "./dark-stars-combat.js";
|
||||||
import { DarkStarsItem } from "./dark-stars-item.js";
|
import { DarkStarsItem } from "./dark-stars-item.js";
|
||||||
import { DarkStarsHotbar } from "./dark-star-shotbar.js"
|
import { DarkStarsHotbar } from "./dark-stars-hotbar.js"
|
||||||
import { DarkStarsCommands } from "./dark-stars-commands.js"
|
import { DarkStarsCommands } from "./dark-stars-commands.js"
|
||||||
|
import { DARKSTARS_CONFIG } from "./dark-stars-config.js";
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
/* Foundry VTT Initialization */
|
/* Foundry VTT Initialization */
|
||||||
@ -28,7 +29,8 @@ Hooks.once("init", async function () {
|
|||||||
console.log(`Initializing DarkStars RPG`);
|
console.log(`Initializing DarkStars RPG`);
|
||||||
|
|
||||||
game.system.darkstars = {
|
game.system.darkstars = {
|
||||||
DarkStarsCommands
|
DarkStarsCommands,
|
||||||
|
config: DARKSTARS_CONFIG
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
@ -13,7 +13,7 @@ export class DarkStarsNPCSheet extends ActorSheet {
|
|||||||
|
|
||||||
return mergeObject(super.defaultOptions, {
|
return mergeObject(super.defaultOptions, {
|
||||||
classes: ["dark-stars-rpg", "sheet", "actor"],
|
classes: ["dark-stars-rpg", "sheet", "actor"],
|
||||||
template: "systems/fvtt-dark-stars/templates/npc-sheet.html",
|
template: "systems/fvtt-dark-stars/templates/npc-sheet.hbs",
|
||||||
width: 640,
|
width: 640,
|
||||||
height: 720,
|
height: 720,
|
||||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }],
|
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }],
|
||||||
|
@ -6,7 +6,7 @@ export class DarkStarsRollDialog extends Dialog {
|
|||||||
static async create(actor, rollData) {
|
static async create(actor, rollData) {
|
||||||
|
|
||||||
let options = { classes: ["DarkStarsDialog"], width: 540, height: 340, 'z-index': 99999 };
|
let options = { classes: ["DarkStarsDialog"], width: 540, height: 340, 'z-index': 99999 };
|
||||||
let html = await renderTemplate('systems/fvtt-dark-stars/templates/roll-dialog-generic.html', rollData);
|
let html = await renderTemplate('systems/fvtt-dark-stars/templates/roll-dialog-generic.hbs', rollData);
|
||||||
|
|
||||||
return new DarkStarsRollDialog(actor, rollData, html, options);
|
return new DarkStarsRollDialog(actor, rollData, html, options);
|
||||||
}
|
}
|
||||||
@ -44,7 +44,7 @@ export class DarkStarsRollDialog extends Dialog {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async refreshDialog() {
|
async refreshDialog() {
|
||||||
const content = await renderTemplate("systems/fvtt-dark-stars/templates/roll-dialog-generic.html", this.rollData)
|
const content = await renderTemplate("systems/fvtt-dark-stars/templates/roll-dialog-generic.hbs", this.rollData)
|
||||||
this.data.content = content
|
this.data.content = content
|
||||||
this.render(true)
|
this.render(true)
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ import { DarkStarsCombat } from "./dark-stars-combat.js";
|
|||||||
import { DarkStarsCommands } from "./dark-stars-commands.js";
|
import { DarkStarsCommands } from "./dark-stars-commands.js";
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
const __locationNames = { head: "Head", chest: "Chest", abdomen: "Abdomen", leftarm: "Left Arm", rightarm: "Right Arm", leftleg: "Left Leg", rightleg: "Right Leg" }
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
export class DarkStarsUtility {
|
export class DarkStarsUtility {
|
||||||
|
|
||||||
@ -39,6 +39,10 @@ export class DarkStarsUtility {
|
|||||||
Handlebars.registerHelper('mul', function (a, b) {
|
Handlebars.registerHelper('mul', function (a, b) {
|
||||||
return parseInt(a) * parseInt(b);
|
return parseInt(a) * parseInt(b);
|
||||||
})
|
})
|
||||||
|
Handlebars.registerHelper('locationLabel', function (key) {
|
||||||
|
return __locationNames[key]
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
this.gameSettings()
|
this.gameSettings()
|
||||||
|
|
||||||
@ -138,14 +142,14 @@ export class DarkStarsUtility {
|
|||||||
static async preloadHandlebarsTemplates() {
|
static async preloadHandlebarsTemplates() {
|
||||||
|
|
||||||
const templatePaths = [
|
const templatePaths = [
|
||||||
'systems/fvtt-dark-stars/templates/partials/editor-notes-gm.html',
|
'systems/fvtt-dark-stars/templates/partials/editor-notes-gm.hbs',
|
||||||
'systems/fvtt-dark-stars/templates/partials/partial-roll-select.html',
|
'systems/fvtt-dark-stars/templates/partials/partial-roll-select.hbs',
|
||||||
'systems/fvtt-dark-stars/templates/partials/partial-actor-ability-block.html',
|
'systems/fvtt-dark-stars/templates/partials/partial-actor-ability-block.hbs',
|
||||||
'systems/fvtt-dark-stars/templates/partials/partial-actor-status.html',
|
'systems/fvtt-dark-stars/templates/partials/partial-actor-status.hbs',
|
||||||
'systems/fvtt-dark-stars/templates/partials/partial-options-abilities.html',
|
'systems/fvtt-dark-stars/templates/partials/partial-options-abilities.hbs',
|
||||||
'systems/fvtt-dark-stars/templates/partials/partial-item-nav.html',
|
'systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs',
|
||||||
'systems/fvtt-dark-stars/templates/partials/partial-item-description.html',
|
'systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs',
|
||||||
'systems/fvtt-dark-stars/templates/partials/partial-actor-equipment.html'
|
'systems/fvtt-dark-stars/templates/partials/partial-actor-equipment.hbs'
|
||||||
]
|
]
|
||||||
return loadTemplates(templatePaths);
|
return loadTemplates(templatePaths);
|
||||||
}
|
}
|
||||||
@ -391,7 +395,7 @@ export class DarkStarsUtility {
|
|||||||
rollData.rollOrder = 1
|
rollData.rollOrder = 1
|
||||||
rollData.rollType = (rollData.rollAdvantage == "roll-advantage") ? "Advantage" : "Disadvantage"
|
rollData.rollType = (rollData.rollAdvantage == "roll-advantage") ? "Advantage" : "Disadvantage"
|
||||||
this.createChatWithRollMode(rollData.alias, {
|
this.createChatWithRollMode(rollData.alias, {
|
||||||
content: await renderTemplate(`systems/fvtt-dark-stars/templates/chat-generic-result.html`, rollData)
|
content: await renderTemplate(`systems/fvtt-dark-stars/templates/chat-generic-result.hbs`, rollData)
|
||||||
})
|
})
|
||||||
|
|
||||||
rollData.rollOrder = 2
|
rollData.rollOrder = 2
|
||||||
@ -401,7 +405,7 @@ export class DarkStarsUtility {
|
|||||||
rollData.roll = myRoll2 // Tmp switch to display the proper results
|
rollData.roll = myRoll2 // Tmp switch to display the proper results
|
||||||
rollData.nbSuccess = myRoll2.total
|
rollData.nbSuccess = myRoll2.total
|
||||||
this.createChatWithRollMode(rollData.alias, {
|
this.createChatWithRollMode(rollData.alias, {
|
||||||
content: await renderTemplate(`systems/fvtt-dark-stars/templates/chat-generic-result.html`, rollData)
|
content: await renderTemplate(`systems/fvtt-dark-stars/templates/chat-generic-result.hbs`, rollData)
|
||||||
})
|
})
|
||||||
rollData.roll = myRoll // Revert the tmp switch
|
rollData.roll = myRoll // Revert the tmp switch
|
||||||
rollData.nbSuccess = myRoll.total
|
rollData.nbSuccess = myRoll.total
|
||||||
@ -435,7 +439,7 @@ export class DarkStarsUtility {
|
|||||||
actor.lastRoll = rollData
|
actor.lastRoll = rollData
|
||||||
|
|
||||||
this.createChatWithRollMode(rollData.alias, {
|
this.createChatWithRollMode(rollData.alias, {
|
||||||
content: await renderTemplate(`systems/fvtt-dark-stars/templates/chat-generic-result.html`, rollData)
|
content: await renderTemplate(`systems/fvtt-dark-stars/templates/chat-generic-result.hbs`, rollData)
|
||||||
})
|
})
|
||||||
console.log("Rolldata result", rollData)
|
console.log("Rolldata result", rollData)
|
||||||
|
|
||||||
|
0
packs/action-tokens.db
Normal file
0
packs/armor.db
Normal file
0
packs/classpowers.db
Normal file
0
packs/conditions.db
Normal file
0
packs/currency.db
Normal file
0
packs/equipment.db
Normal file
0
packs/feats.db
Normal file
0
packs/lore-air.db
Normal file
0
packs/lore-earth.db
Normal file
0
packs/lore-fire.db
Normal file
0
packs/lore-shadow.db
Normal file
0
packs/lore-water.db
Normal file
0
packs/monster-powers.db
Normal file
0
packs/poisons.db
Normal file
0
packs/rolltables.db
Normal file
0
packs/shields.db
Normal file
0
packs/skills.db
Normal file
0
packs/trickstraps.db
Normal file
0
packs/weapons.db
Normal file
@ -39,26 +39,41 @@
|
|||||||
text-align: justify;
|
text-align: justify;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
|
color: rgba(228, 240, 240, 0.75);
|
||||||
|
background: rgba(66, 66, 64, 0.95);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fonts */
|
/* Fonts */
|
||||||
.sheet header.sheet-header h1 input, .window-app .window-header, #actors .directory-list, #navigation #scene-list .scene.nav-item {
|
.sheet header.sheet-header h1 input, .window-app .window-header, #actors .directory-list, #navigation #scene-list .scene.nav-item {
|
||||||
font-size: 1.0rem;
|
font-size: 1.0rem;
|
||||||
|
color: rgba(228, 240, 240, 0.75);
|
||||||
|
background: rgba(66, 66, 64, 0.95);
|
||||||
} /* For title, sidebar character and scene */
|
} /* For title, sidebar character and scene */
|
||||||
.sheet nav.sheet-tabs {
|
.sheet nav.sheet-tabs {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
|
color: rgba(228, 240, 240, 0.75);
|
||||||
|
background: rgba(66, 66, 64, 0.95);
|
||||||
} /* For nav and title */
|
} /* For nav and title */
|
||||||
.window-app input, .foundryvtt-vadentis .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
|
.window-app input, .fvtt-dark-stars .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
|
color: rgba(228, 240, 240, 0.75);
|
||||||
|
background: rgba(66, 66, 64, 0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
.window-header{
|
.window-header{
|
||||||
background: rgba(0,0,0,0.75);
|
background: rgba(0,0,0,0.75);
|
||||||
}
|
}
|
||||||
|
.dialog .window-content {
|
||||||
|
color: #ccdbe6;
|
||||||
|
}
|
||||||
|
.dialog-content, .dialog-buttons, .form-fields {
|
||||||
|
color: #ccdbe6;
|
||||||
|
}
|
||||||
.window-app.sheet .window-content {
|
.window-app.sheet .window-content {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
color: #ccdbe6;
|
||||||
}
|
}
|
||||||
.strong-text{
|
.strong-text{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -385,24 +400,24 @@ table {border: 1px solid #7a7971;}
|
|||||||
/*color: rgba(168, 139, 139, 0.5);*/
|
/*color: rgba(168, 139, 139, 0.5);*/
|
||||||
|
|
||||||
.window-app.sheet .window-content .sheet-header input[type="text"], .window-app.sheet .window-content .sheet-header input[type="number"], .window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] {
|
.window-app.sheet .window-content .sheet-header input[type="text"], .window-app.sheet .window-content .sheet-header input[type="number"], .window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] {
|
||||||
color: rgba(36, 37, 37, 0.75);
|
color: rgba(228, 240, 240, 0.75);
|
||||||
background: rgba(245, 245, 241, 0.95);
|
background: rgba(66, 66, 64, 0.95);
|
||||||
border: 1 none;
|
border: 1 none;
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.window-app.sheet .window-content .sheet-body input[type="text"], .window-app.sheet .window-content .sheet-body input[type="number"], .window-app.sheet .window-content .sheet-body input[type="password"], .window-app.sheet .window-content .sheet-body input[type="date"], .window-app.sheet .window-content .sheet-body input[type="time"] {
|
.window-app.sheet .window-content .sheet-body input[type="text"], .window-app.sheet .window-content .sheet-body input[type="number"], .window-app.sheet .window-content .sheet-body input[type="password"], .window-app.sheet .window-content .sheet-body input[type="date"], .window-app.sheet .window-content .sheet-body input[type="time"] {
|
||||||
color: rgba(36, 37, 37, 0.75);
|
color: rgba(228, 240, 240, 0.75);
|
||||||
background: rgba(245, 245, 241, 0.95);
|
background: rgba(66, 66, 64, 0.95);
|
||||||
border: 1 none;
|
border: 1 none;
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.window-app.sheet .window-content .sheet-body select, .window-app.sheet .window-content .sheet-header select {
|
.window-app.sheet .window-content .sheet-body select, .window-app.sheet .window-content .sheet-header select {
|
||||||
color: rgba(36, 37, 37, 0.75);
|
color: rgba(228, 240, 240, 0.75);
|
||||||
background: rgba(245, 245, 241, 0.95);
|
background: rgba(66, 66, 64, 0.95);
|
||||||
border: 1 none;
|
border: 1 none;
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
@ -411,6 +426,8 @@ table {border: 1px solid #7a7971;}
|
|||||||
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
|
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
background: url("../images/ui/pc_sheet_bg.webp") repeat left top;
|
background: url("../images/ui/pc_sheet_bg.webp") repeat left top;
|
||||||
|
color: rgba(228, 240, 240, 0.75);
|
||||||
|
background: rgba(66, 66, 64, 0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* background: rgba(245,245,240,0.6) url("../images/ui/sheet_background.webp") left top;*/
|
/* background: rgba(245,245,240,0.6) url("../images/ui/sheet_background.webp") left top;*/
|
||||||
|
19
templates/items/item-ability-sheet.hbs
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
|
<header class="sheet-header">
|
||||||
|
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||||
|
<div class="header-fields">
|
||||||
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
|
||||||
|
|
||||||
|
{{!-- Sheet Body --}}
|
||||||
|
<section class="sheet-body">
|
||||||
|
|
||||||
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</form>
|
@ -6,34 +6,38 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
|
||||||
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
|
|
||||||
<div class="tab" data-group="primary">
|
<div class="tab" data-group="primary">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Type</label>
|
<li class="flexrow"><label class="generic-label">Type</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="system.armortype" value="{{system.armortype}}" data-dtype="String"/>
|
<input type="text" class="padd-right" name="system.armortype" value="{{system.armortype}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{#each system.locations as |location key|}}
|
{{#each system.locations as |location key|}}
|
||||||
<li class="flexrow"><label class="generic-label">{{location.label}}</label>
|
<li class="flexrow">
|
||||||
<li class="flexrow"><label class="generic-label">Protected ?</label>
|
<label class="generic-label">{{locationLabel key}}</label>
|
||||||
|
<label class="generic-label">Protected ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="system.locations.{{key}}.protected" {{checked location.protected}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.locations.{{key}}.protected" {{checked location.protected}}/></label>
|
||||||
</li>
|
|
||||||
{{#if location.protected}}
|
{{#if location.protected}}
|
||||||
|
<li>
|
||||||
|
<ul class="ul-level1">
|
||||||
<li class="flexrow"><label class="generic-label">Protection (max)</label>
|
<li class="flexrow"><label class="generic-label">Protection (max)</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.max" value="{{location.max}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.max" value="{{location.max}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Protection (current)</label>
|
<li class="flexrow"><label class="generic-label">Protection (current)</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.value" value="{{location.value}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.value" value="{{location.value}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
||||||
|
25
templates/items/item-cyber-sheet.hbs
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
|
<header class="sheet-header">
|
||||||
|
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||||
|
<div class="header-fields">
|
||||||
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
|
||||||
|
|
||||||
|
{{!-- Sheet Body --}}
|
||||||
|
<section class="sheet-body">
|
||||||
|
|
||||||
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
|
<ul>
|
||||||
|
<li class="flexrow"><label class="generic-label">HUP</label>
|
||||||
|
<input type="text" class="" name="system.hup" value="{{system.hup}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</form>
|
@ -6,12 +6,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
|
25
templates/items/item-genetic-sheet.hbs
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
|
<header class="sheet-header">
|
||||||
|
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||||
|
<div class="header-fields">
|
||||||
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
|
||||||
|
|
||||||
|
{{!-- Sheet Body --}}
|
||||||
|
<section class="sheet-body">
|
||||||
|
|
||||||
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
|
<ul>
|
||||||
|
<li class="flexrow"><label class="generic-label">HUP</label>
|
||||||
|
<input type="text" class="" name="system.hup" value="{{system.hup}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</form>
|
@ -6,12 +6,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
|
19
templates/items/item-perk-sheet.hbs
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
|
<header class="sheet-header">
|
||||||
|
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||||
|
<div class="header-fields">
|
||||||
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
|
||||||
|
|
||||||
|
{{!-- Sheet Body --}}
|
||||||
|
<section class="sheet-body">
|
||||||
|
|
||||||
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</form>
|
@ -6,12 +6,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
|
||||||
|
|
||||||
|
|
||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
|
|
||||||
|