Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add ship context to position rolls and display of total armor #1548

Merged
merged 13 commits into from
Mar 11, 2024
Merged
29 changes: 24 additions & 5 deletions src/module/entities/TwodsixActor.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck This turns off *all* typechecking, make sure to remove this once foundry-vtt-types are updated to cover v10.

import { calcModFor, getKeyByValue } from "../utils/sheetUtils";
import { calcModFor, getDamageTypes, getKeyByValue } from "../utils/sheetUtils";
import { TWODSIX } from "../config";
import { TwodsixRollSettings} from "../utils/TwodsixRollSettings";
import { TwodsixDiceRoll } from "../utils/TwodsixDiceRoll";
Expand Down Expand Up @@ -96,6 +96,7 @@ export default class TwodsixActor extends Actor {
system.skills = new Proxy(Object.fromEntries(actorSkills), handler);
system.encumbrance.max = this.getMaxEncumbrance();
system.encumbrance.value = this.getActorEncumbrance();

if (this.type === 'traveller') {
const armorValues = this.getArmorValues();
system.primaryArmor.value = armorValues.primaryArmor;
Expand All @@ -105,8 +106,14 @@ export default class TwodsixActor extends Actor {
system.wearingNonstackable = armorValues.wearingNonstackable;
system.armorType = armorValues.CTLabel;
system.reflectOn = armorValues.reflectOn;
system.protectionTypes = armorValues.protectionTypes.length > 0 ? ": " + armorValues.protectionTypes.join(', ') : "";
system.totalArmor = armorValues.totalArmor;
}
const baseArmor = system.primaryArmor.value;
await this._updateActiveEffects(true);
if (this.type === 'traveller' && this.overrides.system?.primaryArmor?.value) {
system.totalArmor += this.overrides.system.primaryArmor.value - baseArmor;
}
}
/**
* Method to evaluate the armor and radiation protection values for all armor worn.
Expand All @@ -121,10 +128,13 @@ export default class TwodsixActor extends Actor {
layersWorn: 0,
wearingNonstackable: false,
CTLabel: "nothing",
reflectOn: false
reflectOn: false,
protectionTypes: [] as string[],
totalArmor: 0
};
const armorItems = this.itemTypes.armor;
const useMaxArmorValue = game.settings.get('twodsix', 'useMaxArmorValue');
const damageTypes = getDamageTypes(false);

for (const armor of armorItems) {
if (armor.system.equipped === "equipped") {
Expand All @@ -133,17 +143,26 @@ export default class TwodsixActor extends Actor {
} else {
returnValue.CTLabel = armor.system.armorType;
}

const totalArmor:number = armor.system.secondaryArmor.value + armor.system.armor;
const protectionDetails:string[] = armor.system.secondaryArmor.protectionTypes.map((type:string) => `${damageTypes[type]}`);
if (useMaxArmorValue) {
returnValue.primaryArmor = Math.max(armor.system.armor, returnValue.primaryArmor);
returnValue.secondaryArmor = Math.max(armor.system.secondaryArmor.value, returnValue.secondaryArmor);
if (totalArmor > returnValue.totalArmor) {
returnValue.secondaryArmor = armor.system.secondaryArmor.value;
returnValue.totalArmor = totalArmor;
}
returnValue.radiationProtection = Math.max(armor.system.radiationProtection.value, returnValue.radiationProtection);
} else {
returnValue.primaryArmor += armor.system.armor;
returnValue.secondaryArmor += armor.system.secondaryArmor.value;
returnValue.totalArmor += totalArmor;
returnValue.radiationProtection += armor.system.radiationProtection.value;
}

protectionDetails.forEach((type:string) => {
if (!returnValue.protectionTypes.includes(type)) {
returnValue.protectionTypes.push(type);
}
});
returnValue.layersWorn += 1;
if (armor.system.nonstackable) {
returnValue.wearingNonstackable = true;
Expand Down
1 change: 1 addition & 0 deletions src/module/handlebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ export default function registerHandlebarsHelpers(): void {
if (actor) {
const modes = [`<i class="fa-regular fa-circle-question"></i>`, `<i class="fa-regular fa-circle-xmark"></i>`, `<i class="fa-solid fa-circle-plus"></i>`, `<i class="fa-regular fa-circle-down"></i>`, `<i class="fa-regular fa-circle-up"></i>`, `<i class="fa-solid fa-shuffle"></i>`];
if (getProperty(actor.overrides, field) !== undefined) {
returnValue += field.includes('Armor') && actor.type === 'traveller' ? `- ` : ``;
const baseText = game.i18n.localize("TWODSIX.ActiveEffects.BaseValue");
const modifierText = game.i18n.localize("TWODSIX.ActiveEffects.Modifiers");
const baseValue = getProperty(actor._source, field);
Expand Down
1 change: 1 addition & 0 deletions src/module/settings/DisplaySettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export default class DisplaySettings extends AdvancedSettings {
settings.actor.push(booleanSetting('showSkillGroups', false));
settings.ship.push(stringSetting('jDriveLabel', "TWODSIX.Ship.JDrive", false, "world", updateJDrive, true));
settings.ship.push(booleanSetting('showCostInsteadOfWeight', false));
settings.actor.push(booleanSetting('showTotalArmor', false));
return settings;
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/module/sheets/TwodsixActorSheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export class TwodsixActorSheet extends AbstractTwodsixActorSheet {
useCEAutofireRules: game.settings.get('twodsix', 'autofireRulesUsed') === TWODSIX.RULESETS.CE.key,
useCTAutofireRules: game.settings.get('twodsix', 'autofireRulesUsed') === TWODSIX.RULESETS.CT.key,
useCELAutofireRules: game.settings.get('twodsix', 'autofireRulesUsed') === TWODSIX.RULESETS.CEL.key,
useCTData: game.settings.get('twodsix', 'rangeModifierType') === 'CT_Bands' || game.settings.get('twodsix', 'ruleset') === 'CT'
useCTData: game.settings.get('twodsix', 'rangeModifierType') === 'CT_Bands' || game.settings.get('twodsix', 'ruleset') === 'CT',
showTotalArmor: game.settings.get('twodsix', 'showTotalArmor')
};

returnData.ACTIVE_EFFECT_MODES = Object.entries(CONST.ACTIVE_EFFECT_MODES).reduce((ret, entry) => {
Expand Down
13 changes: 8 additions & 5 deletions src/module/utils/TwodsixShipActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,22 @@ export class TwodsixShipActions {
}
};

public static async chatMessage(msgStr: string, extra: ExtraData) {
public static async chatMessage(msgStr: string, extra: ExtraData): Promise<any> {
const speakerData = ChatMessage.getSpeaker({ actor: extra.actor });
if (msgStr.startsWith("/r") || msgStr.startsWith("/R")) {
let rollText = msgStr.substring(msgStr.indexOf(' ') + 1); /* return roll formula after first space */
const parsedText: string[] = msgStr.split('#');
let rollText: string = parsedText[0].substring(msgStr.indexOf(' ') + 1).trim();
const flavorText: string = parsedText.length > 1 ? parsedText[1].trim() : game.i18n.localize("TWODSIX.Ship.MakesChatRollAction").replace( "_ACTION_NAME_", extra.actionName || game.i18n.localize("TWODSIX.Ship.Unknown")).replace("_POSITION_NAME_", (extra.positionName || game.i18n.localize("TWODSIX.Ship.Unknown")));

const useInvertedShiftClick: boolean = (<boolean>game.settings.get('twodsix', 'invertSkillRollShiftClick'));
const showRollDiag = useInvertedShiftClick ? extra.event["shiftKey"] : !extra.event["shiftKey"];
if(showRollDiag) {
rollText = await confirmRollFormula(rollText, (extra.positionName + " " + game.i18n.localize("TWODSIX.Ship.ActionRollFormula")));
}
if (Roll.validate(rollText)) {
const rollData = extra.actor?.getRollData();
const flavorTxt:string = game.i18n.localize("TWODSIX.Ship.MakesChatRollAction").replace( "_ACTION_NAME_", extra.actionName || game.i18n.localize("TWODSIX.Ship.Unknown")).replace("_POSITION_NAME_", (extra.positionName || game.i18n.localize("TWODSIX.Ship.Unknown")));
const msg = await new Roll(rollText, rollData).toMessage({speaker: speakerData, flavor: flavorTxt, type: CONST.CHAT_MESSAGE_TYPES.ROLL});
const rollData = extra.actor.getRollData() ?? {};
Object.assign(rollData, {ship: extra.ship.getRollData()});
const msg = await new Roll(rollText, rollData).toMessage({speaker: speakerData, flavor: flavorText, type: CONST.CHAT_MESSAGE_TYPES.ROLL});
return msg;
}
}
Expand Down
1 change: 1 addition & 0 deletions src/types/twodsix.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ declare global {
'twodsix.NoDuplicatesOnHotbar': boolean;
'twodsix.jDriveLabel': string;
'twodsix.showCostInsteadOfWeight': boolean;
'twodsix.showTotalArmor': boolean;
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions static/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@
"DeleteReference": "Delete Reference",
"Armor": {
"Armor": "Armor",
"PrimaryArmor": "Primary Armor",
"SecondaryArmor": "Secondary Armor",
"TotalArmor": "Total Armor",
"RadProt": "Rad Protection",
"IsPowered": "Powered Armor",
"Nonstackable": "Non-stackable",
Expand Down Expand Up @@ -1383,6 +1385,10 @@
"hint": "Override the degree of success to be exceptional on a natural 2 or 12 - independent of effect.",
"name": "Override degree of success on critical roll (2 or 12)"
},
"showTotalArmor": {
"hint": "Display the total armor value (promary + secondary values) instead of the secondary armor value for Traveller sheet.",
"name": "Display total armor value on Traveller"
},
"defaultDamageOptions": "Ballistic, Bludgeoning, Corrosive, EMP, Energy, Fire, Laser, Piercing, Poison, Plasma, Psionic, Rad, Slashing, Smoke, Stun",
"menuLabels": {
"general": "General",
Expand Down
Binary file removed static/packs/ce-srd-items/000146.ldb
Binary file not shown.
Binary file added static/packs/ce-srd-items/000160.ldb
Binary file not shown.
2 changes: 1 addition & 1 deletion static/packs/ce-srd-items/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000141
MANIFEST-000147
34 changes: 17 additions & 17 deletions static/packs/ce-srd-items/LOG
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
2024/02/27-13:13:11.434018 70000c884000 Recovering log #138
2024/02/27-13:13:11.434194 70000c884000 Recovering log #142
2024/02/27-13:13:11.435204 70000c884000 Delete type=3 #135
2024/02/27-13:13:11.435324 70000c884000 Delete type=0 #138
2024/02/27-13:13:11.435424 70000c884000 Delete type=0 #142
2024/02/27-13:39:59.668660 70000d10a000 Level-0 table #145: started
2024/02/27-13:39:59.669507 70000d10a000 Level-0 table #145: 1938 bytes OK
2024/02/27-13:39:59.669867 70000d10a000 Delete type=0 #143
2024/02/27-13:39:59.671648 70000d10a000 Manual compaction at level-0 from '!folders!7JNabnKuKR3HpTut' @ 72057594037927935 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at (end)
2024/02/27-13:39:59.672399 70000d10a000 Manual compaction at level-1 from '!folders!7JNabnKuKR3HpTut' @ 72057594037927935 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 551 : 1
2024/02/27-13:39:59.672416 70000d10a000 Compacting 1@1 + 1@2 files
2024/02/27-13:39:59.675055 70000d10a000 Generated table #146@1: 195 keys, 124832 bytes
2024/02/27-13:39:59.675101 70000d10a000 Compacted 1@1 + 1@2 files => 124832 bytes
2024/02/27-13:39:59.675242 70000d10a000 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/02/27-13:39:59.675341 70000d10a000 Delete type=2 #140
2024/02/27-13:39:59.675567 70000d10a000 Delete type=2 #145
2024/02/27-13:39:59.677547 70000d10a000 Manual compaction at level-1 from '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 551 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at (end)
2024/03/09-11:33:56.955188 700012ce7000 Recovering log #144
2024/03/09-11:33:56.955510 700012ce7000 Recovering log #156
2024/03/09-11:33:56.956801 700012ce7000 Delete type=0 #144
2024/03/09-11:33:56.956964 700012ce7000 Delete type=3 #141
2024/03/09-11:33:56.957124 700012ce7000 Delete type=0 #156
2024/03/10-09:08:55.142348 700012d6a000 Level-0 table #159: started
2024/03/10-09:08:55.143548 700012d6a000 Level-0 table #159: 41244 bytes OK
2024/03/10-09:08:55.143926 700012d6a000 Delete type=0 #157
2024/03/10-09:08:55.146339 700012d6a000 Manual compaction at level-0 from '!folders!7JNabnKuKR3HpTut' @ 72057594037927935 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at (end)
2024/03/10-09:08:55.147984 700012d6a000 Manual compaction at level-1 from '!folders!7JNabnKuKR3HpTut' @ 72057594037927935 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at '!items!zoM94sYgc5zKQyAn' @ 576 : 1
2024/03/10-09:08:55.148009 700012d6a000 Compacting 1@1 + 1@2 files
2024/03/10-09:08:55.151112 700012d6a000 Generated table #160@1: 195 keys, 127177 bytes
2024/03/10-09:08:55.151147 700012d6a000 Compacted 1@1 + 1@2 files => 127177 bytes
2024/03/10-09:08:55.151299 700012d6a000 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/03/10-09:08:55.151425 700012d6a000 Delete type=2 #159
2024/03/10-09:08:55.152041 700012d6a000 Delete type=2 #146
2024/03/10-09:08:55.152887 700012d6a000 Manual compaction at level-1 from '!items!zoM94sYgc5zKQyAn' @ 576 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at (end)
35 changes: 17 additions & 18 deletions static/packs/ce-srd-items/LOG.old
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
2024/02/19-12:08:28.084590 70001368f000 Recovering log #132
2024/02/19-12:08:28.084718 70001368f000 Recovering log #136
2024/02/19-12:08:28.085526 70001368f000 Delete type=3 #120
2024/02/19-12:08:28.085645 70001368f000 Delete type=0 #132
2024/02/19-12:08:28.085737 70001368f000 Delete type=3 #45
2024/02/19-12:08:28.085825 70001368f000 Delete type=0 #136
2024/02/19-12:39:35.743673 700013f15000 Level-0 table #139: started
2024/02/19-12:39:35.744732 700013f15000 Level-0 table #139: 7608 bytes OK
2024/02/19-12:39:35.745392 700013f15000 Delete type=0 #137
2024/02/19-12:39:35.750113 700013f15000 Manual compaction at level-0 from '!folders!7JNabnKuKR3HpTut' @ 72057594037927935 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at (end)
2024/02/19-12:39:35.752179 700013f15000 Manual compaction at level-1 from '!folders!7JNabnKuKR3HpTut' @ 72057594037927935 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at '!items!snzqG8jfTrfqzkdw' @ 546 : 1
2024/02/19-12:39:35.752201 700013f15000 Compacting 1@1 + 1@2 files
2024/02/19-12:39:35.755193 700013f15000 Generated table #140@1: 195 keys, 124743 bytes
2024/02/19-12:39:35.755221 700013f15000 Compacted 1@1 + 1@2 files => 124743 bytes
2024/02/19-12:39:35.755348 700013f15000 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/02/19-12:39:35.755524 700013f15000 Delete type=2 #139
2024/02/19-12:39:35.755836 700013f15000 Delete type=2 #134
2024/02/19-12:39:35.756691 700013f15000 Manual compaction at level-1 from '!items!snzqG8jfTrfqzkdw' @ 546 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at (end)
2024/02/27-13:13:11.434018 70000c884000 Recovering log #138
2024/02/27-13:13:11.434194 70000c884000 Recovering log #142
2024/02/27-13:13:11.435204 70000c884000 Delete type=3 #135
2024/02/27-13:13:11.435324 70000c884000 Delete type=0 #138
2024/02/27-13:13:11.435424 70000c884000 Delete type=0 #142
2024/02/27-13:39:59.668660 70000d10a000 Level-0 table #145: started
2024/02/27-13:39:59.669507 70000d10a000 Level-0 table #145: 1938 bytes OK
2024/02/27-13:39:59.669867 70000d10a000 Delete type=0 #143
2024/02/27-13:39:59.671648 70000d10a000 Manual compaction at level-0 from '!folders!7JNabnKuKR3HpTut' @ 72057594037927935 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at (end)
2024/02/27-13:39:59.672399 70000d10a000 Manual compaction at level-1 from '!folders!7JNabnKuKR3HpTut' @ 72057594037927935 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 551 : 1
2024/02/27-13:39:59.672416 70000d10a000 Compacting 1@1 + 1@2 files
2024/02/27-13:39:59.675055 70000d10a000 Generated table #146@1: 195 keys, 124832 bytes
2024/02/27-13:39:59.675101 70000d10a000 Compacted 1@1 + 1@2 files => 124832 bytes
2024/02/27-13:39:59.675242 70000d10a000 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/02/27-13:39:59.675341 70000d10a000 Delete type=2 #140
2024/02/27-13:39:59.675567 70000d10a000 Delete type=2 #145
2024/02/27-13:39:59.677547 70000d10a000 Manual compaction at level-1 from '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 551 : 1 .. '!items.effects!PWnobwS6H67tMyVF.rGFRveaZoUElSjXq' @ 0 : 0; will stop at (end)
Binary file removed static/packs/ce-srd-items/MANIFEST-000141
Binary file not shown.
Binary file added static/packs/ce-srd-items/MANIFEST-000147
Binary file not shown.
Binary file added static/packs/ce-srd-items/MANIFEST-000154
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion static/packs/twodsix-macros/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000054
MANIFEST-000065
24 changes: 15 additions & 9 deletions static/packs/twodsix-macros/LOG
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
2023/08/01-12:44:36.700029 70000b24f000 Recovering log #51
2023/08/01-12:44:36.701537 70000b24f000 Delete type=3 #48
2023/08/01-12:44:36.701780 70000b24f000 Delete type=0 #51
2023/08/01-12:44:36.702041 70000b24f000 Delete type=3 #32
2023/08/01-12:45:10.332792 70000cadb000 Level-0 table #57: started
2023/08/01-12:45:10.332830 70000cadb000 Level-0 table #57: 0 bytes OK
2023/08/01-12:45:10.333011 70000cadb000 Delete type=0 #55
2023/08/01-12:45:10.333292 70000cadb000 Manual compaction at level-0 from '!macros!4d9MaEr7rJdWS1NY' @ 72057594037927935 : 1 .. '!macros!xpgbOkPeYsAcjDrm' @ 0 : 0; will stop at (end)
2023/08/01-12:45:10.333348 70000cadb000 Manual compaction at level-1 from '!macros!4d9MaEr7rJdWS1NY' @ 72057594037927935 : 1 .. '!macros!xpgbOkPeYsAcjDrm' @ 0 : 0; will stop at (end)
2024/03/09-09:35:29.831165 700013869000 Recovering log #64
2024/03/09-09:35:29.832394 700013869000 Delete type=0 #64
2024/03/09-09:35:29.832511 700013869000 Delete type=3 #63
2024/03/09-10:53:41.223694 7000140ef000 Level-0 table #68: started
2024/03/09-10:53:41.224439 7000140ef000 Level-0 table #68: 2110 bytes OK
2024/03/09-10:53:41.224992 7000140ef000 Delete type=0 #66
2024/03/09-10:53:41.225438 7000140ef000 Manual compaction at level-0 from '!macros!4d9MaEr7rJdWS1NY' @ 72057594037927935 : 1 .. '!macros!xpgbOkPeYsAcjDrm' @ 0 : 0; will stop at (end)
2024/03/09-10:53:41.225526 7000140ef000 Manual compaction at level-1 from '!macros!4d9MaEr7rJdWS1NY' @ 72057594037927935 : 1 .. '!macros!xpgbOkPeYsAcjDrm' @ 0 : 0; will stop at '!macros!xpgbOkPeYsAcjDrm' @ 57 : 1
2024/03/09-10:53:41.225586 7000140ef000 Compacting 1@1 + 1@2 files
2024/03/09-10:53:41.229697 7000140ef000 Generated table #69@1: 19 keys, 52454 bytes
2024/03/09-10:53:41.229740 7000140ef000 Compacted 1@1 + 1@2 files => 52454 bytes
2024/03/09-10:53:41.229941 7000140ef000 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/03/09-10:53:41.230051 7000140ef000 Delete type=2 #68
2024/03/09-10:53:41.230559 7000140ef000 Delete type=2 #53
2024/03/09-10:53:41.233615 7000140ef000 Manual compaction at level-1 from '!macros!xpgbOkPeYsAcjDrm' @ 57 : 1 .. '!macros!xpgbOkPeYsAcjDrm' @ 0 : 0; will stop at (end)
20 changes: 3 additions & 17 deletions static/packs/twodsix-macros/LOG.old
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
2023/08/01-12:23:05.278845 70000764d000 Recovering log #29
2023/08/01-12:23:05.279009 70000764d000 Recovering log #49
2023/08/01-12:23:05.280156 70000764d000 Delete type=0 #29
2023/08/01-12:23:05.280288 70000764d000 Delete type=0 #49
2023/08/01-12:23:05.280480 70000764d000 Delete type=3 #27
2023/08/01-12:39:00.856951 700008ed9000 Level-0 table #52: started
2023/08/01-12:39:00.857680 700008ed9000 Level-0 table #52: 4953 bytes OK
2023/08/01-12:39:00.857909 700008ed9000 Delete type=0 #50
2023/08/01-12:39:00.858504 700008ed9000 Manual compaction at level-0 from '!macros!4d9MaEr7rJdWS1NY' @ 72057594037927935 : 1 .. '!macros!xpgbOkPeYsAcjDrm' @ 0 : 0; will stop at (end)
2023/08/01-12:39:00.858542 700008ed9000 Manual compaction at level-1 from '!macros!4d9MaEr7rJdWS1NY' @ 72057594037927935 : 1 .. '!macros!xpgbOkPeYsAcjDrm' @ 0 : 0; will stop at '!macros!wQj2pUYR9fBF6Xjl' @ 55 : 1
2023/08/01-12:39:00.858549 700008ed9000 Compacting 1@1 + 1@2 files
2023/08/01-12:39:00.859902 700008ed9000 Generated table #53@1: 19 keys, 52016 bytes
2023/08/01-12:39:00.859924 700008ed9000 Compacted 1@1 + 1@2 files => 52016 bytes
2023/08/01-12:39:00.860014 700008ed9000 compacted to: files[ 0 0 1 0 0 0 0 ]
2023/08/01-12:39:00.860075 700008ed9000 Delete type=2 #31
2023/08/01-12:39:00.860218 700008ed9000 Delete type=2 #52
2023/08/01-12:39:00.860774 700008ed9000 Manual compaction at level-1 from '!macros!wQj2pUYR9fBF6Xjl' @ 55 : 1 .. '!macros!xpgbOkPeYsAcjDrm' @ 0 : 0; will stop at (end)
2024/03/07-14:34:20.365466 70000dd5c000 Recovering log #61
2024/03/07-14:34:20.366363 70000dd5c000 Delete type=0 #61
2024/03/07-14:34:20.366493 70000dd5c000 Delete type=3 #58
Binary file removed static/packs/twodsix-macros/MANIFEST-000054
Binary file not shown.
Binary file added static/packs/twodsix-macros/MANIFEST-000065
Binary file not shown.
4 changes: 4 additions & 0 deletions static/styles/twodsix.css
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ table tr:nth-child(even) {
background-color: var(--s2d6-light-background-transparent);
}

.inline-roll .dice-tooltip {
background: var(--s2d6-background-opaque);
border-color: var(--s2d6-item-border);
}
/******************************/
/* ----------------------------------------- */
/* General Sheet Styling
Expand Down
Loading
Loading