Skip to content

Wall construction causes an error #1493

@iamteapot422

Description

@iamteapot422

Current Behavior

If you pick up a metal sheet and click with an empty on a bolted metal girder, the interaction causes a MissingReferenceException error, but constructs the wall anyway.
If you click on the girder with the hand that holds a metal sheet, the interaction doesn't happen.
If you click on the girder with an empty hand, while a glass sheet and a metal sheet lie around, the interaction always chooses the glass sheet.
If you click on the girder with an empty hand, while holding a metal sheet in the other and a glass sheet lying around, the interaction opens the crafting menu.

Image

Expected Behavior

If you click on a girder with a sheet in hand, the interaction uses the sheet in hand, without considering the others.
If you click on a girder with an empty hand, the interaction should open a crafting menu with available materials (either in the other hand or lying around). Don't forget to check if the other hand exists at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: UnconfirmedBugs that need to be confirmed by a another contributor.CraftingTasks specific to the crafting system.Difficulty: Good first issue 🍰Easy tasksInteractionsTasks specific to the interaction system or specific interactions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions