sharkman0101
Spazmatism
Wall of Text has awoken!
Have you ever accidentally trashed an item you didn't want to trash, or trashed an item but realized you needed it later and now you can't get it back? Paranoid about an item being lost in the dark corner of your screen underground? Well, now introducing, The Garbage Man!
(Sadly, I'm not good at spriting, so I am incapable of providing a sprite for you all to see. If you wish to make a sprite for this NPC, feel free to do so. Just make sure it relates to, you know, a garbage man. If you want me to use it in this post, then I will be more than happy to give credit where it is due.)
So what does this NPC do?
The Garbage Man will be a pre-hardmode NPC that can help you recover past items that you trashed. He will have 3 menu options when you talk to him, namely "Recover Items", "Leftover Items", and "Filter".
When you click on the "Recover Items" option, an interface will be brought up with 20 slots. All those slots are reserved for items that will be trashed. When something is trashed(if the item gets deleted because you put another item over an item already in the trash can), it will be moved into one of the slots. The slots will be individual stacks of items, copying what was trashed by you. So if you trash 20 stone blocks, 10 dirt blocks, an Iron Axe, and then 10 more stone blocks, then those 4 slots will be reserved for those individual items. If all 20 slots get filled up, then the first item slot(in this case, the 20 stone blocks) will be replaced by the next item you trash, and then the second(so the 10 dirt blocks) and so forth, going to item 20 you trashed then looping back to item 1. Leaving the world will not cause this to reset, it is linked to YOUR character. If there is an empty slot from when you recovered an item, then the items will bump up and make room for the next item you trash to take slot 1. If an item of a certain rarity is filtered out, then items in that rarity will not be accounted for when trashed and will not be able to be recovered while trashed with it's rarity being filtered out. Be careful!
When you click on the "Leftover Items" option, this will bring up an interface with 400 slots. Yes, 400. This is because there is a limit of 400 seperate items on the ground at any given time(exceeding that number causes the first spawned item to despawn, then the next and so on), so there may be some multiple pages you can scroll through if needed. Normally, this option doesn't do anything when he first moves in. This will only fill up once the world is exited and is reserved for all the items that are leftover on the ground from when you exit a world. When you exit a world, the items and their stack numbers that were on the ground upon exiting the world will be placed into his inventory and stored for when you open the world again. When this option is chosen, the said items will appear and you can choose which ones to recover(with a price, of course.) His inventory is static during this time and can only be affected when you buy the leftover items from him. If any item is leftover in the "Leftover Items" inventory when you leave the world, those items will be permanently deleted and then will be overtaken by the items that were spawned on the ground for that session. So if he has 10 Stone Blocks, a Meowmere, and 15 Dirt Blocks in his inventory and you leave the world with an Iron Axe and 15 Wood currently on the ground, his inventory would be wiped and replaced with the Iron Axe and 15 Wood for when you next boot up the world. This cycle repeats indefinently UNLESS there are no items on the ground when exiting the world, then his inventory will stay as it was because there is nothing to replace it with. This option is not universal for characters unlike the "Recover Items" feature, it is attached to the world. Yes, I realize that this could be excessive on the code, but it's a suggestion! Besides, what use would this have if it only had 20 slots and you still couldn't recover a rare item like the RoD because it was one of the first?
When you click on the "Filter" option, you can choose what items would appear in his inventory for "Recover Items." This would bring up a small interface with all the rarities listed. You can select which rarity of items, from Grey to Purple, to appear in his trash section. When a rarity is filtered out, it would have a distinct X over it to show that it won't be accounted for in his recovery services. So if you have the Grey and White rarities Xed out in the "Filter" section and trash an Old Shoe, 10 Stone Blocks, and a Terra Blade, only the Terra Blade will be brought into his inventory and safely stored if you wish to recover it(until it is overtaken by another item when enough items are trashed.) If you undo the filter and turn on Grey and White rarities, those items will still be lost however, so use this option carefully. This option could help people manage what items they wish to account for in his service and can help prevent it from clogging up with useless items that the player doesn't need. As such, the Grey option is Xed out by default, but can be turned back on if one wishes (for some reason).
How can I get my items back from him?
Simple! Just hover over the item in your interface, click it, and drag it back into your bag, and presto! You have your whatever you trashed or lost ground item back.
BUT! This isn't free. The guy has to profit somehow, eh?(Well moreso just a fee for the player so they can't do this willy nilly.) When you hover over an item, an attached price text be shown next to the interface. This will be slightly less than the sell price of the item(s), so it can be convienient but can't be abused. The formula can be something like this:
(price of item, or combined price of stack) x 0.8 for items that have value (so if you have a sword valued at 1 gold, it would cost 80 silver to recover it, including the reforge price!)
(amount of stacked item) x 10 copper for items that have no value (dirt and whatnot, so a 50 stack of dirt would be 5 silver)
How does he move in?
Nothing special, only needs a Trash Can currently placed in the world and at least 4 NPCs already housed.
How does he defend himself?
I was thinking that he could use the strongest weapon in the trash, but then everyone would give him a Meowmere and use him as more DPS for bosses and events. So maybe he could use something like a Debris Gun, that shoots various trash items that explode into 4 upward shrapnel pieces for even more damage? It could do 20 damage for the base projectile and 10 for the shrapnel, increasing in power by 75% when hardmode is entered. I'm not sure as of now, suggestions for this would be greatly appreciated!
Why do I need him?
Well, yes, the favorite option does exist. It does help reduce the chance of losing items in the trash drastically if used right, but this is another backup option to prevent small mistakes or in some cases, looming disasters. It can also aid in recovering items you would otherwise be clueless off because they were offscreen or you didn't notice them. It would be very convienient, and help save some people a lot of time, and even help save some people grinding for that rare item. I've always had a point in the game where I trashed an item I thought I don't need, only then realizing that it was for an important recipe and I lost it in the trash can, and it always frustrated me. I know this has happened to a lot of you, so that is why you need him!
Quotes (to show his personality, not gonna put too many)
Anytime
"My college plan didn't quite work out. So here I am digging in trash. Better than what you're doing, heh heh."
"Need to recover some trash? Alright, let me dig through all the dirt to find what you need."
"Let me guess, you trashed your favorite weapon again?"
Night
"Sorry bud, I accidentally dropped my flashlight in the trash, so you're gonna have to look yourself."
"Bleck! What's that smell? Is it the zombies or is it the trash?"
If Travelling Merchant is present
"If you're looking for trash, go to (name of Travelling Merchant)".
Im not gonna put any names since none come to mind. Sorry! Maybe something like a generic name like Thomas or a reference to a garbage man in other media, I don't know. Suggestions for names are welcome.
And that is it for now! Feedback and critisism will be greatly appreciated, and questions are welcome!
Have you ever accidentally trashed an item you didn't want to trash, or trashed an item but realized you needed it later and now you can't get it back? Paranoid about an item being lost in the dark corner of your screen underground? Well, now introducing, The Garbage Man!
(Sadly, I'm not good at spriting, so I am incapable of providing a sprite for you all to see. If you wish to make a sprite for this NPC, feel free to do so. Just make sure it relates to, you know, a garbage man. If you want me to use it in this post, then I will be more than happy to give credit where it is due.)
So what does this NPC do?
The Garbage Man will be a pre-hardmode NPC that can help you recover past items that you trashed. He will have 3 menu options when you talk to him, namely "Recover Items", "Leftover Items", and "Filter".
When you click on the "Recover Items" option, an interface will be brought up with 20 slots. All those slots are reserved for items that will be trashed. When something is trashed(if the item gets deleted because you put another item over an item already in the trash can), it will be moved into one of the slots. The slots will be individual stacks of items, copying what was trashed by you. So if you trash 20 stone blocks, 10 dirt blocks, an Iron Axe, and then 10 more stone blocks, then those 4 slots will be reserved for those individual items. If all 20 slots get filled up, then the first item slot(in this case, the 20 stone blocks) will be replaced by the next item you trash, and then the second(so the 10 dirt blocks) and so forth, going to item 20 you trashed then looping back to item 1. Leaving the world will not cause this to reset, it is linked to YOUR character. If there is an empty slot from when you recovered an item, then the items will bump up and make room for the next item you trash to take slot 1. If an item of a certain rarity is filtered out, then items in that rarity will not be accounted for when trashed and will not be able to be recovered while trashed with it's rarity being filtered out. Be careful!
When you click on the "Leftover Items" option, this will bring up an interface with 400 slots. Yes, 400. This is because there is a limit of 400 seperate items on the ground at any given time(exceeding that number causes the first spawned item to despawn, then the next and so on), so there may be some multiple pages you can scroll through if needed. Normally, this option doesn't do anything when he first moves in. This will only fill up once the world is exited and is reserved for all the items that are leftover on the ground from when you exit a world. When you exit a world, the items and their stack numbers that were on the ground upon exiting the world will be placed into his inventory and stored for when you open the world again. When this option is chosen, the said items will appear and you can choose which ones to recover(with a price, of course.) His inventory is static during this time and can only be affected when you buy the leftover items from him. If any item is leftover in the "Leftover Items" inventory when you leave the world, those items will be permanently deleted and then will be overtaken by the items that were spawned on the ground for that session. So if he has 10 Stone Blocks, a Meowmere, and 15 Dirt Blocks in his inventory and you leave the world with an Iron Axe and 15 Wood currently on the ground, his inventory would be wiped and replaced with the Iron Axe and 15 Wood for when you next boot up the world. This cycle repeats indefinently UNLESS there are no items on the ground when exiting the world, then his inventory will stay as it was because there is nothing to replace it with. This option is not universal for characters unlike the "Recover Items" feature, it is attached to the world. Yes, I realize that this could be excessive on the code, but it's a suggestion! Besides, what use would this have if it only had 20 slots and you still couldn't recover a rare item like the RoD because it was one of the first?
When you click on the "Filter" option, you can choose what items would appear in his inventory for "Recover Items." This would bring up a small interface with all the rarities listed. You can select which rarity of items, from Grey to Purple, to appear in his trash section. When a rarity is filtered out, it would have a distinct X over it to show that it won't be accounted for in his recovery services. So if you have the Grey and White rarities Xed out in the "Filter" section and trash an Old Shoe, 10 Stone Blocks, and a Terra Blade, only the Terra Blade will be brought into his inventory and safely stored if you wish to recover it(until it is overtaken by another item when enough items are trashed.) If you undo the filter and turn on Grey and White rarities, those items will still be lost however, so use this option carefully. This option could help people manage what items they wish to account for in his service and can help prevent it from clogging up with useless items that the player doesn't need. As such, the Grey option is Xed out by default, but can be turned back on if one wishes (for some reason).
How can I get my items back from him?
Simple! Just hover over the item in your interface, click it, and drag it back into your bag, and presto! You have your whatever you trashed or lost ground item back.
BUT! This isn't free. The guy has to profit somehow, eh?(Well moreso just a fee for the player so they can't do this willy nilly.) When you hover over an item, an attached price text be shown next to the interface. This will be slightly less than the sell price of the item(s), so it can be convienient but can't be abused. The formula can be something like this:
(price of item, or combined price of stack) x 0.8 for items that have value (so if you have a sword valued at 1 gold, it would cost 80 silver to recover it, including the reforge price!)
(amount of stacked item) x 10 copper for items that have no value (dirt and whatnot, so a 50 stack of dirt would be 5 silver)
How does he move in?
Nothing special, only needs a Trash Can currently placed in the world and at least 4 NPCs already housed.
How does he defend himself?
I was thinking that he could use the strongest weapon in the trash, but then everyone would give him a Meowmere and use him as more DPS for bosses and events. So maybe he could use something like a Debris Gun, that shoots various trash items that explode into 4 upward shrapnel pieces for even more damage? It could do 20 damage for the base projectile and 10 for the shrapnel, increasing in power by 75% when hardmode is entered. I'm not sure as of now, suggestions for this would be greatly appreciated!
Why do I need him?
Well, yes, the favorite option does exist. It does help reduce the chance of losing items in the trash drastically if used right, but this is another backup option to prevent small mistakes or in some cases, looming disasters. It can also aid in recovering items you would otherwise be clueless off because they were offscreen or you didn't notice them. It would be very convienient, and help save some people a lot of time, and even help save some people grinding for that rare item. I've always had a point in the game where I trashed an item I thought I don't need, only then realizing that it was for an important recipe and I lost it in the trash can, and it always frustrated me. I know this has happened to a lot of you, so that is why you need him!
Quotes (to show his personality, not gonna put too many)
Anytime
"My college plan didn't quite work out. So here I am digging in trash. Better than what you're doing, heh heh."
"Need to recover some trash? Alright, let me dig through all the dirt to find what you need."
"Let me guess, you trashed your favorite weapon again?"
Night
"Sorry bud, I accidentally dropped my flashlight in the trash, so you're gonna have to look yourself."
"Bleck! What's that smell? Is it the zombies or is it the trash?"
If Travelling Merchant is present
"If you're looking for trash, go to (name of Travelling Merchant)".
Im not gonna put any names since none come to mind. Sorry! Maybe something like a generic name like Thomas or a reference to a garbage man in other media, I don't know. Suggestions for names are welcome.
And that is it for now! Feedback and critisism will be greatly appreciated, and questions are welcome!
5-25-18 : Changed requirements to move in. Instead of needing 5 items trashed and 4 NPCs, it now needs a Trash Can in the world placed and 4 NPCs.
7-31-18 : Added 2 new options that people have suggested in the comments. Also added a way for him to defend himself. Thank you for the feedback!
7-31-18 : Added 2 new options that people have suggested in the comments. Also added a way for him to defend himself. Thank you for the feedback!
Last edited: