Skip to content

Simplify "Use" action #147

@olls

Description

@olls

Using the h button to attack mobs is a bit clunky, as it is out of the way of the commonly used inputs. Intelligently using the k "use" button to attack when within range of an attack-able entity would make defending yourself much less frustrating.

This would also work nicely with a weapons system. If we created designated inventory slots with set purposes: weapon, tool, food; then pick which of those slots to use when the user presses k depending on the context. If the cursor is selecting a block, use the tool, otherwise use the weapon?

Having a separate key for eating makes more sense than for attacking, as there is not much detectable context for determining when the user wants to eat.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions