From 374d5ea37467580bf6c3c7195ce23e640bd547d0 Mon Sep 17 00:00:00 2001 From: prosolis <5590409+prosolis@users.noreply.github.com> Date: Sat, 9 May 2026 20:46:04 -0700 Subject: [PATCH 1/3] Hospital: vary bill descriptor in discharge announcement Replace the single "a lot" descriptor with a pool of 8 variants picked via advPickFlavor (per-user dedup, last 5 indices avoided). Co-Authored-By: Claude Opus 4.7 (1M context) --- internal/plugin/adventure_flavor_hospital.go | 18 ++++++++++++++++-- internal/plugin/adventure_hospital.go | 3 ++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/internal/plugin/adventure_flavor_hospital.go b/internal/plugin/adventure_flavor_hospital.go index 29bffad..ca6ae4d 100644 --- a/internal/plugin/adventure_flavor_hospital.go +++ b/internal/plugin/adventure_flavor_hospital.go @@ -63,8 +63,22 @@ var nurseJoyAlreadyRevived = "You seem to have recovered on your own! " + // ── Room Announcements ───────────────────────────────────────────────────��─ -var hospitalDischargeAnnounce = "🏥 %s has been discharged from St. Guildmore's Memorial Hospital. " + - "Recovered. Back in action. The bill has been described as \"a lot.\"" +// hospitalDischargeBillDescriptors are the variants used for the +// "The bill has been described as ..." sentence in the discharge announcement. +// Some are bare adjectives ("devastating"); others are full quoted phrases. +var hospitalDischargeBillDescriptors = []string{ + "\"a lot.\"", + "devastating.", + "ruinous.", + "soul-crushing.", + "\"proof that someone, somewhere, hates me specifically.\"", + "\"tearing to shreds what little hope I had left for humanity.\"", + "\"what I imagine my greatest enemies would charge me.\"", + "\"enough to make me reconsider the whole 'surviving' part.\"", +} + +var hospitalDischargeAnnouncePrefix = "🏥 %s has been discharged from St. Guildmore's Memorial Hospital. " + + "Recovered. Back in action. The bill has been described as %s" var hospitalDitchAnnounce = "🏥 %s was brought into St. Guildmore's on a stretcher. " + "They have been returned to the ditch. They'll be fine tomorrow." diff --git a/internal/plugin/adventure_hospital.go b/internal/plugin/adventure_hospital.go index c02204d..855861e 100644 --- a/internal/plugin/adventure_hospital.go +++ b/internal/plugin/adventure_hospital.go @@ -230,7 +230,8 @@ func (p *AdventurePlugin) resolveHospitalPay(ctx MessageContext, interaction *ad gr := gamesRoom() if gr != "" { name, _ := loadDisplayName(char.UserID) - p.SendMessage(gr, fmt.Sprintf(hospitalDischargeAnnounce, name)) + descriptor, _ := advPickFlavor(hospitalDischargeBillDescriptors, ctx.Sender, "hospital_discharge_bill") + p.SendMessage(gr, fmt.Sprintf(hospitalDischargeAnnouncePrefix, name, descriptor)) } return nil From b8e8f994d8e1a29d9c432684ad381a91402eb8fa Mon Sep 17 00:00:00 2001 From: prosolis <5590409+prosolis@users.noreply.github.com> Date: Sat, 9 May 2026 20:48:36 -0700 Subject: [PATCH 2/3] Hospital: swap "a lot" descriptor for USA-standards quip Co-Authored-By: Claude Opus 4.7 (1M context) --- internal/plugin/adventure_flavor_hospital.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/plugin/adventure_flavor_hospital.go b/internal/plugin/adventure_flavor_hospital.go index ca6ae4d..c3d0bb0 100644 --- a/internal/plugin/adventure_flavor_hospital.go +++ b/internal/plugin/adventure_flavor_hospital.go @@ -67,7 +67,7 @@ var nurseJoyAlreadyRevived = "You seem to have recovered on your own! " + // "The bill has been described as ..." sentence in the discharge announcement. // Some are bare adjectives ("devastating"); others are full quoted phrases. var hospitalDischargeBillDescriptors = []string{ - "\"a lot.\"", + "\"inhumane but probably normal for USA standards.\"", "devastating.", "ruinous.", "soul-crushing.", From 97e4a502c93cca5606ad47591ac91eb2222d7f1d Mon Sep 17 00:00:00 2001 From: prosolis <5590409+prosolis@users.noreply.github.com> Date: Sat, 9 May 2026 20:48:56 -0700 Subject: [PATCH 3/3] =?UTF-8?q?Hospital:=20fix=20preposition=20in=20USA-st?= =?UTF-8?q?andards=20descriptor=20(for=E2=86=92by)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 (1M context) --- internal/plugin/adventure_flavor_hospital.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/plugin/adventure_flavor_hospital.go b/internal/plugin/adventure_flavor_hospital.go index c3d0bb0..ea50732 100644 --- a/internal/plugin/adventure_flavor_hospital.go +++ b/internal/plugin/adventure_flavor_hospital.go @@ -67,7 +67,7 @@ var nurseJoyAlreadyRevived = "You seem to have recovered on your own! " + // "The bill has been described as ..." sentence in the discharge announcement. // Some are bare adjectives ("devastating"); others are full quoted phrases. var hospitalDischargeBillDescriptors = []string{ - "\"inhumane but probably normal for USA standards.\"", + "\"inhumane but probably normal by USA standards.\"", "devastating.", "ruinous.", "soul-crushing.",