Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How do I apply regional interactions to the world?  (Read 563 times)

Trekkin

  • Bay Watcher
    • View Profile
How do I apply regional interactions to the world?
« on: February 16, 2017, 04:35:29 am »

I'd like to get around the randomness of unmodded reanimating regions and evil clouds/rain by just making a regional interaction to apply all three to the entire world. Accordingly, I copied the example interaction into the raws, replacing the is_region:evil_only and savage_allowed with is_region:any. is_frequency remains 100. And yet, when I generate a world, there exist regions without reanimation or evil weather.

So how do I get my regional interaction to apply across the world?
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: How do I apply regional interactions to the world?
« Reply #1 on: February 16, 2017, 05:07:46 am »

Code: [Select]
[I_SOURCE:REGION]
[IS_REGION:ANY]
[IS_REGION:ANY_TERRAIN]
[IS_FREQUENCY:100]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_REGION]
That seemed to work for me when I tried a similar thing with certain creatures, made the relevant critters get back up any time I killed them.
Logged