RimWorld
Vanilla Furniture Expanded - Spacer Module
magneticflux- 28 MAY 2021 a las 8:10 p. m.
Repair shelf not working on psychic animal pulser?
I left a psychic animal pulser on the shelf for a few days, and it hasn't increased from 15/80 (19%). Does the shelf work on all items, or just "clothing, armour or weapons"?
< >
Mostrando 1-4 de 4 comentarios
magneticflux- 31 MAY 2021 a las 8:04 p. m. 
It's been an in-game year, with no change. I think something's broken.
magneticflux- 4 JUN 2021 a las 8:14 p. m. 
I can confirm it works with other weapons. They tick up health at around 2 points per in-game hour.
Jalordon 23 JUN 2021 a las 7:40 a. m. 
I think I remember a few months ago when I read the decompiled code, when I also noticed some items not repairing on the shelf, that the shelf checks if the item is in the "weapons" or "apparel" category to allow applying repairs.

line of code in question:
if ((firstItem != null && firstItem.get_HitPoints() != firstItem.get_MaxHitPoints() && firstItem.def.IsWithinCategory(ThingCategoryDefOf.Weapons)) || (firstItem != null && firstItem.get_HitPoints() != firstItem.get_MaxHitPoints() && firstItem.def.IsWithinCategory(ThingCategoryDefOf.Apparel)))

I assume these categories refer to the tags stockpiles use, ie it only repairs items if they are under the apparel or weapons category
Kikohi  [desarrollador] 9 AGO 2021 a las 1:34 a. m. 
@magneticflux You created a new thread, we don't get notified of that. That's why we never responded.

Yes the shelf only repair apparel and armors, with the last update, the storage tab has been updated to only have those categories.
< >
Mostrando 1-4 de 4 comentarios
Por página: 1530 50