I'd like a setup whereby activating an object (a workbench) brings up a message box with multiple options to spawn a variety of objects for building purposes, with each option requiring items to be in the player's inventory. Something like this:
Workbench (activate) -> message box appears with two options: option A - spawn object set A (requires 1 iron ore,) option B - spawn object set B (requires one steel ingot) -> Choose option -> items removed from player inventory -> objects spawn
I sort of get some of the individual scripting pieces I need, but have no idea how to put them all into a script that actually works.
Thanks.