RimWorld
[ARY] Ghouls' Diet [1.5 - 1.6]
Mostrando 1-8 de 8 aportaciones
Actualización: 13 JUL a las 13:05

[Auto-generated text]: Update on 7/13/2025 4:05:12 PM.
Change Notes # 08 : Ghouls' Diet :
* Updated for version 1.6!!!
* Cleaner code! Better optimization!
* More options for ghouls' automatic hunting!
* Added "modDependencies" for Anomaly to make sure you have Anomaly enabled.

Actualización: 7 AGO 2024 a las 16:12

[Auto-generated text]: Update on 8/7/2024 7:12:30 PM.
For advanced options,
Ghouls will be forbidden to automatically hunt the preys mentioned in the left column
if they are not mentioned in the priority column on the right.

Ghouls will target the closest (smaller than their size) wild herbivores they can reach.

Actualización: 6 AGO 2024 a las 17:06

[Auto-generated text]: Update on 8/6/2024 8:06:21 PM.
Releasing a cool feature that allows Ghouls to go hunt on their own for food when starving!

Actualización: 1 AGO 2024 a las 9:06

[Auto-generated text]: Update on 8/1/2024 12:06:14 PM.

Another attempt at optimizing the code!
Managed to replace the "triple loop foreach"!

Actualización: 31 JUL 2024 a las 15:17

[Auto-generated text]: Update on 7/31/2024 6:17:25 PM.

Small attempt at trying to optimize the code!

Actualización: 31 JUL 2024 a las 10:22

[Auto-generated text]: Update on 7/31/2024 1:21:59 PM.

Fixed a patch that was trying to replace way too many things,
which was repeating the code 6 times instead of once...
This should fix the lag I THOUGHT was caused by "lack of optimization"...

The fix: Literally copy pasting the entire
<ThinkTreeDef>
<defName>Ghoul</defName>
and changing a single thing in there instead of using the patch replace...

Actualización: 27 JUL 2024 a las 14:52

[Auto-generated text]: Update on 7/27/2024 5:52:42 PM.

Fixed a bug where the Ghouls would try to eat a reserved corpse being butchered!

The fix:
if (corpse != null && corpse.Map.reservationManager.IsReserved(corpse))
{ return false; }

Actualización: 27 JUL 2024 a las 12:41

[Auto-generated text]: Initial upload.