Hi, i wanted to know if its possible to make an input that opens when you click on a verb where all your items get in like normal you have your inventory in a statpenel but now in an input. pls leave a comment or demo or somethink.
mob var bag = list("Bag of Gold", "Healing Vial", "Club") verb Open_Bag() bag += "[Close]" var/selected = input("Select Item", "Inventory") in bag
Of course you may want to format your inventory differently.
Using numbers or Object names to have them loaded into the list in their icon form.
I would help more, but I've never put icons/items in an input list before so this is about as far as I can take you.
You'll have to work around with it.
Thats the way I did most of my coding. Check the DM guide/reference for tips and usage for procs.
Be sure to search the Developer articles section well for any examples and tips for you to use as well.
I wouldn't mind helping, but I'm still very much a novice to DM language, myself. So I can't really give much more than just basic information.
Of course you may want to format your inventory differently.
Using numbers or Object names to have them loaded into the list in their icon form.
I would help more, but I've never put icons/items in an input list before so this is about as far as I can take you.