Commit Graph

199 Commits

Author SHA1 Message Date
LemonNexus d9921993c8 fix(ui): remove non-existent AttachmentManagerWidget from imports 2026-02-09 13:44:59 +00:00
LemonNexus 48bce51d0f fix(loadout): add missing Nexus imports
- NexusAttachment, NexusEnhancer, NexusRing, NexusClothing, NexusPet
2026-02-09 13:08:01 +00:00
LemonNexus ad9cd2cd4c fix(loadout): remove leftover code causing indentation error
- Removed old attachment selection dialog code
- Fixed _on_attach() method
2026-02-09 13:06:05 +00:00
LemonNexus 78234da448 feat(loadout): complete data model for all gear types
- LoadoutConfig now includes:
  - weapon_enhancers: List of up to 10 enhancer configs
  - armor_plates: Dict of plate configs per slot
  - left_ring, right_ring: Ring selections
  - clothing_items: List of clothing
  - pet: Selected pet

- Cost calculations updated:
  - get_total_decay_per_shot() includes enhancer decay
  - calculate_armor_cost_per_hour() includes plate decay

- Serialization updated:
  - to_dict() handles enhancers and plates
  - from_dict() handles all new fields with defaults
2026-02-09 12:05:16 +00:00
LemonNexus cf7c4ab5de feat(loadout): add plate search button to each armor slot
- Each armor slot now has a 🔍 button for plate selection
- Opens PlateSelectorDialog filtered by armor's highest protection type
- Selected plates from API are added to the slot's combo box
- Plates auto-selected after API selection
2026-02-09 11:59:06 +00:00
LemonNexus 88a3c8b551 feat(loadout): wire ALL selectors into LoadoutManager
- Attachment buttons now open AttachmentSelectorDialog (API-based)
- NEW: Enhancer selection button with warning about breakage
- NEW: Accessories section (Rings, Clothing, Pets)
- Methods for all selectors:
  - _on_select_attachment() - Amps, Scopes, Absorbers
  - _on_select_enhancer() - Weapon/Armor enhancers
  - _on_select_accessories() - Rings, Clothing, Pets
  - _on_ring_selected(), _on_clothing_selected(), _on_pet_selected()

Complete gear selection now available!
2026-02-09 11:57:27 +00:00
LemonNexus c490a84982 feat(selectors): add enhancer and accessories selectors
- NEW: ui/enhancer_selector.py - Weapon/Armor enhancer browser
  - Filter by type (Damage, Economy, Range, etc.)
  - Filter by tier (1-5+)
  - Risk level indicator (Low/Medium/High break chance)
  - Warning about enhancer breakage

- NEW: ui/accessories_selector.py - Rings, Clothing, Pets browser
  - Tabbed interface: Rings / Clothing / Pets
  - Rings: Limited items highlighted
  - Clothing: Buff display, cosmetic indicator
  - Pets: Effect display, level requirements
2026-02-09 11:54:00 +00:00
LemonNexus 1c0d684c4c feat(selectors): add plate and attachment selectors
- NEW: ui/plate_selector.py - Searchable plate browser
  - Filter by protection type (Impact, Cut, etc.)
  - Filter by minimum protection
  - Highlights plates matching mob damage type

- NEW: ui/attachment_selector.py - Tabbed attachment browser
  - Tabs: All, Amplifiers, Scopes, Sights, Absorbers
  - Search within each category
  - Color-coded by attachment type
2026-02-09 11:50:45 +00:00
LemonNexus 649aa77bc9 feat(loadout): wire armor and healing API selectors into LoadoutManager
- Added 'Search Entropia Nexus Armors' button
- Added 'Search Healing Tools from Nexus' button
- New methods: _on_select_armor_from_api(), _on_select_healing_from_api()
- Armor selection shows durability and protection summary
- Healing selection auto-updates cost and heal amount fields
2026-02-09 11:47:51 +00:00
LemonNexus dceafbc69f feat(api): full Entropia Nexus API integration + searchable selectors
- NEW: core/nexus_full_api.py - Complete API for all gear types
  - Weapons, Armors, Plates, Attachments, Enhancers
  - Healing Tools, Rings, Clothing, Pets
  - Search across all categories

- NEW: ui/armor_selector.py - Searchable armor browser
  - Real-time search, filter by protection type
  - Preview panel with economy info

- NEW: ui/healing_selector.py - Searchable healing tool browser
  - Filter by type (FAP/Chip/Limited)
  - Filter by heal amount
  - Color-coded economy ratings

All gear now searchable like weapons!
2026-02-09 11:43:25 +00:00
LemonNexus 6a6d50e5f8 fix(armor): add decay_per_hp field to ArmorPlate
- Added decay_per_hp field with default 0.05
- Changed constants to ClassVar like ArmorPiece
2026-02-09 11:26:49 +00:00
LemonNexus 62e9fa4a38 fix(armor): replace old slot names with new Nexus slot names
- CHEST -> TORSO
- LEFT_ARM/RIGHT_ARM -> ARMS
- LEFT_HAND/RIGHT_HAND -> HANDS

Note: Duplicate ARMS/HANDS entries exist in armor sets - second entry overwrites first
2026-02-09 11:23:09 +00:00
LemonNexus 30229a8ce3 fix(armor): add decay_per_hp field and ClassVar constants to ArmorPiece
- Added decay_per_hp field for custom economy per piece
- Added BASE_DECAY_FACTOR and MAX_DURABILITY as ClassVar
- Added ClassVar to typing imports
2026-02-09 11:22:35 +00:00
LemonNexus 8e26602069 fix(ui): update ArmorSlotWidget to use new Nexus slot names
- CHEST -> TORSO
- LEFT_ARM/RIGHT_ARM -> ARMS
- LEFT_HAND/RIGHT_HAND -> HANDS
- THIGHS -> LEGS
- Added SHINS and FEET
2026-02-09 11:18:26 +00:00
LemonNexus 0e5e54e386 docs: add complete equipment structure from Nexus export
- Full 7-slot armor system (Head, Torso, Arms, Hands, Legs, Shins, Feet)
- Weapon attachments (Scope, Sight x2, Amp, Absorber, Matrix, Implant)
- 10 weapon enhancer slots
- Clothing/Accessories system
- Consumables and Pets
- Markup tracking structure
- Priority implementation roadmap
2026-02-09 11:07:48 +00:00
LemonNexus 9e55c751b9 fix(armor): match Entropia Nexus slot naming exactly
- TORSO (was CHEST) - Harness/Chest piece
- LEGS (was THIGHS) - Thigh Guards
- Updated Frontier set with correct slots
- Display names match Nexus: Head, Torso, Arms, Hands, Legs, Shins, Feet

Now matches Nexus JSON export structure exactly
2026-02-09 11:06:46 +00:00
LemonNexus fd2b34e395 fix(armor): correct 7-slot structure to match EU exactly
- HEAD: Helmet
- CHEST: Harness
- ARMS: Arm Guards (both arms combined)
- HANDS: Gloves (both hands combined)
- THIGHS: Thigh Guards
- SHINS: Shin Guards
- FEET: Foot Guards

Updated ArmorSlot enum and Frontier set with correct structure
2026-02-09 10:59:17 +00:00
LemonNexus e48dca4ea2 fix(armor): correct Frontier piece names to match EU exactly
- Frontier Helmet, Adjusted (M)
- Frontier Harness, Adjusted (M)
- Frontier Arm Guards, Adjusted (M) - both arms
- Frontier Gloves, Adjusted (M) - both hands
- Combined leg piece: Thigh+Shin+Foot Guards

