-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BANKING! and some small changes to harvestables #168
Conversation
This does not include noted, swap/insert as of yet. |
[10041, 1342] | ||
]); | ||
...objectIds.tree.normal.map((tree) => [tree.default, tree.stump]), | ||
...objectIds.tree.dead.map((tree) => [tree.default, tree.stump]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
@@ -65,29 +65,29 @@ export class ItemContainer { | |||
|
|||
public findIndex(item: number | Item): number { | |||
const itemId = (typeof item === 'number') ? item : item.itemId; | |||
return this._items.findIndex(i => i !== null && i.itemId === itemId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Banking should work exactly like old rs, including not saving null slots, so all blank spaces gets removed on save