Skip to content

Dropping equipped item does not behave correctly #197

@benprime

Description

@benprime
> i
Main Weapon: short sword
Head: helmet
Body: padded leather armor
Feet: leather boots
Backpack: great sword
Currency: 0 copper

> drop great sword
You don't seem to be carrying that.

> drop great
You don't have that item equipped.
Dropped.

> i
Main Weapon: short sword
Head: helmet
Body: padded leather armor
Feet: leather boots
Backpack: Empty
Currency: 0 copper

> drop great sword
You don't seem to be carrying that.

There are two issues here:

  • drop command did not properly select "great sword" when full name was used.
  • drop worked when just "great" was used, and drop was successful, but first output message "you don't have that item equipped"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions