[PR #7029] [MERGED] Clear stale game-012.tsv frog breeding row #7281

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

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-game-012-v


📝 Commits (1)

  • 177805f port map: the frog's pregnancy row

📊 Changes

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

View changed files

📝 tools/port_map/game-012.tsv (+1 -1)

📄 Description

tools/port_map/game-012.tsv had one row still saying missing for behaviour main has: a frog that breeds.

row verdict citation
Frog.spawnChildFromBreeding port crates/horizon-client/src/mobs/goals.rs::Breed::tick
  • Frog.spawnChildFromBreeding: vanilla's frog override makes the mother pregnant instead of spawning a baby. Breed::tick does that - frog::set_pregnant(m, true) in place of the offspring - and frog.rs's LaySpawn goal (the FrogAi.initLaySpawnActivity port) then walks her to water and lays the frogspawn. The row's old note ("frogs never become pregnant (IS_PREGNANT) and so never lay frogspawn; no breed goal means this is never reached") no longer holds, and it contradicted the row directly above it, Frog.getBreedOffspring, which is already port to the same function.
  • The file's seven other missing rows were re-read on main and are still absent, so they are left as they are: Fox.get (species_variant_component still has no fox arm), Fox.setTarget and Fox.FoxStrollThroughVillageGoal.canFoxMove (mobs/fox.rs still says defending a trusted player and strolling through villages are unported), Frog.FrogNodeEvaluator.getStart and getPathType (mobs/nav.rs has no frog node evaluator), Goat.setYHeadRot (the only 15 degree limit is the body rotation in mobs/control.rs) and IronGolem.doPush (ai.rs::push_entities has the warden arm only).

Proven: Frog.spawnChildFromBreeding exists on main at crates/horizon-client/src/mobs/goals.rs::Breed::tick (git grep "Frog.spawnChildFromBreeding" upstream/main -- crates/ finds the branch there, and mobs/frog.rs has set_pregnant, the PREGNANT memory and the LaySpawn goal behind it). map-check deferred, build VM in cooldown - the box is cooling down until 10:55Z, so PORT_LEDGER_OUT=/tmp/led-game-012 python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar && python3 tools/port_ledger.py map-check tools/port_map/game-012.tsv is re-run and reported here as soon as it answers.

Not proven: the map-check line count for this file; nothing else outstanding, and no other row of the file is touched.


🔄 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/7029 **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-012-v` --- ### 📝 Commits (1) - [`177805f`](https://github.com/horizon-rust/horizon/commit/177805fb9d1886980435e286799d0e6b38400b49) port map: the frog's pregnancy row ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game-012.tsv` (+1 -1) </details> ### 📄 Description `tools/port_map/game-012.tsv` had one row still saying `missing` for behaviour `main` has: a frog that breeds. | row | verdict | citation | | --- | --- | --- | | `Frog.spawnChildFromBreeding` | `port` | `crates/horizon-client/src/mobs/goals.rs::Breed::tick` | - `Frog.spawnChildFromBreeding`: vanilla's frog override makes the mother pregnant instead of spawning a baby. `Breed::tick` does that - `frog::set_pregnant(m, true)` in place of the offspring - and `frog.rs`'s `LaySpawn` goal (the `FrogAi.initLaySpawnActivity` port) then walks her to water and lays the frogspawn. The row's old note ("frogs never become pregnant (IS_PREGNANT) and so never lay frogspawn; no breed goal means this is never reached") no longer holds, and it contradicted the row directly above it, `Frog.getBreedOffspring`, which is already `port` to the same function. - The file's seven other `missing` rows were re-read on `main` and are still absent, so they are left as they are: `Fox.get` (`species_variant_component` still has no fox arm), `Fox.setTarget` and `Fox.FoxStrollThroughVillageGoal.canFoxMove` (`mobs/fox.rs` still says defending a trusted player and strolling through villages are unported), `Frog.FrogNodeEvaluator.getStart` and `getPathType` (`mobs/nav.rs` has no frog node evaluator), `Goat.setYHeadRot` (the only 15 degree limit is the body rotation in `mobs/control.rs`) and `IronGolem.doPush` (`ai.rs::push_entities` has the warden arm only). **Proven:** `Frog.spawnChildFromBreeding` exists on `main` at `crates/horizon-client/src/mobs/goals.rs::Breed::tick` (`git grep "Frog.spawnChildFromBreeding" upstream/main -- crates/` finds the branch there, and `mobs/frog.rs` has `set_pregnant`, the `PREGNANT` memory and the `LaySpawn` goal behind it). map-check deferred, build VM in cooldown - the box is cooling down until 10:55Z, so `PORT_LEDGER_OUT=/tmp/led-game-012 python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar && python3 tools/port_ledger.py map-check tools/port_map/game-012.tsv` is re-run and reported here as soon as it answers. **Not proven:** the map-check line count for this file; nothing else outstanding, and no other row of the file is touched. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:37:02 +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#7281
No description provided.