Umaro
Member
My inventory is a ds_list of structs and it works fine, but I was wondering if there's a reason to use a constructor instead.
My current code:
My current code:
GML:
inventory = ds_list_create();
for (i = 0; i<inventorysize; i++){
inventory[|i] = {
itemtype : empty,
charges : empty,
quality : empty,
rust : empty,
identified : true
};
}