Inventory: bound items that refuse sale, drop, trade and use can never be removed

Offen
#4,900 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
go
Bereich
backend

Rechercherichtung

Start by tracing the server-side inventory actions for sale, drop, trade, and use, then check how item permissions and equipped, rent, or summon states are represented. Decide with the owner which disposal lane to implement and how to prevent accidental deletion; done means stuck bound items can be removed safely, with confirmation and the stated restrictions covered.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Problem

An item can reach a state where every exit from the bag refuses it, and the game has no delete/destroy action at all. The item then occupies its slot forever, and staff have no removal tool either.

Player reports (Discord #general, 2026-11-29/30):

  • vindalo_: mall items he "cannot sell or delete or use", including a storage expansion scroll he could buy but not use.
  • alexmercer0451: three spare Devil's Spirits from unique kills. The Spirit is bound by design (earned, not bought), so trade/stall/sale/drop all refuse — and the spares have no sink and no way out.

Why each exit refuses

  • NPC sale requires the item row's sale permission; bound rows clear it.
  • Ground drop is barred for untradeable items even when the row itself allows dropping.
  • Exchange, stall and the market require the item to be tradeable.
  • Use requires a working handler for the item.

Bound-by-design rows (earned Spirits, honor-style goods, many mall rows) refuse all four. This is a growing class, not a one-off: every new bound reward adds potential permanent bag occupants (duplicates especially).

What is needed

A disposal lane for bound items. Shapes to weigh:

  1. A destroy action (e.g. drag out of the bag or a confirm dialog) that deletes the item server-side. Needs care: never for tradeable goods by accident, never rent/summon/equipped rows, and a confirm that names the item.
  2. Let merchants buy bound items for 0 gold. Smallest change, reuses the sale lane, but changes the meaning of the sale flag.
  3. Treat dropping a bound item as destroying it instead of spawning a ground item (a ground spawn no one may pick up is a leak of a different shape).
  4. Interim: a staff-side removal tool (the operator grant tooling only adds items today), so support can clear a named stuck item from a named character.

Scope and shape are the owner's call; (4) is worth having regardless, since it is the only answer for items already stuck.

Notes

  • The storage-expansion "bought but cannot use" half of vindalo_'s report is a separate question (the use lane exists and is tested); this issue is the common tail: whatever the reason an item is unusable, there is no way to be rid of it.
  • Behavioural description only; no native claim is made about a destroy feature — the original client's inventory has the same four exits, so any destroy lane is port-only and needs the usual off-by-default treatment if it changes native behaviour.
Vorherrschende Sprache
Go
Sterne
97
Forks
61
Ø Merge
3 Std. 59 Min.
Gemergte PRs (30 T.)
966

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus opensro-dev/opensro

Alle Issues in opensro-dev/opensro

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.