RimWorld

RimWorld

33 ratings
[KV] Weapon Storage (Continued)
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
862.395 KB
14 Jun, 2023 @ 12:50pm
25 Jul @ 12:36pm
4 Change Notes ( view )

Subscribe to download
[KV] Weapon Storage (Continued)

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

Update of Kiame Vivacitys mod https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1180720427



[discord.gg]
[github.com]


Stores weapons and allows weapons to be assigned to pawns for use in the field.

Weapon Storage
-Build Menu: Misc
-Size: 1x1
-Cost: 40 steel + 40 wood/stone/steel
-Stores: Weapons (ranges and melee)

Repair Attachment
-Build Menu: Misc
-Size: 1x1
-Cost: 250 steel + 6 components + 20 wood/stone/steel
-Energy: 10 W (not in use) or 1000 W (in use)
-Place within 6 squares of a Weapon Storage to have weapons automatically repaired
-Research Required: Mending & Multi-Analyzer
-Mending Mod not required (highly recommended though)

Compatible with:
Save Storage & Outfit Settings - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1180718516
Change Dresser - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1385697110

Not supported
Dual Wield
Combat Extended


Direct Download: https://github.com/KiameV/rimworld-weaponstorage/releases/download/current/WeaponStorage.zip

Ludeon Thread: https://ludeon.com/forums/index.php?topic=35503.0

GitHub: https://github.com/KiameV/rimworld-weaponstorage


If the storage crate is destroyed all stored weapons will drop on the floor. Assigned weapons will not drop on the floor though and will still be usable by the pawns the weapons are assigned to. To change or access the assigned weapons, use any other weapon storage crate.

Items stored in a weapon storage will not show up in merchant screens. To make them available for sale use the "Empty" button to cause all the items to fall on the floor.


The Weapon Storage container is located under furniture.


Instructions for assigning weapons:
1. Load one or many Weapon Storage containers with weapons
2. Select a Weapon Storage
3. Select the Assign Weapons button
4. Select the pawn to assign weapons to
5. Select the weapons to assign to the pawn

When a weapon is assigned to a pawn, that weapon is no longer stored in that container. Instead the weapon will exist in a pocket dimension (think bag of holding ;) ) that is accessible by any other Weapon Storage and by the assigned pawn

The pawn can, when drafted, switch to any assigned weapon by reaching into their pocket of holding and place whatever weapon they were holding into the other dimension.

Some cases/behaviors to consider - these are not hard coded but just how the mod works. If there's strong feedback regarding any of these I will consider changing them.
- If a pawn drops a weapon which they are assigned to, they are no long assigned to that weapon.
- If a pawn picks up a weapon, they are now assigned with that weapon.
- If a drafted pawn is carrying something in their primary equipment slot that is not a weapon, instead of placing the item in their pocket of holding they will place it on the ground.

Forming Caravans
Stored weapons will be available for caravans. Until the pawns in the caravan either exit the map or are told to cancel the caravan, the weapons will remain scattered around the storages. If something goes wrong and the items are not collected, let me know and click the "Collect" button on the weapon storages.

As of now if the Cancel button is used from the Form Caravan window, the weapons will not be collected. This will likely remain the case for the time being due to limitations in modding tools.

This can be fixed by either using the Collect button or forming another caravan and either allow it to leave the map or cancel the caravan

Repair Attachment
Will detect if weapons within attached Weapon Storages need to be repaired.
Each Repair Attachment can only repair one weapon at a time.
More than one Repair Attachment can be attached to one or more Weapon Storages (many-to-many relationship)


  • 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 the Log Uploader 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: assign, pawns
27 Comments
boldface 23 Jul @ 6:31am 
Fair enough, just wanted to leave a note in case it's helpful to someone else's troubleshooting. Appreciate you and your hard work on so many mods.
Mlie  [author] 23 Jul @ 6:13am 
@boldface Its not updated yet, you should probably not use it in 1.6
boldface 23 Jul @ 4:58am 
For other users who have the same thing: I'm having an issue with the weapons storage accepting weapons and showing the correct number beside "Weapons Stored," but throwing errors and not working when I attempt to assign weapons. If I use the empty command, the number sets to 0 but no weapons are spawned. Example trace:

System.MissingMethodException: Method not found: System.Collections.Generic.List`1<Verse.Pawn> RimWorld.PawnsFinder.get_AllMapsCaravansAndTravelingTransportPods_Alive_Colonists()
[Ref A9A7C02B]
<0x2acc8ac5eb0 + 0x000c2> <unknown method>
at WeaponStorage.Building_WeaponStorage+<>c.<GetGizmos>b__50_2 () [0x00005] in <5bba37af5f31479c8f819cc39da136c3>:0
...
- TRANSPILER UnlimitedHugs.AllowTool: IEnumerable`1 AllowTool.Patches.GizmoGridDrawer_DrawGizmoGridFor_Patch:ClearReverseDesignators(IEnumerable`1 instructions) currentSelectable: null
...
MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch2 (Verse.Root)
Tablenack 14 Jul @ 4:13am 
any chance for update for this ?
Ascythian 1 Nov, 2024 @ 4:02pm 
@Mlie Will do, thanks Mlie.
Mlie  [author] 1 Nov, 2024 @ 4:00pm 
@Ascythian No idea, depends on how they are coded. Report back if you try some
Ascythian 1 Nov, 2024 @ 3:57pm 
Can this be used with other weapon storage options, vanilla or modded?
Frey 27 Apr, 2024 @ 6:56am 
thanks!!!!!!
Juanca el matador 26 Apr, 2024 @ 9:49pm 
Thank you very much for updating it, my weapons were already piling up to the ceiling hehe ^^
Juanca el matador 16 Apr, 2024 @ 4:51pm 
Update it to 1.5 when you can please, it's pretty important to manage my dozens of weapons and not have to create a huge warehouse for them, thanks in advance.