Commit Graph

2 Commits (e04761f7b587a708fad8ae5f8dc470bdbfb99c6f)

Author SHA1 Message Date
Amir Alexander Abdelbaki e04761f7b5 Add item pickup/drop, NPC AI framework, hacking, and turrets
- Item pickup (key) and drag-to-drop from a dedicated container popup card
  (backpacks, pockets), replacing the earlier inline inventory grid
- NPC AI slot framework (engine/ai.py, resources/logic/ai.py) with a wander
  behavior, an NPC spawner UI (dev-mode, reuses the character creator), and
  a "secret items password" creator field
- Hacking mechanic: derived tech skill (intelligence + perception), a sample
  lockable door, a hacking tool item, and six cyberdeck implants with
  bonus/roll-floor effects (including a secret dev-only one)
- Turrets: character faction/tag targeting, turn-rate-limited tracking of
  the closest hostile, and cpu/psu/motors/gun/camera body parts with
  weapon-type variants

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FyY5qQB6XHRoBFNbsgdRQn
2026-07-16 16:44:46 +02:00
Amir Alexander Abdelbaki 05f66b8e00 Add launch_lightning ability with bot-specific shortcircuit effect
- Sample launch_lightning ability (storm_rod item): guaranteed hit on
  the first Character within a configurable range along the aim
  direction, no skill check - burns roughly half the target's body
  parts and inflicts heart_palpitations, which both weighs down
  heart-dependent checks directly and damages the target's
  heart-equivalent organ (new OrganDef.role tag + Character.find_organ
  _by_role, so this works species-agnostically) so its dependents
  degrade too via the existing organ-interaction tick.
- Bot targets (new SpeciesDef.is_synthetic flag) also short-circuit:
  120% organ damage randomly split across every organ they have, plus
  a heavy insight/perception/sleight_of_hand debuff - the intellect
  hit falls out of the existing organ-penalty math since bot_cpu/
  bot_npu are among the randomly-damaged organs.
- ABILITY_CASTERS/_cast_ability now thread aim_direction uniformly so
  directional abilities work through the hand/implant/ability-bar
  casting paths alike.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015mFzQQZYexNaSB69e2oU95
2026-07-15 14:25:02 +02:00