Various enhancements
This commit is contained in:
parent
dc4429f3e1
commit
e92b2deacf
@ -54,7 +54,7 @@ export class DarkStarsActorSheet extends ActorSheet {
|
|||||||
subActors: foundry.utils.duplicate(this.actor.getSubActors()),
|
subActors: foundry.utils.duplicate(this.actor.getSubActors()),
|
||||||
encCapacity: this.actor.getEncumbranceCapacity(),
|
encCapacity: this.actor.getEncumbranceCapacity(),
|
||||||
conditions: this.actor.getConditions(),
|
conditions: this.actor.getConditions(),
|
||||||
tasks: this.actor.getCumulativeTasks(),
|
extendedTests: this.actor.getExtendedTests(),
|
||||||
config: game.system.darkstars.config,
|
config: game.system.darkstars.config,
|
||||||
description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}),
|
description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}),
|
||||||
notes: await TextEditor.enrichHTML(this.object.system.biodata.notes, {async: true}),
|
notes: await TextEditor.enrichHTML(this.object.system.biodata.notes, {async: true}),
|
||||||
@ -151,11 +151,16 @@ export class DarkStarsActorSheet extends ActorSheet {
|
|||||||
const attrKey = $(event.currentTarget).data("attr-key")
|
const attrKey = $(event.currentTarget).data("attr-key")
|
||||||
this.actor.rollAttribute(attrKey)
|
this.actor.rollAttribute(attrKey)
|
||||||
})
|
})
|
||||||
html.find('.start-cumulative-task').click((event) => {
|
html.find('.start-extended-test').click((event) => {
|
||||||
const li = $(event.currentTarget).parents(".item")
|
const li = $(event.currentTarget).parents(".item")
|
||||||
const skillId = li.data("item-id")
|
const skillId = li.data("item-id")
|
||||||
this.actor.rollSkill(skillId, true)
|
this.actor.rollSkill(skillId, true)
|
||||||
})
|
})
|
||||||
|
html.find('.roll-extended-test').click((event) => {
|
||||||
|
const li = $(event.currentTarget).parents(".item")
|
||||||
|
const testId = li.data("item-id")
|
||||||
|
this.actor.continueExtendedTest(testId)
|
||||||
|
})
|
||||||
|
|
||||||
html.find('.roll-weapon').click((event) => {
|
html.find('.roll-weapon').click((event) => {
|
||||||
const li = $(event.currentTarget).parents(".item");
|
const li = $(event.currentTarget).parents(".item");
|
||||||
|
@ -138,8 +138,8 @@ export class DarkStarsActor extends Actor {
|
|||||||
DarkStarsUtility.sortArrayObjectsByName(comp)
|
DarkStarsUtility.sortArrayObjectsByName(comp)
|
||||||
return comp;
|
return comp;
|
||||||
}
|
}
|
||||||
getCumulativeTasks() {
|
getExtendedTests() {
|
||||||
let comp = foundry.utils.duplicate(this.items.filter(item => item.type == 'cumulativetask') || []);
|
let comp = foundry.utils.duplicate(this.items.filter(item => item.type == 'extendedtest') || []);
|
||||||
DarkStarsUtility.sortArrayObjectsByName(comp)
|
DarkStarsUtility.sortArrayObjectsByName(comp)
|
||||||
return comp;
|
return comp;
|
||||||
}
|
}
|
||||||
@ -266,7 +266,7 @@ export class DarkStarsActor extends Actor {
|
|||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async equipItem(itemId) {
|
async equipItem(itemId) {
|
||||||
let item = this.items.find(item => item.id == itemId)
|
let item = this.items.find(item => item.id == itemId)
|
||||||
if (item && item.system) {
|
if (item?.system) {
|
||||||
if (item.type == "armor") {
|
if (item.type == "armor") {
|
||||||
let armor = this.items.find(item => item.id != itemId && item.type == "armor" && item.system.equipped)
|
let armor = this.items.find(item => item.id != itemId && item.type == "armor" && item.system.equipped)
|
||||||
if (armor) {
|
if (armor) {
|
||||||
@ -634,16 +634,44 @@ export class DarkStarsActor extends Actor {
|
|||||||
rollData.title = "Attribute " + rollData.attr.label
|
rollData.title = "Attribute " + rollData.attr.label
|
||||||
this.startRoll(rollData)
|
this.startRoll(rollData)
|
||||||
}
|
}
|
||||||
|
/* -------------------------------------------- */
|
||||||
|
continueExtendedTest(testId) {
|
||||||
|
let test = this.items.get(testId)
|
||||||
|
if (test) {
|
||||||
|
let skill = this.items.find(it => it.type == "skill" && it.name.toLowerCase() == test.system.skill.toLowerCase())
|
||||||
|
if (skill) {
|
||||||
|
skill = foundry.utils.duplicate(skill)
|
||||||
|
this.updateSkill(skill)
|
||||||
|
let rollData = this.getCommonRollData()
|
||||||
|
rollData.mode = "extendedtest"
|
||||||
|
rollData.isExtended = true
|
||||||
|
rollData.extendedTest = test
|
||||||
|
rollData.title = "Extended test " + skill.name
|
||||||
|
rollData.skill = skill
|
||||||
|
rollData.img = skill.img
|
||||||
|
rollData.taskId = test.id
|
||||||
|
if (rollData.target) {
|
||||||
|
ui.notifications.warn("You are targetting a token with a skill : please use a Weapon instead.")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.startRoll(rollData)
|
||||||
|
} else {
|
||||||
|
console.log("Unable to find the relevant skill for extended test " + test.system.skill)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
console.log("Unable to find the extended test")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async rollSkill(skillId, isCumulative = false, taskId = undefined) {
|
async rollSkill(skillId, isExtended = false, taskId = undefined) {
|
||||||
let skill = this.items.get(skillId)
|
let skill = this.items.get(skillId)
|
||||||
if (skill) {
|
if (skill) {
|
||||||
skill = foundry.utils.duplicate(skill)
|
skill = foundry.utils.duplicate(skill)
|
||||||
this.updateSkill(skill)
|
this.updateSkill(skill)
|
||||||
let rollData = this.getCommonRollData()
|
let rollData = this.getCommonRollData()
|
||||||
rollData.mode = "skill"
|
rollData.mode = "skill"
|
||||||
rollData.isCumulative = isCumulative
|
rollData.isExtended = isExtended
|
||||||
rollData.title = "Skill " + skill.name
|
rollData.title = "Skill " + skill.name
|
||||||
rollData.skill = skill
|
rollData.skill = skill
|
||||||
rollData.img = skill.img
|
rollData.img = skill.img
|
||||||
@ -651,15 +679,15 @@ export class DarkStarsActor extends Actor {
|
|||||||
ui.notifications.warn("You are targetting a token with a skill : please use a Weapon instead.")
|
ui.notifications.warn("You are targetting a token with a skill : please use a Weapon instead.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (isCumulative) {
|
if (isExtended) {
|
||||||
rollData.title = "Cumulative Task " + skill.name
|
rollData.title = "Extended Test " + skill.name
|
||||||
if (!taskId) {
|
if (!taskId) {
|
||||||
let cumulativeTask = await this.createEmbeddedDocuments("Item", [{name: "Cumulative task " + skill.name, type: "cumulativetask",
|
let extendedTest = await this.createEmbeddedDocuments("Item", [{name: "Extended test " + skill.name, type: "extendedtest",
|
||||||
'system.skill': skill.name}])
|
'system.skill': skill.name}])
|
||||||
//console.log("Task", cumulativeTask)
|
//console.log("Task", cumulativeTask)
|
||||||
rollData.taskId = cumulativeTask[0].id
|
rollData.taskId = extendedTest[0].id
|
||||||
}else {
|
}else {
|
||||||
rollData.taskId = cumulativeTask[0].id
|
rollData.taskId = extendedTest[0].id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.startRoll(rollData)
|
this.startRoll(rollData)
|
||||||
|
@ -1 +1 @@
|
|||||||
MANIFEST-000184
|
MANIFEST-000208
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/06/09-22:14:13.855616 7f04234006c0 Recovering log #182
|
2024/06/12-11:13:40.413261 7f3f0d6006c0 Recovering log #206
|
||||||
2024/06/09-22:14:13.912791 7f04234006c0 Delete type=3 #180
|
2024/06/12-11:13:40.424230 7f3f0d6006c0 Delete type=3 #204
|
||||||
2024/06/09-22:14:13.912941 7f04234006c0 Delete type=0 #182
|
2024/06/12-11:13:40.424287 7f3f0d6006c0 Delete type=0 #206
|
||||||
2024/06/10-09:41:28.708545 7f041be006c0 Level-0 table #187: started
|
2024/06/12-11:16:23.489560 7f3f060006c0 Level-0 table #211: started
|
||||||
2024/06/10-09:41:28.708577 7f041be006c0 Level-0 table #187: 0 bytes OK
|
2024/06/12-11:16:23.489605 7f3f060006c0 Level-0 table #211: 0 bytes OK
|
||||||
2024/06/10-09:41:28.715216 7f041be006c0 Delete type=0 #185
|
2024/06/12-11:16:23.520840 7f3f060006c0 Delete type=0 #209
|
||||||
2024/06/10-09:41:28.728576 7f041be006c0 Manual compaction at level-0 from '!folders!MA6uFJMVebGeayIk' @ 72057594037927935 : 1 .. '!items!zhjdppKgrON7wJn7' @ 0 : 0; will stop at (end)
|
2024/06/12-11:16:23.590686 7f3f060006c0 Manual compaction at level-0 from '!folders!MA6uFJMVebGeayIk' @ 72057594037927935 : 1 .. '!items!zhjdppKgrON7wJn7' @ 0 : 0; will stop at (end)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/06/09-15:12:48.633006 7f0422a006c0 Recovering log #178
|
2024/06/12-11:13:16.247740 7f3f0ea006c0 Recovering log #202
|
||||||
2024/06/09-15:12:48.642816 7f0422a006c0 Delete type=3 #176
|
2024/06/12-11:13:16.258091 7f3f0ea006c0 Delete type=3 #200
|
||||||
2024/06/09-15:12:48.642870 7f0422a006c0 Delete type=0 #178
|
2024/06/12-11:13:16.258153 7f3f0ea006c0 Delete type=0 #202
|
||||||
2024/06/09-22:14:10.275844 7f041be006c0 Level-0 table #183: started
|
2024/06/12-11:13:34.719686 7f3f060006c0 Level-0 table #207: started
|
||||||
2024/06/09-22:14:10.275910 7f041be006c0 Level-0 table #183: 0 bytes OK
|
2024/06/12-11:13:34.719708 7f3f060006c0 Level-0 table #207: 0 bytes OK
|
||||||
2024/06/09-22:14:10.305783 7f041be006c0 Delete type=0 #181
|
2024/06/12-11:13:34.726803 7f3f060006c0 Delete type=0 #205
|
||||||
2024/06/09-22:14:10.338771 7f041be006c0 Manual compaction at level-0 from '!folders!MA6uFJMVebGeayIk' @ 72057594037927935 : 1 .. '!items!zhjdppKgrON7wJn7' @ 0 : 0; will stop at (end)
|
2024/06/12-11:13:34.733250 7f3f060006c0 Manual compaction at level-0 from '!folders!MA6uFJMVebGeayIk' @ 72057594037927935 : 1 .. '!items!zhjdppKgrON7wJn7' @ 0 : 0; will stop at (end)
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
MANIFEST-000177
|
MANIFEST-000201
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/06/09-22:14:13.916877 7f04220006c0 Recovering log #175
|
2024/06/12-11:13:40.426654 7f3f0ea006c0 Recovering log #199
|
||||||
2024/06/09-22:14:13.976920 7f04220006c0 Delete type=3 #173
|
2024/06/12-11:13:40.437435 7f3f0ea006c0 Delete type=3 #197
|
||||||
2024/06/09-22:14:13.977065 7f04220006c0 Delete type=0 #175
|
2024/06/12-11:13:40.437506 7f3f0ea006c0 Delete type=0 #199
|
||||||
2024/06/10-09:41:28.721432 7f041be006c0 Level-0 table #180: started
|
2024/06/12-11:16:23.521086 7f3f060006c0 Level-0 table #204: started
|
||||||
2024/06/10-09:41:28.721455 7f041be006c0 Level-0 table #180: 0 bytes OK
|
2024/06/12-11:16:23.521151 7f3f060006c0 Level-0 table #204: 0 bytes OK
|
||||||
2024/06/10-09:41:28.728421 7f041be006c0 Delete type=0 #178
|
2024/06/12-11:16:23.553911 7f3f060006c0 Delete type=0 #202
|
||||||
2024/06/10-09:41:28.728621 7f041be006c0 Manual compaction at level-0 from '!folders!47aGmBuk1mHtbFFU' @ 72057594037927935 : 1 .. '!items!zwMpjsE84sk26eej' @ 0 : 0; will stop at (end)
|
2024/06/12-11:16:23.590700 7f3f060006c0 Manual compaction at level-0 from '!folders!47aGmBuk1mHtbFFU' @ 72057594037927935 : 1 .. '!items!zwMpjsE84sk26eej' @ 0 : 0; will stop at (end)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/06/09-15:12:48.646030 7f04220006c0 Recovering log #171
|
2024/06/12-11:13:16.262812 7f3f0d6006c0 Recovering log #195
|
||||||
2024/06/09-15:12:48.657289 7f04220006c0 Delete type=3 #169
|
2024/06/12-11:13:16.272606 7f3f0d6006c0 Delete type=3 #193
|
||||||
2024/06/09-15:12:48.657351 7f04220006c0 Delete type=0 #171
|
2024/06/12-11:13:16.272662 7f3f0d6006c0 Delete type=0 #195
|
||||||
2024/06/09-22:14:10.305922 7f041be006c0 Level-0 table #176: started
|
2024/06/12-11:13:34.727044 7f3f060006c0 Level-0 table #200: started
|
||||||
2024/06/09-22:14:10.305944 7f041be006c0 Level-0 table #176: 0 bytes OK
|
2024/06/12-11:13:34.727098 7f3f060006c0 Level-0 table #200: 0 bytes OK
|
||||||
2024/06/09-22:14:10.338591 7f041be006c0 Delete type=0 #174
|
2024/06/12-11:13:34.733076 7f3f060006c0 Delete type=0 #198
|
||||||
2024/06/09-22:14:10.376968 7f041be006c0 Manual compaction at level-0 from '!folders!47aGmBuk1mHtbFFU' @ 72057594037927935 : 1 .. '!items!zwMpjsE84sk26eej' @ 0 : 0; will stop at (end)
|
2024/06/12-11:13:34.733265 7f3f060006c0 Manual compaction at level-0 from '!folders!47aGmBuk1mHtbFFU' @ 72057594037927935 : 1 .. '!items!zwMpjsE84sk26eej' @ 0 : 0; will stop at (end)
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
MANIFEST-000230
|
MANIFEST-000254
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/06/09-22:14:13.629087 7f04234006c0 Recovering log #228
|
2024/06/12-11:13:40.356313 7f3f0d6006c0 Recovering log #252
|
||||||
2024/06/09-22:14:13.682604 7f04234006c0 Delete type=3 #226
|
2024/06/12-11:13:40.366003 7f3f0d6006c0 Delete type=3 #250
|
||||||
2024/06/09-22:14:13.682717 7f04234006c0 Delete type=0 #228
|
2024/06/12-11:13:40.366126 7f3f0d6006c0 Delete type=0 #252
|
||||||
2024/06/10-09:41:28.681612 7f041be006c0 Level-0 table #233: started
|
2024/06/12-11:16:23.317811 7f3f060006c0 Level-0 table #257: started
|
||||||
2024/06/10-09:41:28.681700 7f041be006c0 Level-0 table #233: 0 bytes OK
|
2024/06/12-11:16:23.317841 7f3f060006c0 Level-0 table #257: 0 bytes OK
|
||||||
2024/06/10-09:41:28.688115 7f041be006c0 Delete type=0 #231
|
2024/06/12-11:16:23.355645 7f3f060006c0 Delete type=0 #255
|
||||||
2024/06/10-09:41:28.708370 7f041be006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
2024/06/12-11:16:23.460439 7f3f060006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/06/09-15:12:48.575130 7f0422a006c0 Recovering log #224
|
2024/06/12-11:13:16.189039 7f3f0ea006c0 Recovering log #248
|
||||||
2024/06/09-15:12:48.586449 7f0422a006c0 Delete type=3 #222
|
2024/06/12-11:13:16.200829 7f3f0ea006c0 Delete type=3 #246
|
||||||
2024/06/09-15:12:48.586519 7f0422a006c0 Delete type=0 #224
|
2024/06/12-11:13:16.200927 7f3f0ea006c0 Delete type=0 #248
|
||||||
2024/06/09-22:14:10.136453 7f041be006c0 Level-0 table #229: started
|
2024/06/12-11:13:34.657802 7f3f060006c0 Level-0 table #253: started
|
||||||
2024/06/09-22:14:10.136510 7f041be006c0 Level-0 table #229: 0 bytes OK
|
2024/06/12-11:13:34.657837 7f3f060006c0 Level-0 table #253: 0 bytes OK
|
||||||
2024/06/09-22:14:10.178843 7f041be006c0 Delete type=0 #227
|
2024/06/12-11:13:34.663971 7f3f060006c0 Delete type=0 #251
|
||||||
2024/06/09-22:14:10.237058 7f041be006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
2024/06/12-11:13:34.681143 7f3f060006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||||
|
Binary file not shown.
BIN
packs/conditions/MANIFEST-000254
Normal file
BIN
packs/conditions/MANIFEST-000254
Normal file
Binary file not shown.
@ -1 +1 @@
|
|||||||
MANIFEST-000230
|
MANIFEST-000254
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/06/09-22:14:13.684410 7f04220006c0 Recovering log #228
|
2024/06/12-11:13:40.368093 7f3f0ea006c0 Recovering log #252
|
||||||
2024/06/09-22:14:13.738438 7f04220006c0 Delete type=3 #226
|
2024/06/12-11:13:40.379978 7f3f0ea006c0 Delete type=3 #250
|
||||||
2024/06/09-22:14:13.738501 7f04220006c0 Delete type=0 #228
|
2024/06/12-11:13:40.380078 7f3f0ea006c0 Delete type=0 #252
|
||||||
2024/06/10-09:41:28.695535 7f041be006c0 Level-0 table #233: started
|
2024/06/12-11:16:23.408873 7f3f060006c0 Level-0 table #257: started
|
||||||
2024/06/10-09:41:28.695561 7f041be006c0 Level-0 table #233: 0 bytes OK
|
2024/06/12-11:16:23.408929 7f3f060006c0 Level-0 table #257: 0 bytes OK
|
||||||
2024/06/10-09:41:28.701707 7f041be006c0 Delete type=0 #231
|
2024/06/12-11:16:23.460072 7f3f060006c0 Delete type=0 #255
|
||||||
2024/06/10-09:41:28.708395 7f041be006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
2024/06/12-11:16:23.460493 7f3f060006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/06/09-15:12:48.588970 7f04220006c0 Recovering log #224
|
2024/06/12-11:13:16.204139 7f3f0d6006c0 Recovering log #248
|
||||||
2024/06/09-15:12:48.599090 7f04220006c0 Delete type=3 #222
|
2024/06/12-11:13:16.215399 7f3f0d6006c0 Delete type=3 #246
|
||||||
2024/06/09-15:12:48.599210 7f04220006c0 Delete type=0 #224
|
2024/06/12-11:13:16.215490 7f3f0d6006c0 Delete type=0 #248
|
||||||
2024/06/09-22:14:10.179007 7f041be006c0 Level-0 table #229: started
|
2024/06/12-11:13:34.692534 7f3f060006c0 Level-0 table #253: started
|
||||||
2024/06/09-22:14:10.179038 7f041be006c0 Level-0 table #229: 0 bytes OK
|
2024/06/12-11:13:34.692577 7f3f060006c0 Level-0 table #253: 0 bytes OK
|
||||||
2024/06/09-22:14:10.207646 7f041be006c0 Delete type=0 #227
|
2024/06/12-11:13:34.698872 7f3f060006c0 Delete type=0 #251
|
||||||
2024/06/09-22:14:10.275783 7f041be006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
2024/06/12-11:13:34.713306 7f3f060006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||||
|
Binary file not shown.
BIN
packs/currency/MANIFEST-000254
Normal file
BIN
packs/currency/MANIFEST-000254
Normal file
Binary file not shown.
@ -1 +1 @@
|
|||||||
MANIFEST-000042
|
MANIFEST-000066
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
2024/06/09-22:14:13.796638 7f04234006c0 Recovering log #40
|
2024/06/12-11:13:40.398008 7f3f0d6006c0 Recovering log #64
|
||||||
2024/06/09-22:14:13.848675 7f04234006c0 Delete type=3 #38
|
2024/06/12-11:13:40.408278 7f3f0d6006c0 Delete type=3 #62
|
||||||
2024/06/09-22:14:13.848823 7f04234006c0 Delete type=0 #40
|
2024/06/12-11:13:40.408353 7f3f0d6006c0 Delete type=0 #64
|
||||||
2024/06/10-09:41:28.701835 7f041be006c0 Level-0 table #45: started
|
2024/06/12-11:16:23.554104 7f3f060006c0 Level-0 table #69: started
|
||||||
2024/06/10-09:41:28.701863 7f041be006c0 Level-0 table #45: 0 bytes OK
|
2024/06/12-11:16:23.554144 7f3f060006c0 Level-0 table #69: 0 bytes OK
|
||||||
2024/06/10-09:41:28.708242 7f041be006c0 Delete type=0 #43
|
2024/06/12-11:16:23.590465 7f3f060006c0 Delete type=0 #67
|
||||||
2024/06/10-09:41:28.708405 7f041be006c0 Manual compaction at level-0 from '!folders!La3YsNYFddQnmsba' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
2024/06/12-11:16:23.590737 7f3f060006c0 Manual compaction at level-0 from '!folders!La3YsNYFddQnmsba' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
||||||
2024/06/10-09:41:28.708427 7f041be006c0 Manual compaction at level-1 from '!folders!La3YsNYFddQnmsba' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
2024/06/12-11:16:23.590756 7f3f060006c0 Manual compaction at level-1 from '!folders!La3YsNYFddQnmsba' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
2024/06/09-15:12:48.617616 7f0422a006c0 Recovering log #36
|
2024/06/12-11:13:16.233304 7f3f0ea006c0 Recovering log #60
|
||||||
2024/06/09-15:12:48.628378 7f0422a006c0 Delete type=3 #34
|
2024/06/12-11:13:16.243341 7f3f0ea006c0 Delete type=3 #58
|
||||||
2024/06/09-15:12:48.628495 7f0422a006c0 Delete type=0 #36
|
2024/06/12-11:13:16.243395 7f3f0ea006c0 Delete type=0 #60
|
||||||
2024/06/09-22:14:10.237082 7f041be006c0 Level-0 table #41: started
|
2024/06/12-11:13:34.713340 7f3f060006c0 Level-0 table #65: started
|
||||||
2024/06/09-22:14:10.237123 7f041be006c0 Level-0 table #41: 0 bytes OK
|
2024/06/12-11:13:34.713379 7f3f060006c0 Level-0 table #65: 0 bytes OK
|
||||||
2024/06/09-22:14:10.275511 7f041be006c0 Delete type=0 #39
|
2024/06/12-11:13:34.719558 7f3f060006c0 Delete type=0 #63
|
||||||
2024/06/09-22:14:10.305901 7f041be006c0 Manual compaction at level-0 from '!folders!La3YsNYFddQnmsba' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
2024/06/12-11:13:34.733213 7f3f060006c0 Manual compaction at level-0 from '!folders!La3YsNYFddQnmsba' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
||||||
2024/06/09-22:14:10.338791 7f041be006c0 Manual compaction at level-1 from '!folders!La3YsNYFddQnmsba' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
2024/06/12-11:13:34.733290 7f3f060006c0 Manual compaction at level-1 from '!folders!La3YsNYFddQnmsba' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
||||||
|
Binary file not shown.
BIN
packs/darkstars-sf/MANIFEST-000066
Normal file
BIN
packs/darkstars-sf/MANIFEST-000066
Normal file
Binary file not shown.
@ -1 +1 @@
|
|||||||
MANIFEST-000197
|
MANIFEST-000221
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/06/09-22:14:13.982525 7f04234006c0 Recovering log #195
|
2024/06/12-11:13:40.440639 7f3f0d6006c0 Recovering log #219
|
||||||
2024/06/09-22:14:14.045462 7f04234006c0 Delete type=3 #193
|
2024/06/12-11:13:40.450523 7f3f0d6006c0 Delete type=3 #217
|
||||||
2024/06/09-22:14:14.045536 7f04234006c0 Delete type=0 #195
|
2024/06/12-11:13:40.450593 7f3f0d6006c0 Delete type=0 #219
|
||||||
2024/06/10-09:41:28.715334 7f041be006c0 Level-0 table #200: started
|
2024/06/12-11:16:23.645974 7f3f060006c0 Level-0 table #224: started
|
||||||
2024/06/10-09:41:28.715357 7f041be006c0 Level-0 table #200: 0 bytes OK
|
2024/06/12-11:16:23.646004 7f3f060006c0 Level-0 table #224: 0 bytes OK
|
||||||
2024/06/10-09:41:28.721312 7f041be006c0 Delete type=0 #198
|
2024/06/12-11:16:23.683161 7f3f060006c0 Delete type=0 #222
|
||||||
2024/06/10-09:41:28.728591 7f041be006c0 Manual compaction at level-0 from '!folders!2iZtDz80npHPIwkS' @ 72057594037927935 : 1 .. '!items!zyFR9C1jBTeFzbxg' @ 0 : 0; will stop at (end)
|
2024/06/12-11:16:23.683408 7f3f060006c0 Manual compaction at level-0 from '!folders!2iZtDz80npHPIwkS' @ 72057594037927935 : 1 .. '!items!zyFR9C1jBTeFzbxg' @ 0 : 0; will stop at (end)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
2024/06/09-15:12:48.661428 7f0422a006c0 Recovering log #191
|
2024/06/12-11:13:16.276335 7f3f0ea006c0 Recovering log #215
|
||||||
2024/06/09-15:12:48.671794 7f0422a006c0 Delete type=3 #189
|
2024/06/12-11:13:16.287074 7f3f0ea006c0 Delete type=3 #213
|
||||||
2024/06/09-15:12:48.671874 7f0422a006c0 Delete type=0 #191
|
2024/06/12-11:13:16.287130 7f3f0ea006c0 Delete type=0 #215
|
||||||
2024/06/09-22:14:10.338805 7f041be006c0 Level-0 table #196: started
|
2024/06/12-11:13:34.733411 7f3f060006c0 Level-0 table #220: started
|
||||||
2024/06/09-22:14:10.338838 7f041be006c0 Level-0 table #196: 0 bytes OK
|
2024/06/12-11:13:34.733492 7f3f060006c0 Level-0 table #220: 0 bytes OK
|
||||||
2024/06/09-22:14:10.376746 7f041be006c0 Delete type=0 #194
|
2024/06/12-11:13:34.741601 7f3f060006c0 Delete type=0 #218
|
||||||
2024/06/09-22:14:10.376994 7f041be006c0 Manual compaction at level-0 from '!folders!2iZtDz80npHPIwkS' @ 72057594037927935 : 1 .. '!items!zyFR9C1jBTeFzbxg' @ 0 : 0; will stop at (end)
|
2024/06/12-11:13:34.741825 7f3f060006c0 Manual compaction at level-0 from '!folders!2iZtDz80npHPIwkS' @ 72057594037927935 : 1 .. '!items!zyFR9C1jBTeFzbxg' @ 0 : 0; will stop at (end)
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
MANIFEST-000034
|
MANIFEST-000058
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
2024/06/09-22:14:13.740220 7f04234006c0 Recovering log #32
|
2024/06/12-11:13:40.382275 7f3f0d6006c0 Recovering log #56
|
||||||
2024/06/09-22:14:13.790228 7f04234006c0 Delete type=3 #30
|
2024/06/12-11:13:40.392775 7f3f0d6006c0 Delete type=3 #54
|
||||||
2024/06/09-22:14:13.790339 7f04234006c0 Delete type=0 #32
|
2024/06/12-11:13:40.392833 7f3f0d6006c0 Delete type=0 #56
|
||||||
2024/06/10-09:41:28.688322 7f041be006c0 Level-0 table #37: started
|
2024/06/12-11:16:23.460642 7f3f060006c0 Level-0 table #61: started
|
||||||
2024/06/10-09:41:28.688366 7f041be006c0 Level-0 table #37: 0 bytes OK
|
2024/06/12-11:16:23.460722 7f3f060006c0 Level-0 table #61: 0 bytes OK
|
||||||
2024/06/10-09:41:28.695417 7f041be006c0 Delete type=0 #35
|
2024/06/12-11:16:23.489273 7f3f060006c0 Delete type=0 #59
|
||||||
2024/06/10-09:41:28.708385 7f041be006c0 Manual compaction at level-0 from '!folders!0XjcJyQMCVYU611t' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
2024/06/12-11:16:23.590665 7f3f060006c0 Manual compaction at level-0 from '!folders!0XjcJyQMCVYU611t' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
||||||
2024/06/10-09:41:28.708412 7f041be006c0 Manual compaction at level-1 from '!folders!0XjcJyQMCVYU611t' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
2024/06/12-11:16:23.590714 7f3f060006c0 Manual compaction at level-1 from '!folders!0XjcJyQMCVYU611t' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
2024/06/09-15:12:48.601801 7f0422a006c0 Recovering log #28
|
2024/06/12-11:13:16.217842 7f3f0ea006c0 Recovering log #52
|
||||||
2024/06/09-15:12:48.612089 7f0422a006c0 Delete type=3 #26
|
2024/06/12-11:13:16.227586 7f3f0ea006c0 Delete type=3 #50
|
||||||
2024/06/09-15:12:48.612161 7f0422a006c0 Delete type=0 #28
|
2024/06/12-11:13:16.227643 7f3f0ea006c0 Delete type=0 #52
|
||||||
2024/06/09-22:14:10.207782 7f041be006c0 Level-0 table #33: started
|
2024/06/12-11:13:34.706400 7f3f060006c0 Level-0 table #57: started
|
||||||
2024/06/09-22:14:10.207808 7f041be006c0 Level-0 table #33: 0 bytes OK
|
2024/06/12-11:13:34.706452 7f3f060006c0 Level-0 table #57: 0 bytes OK
|
||||||
2024/06/09-22:14:10.236857 7f041be006c0 Delete type=0 #31
|
2024/06/12-11:13:34.713151 7f3f060006c0 Delete type=0 #55
|
||||||
2024/06/09-22:14:10.275812 7f041be006c0 Manual compaction at level-0 from '!folders!0XjcJyQMCVYU611t' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
2024/06/12-11:13:34.719676 7f3f060006c0 Manual compaction at level-0 from '!folders!0XjcJyQMCVYU611t' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
||||||
2024/06/09-22:14:10.305912 7f041be006c0 Manual compaction at level-1 from '!folders!0XjcJyQMCVYU611t' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
2024/06/12-11:13:34.733233 7f3f060006c0 Manual compaction at level-1 from '!folders!0XjcJyQMCVYU611t' @ 72057594037927935 : 1 .. '!items!zzDfuUJpQzzz262R' @ 0 : 0; will stop at (end)
|
||||||
|
Binary file not shown.
BIN
packs/sprawl/MANIFEST-000058
Normal file
BIN
packs/sprawl/MANIFEST-000058
Normal file
Binary file not shown.
0
packs/tables/000004.log
Normal file
0
packs/tables/000004.log
Normal file
BIN
packs/tables/000005.ldb
Normal file
BIN
packs/tables/000005.ldb
Normal file
Binary file not shown.
1
packs/tables/CURRENT
Normal file
1
packs/tables/CURRENT
Normal file
@ -0,0 +1 @@
|
|||||||
|
MANIFEST-000002
|
0
packs/tables/LOCK
Normal file
0
packs/tables/LOCK
Normal file
5
packs/tables/LOG
Normal file
5
packs/tables/LOG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
2024/06/12-11:13:40.470344 7f3f0cc006c0 Delete type=3 #1
|
||||||
|
2024/06/12-11:16:23.590854 7f3f060006c0 Level-0 table #5: started
|
||||||
|
2024/06/12-11:16:23.609006 7f3f060006c0 Level-0 table #5: 2739 bytes OK
|
||||||
|
2024/06/12-11:16:23.645817 7f3f060006c0 Delete type=0 #3
|
||||||
|
2024/06/12-11:16:23.683365 7f3f060006c0 Manual compaction at level-0 from '!tables!8kvF6sVAF7iLt0Kg' @ 72057594037927935 : 1 .. '!tables.results!rnt5wvIIwHrTIs0y.wIvaW5jjuw7mp7s3' @ 0 : 0; will stop at (end)
|
BIN
packs/tables/MANIFEST-000002
Normal file
BIN
packs/tables/MANIFEST-000002
Normal file
Binary file not shown.
21
system.json
21
system.json
@ -9,8 +9,10 @@
|
|||||||
"esmodules": [
|
"esmodules": [
|
||||||
"modules/dark-stars-main.js"
|
"modules/dark-stars-main.js"
|
||||||
],
|
],
|
||||||
"gridDistance": 5,
|
"gid": {
|
||||||
"gridUnits": "m",
|
"distance": 5,
|
||||||
|
"units": "m"
|
||||||
|
},
|
||||||
"languages": [
|
"languages": [
|
||||||
{
|
{
|
||||||
"lang": "en",
|
"lang": "en",
|
||||||
@ -83,6 +85,15 @@
|
|||||||
"system": "fvtt-dark-stars",
|
"system": "fvtt-dark-stars",
|
||||||
"private": false,
|
"private": false,
|
||||||
"flags": {}
|
"flags": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "RollTable",
|
||||||
|
"label": "Tables",
|
||||||
|
"name": "tables",
|
||||||
|
"path": "packs/tables",
|
||||||
|
"system": "fvtt-dark-stars",
|
||||||
|
"private": false,
|
||||||
|
"flags": {}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"primaryTokenAttribute": "secondary.hp",
|
"primaryTokenAttribute": "secondary.hp",
|
||||||
@ -91,14 +102,14 @@
|
|||||||
"styles": [
|
"styles": [
|
||||||
"styles/simple.css"
|
"styles/simple.css"
|
||||||
],
|
],
|
||||||
"version": "11.0.21",
|
"version": "12.0.0",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "11",
|
"minimum": "11",
|
||||||
"verified": "11"
|
"verified": "12"
|
||||||
},
|
},
|
||||||
"title": "Dark Stars RPG",
|
"title": "Dark Stars RPG",
|
||||||
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-dark-stars/raw/branch/main/system.json",
|
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-dark-stars/raw/branch/main/system.json",
|
||||||
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-dark-stars/archive/fvtt-dark-stars-v11.0.21.zip",
|
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-dark-stars/archive/fvtt-dark-stars-v12.0.0.zip",
|
||||||
"url": "https://www.uberwald.me/gitea/uberwald/",
|
"url": "https://www.uberwald.me/gitea/uberwald/",
|
||||||
"background": "images/ui/dark_stars_welcome_page.webp",
|
"background": "images/ui/dark_stars_welcome_page.webp",
|
||||||
"id": "fvtt-dark-stars",
|
"id": "fvtt-dark-stars",
|
||||||
|
@ -278,7 +278,7 @@
|
|||||||
"Item": {
|
"Item": {
|
||||||
"types": [
|
"types": [
|
||||||
"skill",
|
"skill",
|
||||||
"cumulativetask",
|
"extendedtest",
|
||||||
"perk",
|
"perk",
|
||||||
"ability",
|
"ability",
|
||||||
"armor",
|
"armor",
|
||||||
@ -306,7 +306,7 @@
|
|||||||
"signs": 0,
|
"signs": 0,
|
||||||
"cherisheditems": 0
|
"cherisheditems": 0
|
||||||
},
|
},
|
||||||
"cumulativetask": {
|
"extendedtest": {
|
||||||
"cumulated": 0,
|
"cumulated": 0,
|
||||||
"nbrolls": 0,
|
"nbrolls": 0,
|
||||||
"skill": "",
|
"skill": "",
|
||||||
|
@ -134,7 +134,7 @@
|
|||||||
<span class="item-field-label-short">{{skill.system.bonus}}</span>
|
<span class="item-field-label-short">{{skill.system.bonus}}</span>
|
||||||
<span class="item-field-label-medium">{{skill.total}}%</span>
|
<span class="item-field-label-medium">{{skill.total}}%</span>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" class="skill-used-id" {{checked skill.system.used}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" class="skill-used-id" {{checked skill.system.used}}/></label>
|
||||||
<span class="item-field-label-short" data-tooltip="Start a cumulative task"><a class="start-cumulative-task"><i class="fa-solid fa-circle-plus"></i></a></span>
|
<span class="item-field-label-short" data-tooltip="Start an Extended Test"><a class="start-extended-test"><i class="fa-solid fa-circle-plus"></i></a></span>
|
||||||
<div class="item-controls item-controls-fixed">
|
<div class="item-controls item-controls-fixed">
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -160,14 +160,14 @@
|
|||||||
<label class="short-label"> </label>
|
<label class="short-label"> </label>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
{{#each tasks as |task key|}}
|
{{#each extendedTests as |test key|}}
|
||||||
<li class="item flexrow list-item list-item-shadow" data-item-id="{{task._id}}">
|
<li class="item flexrow list-item list-item-shadow" data-item-id="{{test._id}}">
|
||||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{task.img}}" />
|
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{test.img}}" />
|
||||||
</a>
|
</a>
|
||||||
<span class="item-field-label-vlong2"><i class="fa-solid fa-dice-d10"></i><a class="roll-skill">{{task.name}}</a></span>
|
<span class="item-field-label-vlong2"><i class="fa-solid fa-dice-d10"></i><a class="roll-extended-test">{{test.name}}</a></span>
|
||||||
<span class="item-field-label-long">{{task.system.skill}}</span>
|
<span class="item-field-label-long">{{test.system.skill}}</span>
|
||||||
<span class="item-field-label-short">{{task.system.nbrolls}}</span>
|
<span class="item-field-label-short">{{test.system.nbrolls}}</span>
|
||||||
<span class="item-field-label-short">{{task.system.cumulated}}</span>
|
<span class="item-field-label-short">{{test.system.cumulated}}</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </div>
|
||||||
|
|
||||||
<div class="item-controls item-controls-fixed">
|
<div class="item-controls item-controls-fixed">
|
||||||
|
@ -41,15 +41,7 @@
|
|||||||
|
|
||||||
<li>Target Number: {{percentValue}}% </li>
|
<li>Target Number: {{percentValue}}% </li>
|
||||||
<li>Result: {{diceResult}} </li>
|
<li>Result: {{diceResult}} </li>
|
||||||
<li class="flexrow gm-actions">
|
<li>Degrees: {{degrees}} </li>
|
||||||
<span>Degrees: {{degrees}}</span>
|
|
||||||
<a class="chat-roll-opposed">
|
|
||||||
<span data-tooltip="Opposed" class="roll-opposed-icon fa-stack fa-1x">
|
|
||||||
<i class="fa-thin fa-square fa-stack-1x"></i>
|
|
||||||
<i class="fa-solid fa-arrow-right-arrow-left fa-stack-1x "></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
{{#if taskId}}
|
{{#if taskId}}
|
||||||
<li>Task : {{taskName}}</li>
|
<li>Task : {{taskName}}</li>
|
||||||
@ -89,9 +81,23 @@
|
|||||||
<li>Penetration : {{mul weapon.system.penetrationmin damageMultiplier}} - {{mul weapon.system.penetrationmax damageMultiplier}}</li>
|
<li>Penetration : {{mul weapon.system.penetrationmin damageMultiplier}} - {{mul weapon.system.penetrationmax damageMultiplier}}</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if (and (not isSuccess) rerolls)}}
|
<li class="flex-group-left">
|
||||||
<button class="chat-card-button chat-reroll">Reroll !</button>
|
<a class="chat-roll-opposed gm-actions">
|
||||||
{{/if}}
|
<span data-tooltip="Opposed" class="roll-opposed-icon fa-stack fa-1x">
|
||||||
|
<i class="fa-thin fa-square fa-stack-1x"></i>
|
||||||
|
<i class="fa-solid fa-arrow-right-arrow-left fa-stack-1x "></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<span> </span>
|
||||||
|
{{#if (and (not isSuccess) rerolls)}}
|
||||||
|
<a class="chat-reroll">
|
||||||
|
<span data-tooltip="Reroll" class="roll-opposed-icon fa-stack fa-1x">
|
||||||
|
<i class="fa-thin fa-square fa-stack-1x"></i>
|
||||||
|
<i class="fa-solid fa-arrows-rotate fa-stack-1x"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
{{/if}}
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user