Note: Full separation of Thigh/Shin/Foot would require additional armor slots
2026-02-09 10:55:19 +00:00
LemonNexus 95a511bbfd feat(gear): add real healing tools and Frontier armor set
- LoadoutManager now uses real healing_tools.py database (25+ tools)
- Added categorized healing tools: Medical Tools and Restoration Chips
- Added Frontier Set (Adjusted) with all 7 pieces
- Includes Regeneration Chip IV (L) for test run
2026-02-09 10:51:32 +00:00
LemonNexus c8128e954f fix(ui): correct signal name loadout_saved (not loadout_selected) 2026-02-09 10:46:11 +00:00
LemonNexus cfc01688f1 feat(gear): add test run equipment to databases
- Added Regeneration Chip IV (L) to healing_tools.py
- Added Frontier and Frontier Adjusted armors to armor_decay.py
- Ready for test hunt with specified gear
2026-02-09 10:44:25 +00:00
LemonNexus 37302d6a5a fix(ui): add missing ArmorSelectorDialog class
- Implemented ArmorSelectorDialog for selecting armors from API
- Search functionality by name
- Displays protection stats (Impact, Cut, Stab, etc.)
- Fixes ImportError in ui/__init__.py
2026-02-09 10:42:32 +00:00
LemonNexus dd2fce8b62 docs: add comprehensive test hunt guide
- Step-by-step instructions for first test hunt
- Pre-test checklist
- Expected cost calculations
- Troubleshooting section
- Post-test review steps
2026-02-09 10:40:46 +00:00
LemonNexus 17bb5cbf0b feat(hunting): complete hunting session tracker
- HuntingSession dataclass with full cost/loot tracking
- Real-time cost calculations (weapon + armor + healing)
- Profit/Loss with return percentage
- Cost per kill and cost per hour metrics
- SessionManager for multiple sessions
- JSON export for session data
- Excludes shrapnel/UA from profit calculations
2026-02-09 10:38:37 +00:00
LemonNexus b8d5b4a50e feat(healing): add healing tools database with 25+ tools
- Vivo, Hedoc, EMT Kit series
- Restoration Chips I-X (Mindforce)
- Adjusted Restoration Chip (popular mid-level)
- Special tools: H.E.A.R.T., Herb Box
- Economy calculations (hp/pec)
- Cost per heal in PED
- Recommendations by level
2026-02-09 10:36:30 +00:00
LemonNexus b59b016c86 feat(armor): final armor system updates from agent swarm 2026-02-09 10:33:32 +00:00
LemonNexus 5b4a8f07ea feat(armor): add Loot 2.0 decay mechanics to armor_system.py
- Linear decay per damage point (0.05 PEC per HP)
- Plate only decays for damage it actually absorbs
- Added block_chance support for upgraded plates
- Improved documentation
2026-02-09 10:32:41 +00:00
LemonNexus 66f36b4a89 feat(armor): complete armor system with sets and 7-slot plates
- Full armor sets (Ghost, Gremlin, Angel, etc.)
- Individual armor piece mix & match
- 7 plate slots (one per armor piece)
- Plate takes damage FIRST (shield layer)
- Separate decay calculation for plate + armor
- NEW: core/armor_system.py (44KB)
- Integrated into LoadoutManager
2026-02-09 10:31:56 +00:00
LemonNexus ae182f408b feat(armor): implement official decay formula (VU 15.15)
- Formula: Decay = damage * 0.05 * (1 - durability/100000)
- Added armor_decay.py with complete calculation module
- Database of 30+ armors with durability values
- Economy comparison: Ghost (20.41) → Perseus L (23.53) hp/pec
- Example: 15 dmg on Ghost = 0.00735 PED decay
2026-02-09 10:27:05 +00:00
LemonNexus 08aec368a9 docs: add official armor guide from PlanetCalypsoForum 2020 edition
- Loot 2.0 armor changes (June 2017)
- Correct decay mechanics (plate/armor independent)
- Armor progression guide (Gremlin → Ghost → Adj Nemesis)
- 20 hp/pec base economy standard
- Damage absorption flow and formulas
2026-02-09 10:21:57 +00:00
LemonNexus 5f01f2f763 docs: add armor plating mechanics - 7 slots, plates take damage first
- Documented shield layer mechanics (Plate → Armor → Player)
- 7 armor pieces, 1 plate per piece
- Plates have lower decay than armor
- Specialization strategy for damage types
2026-02-09 10:15:00 +00:00
LemonNexus dca96662b0 fix(loadout): convert ammo units to PEC correctly (1 ammo = 0.01 PEC)
- Ammo Burn from API is in ammo units, not PEC
- 1 ammo = 0.01 PEC = 0.0001 PED
- Was treating 848 ammo as 848 PEC (WRONG)
- Now correctly: 848 ammo = 8.48 PEC
- Fixes cost calculation: 30,552 PED/hr → ~330 PED/hr
2026-02-09 10:09:19 +00:00
LemonNexus d5ddb0deb7 fix(attachments): add default value for attachment_type to fix dataclass init error 2026-02-09 09:34:01 +00:00
LemonNexus d24d5e149e feat(swarm): Agent swarm - Loadout Manager v2.0, Armor Decay, Attachments
- Loadout Manager v2.0 with full Nexus API integration (3,099 weapons, 1,985 armors)
- Attachment system: Amplifiers, Scopes, Absorbers, Armor Platings
- Weapon/Armor/Attachment selectors with real data
- Armor decay tracking when hit (cost added to HUD)
- Complete cost calculations (weapon + armor + attachments + healing)
- NEW: ui/attachment_selector.py standalone module
- Updated core/nexus_api.py with decay fields
- DPP display in HUD overlay
2026-02-09 09:28:41 +00:00
LemonNexus 32e095350b feat(attachments): add attachment system and DPP display
- Created core/attachments.py with full attachment type system
- Supports: Amplifiers, Scopes, Absorbers, Finder Amps, Platings, Enhancers, Implants
- Added DPP display to HUD overlay
- Attachment compatibility validation rules
2026-02-09 09:15:03 +00:00
LemonNexus a3a0fbe2f5 docs: add comprehensive ROADMAP.md
- Project vision and completed features
- Current sprint: Advanced Loadout Manager
- Future sprints: Analytics, Export, Hunter/Miner/Crafter modules
- Attachment system planned
- Full cost tracking scope defined
2026-02-09 00:01:34 +00:00
LemonNexus 8014b63e75 feat(hud): estimated kills - each loot event = 1 kill
- Every loot batch (You received [item]) = 1 estimated kill
- Label shows 'EST. KILLS' to indicate estimated value
- Simple and consistent kill tracking
2026-02-08 23:54:54 +00:00
LemonNexus b3d257a42d fix(hud): simplify kill tracking - only count non-Shrapnel loot
- Shrapnel-only mobs undercounted, but no overcounting
- Better to undercount than overcount for profit analysis
- Removes complex Shrapnel heuristic
2026-02-08 23:52:33 +00:00
LemonNexus 31ead88886 fix(hud): reset Shrapnel counter on non-Shrapnel loot
- Non-Shrapnel loot = 1 kill AND reset Shrapnel counter
- Prevents overcounting when mob drops Shrapnel + Oil
- Shrapnel counted as 1 kill per 2 pieces
2026-02-08 23:51:02 +00:00
LemonNexus ff7b304c78 fix(hud): improved kill tracking with Shrapnel heuristic
- Non-Shrapnel loot = definite kill
- Shrapnel: every 2 Shrapnel = 1 kill (since mobs drop 1-2 Shrapnel)
- This handles mobs that drop only Shrapnel
- Reset Shrapnel counter on session start
2026-02-08 23:47:37 +00:00
LemonNexus 647728a1d4 feat(hud): add shots fired counter and fix kill tracking
- Add shots_fired counter to HUDStats
- Display SHOTS in HUD next to DAMAGE DEALT/TAKEN
- Track 1 shot per damage event
- Fix kills: count when non-Shrapnel loot is received
- Shrapnel excluded from kill count (every mob drops it)
2026-02-08 23:43:37 +00:00
LemonNexus 3a3e389f05 fix(hud): correct cost calculation using weapon decay from Nexus API
- Use actual weapon decay (PEC) from API instead of broken DPP calculation
- Add decay and ammo_burn to weapon stats passed from Gear Selector
- Cost per shot = decay (in PEC) / 100 = PED
2026-02-08 23:34:02 +00:00
LemonNexus 0a12b22498 fix(hud): fix Decimal/float division error in cost calculation
- Convert both damage and dpp to Decimal before division
- Proper Decimal arithmetic for precision
2026-02-08 23:28:44 +00:00
LemonNexus 445d0bb6f3 fix(hud): add missing kills and globals layout definitions 2026-02-08 23:24:35 +00:00
LemonNexus 7c38b398f3 feat(hud): cost tracking and profit/loss calculation
- HUD now shows: LOOT, COST, and PROFIT/LOSS (P/L)
- Profit/Loss color-coded: Green=profit, Red=loss, White=break-even
- Cost estimated from weapon DPP and damage dealt
- Weapon stats (DPP, cost/hour) passed when starting session
- Tracks cost per shot based on damage output
- All stats persisted in HUDStats dataclass
2026-02-08 23:22:13 +00:00
LemonNexus e9dc72df23 fix(gui): remove duplicate code causing IndentationError in gear_selector.py 2026-02-08 23:14:22 +00:00
LemonNexus 3cd0613e10 feat(gui): full gear selection - weapons, armors, and finders
- Gear Selector now supports: Weapons, Armors, Finders
- Weapons: 3,099 items with DPP, cost/hour, damage
- Armors: 1,985 items with protection values
- Finders: 106 items with depth/radius
- Menu: Tools → Select Gear → Weapon/Armor/Finder
- Shortcuts: Ctrl+W (weapon), Ctrl+Shift+A (armor), Ctrl+Shift+F (finder)
- Sync API for simpler code
2026-02-08 23:11:07 +00:00
LemonNexus 6130cfcd28 feat(api): complete Entropia Nexus API with all endpoints
- Weapons: 3,099 items
- Armors: 1,985 items
- Finders: 106 items
- Excavators: Available via get_all_excavators()
- Mobs: 817 creatures with HP/damage stats
- Data classes: WeaponStats, ArmorStats, FinderStats, ExcavatorStats, MobStats
- Sync API for simpler GUI integration
- Full caching support
2026-02-08 23:07:51 +00:00
LemonNexus f8ddb8f650 feat(gui): update Gear Selector to use real Nexus API
- Loads 3099+ real weapons from api.entropianexus.com
- Shows: Name, Type, Damage, DPP, Cost/hour, Efficiency
- Async loading in background thread (no UI freeze)
- Search by name
- Detailed stats preview
- Ready for production use
2026-02-08 23:04:22 +00:00
LemonNexus d07c43ce97 feat(api): full Entropia Nexus API integration
- Real API endpoint: https://api.entropianexus.com/weapons
- Loads 3099+ weapons from live database
- WeaponStats with full damage breakdown (stab, cut, impact, burn, etc.)
- Auto-calculated DPP and cost per hour
- Search by name
- Caching for performance

Example: ArMatrix BC-10 (L) - DPP: 0.05, Cost/hour: ~201 PED
2026-02-08 23:02:53 +00:00