Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sugarcane Inventorylist

HI im using Sugarcane and have not a real problem but i want to make it easier. I have a masterlist which include over 50 items.

I have a masterlist.

example:
<<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"
},
}>>

and now i want that a shop and an inventory list is created automatically.

the shop should look like this:
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.

Actually i have to create 2 lists, 1 for shop and 1 for the inventory. And i have to type all by my own and I have to create a new variable for every item. and that i want to make easier. Is it possible or not? Anyone has a idea?
Sign In or Register to comment.