mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-25 06:00:13 -05:00
Add drop[2]
This commit is contained in:
@@ -3562,7 +3562,7 @@ function chest_exchange(chest, name) {
|
|||||||
} else if (drop[1] == "open") {
|
} else if (drop[1] == "open") {
|
||||||
chest_exchange(chest, drop[2]);
|
chest_exchange(chest, drop[2]);
|
||||||
} else {
|
} 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