RimWorld

RimWorld

417 ratings
[XND] Profitable Weapons
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1
File Size
Posted
Updated
457.104 KB
May 14, 2018 @ 11:56pm
Mar 1, 2020 @ 11:06pm
17 Change Notes ( view )

Subscribe to download
[XND] Profitable Weapons

In 1 collection by XeoNovaDan
XND's RimWorld Mods
8 items
Description
Overview
In vanilla RimWorld, it's impossible to profit from producing weapons due to their pitiful 20% sell price multiplier; you're always better off selling their raw materials. The reason why such a multiplier exists in the first place is so that it wasn't ridiculously easy to profit from raids, but as mentioned previously, this approach had its side-effects.

With Profitable Weapons, the weapon sell price multiplier gets increased to 100% (configurable through mod settings) which puts it in line with apparel, but also introduces a tainted-esque system for weapons to maintain original balance, albeit with a few notable differences:
  • Looted weapons will be marked with a (U) tag to help distinguish them from non-looted weapons.
  • Looted weapons will have their sell price multiplier multiplied by 20% by default (configurable through mod settings), the same as the vanilla multiplier.
  • There isn't a mood penalty associated with equipping a looted weapon, unlike tainted apparel which is anywhere from -3 to -8.
  • Looted weapons can still be sold to traders unlike tainted apparel.
Weapons gain the (U) tag if dropped by raiders or friendlies, if used 20 times, or if dropped from trader inventories - the latter two are configurable through mod settings. Remember that the aforementioned pawns don't have to die for their weapons to be marked as 'looted'; them simply being downed is enough. Weapons that are dropped by colonists, colony caravans or prisoners (i.e. prison breaks) won't get marked.

Two new stockpile filters have also been added so that you can keep looted weapons out of your main selling stockpiles, or if you want to configure workbench bills (e.g. electric smelters) so that your colonists don't smelt non-looted weapons which are perfectly good for selling.

Powered by Harmony Patch Libary.

Compatibility
Mods:
Compatible with Combat Extended. Also works with MendAndRecycle and Nano Repair Tech - mending a looted weapon will remove looted tags just like how mending tainted apparel removes tainted tags, but this can be disabled in mod settings.

Saves:
Can be added to existing savegames, but only newly-generated weapons will be flagged as 'looted' upon being dropped; existing weapons won't be marked. Flickering may occur if removed from ongoing saves though.

Credits
Mehni - for tolerating my endless questions, offering tons of advice and guidance, and generally being awesome. I probably couldn't have done this without him; huge thanks! He also makes some great mods; I'd highly recommend checking them out.
NoImageAvailable - For helping me with getting this mod to work properly with MendAndRecycle while keeping things simple. Another huge thanks!
ChJees and Erdelf - offering more advice and guidance. Big thanks!
Pardeike (AKA Brainz) - for making Harmony. This was so much easier to do thanks his work!
Why_Is_That (AKA The Saladspinner of Woe) - for making the SettingsHelper, and Uuugggg for improving it.
Other Contributors - Aidolii

Links
GitHub releases: https://github.com/XeoNovaDan/ProfitableWeapons/releases
Source code: https://github.com/XeoNovaDan/ProfitableWeapons
Popular Discussions View All (1)
2
Aug 25, 2019 @ 7:33pm
Not losing (L) tag
Jarp Habib
158 Comments
MrPinobis Jan 27, 2024 @ 7:38am 
This is one of the things that should be in the base game, obviously a repaired, used and groped weapon is not worth as much as a new weapon, recently made by the hand of a high -level manufacturer achieving excellent quality
Mlie Oct 27, 2020 @ 2:15pm 
Made an update of this:
https://steamcommunity.com/sharedfiles/filedetails/?id=2269697598
Hope it helps anyone!
pgames-food Oct 23, 2020 @ 8:46pm 
yeah why be a tyrant, when you can be a hero :)
Drayco84 Oct 22, 2020 @ 9:16pm 
Really, Steam's auto-updating is mostly why we use it. It also looks like this is ready to be submitted to Steam, why not make the final step and upload it?
sonicht Sep 28, 2020 @ 11:51am 
can you put it on steam? I don't like dodgy download links :(
Tyrant Aug 21, 2020 @ 2:10pm 
I've updated this mod to 1.2, which mainly consisted of recompiling it (using updated 0Harmony.dll & MendAndRecycle.dll files) with the fix I listed in my previous comment, and updating the About.xml file.

Let me know if there's any issues.

https://files.catbox.moe/j9zuy9.zip
Camaleão Aug 16, 2020 @ 7:51am 
+1 to 1.2
Wicked Aug 14, 2020 @ 9:49am 
1.2?
Murden Aug 12, 2020 @ 10:22am 
hi @XeoNovaDan, is this designed to work with modded weapons? For some reason, guns I craft from "[SY4] Vanilla-Friendly Weapon Pack" are still worth kwap.
brody1601 May 16, 2020 @ 12:30pm 
hey just curious will this work with the bandaid economy mod?