Space Engineers

Space Engineers

AwwScrap: I Found Your Crap!
114 Comments
Thraxus  [author] 8 May @ 5:14am 
Did you run the game first?
Axebeard 7 May @ 3:37pm 
I'm not seeing this mod listed in my storage folder under the save game.
Thraxus  [author] 16 Apr @ 11:07am 
Could have done it many ways; the way I choose just made the most sense at the time. However, the decision to exclude ship grinders would have remained. Dealing with ship grinding activities en mass and trying to manipulate ship inventories (while keeping ownership in mind) every game tick is not something that would be performant nor reliable.
NeedyThunder 14 Apr @ 9:42am 
Couldn't you have reversed the logic and made it so that grinding had a chance to give scrap instead? Then ship grinders would be able to get components back instead of scrap.
Thraxus  [author] 26 Jan @ 12:03am 
First line of the mod description :P

By popular demand, this addon to AwwScrap will allow hand grinders to return some % of components instead of scrap.

Ship grinders would have been too expensive (performance wise) and difficult (logic wise, tracking owners / operators) to allow scrap-to-component conversions.
andri 15 Jan @ 3:32pm 
Ive been reading and cant find a solid answer, Do ship grinders turn everything into vanilla scrap or do they turn stuff into component scrap like the og version? I cant see anything about ship grinders in the og mod either.
Thraxus  [author] 11 Jan @ 7:15pm 
I could make it gigantic, sparkle, and pay out $5 for every letter read and it would still go unnoticed, haha.
Raynor 11 Jan @ 1:17pm 
@Thraxus I've seen you say that a few times already. You should add that to the top of the description in big letters for those that don't bother to read. lol
Thraxus  [author] 11 Jan @ 10:59am 
Also of note - hand grinders only. This does not work with ship grinders.
Lance 8 Jan @ 5:11pm 
@Duff Are you grinding a grid you own? By default, the mod does not return components when you grind unowned grids (something I forgot myself just now when I started a new game).
Raynor 8 Jan @ 12:34pm 
Then you have a mod conflict. Its work fine for me and I've been using it for years.
Duff 7 Jan @ 7:00pm 
I just tried this mod with all grinders, none give the components, only scrap.
Micrurus 25 Oct, 2024 @ 3:43am 
Good day. You said that you could add a setting to prohibit receiving scrap. If this is still possible, please add it.
I play without processing and producing items. Only what I can buy and get. And when I cut someone else’s database manually, I end up with a bunch of scrap that I can’t help but put somewhere and it clogs up my inventory.
But at the same time, I don't want to get all the components from sawing, to avoid quickly capturing a block.
Cosmoros 14 Aug, 2024 @ 2:32pm 
I see. Well, if you have ship grinders, you probably don't care already at that point.
Thraxus  [author] 14 Aug, 2024 @ 1:06pm 
Won't be doing ship grinders. It's too expensive performance wise. This only works with hand tools.
Cosmoros 12 Aug, 2024 @ 7:11pm 
Could you add settings for IO ship grinders?
RestInPieces 16 Mar, 2024 @ 2:21am 
If it's not too much fuss, that would be great! Thanks!
To be honest getting a lot of different scrap with a ship grinder is probably not even noticeable in most situations. Hopefully Keen adds those kinds of options in SE2!
Thraxus  [author] 15 Mar, 2024 @ 2:17pm 
No problem. I can add an option to disallow scrap to this if you want. It won't fix your ship issue (100% will still be scrap), but at least it will allow your hand grinder to work as you like.
RestInPieces 15 Mar, 2024 @ 8:41am 
Thank you for the reply! I play with a lot of PVE mods, and scrapping is way too OP. But then again I don't like how aww scrap adds a lot of busywork to that instead of just nerfing the scrap.
Thraxus  [author] 15 Mar, 2024 @ 12:11am 
Unfortunately no. This mod will still return scrap alongside components pending the config, and it only works on hand grinders. I intentionally did not do ship grinders due to performance concerns.

You could take this mod and modify it to suit your needs, but I'd highly advise against adding ship grinders to the mix. For a handful of ship grinders it would likely be ok, but this is a complete manual manipulation of inventories on every single grind action, which can add up quick if you have a lot of grinders in action for any reason (and it will be incredibly error prone if you have multiple grinders feeding into the same inventory).
RestInPieces 14 Mar, 2024 @ 8:49am 
Looking for a solution to get no scrap at all and just a % of components for both hand and vehicle grinders. Can I achieve this for hand grinders with this mod? And any idea how I can achieve it with vehicle grinders?
Athunc 21 Feb, 2024 @ 11:45am 
Thank you for the clarification
This is really useful!
Thraxus  [author] 21 Feb, 2024 @ 6:50am 
Also, I have no idea why Steam just told me about this comment 2 days after the fact. Apologies for the delayed answer.
Thraxus  [author] 21 Feb, 2024 @ 6:50am 
They are multiplicative. So if you have the grinder return set to 50%, and the unowned grid set to 100%, you'd get 50% total returns. If you had the same grinder setting with unowned grids set to 50%, then you'd get 25% total returns.
Athunc 19 Feb, 2024 @ 11:34am 
Does the modifier "ReturnRateForUnownedGrids" stack with the modifier of the "GrinderReturnRate" of a specific grinder, or does it not matter which grinder I use against an unowned grid?
Thraxus  [author] 7 Nov, 2023 @ 5:13pm 
If you want to have that change added to AwwScrap as a config, drop me a line in Discord with what changes you made and I will add it in. That way you always have the most updated code base with a simple config toggle. If not though, np!

I haven't looked at the code base for this mod since I published it, so there may be something I can do here as well to try and tighten that gap as well. I have some free time tonight, so I'll look into that as well (I need to verify the body bag thing works anyhow).
Merii 7 Nov, 2023 @ 5:03pm 
Interesting, good to know. What I did instead is make a tiny edit to of AwwScrap (Credit to you of course once published) that only scraps the items above the functional line. The reasoning of what I'm trying to do is to stop some "resource bloat" on a server, but we're also trying to keep it from being as hard of an experience as full awwscrap. I was hoping that we could do 100% handgrinder/scrap shipgrinder type of things but as it stands, scrapping above functional removes the vast majority of the "excess" components we tend to see (steelplate/metalgrids)
Thraxus  [author] 7 Nov, 2023 @ 4:07pm 
For 1) since this works off of AwwScrap, when grinding / disassembling a block, the components no longer exist. This mod essentially swaps the scrap for full components at the point the scrap is generated during the grind operation. Unfortunately, this means there is always going to be some math errors on the returns due to components getting lost in translation between the block, grinding, and my interception of Keens inventory. 100% would be closer to probably 95 - 98% if you're just full bore grinding.

For 2) I'll look into that here in a little bit. The parts won't just drop onto the ground, but they should be appearing in a body bag at your feet (or the nearest body bag to you, which may not always be at your feet if you've moved and already generated one elsewhere in the area). For the reasons in #1 above, I can't just leave them in the block.
Merii 7 Nov, 2023 @ 9:31am 
I'm having two issues with this mod:

1. 100% return from any hand grinder (this is on a self-owned grid) is still creating some scrap once my inventory is very full. I would expect 100% return to never create any scrap at all - every single component would be placed into my inventory and if there is no room, retained on the block being ground until it is destroyed.

Settings:
BasicGrinderReturnRate: 100
EnhancedGrinderReturnRate: 100
ProficientGrinderReturnRate: 100
EliteGrinderReturnRate: 100
ScrapBodyBagDecayInMinutes: 1
ReturnComponentsFromUnownedGrids: True
ReturnRateForUnownedGrids: 100

2. If my inventory is full, and I continue grinding, no items are dropped - they vanish into thin air. The vanilla behavior is to drop the remaining components as loose components on the ground. This is neither creating a body bag or dropping components, they are being lost.
Thraxus  [author] 6 Nov, 2023 @ 10:33am 
Can you give me a little more to go on? What leads you to believe it's not working?
Skyrma 3 Nov, 2023 @ 10:20am 
im not so sure the mod is working post anniversary update
Thraxus  [author] 25 Oct, 2023 @ 3:46pm 
Ah ok, yeah, they work with one another in a scalar fashion. So a 100% scrap return grinder * 50% grid return would yield 50% total return from the grid. Where as a 50% scrap return grinder * 50% grid return would yield 25% total returns from the grid.

Apologies, I didn't follow your original question well enough. Glad it works as you wanted!
Tom 25 Oct, 2023 @ 11:08am 
Disregard my question... I took a look at the code, specifically "Constants.cs" as well as "UserSettings.cs" and now it makes sense to me. I did some testing and it works as intended. I set the unowned rate to 100 and I am seeing the results I was looking for.
Thraxus  [author] 18 Oct, 2023 @ 1:55pm 
It's "reversed" by design. The "better" the grinder the faster it cuts. The faster it cuts, the less precise you can be when removing things. It's a trade off, and gives a reason for a player to continue to use crap tier grinders late game. That's my vision, but that's also why I added a config where users can change it to whatever floats their boat.
Raynor 18 Oct, 2023 @ 1:37pm 
@Tom For every tier of grinder you get more scrap and less components. So for basic you get 20% scrap and 80% components and with Elite you get 80% scrap and 20% components. But I think its backwards so I reversed it on my game. Why would the best tool give more scrap then a crap one?

Hope this helps.
Thraxus  [author] 17 Oct, 2023 @ 3:26pm 
I'm not sure I follow. There is a setting for each individual return rate per grinder type. 80/60/40/20 (basic, enhanced, pro, elite) are the defaults, but you can modify them at your leisure.
Tom 17 Oct, 2023 @ 8:46am 
Is there a way in the current version to have the grinder return rates to be linked with the unowned grid return setting? I am trying to make grid capturing viable but time consuming by giving the basic grinder a 99% rate, which looks to basically always return the components. All other grinders go down by 25% from there.
Amaia 20 Aug, 2023 @ 10:15pm 
Okay thanks @Thraxus. Hopefully one day is a reality, looking forward to it! <3
Thraxus  [author] 20 Aug, 2023 @ 9:08am 
That kind of feature doesn't exist in AwwScrap or any of it's addons today, but it is something I've been toying with the idea of for some time now. I'm sure it's possible.
Amaia 18 Aug, 2023 @ 7:14pm 
Is it possible to get scrap components back when something is blown up, like in a ship vs ship battle, all that is "dropped" is normal scrap, which turns into iron ingots, but no scrap components are left, which kind of sucks, I feel like it would be awesome that if you are in a ship battle and you blow them to pieces, then getting some scrap components out of it, would be really rewarding. Maybe this is already a thing but I have another mod over writing it, but I don't see it written anywhere, from my understanding this mods only gives back from grinding.
Thraxus  [author] 15 Aug, 2023 @ 4:35am 
If you start the game the file will regenerate itself. Perhaps give that a try?
Thraxus  [author] 15 Aug, 2023 @ 4:32am 
That good sir looks like a system level issue on your end. I'm a good ol American, and haven't a clue what a bunch of mixed Asian languages would be doing in that file. I haven't updated this mod in 2 years, and if my file looked like that, I guarantee you many folks would have complained by now.
Raynor 15 Aug, 2023 @ 4:25am 
So I opened the config for this and this is what I see.

㼼浸敶獲潩㵮ㄢ〮•湥潣楤杮∽瑵ⵦ㘱㼢ാ㰊獕牥敓瑴湩獧砠汭獮砺摳∽瑨灴⼺眯睷眮⸳牯⽧〲㄰堯䱍捓敨慭•浸湬㩳獸㵩栢瑴㩰⼯睷⹷㍷漮杲㈯〰⼱䵘卌档浥ⵡ湩瑳湡散㸢਍†䈼獡捩片湩敤割瑥牵剮瑡㹥〸⼼慂楳䝣楲摮牥敒畴湲慒整ാ 㰠湅慨据摥片湩敤割瑥牵剮瑡㹥〶⼼湅慨据摥片湩敤割瑥牵剮瑡㹥

I opened it with Notepad3. I use this for all my xml edits.
Thraxus  [author] 16 May, 2023 @ 2:23pm 
Np! :D
Manshima 16 May, 2023 @ 1:19pm 
Thank you for this. I'm working on a scenario and this coupled with AQD - Research lets me set up character progression.
dragonraalhaan 12 Apr, 2023 @ 3:16pm 
Would it be possible to make the Coil Gun and Anvil Table s by Spirit Plumber work with this? The tables should return components, and the coil gun the weapon and ammo, instead of scrap of the original components. Perhaps they can work like the supply shelves?

Craftable Coil Gun
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?l=swedish&id=2606147056

Anvil Tables
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1954408570&searchtext=anvil+tables

Wood Harvesting has wooden variant of Anvil Tables
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1954408570&searchtext=anvil+tables
Thraxus  [author] 3 Mar, 2023 @ 4:14pm 
That's all configurable in the mod settings.
kitsu.eb 3 Mar, 2023 @ 3:44pm 
I was having an issue with getting only scrap as well... until I took ownership of the grid I was grinding. Yes that is clearly stated above, but I still didn't think of it right away - transfer your salvage to yourself, including unknown signals.
(Maybe you should get stuff from neutral/nobody grids too?)
Svetz 16 Feb, 2023 @ 5:19am 
Thank you so much for this mod! It's perfect for a workshop scenario (Neutron Moon) as the regular AwwScrap would require having something working to start with.
Bluestar 2 Feb, 2023 @ 6:46pm 
As for the screwdriver/multi tool idea, that can only take certain parts out of a block. The logic of not grinding a circlet board or an expensive thruster, cutting them out with an angle grinder... What engineer school did these people go to.. lol

You can cut everything up with the grinder and most become scrap, except components that are pieces of metal like steel plate or even small or larger pipes or metal grids. There just chunks of metal at the end of the day, grinding these is fairly straight forward.

With a secondary tool for sensitive components, i would have the grinder always gives you full metal components with a low percentage of getting scrap metal. Sometimes bad cut happen but gets better with tiers.