Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
It stacks in some way with other mods - though i have no control which shield is struck "first". The only control i have, is with the vanilla shield belts, which are depleted before the implant.
- Removed logging message
- Fixed a critical error when an animal with the implant was hit
I did not work with performance in mind (especially since i know little about inner workings of Rimworld), but I would gladly implement an improvement like this
In PlasmaShieldImplant.VirCompShield2:CompTick the PsychicSensitivity stat is calculated using the GetStatValue method, which is heavy because it takes into account everything that can relate to the pawn's stats, and it called every tick (60 calls in second on speed 1). And you access the ShieldState stat inside CompTick() twice, which is less expensive than the previous function, but still noticeable
I managed to reduce the average call time per tick from 0.163ms to 0.007ms using caching
I'll share my solution if you contact me
This greatly affects those players who prefer to use heart implants.