adventure: fix owner gear regression and drop em-dashes from equip copy

Show the public Gear panel whenever the owner's Equipment panel won't
render (no pushed Slots), so an owner whose detail predates ask 7 still
sees their standard gear instead of a blank. Replace em-dashes in the
equip feature's user-facing strings with plain commas.
This commit is contained in:
prosolis
2026-07-17 20:48:02 -07:00
parent b0aeffd218
commit 2593b11112
2 changed files with 12 additions and 11 deletions
+10 -9
View File
@@ -117,9 +117,10 @@
{{end}}
</div>
{{/* Public gear list. Hidden for the owner: their own "Equipment" panel below
supersedes it with live tiers, conditions, and management controls. */}}
{{if not .HasSelf}}
{{/* Public gear list. Hidden only when the owner's "Equipment" panel below will
actually render (it needs pushed Slots) — otherwise an owner whose detail
predates ask 7's Slots would see no standard gear at all. */}}
{{if not .Self.Slots}}
<div class="rounded-3xl bg-[color:var(--card)] border-2 border-[color:var(--ink)]/10 p-6 shadow-pete">
<h2 class="font-display text-xl font-bold mb-4">Gear</h2>
{{if .Detail.Gear}}
@@ -483,12 +484,12 @@
var STATUS = {
pending: 'queued',
applied: 'done',
rejected_not_owned: "couldn't that item had already moved",
rejected_not_worn: "couldn't that slot was already empty",
rejected_not_equippable: "couldn't that item can't be worn",
rejected_downgrade: "couldn't that wouldn't be an upgrade",
rejected_insufficient_funds: "couldn't not enough euros",
rejected_max_tier: "couldn't already at the top tier"
rejected_not_owned: "couldn't, that item had already moved",
rejected_not_worn: "couldn't, that slot was already empty",
rejected_not_equippable: "couldn't, that item can't be worn",
rejected_downgrade: "couldn't, that wouldn't be an upgrade",
rejected_insufficient_funds: "couldn't, not enough euros",
rejected_max_tier: "couldn't, already at the top tier"
};
var VERB = { equip: 'Equip', unequip: 'Take off', upgrade: 'Upgrade', repair: 'Repair' };