RimWorld

RimWorld

37 ratings
Less Explosive Tantrums
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
1.098 MB
31 Oct, 2024 @ 1:20pm
8 Jul @ 2:26pm
4 Change Notes ( view )

Subscribe to download
Less Explosive Tantrums

In 1 collection by themoistestwhale
themoistestwhale's mods
9 items
Description
STEVE STOP PUNCHING THE ANTIGRAIN WARHEADS AGAIN BECAUSE RAIDERS TOOK YOUR TABLE I SWEAR TO RANDY I WIL-

Stop colonists from punching explosives for stupid reasons! This mod prevents colonists from targeting explosive things during tantrum mental breaks like chemfuel or explosive mortar shells. You can also stop them from targeting valuables in mod settings if you'd like!


What does this mod do?
Less Explosive Tantrums prevents colonists from targeting explosives as they search for valid targets to attack during a tantrum mental break. Additionally, you can visit the mod settings and set a maximum market value for things tantrums can target (off by default).

Obviously this changes the balance of tantrum mental breaks to be less likely to end your entire run if you're unlucky, so decide your own balance here if you choose to use this mod or not, I guess. Your run, your choice.


Compatibility
  • Safe to add to save games. It's never safe to remove a mod from a save, but removing this mod should not cause significant issues.

  • Harmony is a required dependency. Zetrith's Prepatcher can also fulfill this requirement instead.

  • This mod uses a single postfix on the TantrumMentalStateUtility.CanSmash method, stopping anything with an explosive comp attached from being targeted. I doubt you'll run into any mod conflicts.

  • Yes, it works with Combat Extended.

Thanks
Thanks to #mod-development in the Rimworld discord for answering occasional, stupid questions of mine.

Rimworld is owned by Ludeon Studios.

RimworldFont used in the mod icon and preview image was created by Marnador.
17 Comments
themoistestwhale  [author] 8 Jul @ 2:38pm 
@Honey Badger Implemented the feature you suggested, you can set a maximum market value tantrums will target now. I used market value because it's much easier to work with design wise instead of specific materials or items.
themoistestwhale  [author] 2 Jul @ 1:23pm 
@Honey Badger Absolutely, and slow deaths are always the most painful ones. By the way I'll just mention it in case you know how to write the postfix yourself, all my mods including this one has the source in the mod folder. So while on the live version here I don't want to include a postfix like that without figuring out how to make it an optional mod setting, feel free to just run a second postfix in LessExplosiveTantrums.HarmonyPatches for yourself till I find the time (and motivation) to give this a go myself.
Honey Badger 2 Jul @ 1:14pm 
Yeee, I mean steel, plasteel, wood, all that stuff I can live with being destroyed, sure it sucks, but components?! That stuff does NOT grow on trees especially with how much stuff breaks down or how much components you need in building. Obviously in the late game it becomes obsolete cause you can make it, but early game its near enough a death sentence if you're unlucky. Sure it ain't no antigrain, but its an equally terrifying death... A slow one! :winter2019sadbulb:
themoistestwhale  [author] 2 Jul @ 1:08pm 
@Honey Badger Oof, had a similar experience before myself but with plasteel. I then accidentally killed that colonist right afterwards too lol

I was already considering doing something like this with an optional mod setting, so I may give it a go when I find some time. My only issue right now is figuring out how to make it so a Harmony postfix only runs when a mod setting is checked, the postfix itself should be easy to write and can have it so it scales with a mod settings slider for the value you want to prevent getting banged up.
Honey Badger 2 Jul @ 12:40pm 
Might be a bit cheeky to ask, but do you think we could get one that stops them from destroying valuable materials like components? I might be super unlucky having every tantrum go to destroy the same pile of only components we have in the storage early game :')
themoistestwhale  [author] 3 Nov, 2024 @ 9:20pm 
@Doc There’s people out there who store chemfuel on the floor with all their other stuff instead of making a quick second room for it, wtf?
themoistestwhale  [author] 2 Nov, 2024 @ 9:12pm 
@Dragnulls I’ve not even done a Rimworld run in a year and I can’t remember the last time I had a colonist tantrum, let alone had one punch anything explosive, I just made this for others that may want to avoid it :p
themoistestwhale  [author] 2 Nov, 2024 @ 9:09pm 
@Inglix It’s not a bad idea but the amount of people I see senselessly smashing their gaming setups over a slight frustration in their games makes me think otherwise, anger isn’t very rational or logical for some lol

Also that’s amazing timing, and assuming he even finds this mod maybe- but also maybe not because that’s the magical content you need to get people to watch.
Yrm1e 2 Nov, 2024 @ 1:50pm 
kaboom