#Reusing this without copy and pasting
1 messages · Page 1 of 1 (latest)
how could i make just one function (shop) for different items like cobblestone, dirt etc
define a list like a lookup table where it includes the item, information like a lore if you want and other junk and then include a buy and sell price
Just add type: text and then replace all cobblestone in code to the {_type} or am i wrong idk
so then all you have to do for the shop is loop the list and set the slots and then you can have a buy/sell function to handle all the purchasing and junk dynamically
im sorry but... what?
i suggest learning the basics of lists first then it will start making sense
can you like explain it in the most Babys First List terms
uh no, theres list guides and tutorials out there you can refer to
ok
how could i lay out the info in the list like the name, lore like the buy and sell price