[PR #6862] [MERGED] Clear eleven game-008 ledger rows: the tag game, the trade display, three dangling citations #7153

Closed
opened 2026-11-03 06:34:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6862
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/ledger-game-008


📝 Commits (1)

  • 5cecb57 Clear eleven game-008 ledger rows: the tag game, the trade display, three dangling citations

📊 Changes

1 file changed (+11 additions, -11 deletions)

View changed files

📝 tools/port_map/game-008.tsv (+11 -11)

📄 Description

Data only: tools/port_map/game-008.tsv.

Eight rows still saying missing

  • ShowTradesToPlayer.findItemsToDisplay / updateDisplayItems /
    playerItemStackMatchesCostOfOffer / displayCyclingItems ->
    villager_brain.rs::B::try_start's ShowTrades arm: the offers the player's
    held item pays for (cost A or cost B, skipping out of stock ones), the look
    time raised to 900, the result put in the villager's hand, and the hand
    moving on every 40 ticks when two or more offers match.
    ShowTradesToPlayer.stop's note said the held item is never touched; its
    do_stop clears it (clearHeldItem) along with the interaction target and
    the compared item, so the note now says that.
  • PlayTagWithOtherKids.findSomeoneBeingChased /
    checkHowManyChasersEachFriendHas / isFriendChasingMe ->
    villager_brain.rs::B::try_start's PlayTag arm: the chaser count per
    chased kid picks the kid with one to five chasers (else any friend), and a
    kid that is being chased sets a walk target to a random spot inside the
    village (land_random_pos, ten tries, at most one section from the village).
    The ledger said the tag game is only chasing, which is not so.

Three dangling citations

map-check reported three rows whose third column does not resolve:

  • InteractWithDoor.create cited animal_brain.rs::B::InteractWithDoor (an
    enum variant) with the parenthetical (copper golem) inside the path; the
    golem's side is animal_brain.rs::B::trigger, the villager's stays
    villager_brain.rs::B::try_start.
  • LongJumpToPreferredBlock.start had (wanting_preferred) inside the path;
    it is frog.rs::LongJump::start, and the parenthetical moved into the note.
  • TryLaySpawnOnFluidNearLand.create cited the struct frog.rs::LaySpawn;
    the behaviour is its LaySpawn::can_use.

Proven

python3 tools/port_ledger.py build --jar .../26.3/jars/server.jar then
map-check tools/port_map/game-008.tsv: 147 rows, no problems (before:
three "no fn" rows). No code changed; every claim is from reading the named
arm of B::try_start and B::do_stop.

Not proven

No behaviour was run or changed: these are ledger verdicts, and no in-game
check applies. The ShowTrades and PlayTag arms run only in a village schedule,
which the harness does not stage.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/6862 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-game-008` --- ### 📝 Commits (1) - [`5cecb57`](https://github.com/horizon-rust/horizon/commit/5cecb571acd1d5b6e05ae01365f2fd2680bd46aa) Clear eleven game-008 ledger rows: the tag game, the trade display, three dangling citations ### 📊 Changes **1 file changed** (+11 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game-008.tsv` (+11 -11) </details> ### 📄 Description Data only: `tools/port_map/game-008.tsv`. ## Eight rows still saying `missing` - `ShowTradesToPlayer.findItemsToDisplay` / `updateDisplayItems` / `playerItemStackMatchesCostOfOffer` / `displayCyclingItems` -> `villager_brain.rs::B::try_start`'s `ShowTrades` arm: the offers the player's held item pays for (cost A or cost B, skipping out of stock ones), the look time raised to 900, the result put in the villager's hand, and the hand moving on every 40 ticks when two or more offers match. `ShowTradesToPlayer.stop`'s note said the held item is never touched; its `do_stop` clears it (`clearHeldItem`) along with the interaction target and the compared item, so the note now says that. - `PlayTagWithOtherKids.findSomeoneBeingChased` / `checkHowManyChasersEachFriendHas` / `isFriendChasingMe` -> `villager_brain.rs::B::try_start`'s `PlayTag` arm: the chaser count per chased kid picks the kid with one to five chasers (else any friend), and a kid that is being chased sets a walk target to a random spot inside the village (`land_random_pos`, ten tries, at most one section from the village). The ledger said the tag game is only chasing, which is not so. ## Three dangling citations `map-check` reported three rows whose third column does not resolve: - `InteractWithDoor.create` cited `animal_brain.rs::B::InteractWithDoor` (an enum variant) with the parenthetical `(copper golem)` inside the path; the golem's side is `animal_brain.rs::B::trigger`, the villager's stays `villager_brain.rs::B::try_start`. - `LongJumpToPreferredBlock.start` had `(wanting_preferred)` inside the path; it is `frog.rs::LongJump::start`, and the parenthetical moved into the note. - `TryLaySpawnOnFluidNearLand.create` cited the struct `frog.rs::LaySpawn`; the behaviour is its `LaySpawn::can_use`. ## Proven `python3 tools/port_ledger.py build --jar .../26.3/jars/server.jar` then `map-check tools/port_map/game-008.tsv`: **147 rows, no problems** (before: three "no fn" rows). No code changed; every claim is from reading the named arm of `B::try_start` and `B::do_stop`. ## Not proven No behaviour was run or changed: these are ledger verdicts, and no in-game check applies. The ShowTrades and PlayTag arms run only in a village schedule, which the harness does not stage. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:34:54 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7153
No description provided.