RimWorld

RimWorld

42 ratings
Apparel Gizmos From Comps
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
4.571 MB
16 Jan, 2018 @ 11:46pm
21 Mar, 2024 @ 6:43pm
8 Change Notes ( view )

Subscribe to download
Apparel Gizmos From Comps

Description
This mod is meant for Code modders.

If you pick up a weapon, a button appears to melee or ranged attack. That's a Gizmo associated with equipment used by a colonist. Unfortunately, RimWorld will not show Gizmos (buttons) associated with any apparel worn by a colonist. This is sad for modders.

AGFC defines an abstract ThingComp called CompWearable which provides CompGetGizmosWorn(). If apparel is worn by a selected colonist, Gizmos returned from CompGetGizmosWorn will be displayed.

Requires HugsLib for Harmony.

Compatibility note: AGFC applies a Postfix patch to RimWorld.Apparel.GetWornGizmos(). In other words, it should be safe to mix with other mods without issue.

Mod Order: Anywhere below HugsLib.

Feel free to leave a comment if you run into a problem.

Steam Download:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1272185463

GitHub Download:
https://github.com/RandolphCherrypepper/ApparelGizmosFromComps/releases/
29 Comments
Randolph Cherrypepper  [author] 21 Mar, 2024 @ 6:44pm 
Updated for 1.5
GoofBall 15 Dec, 2023 @ 9:21am 
kaboom
Randolph Cherrypepper  [author] 17 Nov, 2022 @ 7:11pm 
Updated for 1.4. Thanks for your patience everyone.
ZuTheComCat 31 Oct, 2022 @ 7:25pm 
Sorry to hear about any troubles, I was just going through my mod list and didn't know what this was for. Hope things get better.
Ogliss 30 Oct, 2022 @ 9:37am 
Ouch, hope everythings OK!
Randolph Cherrypepper  [author] 30 Oct, 2022 @ 8:51am 
Ah yes, I had some people ask me to update to 1.4 on Suicide Vest mod.

I got impacted by a real world event that took out my access to a system capable of running Rimworld, so I won't be able to update anytime soon.
Ogliss 29 Oct, 2022 @ 9:21pm 
hes likely referring to compatibility with 1.4 and biotech, you will likely just need to recompile against 1.4
Randolph Cherrypepper  [author] 29 Oct, 2022 @ 8:55pm 
> Is this mod still being updated?

I cannot currently update it, but perhaps in a month or two. What do you need updated about it?

> are there any specific mod that require this?

I only know of Suicide Vest that requires this mod. It could be used by other mods and modders.
ZuTheComCat 24 Oct, 2022 @ 9:11am 
Is this mod still being updated? and are there any specific mod that require this?
Randolph Cherrypepper  [author] 18 Jul, 2021 @ 10:39pm 
I think there might be a way to support gizmos on apparel. I wrote this mod back in a17, and I think it was still necessary in 1.0. Not sure if it's still necessary in 1.3, but I haven't looked at all the new stuff all that closely.