Phase 3: Alpha guardians, one per zone, back 5 hours after a defeat
CI / build-and-smoke-test (push) Failing after 7m6s

- Companion mod (zone/Guardians.kt): each zone's guardian stands at the
  zone's sample point, appears when a player is within 96 blocks, stays
  within 24 blocks, is uncatchable and half again as big. Beating it in a
  battle gives every player in the battle its drops; it returns after 5
  hours of game time (Adrian: fixed spots, 5 hours). State lives in the
  world save; /cobblesurvival guardians lists it.
- tools/zone_spawns.py writes data/cobblesurvival/guardians/<zone>.json:
  the strongest walking (or swimming) Pokemon of the zone at band top + 5,
  with the drops from world/zones.json. Boss drops follow Adrian's rule:
  Icy Rocks before Sunscorch, Heat Rocks before Frostpeak.
- Goat Fur and Hoglin Hide recipes make 8 per rock, so one guardian's 3
  rocks pay for one full insulating set.
- Self-test guardian_appears_and_returns; hazard tests cleaned up; the
  zone generator reads Cobblemon's own entries from the field guide's
  hidden_spawns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
claudeandClaude Opus 5.5 committed 2026-10-29 19:01:21 +01:00
1 parent 398301f0be
commit 73fe71918f
25 files changed
+607 -23

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ hash = "6b1b127b16a87b846a5abdbdb442edb8cbd9386562081309a3808eed1325ed1e"
[[files]]
file = "kubejs/server_scripts/insulation.js"
hash = "731756b6277ebc41cd258c8f7d1c519593c43914e8b4426ce230d77d5b6d9fe7"
hash = "026dc5ab98cb13c906d5b6974ea7624014e804c58141f01ec57e077e1e8bb339"
[[files]]
file = "kubejs/server_scripts/revival_charm.js"
+4 -4
View File
@@ -4,10 +4,10 @@
// - Goat Fur (cold insulation, Frostpeak): wool and a Heat Rock, which Sunscorch's guardian drops;
// - Hoglin Hide (heat insulation, Sunscorch): leather and an Icy Rock, which the guardians of the
// Mangrove Mire and Highland Meadows drop.
// Cold Sweat's own armour recipes then turn these into the fur and hide sets. Placeholder amounts
// (docs/balance.md).
// Cold Sweat's own armour recipes then turn these into the fur and hide sets: a set takes 24, so three
// rocks, which is one guardian's drop. Placeholder amounts (docs/balance.md).
ServerEvents.recipes(event => {
event.shaped('4x cold_sweat:goat_fur', [
event.shaped('8x cold_sweat:goat_fur', [
'WWW',
'WHW',
'WWW'
@@ -16,7 +16,7 @@ ServerEvents.recipes(event => {
H: 'cobblemon:heat_rock'
}).id('cobblesurvival:goat_fur')
event.shaped('4x cold_sweat:hoglin_hide', [
event.shaped('8x cold_sweat:hoglin_hide', [
'LLL',
'LIL',
'LLL'
+1 -1
View File
@@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "a866bfd2522a67b61718bc72fb9e9ce49dadbdb0daf01b7c1421385ced0f1deb"
hash = "090cc213fdd22bcaf74234d279c438a3aff08b9eb87b169802f66ae33b9b672f"
[versions]
minecraft = "1.21.1"