RimWorld

RimWorld

A RimWorld of Magic
Lughir Feb 26, 2022 @ 2:38am
Bug Report - 4GB save file, negative tick spell
I just brought back a 4GB save file to 53MB, by removing the following thing from my save file.

Should it be even possible to have a negative tick to impact?

<thing Class="TorannMagic.Projectile_Encase"> <def>Projectile_EarthenRush</def> <id>Projectile_EarthenRush4310074</id> <map>0</map> <pos>(24, 0, 4)</pos> <questTags IsNull="True" /> <origin>(21.5, 0.0, 4.5)</origin> <destination>(24.3, 0.0, 4.8)</destination> <ticksToImpact>-1884260</ticksToImpact> <launcher>Thing_Mincho_ThingDef510</launcher> <desiredHitFlags>IntendedTarget, NonTargetPawns</desiredHitFlags> <projAbilityExtraDamages IsNull="True" /> <projAbilityLocalApplyMentalStates IsNull="True" /> <projAbilityLocalApplyHediffs IsNull="True" /> <projAbilityLocalAbilityDef>TM_EarthenRush</projAbilityLocalAbilityDef> <age>8</age> <caster>Thing_Mincho_ThingDef510</caster> ... </thing>

This "thing" contained 165.814.969 lines of wall positions, which I can only assume to be where the projectile would land.

So there are two problems here;

1. Projectile has negative amount of ticks to impact, which seems impossible?
2. Projectile lands... everywhere in the universe, it seems? I haven't dug deeper.