news: Pete stops repeating the mischief announcements too

1cbd68a established the rule and I broke it two commits later. Priority
tier is the one thing that makes Pete post a live Matrix beat, and
TwinBee announces every mischief moment in the games room as it happens
— the contract going out, the survival, the maiming. Filing them
priority meant Pete read his version back to the room that had just
watched it.

Bulletin, like death and zone_first: still on the site, still in the
daily digest, no second telling to the people who were there.
This commit is contained in:
prosolis
2026-07-13 20:46:27 -07:00
parent 99daac3c2b
commit f7ddbf8858

View File

@@ -686,6 +686,13 @@ func (p *AdventurePlugin) announceMischiefDowned(c *mischiefContract, monsterNam
//
// Deploy Pete BEFORE gogobee whenever these types change: Pete 400s an unknown
// event_type, gogobee retries, and the bulletin parks forever.
//
// BULLETIN, never priority. Priority tier is the one thing that makes Pete post a
// live Matrix beat, and TwinBee already announces every one of these in the games
// room as it happens (announceMischiefContract / Survived / Downed) — a priority
// fact would just read Pete's version back to the people who watched it. Bulletin
// still carries the story to the site and the daily digest, where a roundup is
// what it is. Same call 1cbd68a made for death and zone_first.
func emitMischiefContractNews(c *mischiefContract, tier mischiefTier) {
target := charName(c.TargetID)
@@ -702,7 +709,7 @@ func emitMischiefContractNews(c *mischiefContract, tier mischiefTier) {
emitFact(peteclient.Fact{
GUID: fmt.Sprintf("mischief_contract:%s:%d", eventToken(c.TargetID, "mischief:"+c.ID), ts),
EventType: "mischief_contract",
Tier: "priority",
Tier: "bulletin",
Subject: target,
Opponent: buyer,
Boss: tier.Display,
@@ -733,7 +740,7 @@ func emitMischiefResolvedNews(c *mischiefContract, monsterName, outcome string,
emitFact(peteclient.Fact{
GUID: fmt.Sprintf("%s:%s:%d", eventType, eventToken(c.TargetID, "mischief:"+c.ID), ts),
EventType: eventType,
Tier: "priority",
Tier: "bulletin",
Subject: target,
Opponent: buyer,
Boss: monsterName,