mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:28 -05:00
Merge pull request #193 from Crowns3bc/Allow-a-quantity-of-items-to-drop-from-chests
Allow a quantity of items to drop from chests
This commit is contained in:
@@ -3566,7 +3566,7 @@ function chest_exchange(chest, name) {
|
||||
} else if (drop[1] == "open") {
|
||||
chest_exchange(chest, drop[2]);
|
||||
} else {
|
||||
chest.items.push(create_new_item(drop[1]));
|
||||
chest.items.push(create_new_item(drop[1], drop[2]));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user