-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'C7-Game:Development' into kulkobsw/multiturn-irrigation
- Loading branch information
Showing
12 changed files
with
365 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace C7GameData { | ||
public class CitizenType { | ||
public ID Id; | ||
|
||
// Should this citizen be the default? | ||
public bool IsDefaultCitizen; | ||
|
||
// If !IsDefaultCitizen, the index of this specialist, for looking up in | ||
// popHeads.pcx. 0 is the first non-laborer row. | ||
public int SpecialistIndex; | ||
|
||
// Like "Laborer" or "Scientist" | ||
public string SingularName; | ||
|
||
public string CivilopediaEntry; | ||
|
||
// Like "Laborers" or "Scientists" | ||
public string PluralName; | ||
|
||
// If non-null, the tech needed to use this citizen type. | ||
public ID PrerequisiteTech; | ||
|
||
// The contribution, in gold per turn, that this citizen makes towards | ||
// luxuries/happiness. | ||
public int Luxuries; | ||
|
||
// The contribution, in beakers, that this citizen makes towards teching | ||
public int Research; | ||
|
||
// The contribution, in gold per turn, that this citizen makes towards | ||
// the treasury. | ||
public int Taxes; | ||
|
||
// TODO: Figure out the details of how corruption is reduced by | ||
// policemen. | ||
public int Corruption; | ||
|
||
// The contribution, in shields per turn, that this citizen makes | ||
// towards production. | ||
public int Construction; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.