Find help on the FRENCH REFORGER MOD discord if you need ✅ Check our progress about this wiki here 📜
Skip to main content

Create a selling point

Le but de se tuto est de cree un point de vente qui permette d'echanger des produit contre de l'argent

pour cela on va utilsier des component que l'on va ajouter au prefab:

image.png

We are using the base setuop that the everon team did and we decompose it to analyse it's function:

Putting the componenet on a npc does not seem to be working therefore you need to put an prefab (i recommand putting for exemple a prefab in link with the farm)

- EL_restrictedInventoryStorageCompinent:

this component seem to be the one who are filtering the item you can exchange

image.png

we see here at the begining the item that the prefab take (in the exemple it's an apple)

- EL_TraderManagerComponent

image.png

ce component sert donc a prendre un item et à l'encahger avec un autre

- Action manager

image.png