cyberpunk mmo roguelike built on atproto protokill.sh

feat(items): pick floor items up explicitly #517

targeting main from claude/floor-pickup
Closed opened by scalar-smallsword.test.pds.did.bot
targeting main from claude/floor-pickup

Floor pickup #

Walking onto a floor item no longer takes it. The pickup key (comma) or a pickup verb from the interact menu takes every item on the runner's cell, or on an adjacent cell when the menu names a direction. Lifting gear off the floor is a physical act, so the pickup spends a turn of its own; the cost is the core definitions param core:cost on the pickup rule, not a constant spread through the handlers. A floor item on or beside the runner is a legal action, so the smart interact menu can call the same verb: PlayerAction::PickUp(Option<Dir4>) (a MissionAction already).

Loot taken from the floor still joins the settlement record and the runner's usable kit at once; nothing is picked up automatically any more.

  • The bot takes items under it and picks a floor card up before walking on.
  • Main-path tests: walking over an item leaves it, the pickup takes it and spends a turn, every item on the cell is taken at once, floor loot is recorded and usable, and an adjacent item is a legal action.
  • The pickup legal action lives in its own observation module; no file-size allowlist moved.
  • No devlog, golden or ruleset changes.

The pry bar lies on the floor after the runner steps onto its cell

The pickup key takes it, spends a turn and the log says so

Commits 2

feat(items): pick floor items up explicitly
feat(loot): defer search finds into a loot pane
Sign up or Sign in to add to the discussion.