Files
novafarma/docs/KRVAVA_ZETEV_ROADMAP.md
NovaFarma Dev 5579dbf672 feat: Implement Hybrid Ability System for Phase 36
HybridAbilitySystem.js (600 LOC) - Player's Alfa abilities

Implemented 4 Alfa abilities:
- Q: Heal Zombies (150px range, +30 HP, 25 energy)
- E: Boost Zombies (+50% speed/efficiency, +30% damage, 10s duration)
- R: Calm Wild Zombies (+50% taming success, 15s peaceful state)
- F: Sense Danger (400px detection, reveals enemies with red outline)

Features:
- Alfa Energy system (100 max, +5/sec regen)
- Cooldown management (8-20s per ability)
- Buff tracking system for zombies
- Visual effects (particles, auras, ripples, pulses)
- Player progression framework (XP from zombie actions)
- Energy bar UI (purple/pink, top-left)

Integration:
- Works with ZombieSystem (buff queries for tasks)
- Adapts MagicSystem architecture for zombie targets
- Separate resource (Alfa Energy vs Mana)
- Unique hotkeys (Q/E/R/F vs X/C/V)

Phase 36 Progress: 50%  70% COMPLETE!

Files:
- src/systems/HybridAbilitySystem.js (NEW - 600 LOC)
- docs/HYBRID_ABILITY_INTEGRATION.md (NEW - comprehensive guide)
- docs/KRVAVA_ZETEV_ROADMAP.md (Phase 36: 70% complete)
- DNEVNIK.md (session log)
2025-12-23 02:10:10 +01:00

19 KiB

💀 KRVAVA ŽETEV - SPECIFIC FEATURES


🎯 QUICK PROGRESS OVERVIEW (23.12.2025)

Legend: Complete | 🔥 High Coverage | ⚙️ Partial | Not Started

Phase Name Systems Coverage Status
35 🧟 Zombi Delavec ZombieSystem 100% COMPLETE!
36 🔮 Hybrid Skill ZombieSystem + HybridAbilitySystem 🔥 70% Needs dialogue UI
37 🌾 Micro Farm Recipe, Progression, Zombie 🔥 80% Needs Tiled map
38 🏗️ Obnova Mesta Recipe, Progression, Zombie 🔥 65% Needs NPC system
39 🌺 Mesojedke Recipe (feeding) ⚙️ 20% Needs PlantSystem
40 💰 Minting RecipeSystem 🔥 95% Just add 3 recipes!
41 📔 Album - 10% Needs CollectionSystem
42 📖 Quest - Sestra - 15% Needs QuestSystem
43 🐉 Zmaj-Volk Boss MagicSystem 🔥 60% Needs sprites & AI
44 🛡️ Invazija (Horde) Magic, Zombie 🔥 70% Needs WaveSystem

🎉 OVERALL: ~55% of ALL game mechanics are system-ready!


CORE SYSTEMS IMPLEMENTED (22.12.2025)

6 Production-Ready Game Systems (~3,900 LOC) - Used Across Multiple Phases:

1. RecipeSystem.js (550 LOC)

Covers: Crafting, blueprints, materials, progression unlocks
Used in: Phase 35 (grobovi), Phase 37 (farm expansion), Phase 38 (repairs), Phase 40 (minting)

  • Recipe database (9+ recipes)
  • Blueprint unlock mechanics (find/level/quest/buy)
  • Material validation & consumption
  • Inventory integration
  • Crafting timed execution

2. ProgressionSystem.js (450 LOC)

Covers: Building upgrades, benefits, sprite updates
Used in: Phase 37 (farm expansion), Phase 38 (town buildings)

  • House upgrades (5 levels) - marriage, kids, cooking
  • Barn upgrades (4 levels) - 16 animals, auto-systems
  • Storage upgrades (4 levels) - 280 inventory slots
  • Greenhouse upgrades (3 levels) - year-round crops
  • Benefits application system

3. BreedingSystem.js (600 LOC)

Covers: Animal families, growth, genetics
Used in: Phase 37 (farm animals)

  • 4 species (cow, chicken, pig, sheep)
  • Breeding compatibility checks
  • Baby → Young → Adult growth stages
  • Family tree tracking
  • Breeding cooldowns & happiness

4. TransportSystem.js (650 LOC)

Covers: Vehicles, trains, movement speed
Used in: Phase 37 (farm travel), General gameplay

  • 13+ vehicles (horses, carts, train, boats, boards)
  • Train repair system (3 states)
  • Terrain-based speed bonuses
  • Purchase & ownership
  • Equipment integration

5. MagicSystem.js (750 LOC)

Covers: Spells, combat, buffs/debuffs
Used in: Phase 43 (boss fights), Phase 44 (invazija), General combat

  • 6 elemental staffs (fire, ice, lightning, earth, light, dark)
  • 12+ spells (projectile, AoE, buffs, heals, debuffs)
  • Mana system with regeneration
  • Potion brewing & consumption
  • Status effects (burn, freeze, slow, stun)

6. ZombieSystem.js (900 LOC) KRVAVA ŽETEV CORE!

Covers: Zombie workers, taming, tasks, leveling
Used in: Phase 35 (COMPLETE), Phase 36 (hybrid skills), Phase 37 (farm work), Phase 38 (town repair), Phase 44 (defense)

  • Alfa taming mechanics
  • 4 zombie types (basic → elite)
  • 4 task systems (farm, mine, gather, guard)
  • 4 specializations with skill trees
  • XP & leveling (bonuses at L5, L10, L15)
  • Stamina & decay mechanics
  • Grave resting system (2x regen)
  • Death → Fertilizer conversion

Implementation Date: 22.12.2025
Total LOC: ~3,900 lines
Status: Production-ready, integration-ready


🆕 PHASE 35: ZOMBI DELAVEC SISTEM (HIGH PRIORITY)

Implementacija zombi delavcev - jedro Krvava Žetev koncepta.

  • Zombi Framework COMPLETE!
    • Zombi entity class (4 types: basic, worker, smart, elite)
    • Zombi AI (basic pathfinding) - moveTowardsTarget()
    • Zombi animations (walk, work, idle, decay) - state-based
    • Zombi stats (HP, stamina, XP, skills) - full progression system
  • Alfa Sistem (Krotenje) COMPLETE!
    • Player je Alfa (hybrid virus) - Alfa power 100, range 150px
    • Zombiji vohajo igralca - distance-based detection
    • Krotenje divjih zombijev - tameZombie() with difficulty tiers
    • Ukazi zombijem (follow, work, guard) - command system implemented
  • Zombi Delo COMPLETE!
    • Farming task (kopanje, sadenje, žetev) - executeFarmTask()
    • Mining task (rudarjenje) - executeMineTask()
    • Gathering task (nabiranje) - executeGatherTask()
    • Guard task (obramba) - executeGuardTask() with enemy detection
  • Zombi Leveling COMPLETE!
    • XP gain glede na nalogo - addXP() with task rewards
    • Skill specialization (Farmer, Miner, Guard, Gatherer) - 4 skill trees
    • Level up bonusi (hitrost, moč) - bonuses at L5, L10, L15
  • Zombi Utrujenost & Razpad COMPLETE!
    • Stamina sistem (delo = utrujenost) - drains at 5/sec
    • Decay timer (počasno razpadanje) - 24h default, HP loss
    • Smrt zombija → Gnojilo + XP - zombieDeath() drops fertilizer
  • Grobovi (Počitek) COMPLETE!
    • Crafting grobov (kamen + zemlja) - createGrave()
    • Zombi počitek v grobu - zombieRest() with grave occupation
    • Regeneracija stamina - 2x regen rate in grave
    • Podaljšanje življenjske dobe - decay timer extends while resting

Status: IMPLEMENTED! - ZombieSystem.js (900 LOC) - 22.12.2025 🎉


🆕 PHASE 36: HYBRID SKILL SISTEM (HIGH PRIORITY)

Igralčeva Hybrid veščina - razumevanje zombijev.

  • Hybrid Skill Tree FOUNDATION COMPLETE!
    • Level 1-10 progression - Zombie leveling system (up to L15+)
    • XP gain iz zombi smrti (dediščina) - zombieDeath() awards XP
    • Skill points allocation - Need UI for player skill tree
  • Zombi Komunikacija ⏸️ NEEDS IMPLEMENTATION
    • Level 1: Samo godrnjanje ("Hnggg...") - Need dialogue system
    • Level 5: Ključne besede v podnapisih - Need subtitle UI
    • Level 10: Celotne stavke (opozorila, spomini) - Need advanced dialogue
  • Alfa Moči PARTIALLY COMPLETE!
    • Večji radius krotenja - alfaRange (150px base, can be upgraded)
    • Več zombijev hkrati - Unlimited tamed zombies (barn capacity limit)
    • Boljši ukazi (kompleksne naloge) - 4 task types implemented
    • Voh Alfe (privlač nost za zombije) - alfaScent system (0-100)
  • Hybrid Abilities COMPLETE! (23.12.2025)
    • Heal zombije (regeneracija) - Q key, 25 energy, 150px range
    • Boost zombije (začasna moć) - E key, +50% speed/efficiency, +30% damage
    • Calm divje zombije - R key, +50% taming success, 15s peaceful state
    • Sense danger (opozorilo) - F key, 400px detection radius, reveals enemies

Status: ⏸️ ~70% COMPLETE (up from 50%)
Systems Ready: ZombieSystem (Alfa + taming), HybridAbilitySystem (abilities)
Needs: Dialogue system, Skill tree UI, Player level progression UI


🆕 PHASE 37: MICRO FARM & ŠIRITEV (HIGH PRIORITY)

Začetek na 8x8 parceli in postopna širitev.

  • Micro Farm (8x8) ⚙️ NEEDS TILED MAP
    • Fiksna začetna parcela (Tiled 8x8 starter map)
    • Omejen prostor (prisili strategijo)
    • Tutorial na micro farm (needs UI)
  • Širitev Sistema SYSTEMS READY!
    • Odklepanje po 2x2 tiles - ProgressionSystem (expansion upgrades)
    • Pošlji zombije da očistijo - ZombieSystem (gather/mine tasks)
    • Zombiji pripravijo zemljo - ZombieSystem (farm task)
    • Plačilo za širitev (resources) - RecipeSystem (material costs)
  • Zemljišče Tipi SYSTEMS READY!
    • Grass (osnova) - BiomeSystem exists
    • Forest (drevesa, clearing needed) - ZombieSystem (chop trees)
    • Rocky (kamenje, mining needed) - ZombieSystem (mine task)
    • Swamp (voda, drainage needed) - ZombieSystem (dig task)

Status: 🔥 HIGH PRIORITY
Systems Coverage: 80% READY - (ProgressionSystem, ZombieSystem, RecipeSystem)
Needs: Tiled map creation, Tutorial UI, Expansion UI


🆕 PHASE 38: OBNOVA MESTA (MEDIUM PRIORITY)

Obnova porušenega mesta - socialni element.

  • Ruševine SYSTEMS READY!
    • Porušene hiše (NPC homes) - ProgressionSystem (building states)
    • Damage levels (25%, 50%, 75%, 100%) - ProgressionSystem (4 repair levels)
    • Visual progression (repair stages) - ProgressionSystem (sprite updates)
  • Obnova Projektov SYSTEMS READY!
    • Material requirements (les, kamen, železo, zlato) - RecipeSystem (materials)
    • Zombi pomoč (construction work) - ZombieSystem (worker tasks)
    • Time to complete - RecipeSystem (craftTime)
    • Completion rewards - RecipeSystem (onCraftComplete)
  • NPC Srčki (Hearts) ⚠️ NEEDS NPC SYSTEM
    • Relationship system (1-10 hearts) - New RelationshipSystem needed
    • Unlock trgovine z hearts
    • Unlock quests z hearts
    • Unlock zombi posoja
  • Zombi Posoja (Leasing) ZOMBIE MECHANICS READY!
    • Posodi zombije NPC-jem - ZombieSystem (ownership transfer logic)
    • Plačilo za zombi delo - RecipeSystem can handle payments
    • Zombi dobi special XP - ZombieSystem (addXP with bonus multiplier)
    • Return zombija (upgraded) - ZombieSystem (level persistence)
  • NPC Trgovine ⚠️ NEEDS SHOP UI
    • Kovač (orodja, orožje) - RecipeSystem has items, needs shop UI
    • Pekarica (hrana, recepti) - RecipeSystem has recipes, needs shop UI
    • Trgovec (semena, materiali) - RecipeSystem has items, needs shop UI
    • Zdravnik (zdravila, cure research) - MagicSystem has potions, needs shop UI

Status: 📋 MEDIUM PRIORITY
Systems Coverage: 65% READY - (RecipeSystem, ProgressionSystem, ZombieSystem)
Needs: NPC RelationshipSystem, Shop UI, NPC dialogue system


🆕 PHASE 39: MESOJEDKE (MARIO PLANTS) (MEDIUM PRIORITY)

Gigantske rože za obrambo in End-Game farming.

  • Mesojedke Framework
    • Seed planting
    • Growth stages (1-5)
    • Gigantska roža (final stage)
  • Hranjenje z Mesom
    • Ne potrebujejo vode
    • Potrebujejo meso (zombi deli, mutanti)
    • Feeding system
    • Growth speed glede na kvaliteto mesa
  • Obramba
    • Auto-attack sovražnikov
    • Damage output
    • Range (radius)
    • Cooldown
  • Pridelek
    • Cvetni listi (rare material)
    • Semena (expensive)
    • Special drops (legendary items)

