Advertisement
Guest User

Untitled

a guest
Jul 8th, 2025
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. ;
  2. ; Campaign script
  3. ; Written by GrnEyedDvl
  4. ;
  5. ; Table of Contents
  6. ; 1. 4 turns per year, characters age in 1st Quarter
  7. ;
  8. ;
  9. ;
  10. ;
  11. ;
  12. ;
  13. ;
  14.  
  15. script
  16.  
  17. ;show the whole map
  18. restrict_strat_radar false
  19.  
  20. ; 1. 12 Turns per year.
  21. declare_counter quarter
  22. set_counter quarter 1 ;set to January
  23.  
  24. monitor_event PreFactionTurnStart FactionIsLocal ; set the season for each quarter
  25. if I_CompareCounter quarter == 1 ;Jan, Feb, March
  26. console_command season winter
  27. end_if
  28.  
  29. if I_CompareCounter quarter == 2 ;April, May, June
  30. console_command season summer
  31. end_if
  32.  
  33. if I_CompareCounter quarter == 3 ;July, Aug, Sept
  34. console_command season summer
  35. end_if
  36.  
  37. if I_CompareCounter quarter == 4 ;Oct, Nov, Dec
  38. console_command season winter
  39. end_if
  40.  
  41. inc_counter quarter 1 ;advance the quarter
  42. if I_CompareCounter quarter == 5 ;start a new year
  43. set_counter quarter 1
  44. end_if
  45. end_monitor
  46.  
  47. monitor_event FactionTurnEnd FactionType slave
  48. and I_CompareCounter quarter > 1
  49. console_command season summer
  50. end_monitor
  51.  
  52. wait_monitors
  53.  
  54. end_script
  55.  
  56.  
  57.  
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement