Ticket #1439 (closed defect: fixed)

Opened 12 months ago

Last modified 12 months ago

[PATCH] Livestock should not influence unit kill and death statistics.

Reported by: Deiz Owned by: fcxSanya
Priority: Should Have Milestone: Alpha 11
Component: UI & Simulation Keywords: patch review
Cc:

Description

Currently, killing player-owned (non-Gaia) livestock increments both the kill and death counters, displayed in the post-game view.

This applies whether a player kills his own livestock, an ally does, or an enemy does. This means that a player hunting his own livestock will accumulate both kills and deaths.

As livestock only exist as a food source and take up no population, I regard them as a resource on legs and not a proper unit. The attached patch checks the two classes "Domestic" and "Animal", the former of which is only held by the Sheep and the latter of which is a redundant sanity-check.

Attachments

livestock.patch (1.5 KB) - added by Deiz 12 months ago.

Change History

Changed 12 months ago by Deiz

comment:1 Changed 12 months ago by fcxSanya

  • Owner set to fcxSanya
  • Status changed from new to closed
  • Resolution set to fixed

In 11922:

Do not count domestic animals as units in statistics, based on patch by Deiz. Fixes #1439

comment:2 Changed 12 months ago by fcxSanya

Thanks for the patch. I applied it along with some minor code style changes.

Note: See TracTickets for help on using tickets.