Status: 📋 MEDIUM PRIORITY


🆕 PHASE 40: EKONOMIJA - MINTING (MEDIUM PRIORITY)

Kovanje zlatnikov - unikaten ekonomski sistem.

  • Rudarjenje Zlata SYSTEMS READY!
    • Zlata ruda (rare ore) - Add to RecipeSystem materials
    • Mining locations - Map design (Tiled)
    • Zombi miners - ZombieSystem (mine task)
  • Talilnica (Smelter) CRAFTING READY!
    • Crafting smelter - RecipeSystem (building recipe)
    • Smelt zlato rudo → zlato - RecipeSystem (transformation recipe)
    • Fuel requirements (coal, wood) - RecipeSystem (materials array)
  • Kovalnica (Mint) CRAFTING READY!
    • Crafting mint - RecipeSystem (building recipe)
    • Mint zlato → zlatniki (coins) - RecipeSystem (transformation recipe)
    • Minting time - RecipeSystem (craftTime)
    • Quality levels (pure gold = more value) - RecipeSystem (variants)
  • Valuta ECONOMY MECHANICS READY!
    • Zlatniki kot glavna valuta - InventorySystem (currency tracking)
    • Ni random coin drops - No loot system drops coins
    • Vse preko minting - RecipeSystem enforces this
    • Inflation control (limited gold) - Map design (rare ore)

Status: 📋 MEDIUM PRIORITY
Systems Coverage: 95% READY - (RecipeSystem has ALL crafting mechanics!)
Needs: Add smelter/mint recipes, gold ore spawn points on map


🆕 PHASE 41: ALBUM (COLLECTION) (LOW PRIORITY)

Zbirateljski sistem - odkrivanje sveta.

  • Album Framework
    • Album UI (book interface)
    • Categories (zombiji, rastline, ribe, mutanti)
    • Auto-discovery (first encounter)
    • Completion percentage
  • Kategorije
    • Legendarne Zombije (rare types)
    • Gigantske Rože (mesojedke)
    • Redke Ribe (fishing)
    • Mutanti (enemies)
    • Defektni Zombiji (lab jokes)
  • Rewards
    • Completion bonuses
    • Unlock special items
    • Achievements
    • Lore entries

Status: 📋 LOW PRIORITY


🆕 PHASE 42: MAIN QUEST - SESTRA (HIGH PRIORITY)

Glavna zgodba - iskanje izgubljene sestre.

  • Quest Framework
    • Quest tracking
    • Quest journal
    • Quest markers
    • Quest rewards
  • Zgodba
    • Prologue (napad Zmaj-Volka)
    • Act 1: Iskanje sledi
    • Act 2: Odkrivanje laboratorija
    • Act 3: Soočenje z resnico
    • Finale: Sestra & zdravilo
  • Zapisi (Lore)
    • Stari zapisi (mining, digging)
    • Virus origin story
    • Lab experiments
    • Zmaj-Volk creation
  • Odločitve
    • Zdravilo ali maščevanje?
    • Rešiti sestro ali svet?
    • Multiple endings

Status: 🔥 HIGH PRIORITY


🆕 PHASE 43: ZMAJ-VOLK BOSS (HIGH PRIORITY)

Najvišji plenilec - epic boss fight.

  • Zmaj-Volk Design ⚙️ NEEDS SPRITES
    • Hybrid mutant (dragon + wolf) - Asset generation
    • Massive size - Sprite sizing
    • Unique animations - Animation frames
    • Intimidating presence - Visual effects
  • Boss Fight COMBAT MECHANICS READY!
    • Multi-phase fight (3 faze) - MagicSystem (phase state machine)
    • Special attacks (fire breath, claw swipe) - MagicSystem (spells adaptable)
    • Weak points - MagicSystem (damage modifiers)
    • Environmental hazards - MagicSystem (AoE effects)
  • Boss Arena ⚙️ NEEDS TILED MAP
    • Special location (ruins, forest) - Tiled map design
    • Dynamic environment - Phaser physics
    • Escape routes - Map layout
  • Rewards LOOT SYSTEM READY!
    • Zmaj-Volk trophy - RecipeSystem (special item)
    • Legendary loot - RecipeSystem (rare materials)
    • Story progression - Quest system integration
    • Unlock ending - Quest completion flag

Status: 🔥 HIGH PRIORITY
Systems Coverage: 60% READY - (MagicSystem has ALL combat mechanics!)
Needs: Boss sprites & animations, Boss arena Tiled map, Boss AI (HP phases)


