Skip to content

[Gothic I] allow looting equipped items except armor - #1088

Open
Abendlied wants to merge 2 commits into
Try:masterfrom
Abendlied:fix-g1-loot-equipped
Open

Abendlied wants to merge 2 commits into
Try:masterfrom
Abendlied:fix-g1-loot-equipped

Conversation

@Abendlied

@Abendlied Abendlied commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Gothic I now allows the player to loot NPC's equipped weapons, runes, amulets and rings from dead and unconscious NPCs. Armour cannot be looted when equipped, armour can be looted it not equipped.
The ransack iterator hid all equipped items, which is Gothic 2 behaviour. Inventory::transfer already unequips the item before handing it over.

This fixes #624 but we might want to wait for formal proof this is intended game behaviour.
References: mentioned in #622 no. 1 and #944 no. 17.

Verification

Build: Gothic2Notr and Spacer (Linux).

Gothic I
Functional testing: Dead and knocked-out NPCs now allow looting of equipped equipment

  • Melee weapons, also covering multiple same weapons and having equipped one of them
  • Ranged weapons
  • Amulets
  • Rings
  • non-equipped armour is lootable
  • equipped armour is not lootable
  • ice golem heart lootable

Gothic II / Gothic II NotR
Regression testing: Verified looting in Gothic II NotR is not impacted by killing and looting several NPCs. No regression observed with melee weapons, ranged weapons, amulets and rings, armour.

Gothic I lets the player take equipped weapons, runes, amulets and rings from dead or unconscious NPCs. Armour explicitly not. The ransack iterator hid all equipped items, which is Gothic 2 behaviour. Inventory::transfer already unequips the item before handing it over.

Fixes Try#624
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Gothic 1] equipped weapon cannot be looted from NPCs inventory

1 participant