SHARE
TWEET

Untitled

a guest Apr 19th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##KOMKE I think the custom battlefields are "scn_1257_combat_swamp_0", "scn_1257_combat_rocky_desert_0" because the variable $tom_use_battlefields is the one checked in the menu option "use custom battlefields"
  2.         (try_begin),
  3.           (assign, "$tom_generate_swamp", 0),
  4.           (assign, "$tom_generate_desert", 0),
  5.           (assign, "$tom_generate_desertv2", 0),
  6.           (assign, "$tom_generate_desertv3", 0),
  7.           (assign, "$tom_generate_iberian", 0),
  8.           (assign, "$tom_generate_iberian2", 0),
  9.           (assign, "$tom_generate_snow", 0),
  10.           #(assign, "$tom_generate_euro_forest", 0),
  11.           (eq, "$tom_use_battlefields", 1),
  12.           (try_begin), #extra check for custom field
  13.             (eq, ":terrain_type", rt_forest),
  14.             (store_random_in_range, ":random", 0, 101),
  15.             (ge, ":random", 60),
  16.             (store_random_in_range, ":scene_to_use", "scn_1257_combat_swamp_0", "scn_1257_combat_rocky_desert_0"),
  17.             (assign, "$tom_generate_swamp", 1),
  18.             #resourcehungry forests
  19.             # (else_try),
  20.             # (eq, ":terrain_type", rt_forest),
  21.             # (lt, ":random", 40),
  22.             # (assign, ":scene_to_use", "scn_1257_combat_forest_0"),
  23.             # (store_random_in_range, ":random", 1, 3),
  24.             # (assign, "$tom_generate_euro_forest", ":random"),
  25.           (try_end),
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top