🆕 PHASE 44: INVAZIJA (HORDE MODE) (MEDIUM PRIORITY)

Wave defense - End-Game content.

  • Horde System ⚙️ NEEDS WAVE MANAGER
    • Wave spawning - New WaveSystem needed
    • Difficulty scaling - Wave progression logic
    • Enemy types (zombiji, mutanti) - Spawn pools
    • Boss waves - Wave definitions
  • Obramba DEFENSE MECHANICS READY!
    • Mesojedke (auto-defense) - Phase 39 mesojedke system
    • Guard zombiji (player army) - ZombieSystem (guard task + combat)
    • Traps and barriers - RecipeSystem (crafting), Phaser collision
    • Player combat - MagicSystem (all spells + weapons)
  • Rewards REWARD SYSTEM READY!
    • Wave completion rewards - RecipeSystem (completion rewards)
    • Rare loot - RecipeSystem (rare materials)
    • XP bonuses - ZombieSystem (XP multipliers)
    • Leaderboards - Need online integration (Steam/Firebase)

Status: 📋 MEDIUM PRIORITY
Systems Coverage: 70% READY - (ZombieSystem guards, MagicSystem combat)
Needs: WaveSystem spawner, Enemy AI, Leaderboard integration


📊 KRVAVA ŽETEV - PRIORITY ROADMAP

HIGH PRIORITY (Začni tukaj):

  1. Phase 35: Zombi Delavec Sistem - 100% COMPLETE! (22.12.2025)
  2. 🔥 Phase 36: Hybrid Skill - 70% COMPLETE (Abilities , needs dialogue UI)
  3. 🔥 Phase 37: Micro Farm & Širitev - 80% SYSTEMS READY (needs Tiled map & UI)
  4. 📝 Phase 42: Main Quest - Sestra - Needs QuestSystem (story framework needed)
  5. ⚔️ Phase 43: Zmaj-Volk Boss - 60% COMBAT READY (needs sprites & arena map)

MEDIUM PRIORITY (Potem):

  1. 🏗️ Phase 38: Obnova Mesta - 65% SYSTEMS READY (needs NPC system & shop UI)
  2. 🌺 Phase 39: Mesojedke - Needs PlantSystem (new system for carnivorous plants)
  3. 💰 Phase 40: Minting - 95% SYSTEMS READY (just add recipes!)
  4. 🛡️ Phase 44: Invazija - 70% COMBAT READY (needs WaveSystem spawner)

LOW PRIORITY (Zadnje):

  1. 📔 Phase 41: Album - Needs CollectionSystem

📈 SYSTEMS COVERAGE SUMMARY (23.12.2025):

Phase Coverage Systems Ready What's Missing
Phase 35 100% ZombieSystem COMPLETE!
Phase 36 🔥 70% ZombieSystem (Alfa), HybridAbilitySystem Dialogue UI, Skill tree UI
Phase 37 🔥 80% RecipeSystem, ProgressionSystem, ZombieSystem Tiled 8x8 map, Tutorial UI
Phase 38 🏗️ 65% RecipeSystem, ProgressionSystem, ZombieSystem NPC RelationshipSystem, Shop UI
Phase 39 🌱 20% RecipeSystem (feeding) New PlantSystem, Defense AI
Phase 40 💰 95% RecipeSystem (ALL mechanics!) 3 recipes (smelter, mint, gold)
Phase 41 📔 10% - (standalone) CollectionSystem, Album UI
Phase 42 📖 15% - (needs unique system) QuestSystem, Dialogue, Lore display
Phase 43 ⚔️ 60% MagicSystem (all combat!) Boss sprites, Boss AI, Arena map
Phase 44 🛡️ 70% MagicSystem, ZombieSystem WaveSystem, Enemy AI

Overall Progress: ~55% of game mechanics are system-ready! 🎉


Timeline (Updated 23.12.2025):

  • Core Systems (35-37): 3-4 weeks DONE in 1 day!
  • High-Coverage Phases (37, 38, 40, 43, 44): 3-4 weeks (mostly content & UI)
  • New Systems Needed (36, 39, 41, 42): 2-3 weeks (4 small systems)
  • Integration & Testing: 1-2 weeks (connect everything)

Revised Total: 10-14 weeks5-7 weeks (with 55% systems done) 🚀


💀 KRVAVA ŽETEV - DEATH HARVEST 💀
Unique Zombie Worker Survival RPG
Development Start: December 2025 🚀
Core Systems Complete: 22.12.2025