Skip to content

feat: Add NPC entity#33

Merged
Distractic merged 30 commits intomainfrom
feat/npc
Mar 10, 2023
Merged

feat: Add NPC entity#33
Distractic merged 30 commits intomainfrom
feat/npc

Conversation

@Distractic
Copy link
Copy Markdown
Collaborator

@Distractic Distractic commented Feb 25, 2023

Context

It could be very nice to have some interaction with NPC entity.

For that, the PR adds the possibility to create NPC entity that can be triggered by several things :

  • Interaction from player (MAIN hand interaction).
  • Triggered when a player enters an area around the entity.
  • Triggered when a player leaves an area around the entity.

Without knowing the final needs of the server, only a Player NPC is added and an NPC with any entity type.

To do

  • Custom NPC
  • Player NPC
  • Tests

@Distractic Distractic added the enhancement New feature or request label Feb 25, 2023
@Distractic Distractic requested a review from Quentixx February 25, 2023 21:34
@Distractic Distractic self-assigned this Feb 25, 2023
@Distractic Distractic marked this pull request as draft February 25, 2023 21:34
@Distractic Distractic marked this pull request as ready for review February 26, 2023 14:16
@Distractic Distractic merged commit f398f93 into main Mar 10, 2023
@Distractic Distractic deleted the feat/npc branch March 10, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants