home *** CD-ROM | disk | FTP | other *** search
/ Gambler 33 A / GAMBLERCD33A.BIN / Demos / CIVILCTP / setup / data / civdemo.ctp / ctp_data / default / aidata / personalityBarbarians.fli < prev    next >
Text File  |  1999-06-23  |  2KB  |  62 lines

  1. // A personality file
  2. #include "mainBarbarians.fli"
  3. // These things can be set for diplomatic uses and act as the final modifier
  4. // on utility functions for the given message
  5. // GREETING_coeff
  6. // DEMAND_ADVANCE_coeff
  7. // DEMAND_CITY_coeff
  8. // DEMAND_MAP_coeff
  9. // DEMAND_GOLD_coeff
  10. // DEMAND_STOP_TRADE_coeff
  11. // DEMAND_ATTACK_ENEMY_coeff
  12. // DEMAND_LEAVE_OUR_LANDS_coeff
  13. // DEMAND_REDUCE_POLLUTION_coeff
  14. // DEMAND_LOWER_TARIFFS_coeff
  15. // OFFER_ADVANCE_coeff
  16. // OFFER_CITY_coeff
  17. // OFFER_MAP_coeff
  18. // OFFER_GOLD_coeff
  19. // OFFER_CEASE_FIRE_coeff
  20. // OFFER_PERMANENT_ALLIANCE_coeff
  21. // OFFER_PACT_CAPTURE_CITY_coeff
  22. // OFFER_PACT_END_GLOBAL_WARMING_coeff
  23. // OFFER_PACT_END_OZONE_LOSS_coeff
  24. // EXCHANGE_ADVANCE_coeff
  25. // EXCHANGE_CITY_coeff
  26. // EXCHANGE_MAP_coeff
  27.     
  28. fuzzy_pre_outgoing_diplomacy {
  29.     //
  30.     // These are intended mainly as constants to be set once per personality,
  31.     // but there's nothing stopping you from using them as regular outputs if
  32.     // you want.
  33.     //
  34.     output demand_city_coeff[0,10000] = 0
  35.     output demand_map_coeff[0,100000] = 1000
  36.     output demand_gold_coeff[0,100000]= 10000
  37.     output demand_advance_coeff[0,100000] = 5000
  38.  
  39.     // Barbarians never give or trade
  40.     output GREETING_coeff[-1000,100000] = -1000
  41.     output DEMAND_STOP_TRADE_coeff[-1000,100000] = -1000
  42.     output DEMAND_ATTACK_ENEMY_coeff[-1000,100000] = -1000
  43.     output DEMAND_LEAVE_OUR_LANDS_coeff[-1000,100000] = -1000
  44.     output DEMAND_REDUCE_POLLUTION_coeff[-1000,100000] = -1000
  45.     output OFFER_ADVANCE_coeff[-1000,100000] = -1000
  46.     output OFFER_CITY_coeff[-1000,100000] = -1000
  47.     output OFFER_MAP_coeff[-1000,100000] = -1000
  48.     output OFFER_GOLD_coeff[-1000,100000] = -1000
  49.     output OFFER_CEASE_FIRE_coeff[-1000,100000] = -1000
  50.     output OFFER_PERMANENT_ALLIANCE_coeff[-1000,100000] = -1000
  51.     output OFFER_PACT_CAPTURE_CITY_coeff[-1000,100000] = -1000
  52.     output OFFER_PACT_END_GLOBAL_WARMING_coeff[-1000,100000] = -1000
  53.     output OFFER_PACT_END_OZONE_LOSS_coeff[-1000,100000] = -1000
  54.     output EXCHANGE_ADVANCE_coeff[-1000,100000] = -1000
  55.     output EXCHANGE_CITY_coeff[-1000,100000] = -1000
  56.     output EXCHANGE_MAP_coeff[-1000,100000] = -1000
  57.      output give_advance[-1000,100000] = 0
  58.     
  59.     // Won't send the same message more often than this many turns
  60.     output diplomatic_persistence[0, 10000] = 5
  61. }
  62.