Skip to content

Make Connectable Furniture #68

@Boy0000

Description

@Boy0000

Essentially have a parentFurniture and subFurniture, similar to directional blocks, that will transform neighbouring furniture depending on the parent

So if you place a furniture down and the block to the left has same connectable parent, get the furniture this neighbouring should be transformed into and replace the furniture

This should take hitboxes into account and make sure that the size of the furniture does not change to avoid conflicts
Perhaps the furniture component is only defined on the parentblock and inherited by all child blocks? still could cause issues with rotations etc but notEnoughSpace should make sure of that.

In fact this should work without specifying this specifically due to notEnoughSpace method cancelling the replacing
Therefore furniture should be removed and then placed not just updated

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