I got a simple Question and weird from passing value to data type class variable.
the code like below :
void AddItem(int ID) { for (int i = 0; i <
In item constructor you are doing it:
item
this.baseName = folder + "/"; itemIcon = this.baseName + itemName;
where folder == Corps and this.baseName == "Corps/Lemon/" and itemName == "Lemon" so you have exactly what you should get.
folder == Corps
this.baseName == "Corps/Lemon/"
itemName == "Lemon"