Hi GiL,
I'm playing around with having world-space shop items instead of a shop menu.
Currently I've got a schematic for each item I could buy, with a choice dialogue "Do you want to buy" -> Check player inventory has enough money -> subtract money -> add item to inventory -> destroy prefab.
This is all hardcoded in the schematic. Meaning any price changes or name changes need to get edited back in.
Is it possible to get all the StartingObject (I'm assuming starting object and not Machine Object - the interact machine is on the item I want to buy, the the player interacts with it to initiate schematic) values somehow? Price, name, object type etc.
How's your overall setup for those item game objects?
E.g. are they just game objects with an interaction or do they have some setup to link an item to them, e.g. an Item Collector?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
You can get the item from the item collector using a Select Item Collector node - e.g. afterwards using a Store Selected Data Content node allows you to store the name (or other information) of the item into a string variable and display it in a dialogue.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!