Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (this.autoReuse)
- {
- if (this.inventory[this.selectedItem].damage > 0) this.inventory[this.selectedItem].autoReuse = true;
- }
- else
- {
- foreach (Item I in this.inventory)
- {
- Item I2 = new Item();
- I2.SetDefaults(I.type);
- if (!I2.autoReuse)
- {
- I.autoReuse = false;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement