Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#1439 closed defect (fixed)

[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
Cc: Patch:

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 (1)

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

Download all attachments as: .zip

Change History (4)

by Deiz, 12 years ago

Attachment: livestock.patch added

comment:1 by fcxSanya, 12 years ago

Owner: set to fcxSanya
Resolution: fixed
Status: newclosed

In 11922:

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

comment:2 by fcxSanya, 12 years ago

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

comment:3 by sanderd17, 8 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.