Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: changing siege/ambush triggers  (Read 702 times)

metgyre

  • Escaped Lunatic
    • View Profile
changing siege/ambush triggers
« on: April 09, 2013, 12:49:29 pm »

I'm looking to change what triggers sieges and ambushes.  Specifically, where in the raws do I change the value and population of the fort that causes them to appear?
Logged

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: changing siege/ambush triggers
« Reply #1 on: April 09, 2013, 12:55:00 pm »

The entity tokens:
PROGRESS_TRIGGER_POP_SIEGE
PROGRESS_TRIGGER_PROD_SIEGE
PROGRESS_TRIGGER_TRADE_SIEGE

wiki will describe what the allowed levels (0-5) correspond to in terms of population/value

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: changing siege/ambush triggers
« Reply #2 on: April 09, 2013, 01:01:42 pm »

Ambushes/traders use the same triggers without the _SIEGE on the end (i.e. PROGRESS_TRIGGER_POP:)
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

metgyre

  • Escaped Lunatic
    • View Profile
Re: changing siege/ambush triggers
« Reply #3 on: April 09, 2013, 04:31:28 pm »

THANKS!  I looked in there, but must have passed right over those.
Logged