1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

Added "tavernVideo","guildBackground" to "faction" JSON config and schema. If "primaryResource" is set to "gold", silo will generate 500 gold per day

This commit is contained in:
Macron1Robot
2014-04-24 23:36:10 +04:00
parent fe4704157c
commit b7b890acff
20 changed files with 4786 additions and 4742 deletions

View File

@ -2283,6 +2283,8 @@ int CGTownInstance::dailyIncome() const
ret+=1000;
else if (hasBuilt(BuildingID::VILLAGE_HALL))
ret+=500;
if (hasBuilt(BuildingID::RESOURCE_SILO)&&(town->primaryRes==Res::GOLD))
ret += 500;
return ret;
}
bool CGTownInstance::hasFort() const