tag units that are opposed to life as hostile

develop
Myk Taylor 2023-07-15 15:17:15 -07:00
parent 2fa4efbb8a
commit b10ef79a29
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -574,7 +574,7 @@ local function get_disposition(unit)
disposition = DISPOSITION.TRAINED disposition = DISPOSITION.TRAINED
elseif dfhack.units.isTamable(unit) then elseif dfhack.units.isTamable(unit) then
disposition = DISPOSITION.WILD_TRAINABLE disposition = DISPOSITION.WILD_TRAINABLE
elseif dfhack.units.isInvader(unit) then elseif dfhack.units.isInvader(unit) or dfhack.units.isOpposedToLife(unit) then
disposition = DISPOSITION.HOSTILE disposition = DISPOSITION.HOSTILE
else else
disposition = DISPOSITION.WILD_UNTRAINABLE disposition = DISPOSITION.WILD_UNTRAINABLE