RimWorld
[ARY] Ghouls' Diet [1.5 - 1.6]
Visualizzazione di 1-8 elementi su 8
Aggiornamento: 13 lug, 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.

Aggiornamento: 7 ago 2024, 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.

Aggiornamento: 6 ago 2024, 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!

Aggiornamento: 1 ago 2024, 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"!

Aggiornamento: 31 lug 2024, 15:17

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

Small attempt at trying to optimize the code!

Aggiornamento: 31 lug 2024, 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...

Aggiornamento: 27 lug 2024, 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; }

Aggiornamento: 27 lug 2024, 12:41

[Auto-generated text]: Initial upload.