Installation

For the full-fledged work of the profession, you need:

  1. Place actor BP_Garden in the desired location on the map. If necessary, adjust the time and quantity of plant spawns. You can also add your own type of plants. (see Garden)
  2. Place the AICharacter on the scene.
  3. In the settings AC_Profession_Gardener in the Work Place field, specify the BP_Garden that was added earlier.
  4. Done!

P.S. Don't forget to add to the map Nav Mesh Bounds Volume

AI Character

Location: AI_Gardener/AI/Characters/AICharacter

The artificial intelligence character is specifically trained for work in a profession.

But you can always add the functionality of a profession to any of your AI characters by transferring all the necessary variables and functions to it.

Inventory

Location: AI_Gardener/Inventory/Components/AC_Inventory

The inventory is an Actor Component and can be added to any AI character.

Attention: To make the inventory work on a different (user) AI character, you need to add the InteractToInventory function and the BI_Interacting interface to its blueprint.

In the settings of the AI Character, there is a parameter called Debug: Show UI Inventory - it allows you to disable the display of the inventory during gameplay.

The inventory does not have any additional functionality other than storing items for the AI character. If you want to use it as a full-fledged inventory with buttons, drag and drop, and interaction with items, you will need to develop this functionality yourself.

<aside> 💡 The component is included in the package and you can freely use it together with the profession component or in any other project of yours.

</aside>

Items

Location: AI_Gardener/Inventory/Blueprints/Actors