RimWorld

RimWorld

262 ratings
Pawns Use Fire Extinguishers
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4
File Size
Posted
Updated
630.738 KB
16 Feb, 2021 @ 9:57am
17 Jan, 2023 @ 1:09pm
47 Change Notes ( view )

Subscribe to download
Pawns Use Fire Extinguishers

In 1 collection by pointfeev
pointfeev's RimWorld Mods
3 items
Description
Allows fire extinguishers to be used for firefighting automatically. If a pawn doesn't have a fire extinguisher or a piece of fire can't be accessed with a fire extinguisher, pawns will go back to default vanilla behavior of beating out fires.



The mod works by checking the pawn's inventory for a fire extinguisher and checking if the pawn can actually use the fire extinguisher on any fires. If those are both true, the pawn will equip the fire extinguisher, go to within range of a fire, shoot the fire, then re-equip the weapon he had beforehand. If both are false however, the pawn will then just go beat the fire like normal.



Currently compatible with fire extinguishing weapons from:

if there are any extinguishers I've missed and you'd like to use automatically, leave a comment! However, please test if it doesn't already work, as it may use the vanilla Extinguish damage definition; if it does work, I'd appreciate you letting me know in the comments so I can further populate this description! :)

NOTE: This mod will be completely useless if you don't use at least one mod with a fire extinguishing weapon.



The mod is intended to be a sort-of "addition" to the auto-equip on job feature from Simple Sidearms or Grab Your Tool! (but you don't need either of those mods for this one to work of course).

Using a mod that allows you to equip extra weapons/tools (such as Simple Sidearms, Pocket Sand, or Combat Extended) is supported and encouraged, but not required.

Combat Extended's ammo system is also supported. Pawns will ignore the fire extinguisher in their inventory if it doesn't have any ammunition to fire. All you have to do is give pawns a loadout with Firefoam (or whatever ammo the extinguisher from your selected mod uses) and they should reload the extinguisher when they need to use it.



Very simple and lightweight mod, completely safe to add to or remove from saves, HOWEVER:
  • When removing from a save, you may see small errors in the dev console, but they are completely ignorable. Just make sure to draft and undraft all colonists before or after removal to make sure they're not still trying to use the job and causing errors.

If you encounter a bug or a potential compatibility issue, please leave a comment and I'll try my best to fix it!

GitHub: FireExtinguisher[github.com]
96 Comments
pointfeev  [author] 17 Jan, 2023 @ 11:34am 
@soglasen666 I'll look into Nanotrasen's Armory to see why it's happening. :)
soglasen666 17 Jan, 2023 @ 6:57am 
@pointfeev minimal setup to reproduce is:
1. Harmony
2. Core
3. Nanotrasen's Armory (Continued)
4. Simple sidearms
5. Pawns Use Fire Extinguishers

AND looks like it happens only when pawn is equipped with Gun_CombatShotgun_NT. Extinguisher also comes from nanotrasen's armory mod.

Probably what could be happening: the mod recognizes shotgun as an extinguisher type.
https://ibb.co/HPYwCMv
pointfeev  [author] 16 Jan, 2023 @ 1:17pm 
@soglasen666 what other inventory-related mods is this with
soglasen666 16 Jan, 2023 @ 1:14pm 
When my pawn has another ranged sidearm it uses fire extinguisher one time and then switches to a shotgun and simply stands doing nothing.
ThatCozyBear 6 Nov, 2022 @ 7:53pm 
pointfeev, you are a got-dam-good human being. Thank you G
pointfeev  [author] 6 Nov, 2022 @ 2:28pm 
@ThatCozyBear Sure, it's done. I changed from using individual weapon definition names to using damage definition names, so mods such as Firefoam Things that you asked for will work as they use the vanilla Extinguish damage definition. :)
ThatCozyBear 6 Nov, 2022 @ 3:48am 
my G, is it possible for you to add support to this mod? https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2885014197&searchtext=extinguish+ thank you fam
PandaKuma 1 Nov, 2022 @ 2:57pm 
np thanks for answering, yayo's is just my replacement for CE until the update as well
pointfeev  [author] 1 Nov, 2022 @ 6:47am 
@PandaKuma likely not then, I never used Yayo's, I use Combat Extended. I might try to make it compatible with Yayo's ammo, but I wouldn't bet on it, sorry.
PandaKuma 1 Nov, 2022 @ 1:35am 
is this compatible with the ammo system in yayo's combat? my pawn with the VE extinguisher isnt automatically using it :\