Skip to content
This repository was archived by the owner on Dec 14, 2019. It is now read-only.
This repository was archived by the owner on Dec 14, 2019. It is now read-only.

Add attraction node #5

@BrunoMine

Description

@BrunoMine

I imagine it is interesting to create friendly creatures with whom the player can interact (NPCs).
I've been trying to do this with the spawning node, but ends up appearing like creatures 2 (a bad thing for a character's adventures).
The attraction node will keep the character walking around and avoiding spawning his own (since it is near a spawning node).

creatures.register_mob({ spawning = { attractant = { range = n } } })

In summary the objective is to keep the mob near a position.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions