Autolog.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!--
  3. Autolog
  4. by eotinb, Ruff_Hi
  5. Copyright (c) 2008 The BUG Mod.
  6. -->
  7. <mod id="Autolog"
  8. module="autologEventManager"
  9. name="Autolog Mod"
  10. author="eotinb, Ruff_Hi"
  11. version="1.2"
  12. date="12/06/2005"
  13. url="http://forums.civfanatics.com/showthread.php?t=141164">
  14. <options id="Autolog" file="Autolog.ini">
  15. <section id="Autolog">
  16. <!-- Move this outside of INI once Mod objects hold options -->
  17. <option id="LoggingOn" type="boolean" default="False"/>
  18. <option id="Enabled" key="Enabled"
  19. type="boolean" default="False"
  20. get="isEnabled" set="setEnabled"
  21. label="Enable Logging"
  22. help="When checked, various game events are logged to a text file using eotinb's AutoLog mod."/>
  23. <option id="Silent" key="Silent"
  24. type="boolean" default="False"
  25. get="isSilent" set="setSilent"
  26. label="Start Automatically"
  27. help="When checked, the logger is automatically started with no in-game message."/>
  28. <!-- Log file -->
  29. <option id="DefaultFileName" key="Default File Name"
  30. type="boolean" default="True"
  31. get="isUseDefaultFileName" set="setUseDefaultFileName"
  32. label="Use Default File Name"
  33. help="When checked, the default (playername.txt) will be used, ignores log file name option.">
  34. <change module="autologEventManager" function="setDefaultFileName"/>
  35. </option>
  36. <option id="FilePath" key="File Path"
  37. type="string" default=""
  38. get="getFilePath" set="setFilePath"
  39. label="Path"
  40. help="Directory where log file resides (fully qualified path, i.e. C:\folder\subfolder or blank).">
  41. <change module="autologEventManager" function="setFilePath"/>
  42. </option>
  43. <option id="FileName" key="File Name"
  44. type="string" default="autolog.txt"
  45. get="getFileName" set="setFileName"
  46. label="File"
  47. help="Name of log file. If there is no file of this name in the directory above, one will be created.">
  48. <change module="autologEventManager" function="setFileName"/>
  49. </option>
  50. <!-- Log format -->
  51. <list id="Format" key="Format Style"
  52. type="int" default="2" listType="string"
  53. values="Plain|HTML Tags|Forum Tags, with '' around color codes|Forum Tags, no '' around color codes"
  54. get="getFormatStyle" set="setFormatStyle"
  55. label="Format Style"
  56. help="The format of the log output."/>
  57. <option id="ColorCoding" key="Color Coding"
  58. type="boolean" default="True"
  59. get="isColorCoding" set="setColorCoding"
  60. label="Color Coding"
  61. help="When checked, comments are color-coded for forum posts."/>
  62. <list id="4000BC" key="4000BC"
  63. type="int" default="0" listType="int"
  64. values="0, 1"
  65. get="get4000BCTurn" set="set4000BCTurn"
  66. label="4000BC is Turn"
  67. help="Select which turn number 4000BC should be."/>
  68. <option id="IBT" key="Show IBT"
  69. type="boolean" default="True"
  70. get="isShowIBT" set="setShowIBT"
  71. label="Show IBT"
  72. help="When checked, the logger inserts IBT (in between turns) at the end of the player's turn."/>
  73. <option id="Prefix" key="Prefix"
  74. type="string" default="Player Comment"
  75. get="getPrefix" set="setPrefix"
  76. label="Prefix"
  77. help="Used as a prefix before user entries in the log [use ALT + E], e.g. your nick."/>
  78. <!-- Events to log -->
  79. <!-- Research and Builds -->
  80. <option id="LogTech" key="Tech"
  81. type="boolean" default="True" and="LoggingOn"
  82. get="isLogTechnology" set="setLogTechnology"
  83. label="Technologies"
  84. help="When checked, will log techs acquired and research started."/>
  85. <option id="LogBuildStarted" key="Build Started"
  86. type="boolean" default="True" and="LoggingOn"
  87. get="isLogBuildStarted" set="setLogBuildStarted"
  88. label="Builds Started"
  89. help="When checked, will log when a city starts a build."/>
  90. <option id="LogBuildCompleted" key="Build Completed"
  91. type="boolean" default="True" and="LoggingOn"
  92. get="isLogBuildCompleted" set="setLogBuildCompleted"
  93. label="Builds Completed"
  94. help="When checked, will log when a city completes a build."/>
  95. <option id="LogProjects" key="Project Completed"
  96. type="boolean" default="True" and="LoggingOn"
  97. get="isLogProjectCompleted" set="setLogProjectCompleted"
  98. label="Projects Completed"
  99. help="When checked, will log completion of projects (certain wonders are technically projects -- other wonders are treated like normal buildings)."/>
  100. <option id="LogImprovements" key="Improvements"
  101. type="boolean" default="True" and="LoggingOn"
  102. get="isLogImprovements" set="setLogImprovements"
  103. label="Improvements"
  104. help="When checked, will log when your improvements are built or destroyed by you."/>
  105. <option id="LogSliders" key="Sliders"
  106. type="boolean" default="True" and="LoggingOn"
  107. get="isLogSliders" set="setLogSliders"
  108. label="Sliders"
  109. help="When checked, will log the sliders each turn."/>
  110. <!-- Cities -->
  111. <option id="LogCityFounded" key="City Founded"
  112. type="boolean" default="True" and="LoggingOn"
  113. get="isLogCityFounded" set="setLogCityFounded"
  114. label="City Founded"
  115. help="When checked, will log when you found a city."/>
  116. <option id="LogCityGrowth" key="City Growth"
  117. type="boolean" default="True" and="LoggingOn"
  118. get="isLogCityGrowth" set="setLogCityGrowth"
  119. label="City Growth"
  120. help="When checked, will log when one of your cities grows in population."/>
  121. <option id="LogCityBorders" key="City Borders"
  122. type="boolean" default="True" and="LoggingOn"
  123. get="isLogCityBorders" set="setLogCityBorders"
  124. label="City Borders"
  125. help="When checked, will log when one of your city\'s borders expand."/>
  126. <option id="LogCityOwner" key="City Ownership"
  127. type="boolean" default="True" and="LoggingOn"
  128. get="isLogCityOwner" set="setLogCityOwner"
  129. label="City Ownership"
  130. help="When checked, will log when you acquire or lose a city through conquest or trade."/>
  131. <option id="LogCityRazed" key="City Razed"
  132. type="boolean" default="True" and="LoggingOn"
  133. get="isLogCityRazed" set="setLogCityRazed"
  134. label="City Razed"
  135. help="When checked, will log when you raze another civ\'s city or one of your cities is razed."/>
  136. <option id="LogCityWhipStatus" key="City Whip"
  137. type="boolean" default="True" and="LoggingOn"
  138. get="isLogCityWhipStatus" set="setLogCityWhipStatus"
  139. label="City Whip"
  140. help="When checked, will log when you whip a city or when the whip anger decreases in a city."/>
  141. <!-- Game Events -->
  142. <option id="LogGoodies" key="Goodies"
  143. type="boolean" default="True" and="LoggingOn"
  144. get="isLogTribalVillage" set="setLogTribalVillage"
  145. label="Tribal Villages"
  146. help="When checked, will log results from popping tribal villages."/>
  147. <option id="LogReligion" key="Religion"
  148. type="boolean" default="True" and="LoggingOn"
  149. get="isLogReligion" set="setLogReligion"
  150. label="Religions"
  151. help="When checked, will log\n1. When you found a religion\n2. Spread of any religion to your cities\n 3. Spread of religions whose Holy city you control to foreign cities"/>
  152. <option id="LogCorporation" key="Corporation"
  153. type="boolean" default="True" and="LoggingOn"
  154. get="isLogCorporation" set="setLogCorporation"
  155. label="Corporations"
  156. help="When checked, will log\n1. When you found a corporation\n2. Spread of any corporation to your cities\n 3. Spread of corporation whose headquarters you control to foreign cities"/>
  157. <option id="LogGP" key="Great People"
  158. type="boolean" default="True" and="LoggingOn"
  159. get="isLogGreatPeople" set="setLogGreatPeople"
  160. label="Great People"
  161. help="When checked, will log the birth of great people (in your cities)."/>
  162. <option id="LogGA" key="Golden Age"
  163. type="boolean" default="True" and="LoggingOn"
  164. get="isLogGoldenAge" set="setLogGoldenAge"
  165. label="Golden Age"
  166. help="When checked, will log begin and end of your Golden Ages."/>
  167. <!-- Politics -->
  168. <option id="LogContact" key="Contact"
  169. type="boolean" default="True" and="LoggingOn"
  170. get="isLogContact" set="setLogContact"
  171. label="Contact"
  172. help="When checked, will log first contact with other civs."/>
  173. <option id="LogAttitude" key="Attitude"
  174. type="boolean" default="True" and="LoggingOn"
  175. get="isLogAttitude" set="setLogAttitude"
  176. label="Attitude"
  177. help="When checked, will log any change in attitude between civs known to you."/>
  178. <option id="LogWar" key="War"
  179. type="boolean" default="True" and="LoggingOn"
  180. get="isLogWar" set="setLogWar"
  181. label="War"
  182. help="When checked, will log start and end of wars between civs known to you."/>
  183. <option id="LogVassals" key="Vassals"
  184. type="boolean" default="True" and="LoggingOn"
  185. get="isLogVassals" set="setLogVassals"
  186. label="Vassal States"
  187. help="When checked, will log when any civ becomes a vassal state of or frees itself from another."/>
  188. <option id="LogCivics" key="Civics"
  189. type="boolean" default="True" and="LoggingOn"
  190. get="isLogCivics" set="setLogCivics"
  191. label="Civics"
  192. help="When checked, will log any change in civics of civs known to you."/>
  193. <!-- Combat -->
  194. <option id="LogCombat" key="Combat"
  195. type="boolean" default="True" and="LoggingOn"
  196. get="isLogCombat" set="setLogCombat"
  197. label="Combat"
  198. help="When checked, will log combat results involving your units."/>
  199. <option id="LogPromotions" key="Promotions"
  200. type="boolean" default="True" and="LoggingOn"
  201. get="isLogPromotion" set="setLogPromotion"
  202. label="Promotions"
  203. help="When checked, will log when you promote one of your units."/>
  204. <option id="LogPillage" key="Pillage"
  205. type="boolean" default="True" and="LoggingOn"
  206. get="isLogPillage" set="setLogPillage"
  207. label="Pillaging"
  208. help="When checked, will log when you pillage or your improvements are pillaged."/>
  209. <!-- Trades and Demands -->
  210. <option id="LogTradeOffer" key="TradeOffer"
  211. type="boolean" default="True" and="LoggingOn"
  212. get="isLogTradeOffer" set="setLogTradeOffer"
  213. label="TradeOffer"
  214. help="When checked, will log AI-initiated trades and gift offers and your responses."/>
  215. <option id="LogTributeDemand" key="TributeDemand"
  216. type="boolean" default="True" and="LoggingOn"
  217. get="isLogTributeDemand" set="setLogTributeDemand"
  218. label="TributeDemand"
  219. help="When checked, will log AI demands for tribute or help and your responses."/>
  220. <option id="LogReligionDemand" key="ReligionDemand"
  221. type="boolean" default="True" and="LoggingOn"
  222. get="isLogReligionDemand" set="setLogReligionDemand"
  223. label="ReligionDemand"
  224. help="When checked, will log AI demands that you change religion and your responses."/>
  225. <option id="LogCivicDemand" key="CivicDemand"
  226. type="boolean" default="True" and="LoggingOn"
  227. get="isLogCivicDemand" set="setLogCivicDemand"
  228. label="CivicDemand"
  229. help="When checked, will log AI demands that you change civics and your responses."/>
  230. <option id="LogWarDemand" key="WarDemand"
  231. type="boolean" default="True" and="LoggingOn"
  232. get="isLogWarDemand" set="setLogWarDemand"
  233. label="WarDemand"
  234. help="When checked, will log AI requests to declare war on a third party and your responses."/>
  235. <option id="LogEmbargoDemand" key="EmbargoDemand"
  236. type="boolean" default="True" and="LoggingOn"
  237. get="isLogEmbargoDemand" set="setLogEmbargoDemand"
  238. label="EmbargoDemand"
  239. help="When checked, will log AI requests to stop trading with a third party and your responses."/>
  240. </section>
  241. </options>
  242. <events>
  243. <!--arg name="toggleKey" type="key" value="Alt L"/>
  244. <arg name="entryKey" type="key" value="Alt E"/-->
  245. </events>
  246. <gameutils listener="doPillageGoldListener"/>
  247. </mod>