l = GetDirectChildren(notstockroom)
n = GetRandomInt(0, ListCount(l))
item = ObjectListIem(l, n)
item.parent = stockroom
// remove old stock from the shop
foreach (item, GetDirectChildren(stockroom)) {
item.parent = notstockroom
}
// Add new stock (5 items in this case)
for (i, 1, 5) {
l = GetDirectChildren(notstockroom)
n = GetRandomInt(0, ListCount(l))
item = ObjectListIem(l, n)
item.parent = stockroom
}