Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#1349 closed task (fixed)

[PATCH] change instances of "Citizen" class to "Worker"

Reported by: gudo Owned by: michael
Priority: Nice to Have Milestone: Alpha 10
Component: UI & Simulation Keywords: patch, simple
Cc: Patch:

Description

Currently, the plough tech doesn't improve the gather rate for citizensoliders. Either the tooltip should be updated to reflect this, or the tech should be expanded to affect citizensoliders.

The attached patch takes the later approach

Attachments (2)

plough.json.patch (2.3 KB ) - added by gudo 12 years ago.
Changes plough to use "Worker", alters classes on Women and Infantry
worker.patch (3.5 KB ) - added by gudo 12 years ago.
Updated patch, can be applied vs r11643

Download all attachments as: .zip

Change History (8)

comment:1 by michael, 12 years ago

Resolution: fixed
Status: newclosed

Fixed. Added new "Citizen" class for this purpose and edited the templates and technology to suit.

comment:2 by Kieran P, 12 years ago

Milestone: BacklogAlpha 10

comment:3 by gudo, 12 years ago

Resolution: fixed
Status: closedreopened

Instead of creating yet another class, I think a better solution would be to add the "Worker" to template_unit_infantry and change plough tech to use that. The naming is better, it reduces class spread, and it would work for slave units.

Feel free to re-close if the current solution is good enough. (r11620 and r11619)

by gudo, 12 years ago

Attachment: plough.json.patch added

Changes plough to use "Worker", alters classes on Women and Infantry

comment:4 by gudo, 12 years ago

Summary: [PATCH] plough tech doesn't improve citizen solider farming rate[PATCH] change instances of "Citizen" class to "Worker"
Type: enhancementtask

by gudo, 12 years ago

Attachment: worker.patch added

Updated patch, can be applied vs r11643

comment:5 by michael, 12 years ago

Owner: set to michael
Resolution: fixed
Status: reopenedclosed

In 11650:

Fixes #1349

comment:6 by sanderd17, 8 years ago

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