 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:29
|
|
quote:
-Where in the source code Television relates to happiness.
-Is there any relationship between gold and happiness?
After lot of searching we decided to pick another one. So we took Shine, which also gives +1 happiness. After searching the source code, the word Shrine is not even there. How this variable is defined in the code and where is it?
|
It starts in BuildingRecord.cpp where it reads the data in from buildings.txt. Then buildingutil_GetHappinessIncrement is used to get the specific happiness increment due to the city's having a television or shrine.
Check out CityData.cpp and Happy.cpp; it looks complicated.
|
|
|  |
 |
|
cajul
|
|
Hey Guys:
Thank you very much for all your responses. They have been very helpful. We have already sorted out the direct relationships, which is a step forward in our project.
However, we are still struggling with indirect relationships to happiness. These relationships are: starvation, certain city improvements, like hospital, aqueduct, aqua-filter, body exchange, drug store, and I think more conplicated ones like enemy attacks, crime and pollution.
Does anybody have an input on these effects? At least a file or something where to star looking for?
Thanks again.
Carlos Tamayo
|
|
|  |
All times are GMT. The time now is 05:29. Apolyton Time is 00:29. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|