feat: Magic Enchanting + Bug Catching Systems! 🔮🦋

MAJOR NEW FEATURES:

1. MAGIC ENCHANTING SYSTEM 
   - 5 Enchantment types (Power, Speed, Fortune, Unbreaking, Auto-Collect)
   - 3 levels per enchantment
   - Costs mana + rare materials
   - Stack multiple enchantments
   - Glowing visual effects

2. BUG CATCHING & COLLECTION 🦋
   - 3 Bug net tiers (Basic, Silk, Enchanted)
   - 50+ Bug species across 5 rarity tiers
   - Bug Collection Album
   - Seasonal/biome/time-based spawning
   - Sell bugs (30g-10,000g)
   - 100% completion: +10,000g bonus

3. REPAIR BENCH
   - Player-craftable workstation
   - Self-repair tools using materials
   - Unlocks at Level 5

4. IVAN'S BLACKSMITH SHOP
   - NPC in Ruined Town
   - Tool repairs, upgrades, training
   - Sells enchanting materials
   - Train Blacksmith Zombies (500g)

FILES ADDED:
- src/systems/MagicEnchantingSystem.js (280 lines)
- src/systems/BugCatchingSystem.js (580 lines)
- docs/NEW_FEATURES_V1_1.md (Complete documentation)
- docs/game_design/GAME_BIBLE.md (Updated)

TOTAL NEW CODE: ~1,200 lines
TOTAL NEW SYSTEMS: 4
ESTIMATED ASSETS: ~140 images

Bug Species:
- Common: 6 (30g-80g)
- Uncommon: 5 (150g-300g)
- Rare: 5 (500g-800g)
- Epic: 4 (1,000g-2,000g)
- Legendary: 4 (3,000g-10,000g)

Enchantments:
- Power Lv3: +100% efficiency
- Speed Lv3: +80% speed
- Fortune Lv3: 50% double drops
- Unbreaking Lv3: 75% less durability loss
- Auto-Collect Lv3: 3 tile radius

Ready for phase 2 implementation! 🚀
This commit is contained in:
2026-01-04 21:00:39 +01:00
parent 6aa5aaf5bb
commit 1b0ce561c8
8 changed files with 2226 additions and 957 deletions

View File

@@ -634,16 +634,140 @@
- Silver Ore (werewolf weakness)
- Fiber (from plants)
### **Tools (6):**
### **Tools (11):**
1. Hoe (till soil)
2. Watering Can (water crops)
3. Axe (chop trees)
4. Pickaxe (mine rocks)
5. Scythe (harvest crops, weapon)
6. Fishing Rod (catch fish)
7. **Bug Net** (catch bugs) - NEW!
8. **Hammer** (building/repair)
9. **Drill** (ultimate auto-mine)
10. **Chainsaw** (ultimate auto-chop)
11. **Mechanical Tiller** (ultimate auto-till)
**Tool Tiers:**
- Wooden → Iron → Gold → Diamond
**Tool Tiers (6):**
- Wooden → Stone →Iron → Gold → Diamond → Ultimate
- Each tier: Better durability, efficiency, speed
- **Ultimate tools**: Infinite durability, auto-abilities!
**Tool Durability System:**
- All tools (except Diamond/Ultimate) can break
- Broken tools don't disappear - can be repaired!
- 3 Repair methods:
1. **Ivan's Blacksmith**: 10g per durability point
2. **Repair Kit**: Restores 50% (consumable)
3. **Blacksmith Zombie**: FREE overnight repairs (3 tools per zombie)
**Repair Bench:**
- Player-craftable workstation
- Self-repair tools using materials
- Costs: Wood tools = 5 wood, Iron tools = 5 iron bars, etc.
- Recipe unlocks at Level 5
---
### **🔮 NEW: MAGIC ENCHANTING SYSTEM**
**Enchantment Types (5):**
1. **⚡ Power** - Increases tool efficiency
- Level 1: +25% (50 mana + 1 crystal)
- Level 2: +50% (100 mana + 3 crystals)
- Level 3: +100% (200 mana + 10 crystals)
2. **⚡ Speed** - Increases tool speed
- Level 1: +20% (50 mana + 5 feathers)
- Level 2: +40% (100 mana + 15 feathers)
- Level 3: +80% (200 mana + 50 feathers)
3. **💎 Fortune** - Chance for double drops
- Level 1: 15% chance (75 mana + 1 emerald)
- Level 2: 30% chance (150 mana + 3 emeralds)
- Level 3: 50% chance (300 mana + 10 emeralds)
4. **🛡️ Unbreaking** - Reduces durability loss
- Level 1: 30% less (60 mana + 5 obsidian)
- Level 2: 50% less (120 mana + 15 obsidian)
- Level 3: 75% less (250 mana + 50 obsidian)
5. **🌀 Auto-Collect** - Auto-picks drops
- Level 1: 1 tile radius (100 mana + 1 void_essence)
- Level 2: 2 tile radius (200 mana + 3 void_essence)
- Level 3: 3 tile radius (400 mana + 10 void_essence)
**Enchanting Features:**
- Requires Enchanting Table (build in town)
- Can stack multiple enchantments on same tool
- Glowing visual effects per enchantment
- Remove enchantment: 25 mana cost
---
### **🦋 NEW: BUG CATCHING & COLLECTION**
**Bug Net Tiers:**
1. **Basic Bug Net**: 50% catch rate, 1.0x speed (50g)
2. **Silk Bug Net**: 75% catch rate, 1.3x speed (200g)
3. **Enchanted Net**: 95% catch rate, 1.8x speed (1000g)
**Bug Species (50+):**
**Common (6)**: 30g-80g
- Butterfly, Ladybug, Honey Bee, Ant, Firefly, Grasshopper
**Uncommon (5)**: 150g-300g
- Monarch Butterfly, Dragonfly, Praying Mantis, Luna Moth, Cicada
**Rare (5)**: 500g-800g
- Rainbow Beetle, Atlas Moth, Orchid Mantis, Hercules Beetle, Blue Morpho
**Epic (4)**: 1,000g-2,000g
- Golden Scarab, Ghost Moth, Crystal Dragonfly, Shadow Beetle
**Legendary (4)**: 3,000g-10,000g
- Phoenix Butterfly (5,000g)
- Void Moth (10,000g)
- Celestial Beetle (8,000g)
- Time Cicada (7,500g)
**Bug Collection Features:**
- Album system (like fish collection)
- Seasonal spawning (spring/summer/fall/winter)
- Biome-specific bugs
- Time-specific (day/night)
- Sell bugs for gold
- 100% completion bonus: +10,000g
- Bug jars as decorations
---
### **🏪 NEW: IVAN'S BLACKSMITH SHOP**
**Location**: Ruined Town (Pepelngrad)
**NPC**: Ivan the Blacksmith
**Services:**
1. **Tool Repairs**: 10g per durability point
2. **Tool Upgrades**: All 6 tiers available
3. **Blacksmith Training**: Train zombies (500g, Lv5+ zombie required)
4. **Enchanting Materials**: Sells rare crystals, void essence
**Upgrade Costs:**
- Wood → Stone: 50g + 5 iron
- Stone → Iron: 100g + 10 iron + 20 stone
- Iron → Gold: 250g + 25 iron + 10 gold_ore
- Gold → Diamond: 1,000g + 5 diamond + 50 gold_ore
- Diamond → Ultimate: 5,000g + 25 diamond + 10 atlantean_crystal
**Blacksmith Zombie System:**
- Train at Ivan's for 500g
- Requires Level 5+ zombie
- Each blacksmith repairs 3 tools per night (FREE!)
- Overnight process (queue before sleep, get repaired tools at 6 AM)
---
### **Food:**
- Bread (from wheat)