Releases: Team-Jackdaw/NPCBasicFunction
1.0 Initialial Release
What is new:
Everything is new. We provide the basic functions below:
1. Give Diamond Function
The give_diamond function is used to give the player a certain number of diamonds. This function accepts a parameter number, which represents how many diamonds to give to the player. The function is implemented by creating a diamond item stack and giving it to the player.
2. Basic Action Function
The basic_action function is a generic function that can be used to perform NPC's basic actions in the game. It accepts a parameter action, which represents the action to be performed. The function is implemented by executing the specified action.
The basic actions that can be performed include:
walk to player: The NPC walks towards the player.escape: The NPC escapes from the player.
3. Basic Feeling Function
The basic_feeling function is a generic function that can be used to express NPC's basic feelings in the game. It accepts a parameter feeling, which represents the feeling to be expressed. The function is implemented by displaying the actions below:
happy: The NPC expresses happiness by displaying love particles.shake head: The NPC shakes its head to express disagreement.