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

Abierto
#4,900 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Go
Estrellas
97
Forks
61
Merge medio
3 h 59 min
PR fusionados (30 d)
966

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de opensro-dev/opensro

Todos los issues de opensro-dev/opensro

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.