RimWorld

RimWorld

359 ratings
[XND] Profitable Weapons (Continued)
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
567.497 KB
27 Oct, 2020 @ 2:14pm
3 Jul @ 10:19am
7 Change Notes ( view )

Subscribe to download
[XND] Profitable Weapons (Continued)

In 1 collection by Mlie
Mlie's resurrected mods
925 items
Description

Update of XeoNovaDans mod
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1386385125

- Added the fix for bottles and logs wrongly being tagged



[dsc.gg]
[github.com]


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



  • See if the the error persists if you just have this mod and its requirements active.
  • If not, try adding your other mods until it happens again.
  • Post your error-log using HugsLib or the standalone Uploader and command Ctrl+F12
  • For best support, please use the Discord-channel for error-reporting.
  • Do not report errors by making a discussion-thread, I get no notification of that.
  • If you have the solution for a problem, please post it to the GitHub repository.
  • Use RimSort[github.com] to sort your mods

| tags: sell price, balancing
63 Comments
Mlie  [author] 10 Jul @ 2:56am 
@WiFiN Compatibility in what way?
hlo120435 13 Jun @ 10:03am 
@Robob you can go into the settings for pinata and make it to where they drop their weapons upon death. i have it set to that because i think its more realistic. unless your strap is constantly around your body, your weapon is likely gonna fall out of your hands upon death.
Robob 30 Jan @ 6:16am 
This mod seems to conflict with "non uno pinata" as weapons do not become tainted if they remain in raider's inventory upon death
Mlie  [author] 5 Dec, 2024 @ 11:43pm 
@ChopSushiii yes
ChopSushiii 5 Dec, 2024 @ 11:06pm 
Does this work with modded weapons? Main ones being the VE weapons (Gauss, Gunpowder, Laser, Etc.)
Mlie  [author] 18 Jul, 2024 @ 11:19am 
@Anon Please see the Reporting Issues section described above
D3K43 5 Jul, 2024 @ 1:42am 
Can VFE - Ancient's mending system also remove the (Used) tag? Can you patch that in?
Mlie  [author] 17 Jun, 2024 @ 10:54am 
@Anon Please see the Reporting Issues section described above
Ralathar44 9 Jun, 2024 @ 5:42pm 
Awesome, thas teamwork :).
Mlie  [author] 9 Jun, 2024 @ 2:34pm 
@Ralathar44 Nice work, Nano Repair Tech had changed their code. Should work better now