Files
claudeandClaude Opus 5.5 73fe71918f
CI / build-and-smoke-test (push) Failing after 7m6s
Phase 3: Alpha guardians, one per zone, back 5 hours after a defeat
- 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>
2026-10-29 19:01:21 +01:00

28 lines
1.1 KiB
JavaScript

// Phase 3, hazards as gates: Cold Sweat's insulating armour comes from boss drops of the zone before
// (docs/design.md, "What helps with a zone drops from the boss fight of the zone before it"). Hoglins,
// goats and chameleons don't live on the island, so their hides become craftable instead:
// - 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: a set takes 24, so three
// rocks, which is one guardian's drop. Placeholder amounts (docs/balance.md).
ServerEvents.recipes(event => {
event.shaped('8x cold_sweat:goat_fur', [
'WWW',
'WHW',
'WWW'
], {
W: '#minecraft:wool',
H: 'cobblemon:heat_rock'
}).id('cobblesurvival:goat_fur')
event.shaped('8x cold_sweat:hoglin_hide', [
'LLL',
'LIL',
'LLL'
], {
L: 'minecraft:leather',
I: 'cobblemon:icy_rock'
}).id('cobblesurvival:hoglin_hide')
})