It looks like you're new here. If you want to get involved, click one of these buttons!
<<set $Shop =
"LeatherArmor" {
name: "Leather Armor",
class: "Armor",
price: 50,
desc: "a simple leather armor"
},
"SHealPot" {
name: "small Heal Pot",
class: "useable"
price: 10,
desc: "a small Heal Pot which regenerate 25 life"
},
}>>
The shopowner has:
"Item name"+"Description"+"Price"+"buy button"
And this list should be generated out of my "masterlist". And if you buy a item it should be removed out of the shop and should be added to the player inventory. which should look like:
Actually you have:
"Item name"+"Description"+"use button"
And all of this should be created automatically so that i only have to add items to my "masterlist" and it appear at the shop by its own.