datsexyanon

asdf

May 4th, 2014
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.97 KB | None | 0 0
  1. event_table = {
  2.     l01_escape = {
  3.         --mutant events
  4.         mutant = {
  5.                     {
  6.                         --This simple list creates 36 event permutations
  7.                        
  8.                         --First entry is what can spawn, a selection is picked from the list
  9.                         --format {<list>}
  10.                         name = {"boar_weak", "dog_weak", "flesh_weak", "pseudodog_weak"},
  11.                         --Second entry is the number
  12.                         --Format {<list>}
  13.                         number = {1, 2, 4},
  14.                         --Next section regards victim data
  15.                         --Note that victims aren't necessarily going to die, they're just being attacked
  16.                         --Format is {true/false, chance, number of victims, victim faction}
  17.                         victim_data = {true, 0.5, 1, "stalker"},
  18.                         --Final section is simply a list of victim section names
  19.                         victims = {"esc_stalker_respawn_1", "esc_stalker_respawn_2"}
  20.                     },
  21.                     {
  22.                         name = {"bloodsucker_weak"},
  23.                         number = {1},
  24.                         victim_data = {true, 1, 2, "bandit"},
  25.                         victims = {"esc_bandit_respawn_1", "esc_bandit_respawn_2"}
  26.                     },
  27.                     {
  28.                         name = {"zombie_weak", "zombie_normal"},
  29.                         number = {1, 3, 5, 6, 7},
  30.                         victim_data = {true, 0.25, 2, "bandit"},
  31.                         victims = {"esc_bandit_respawn_1", "esc_bandit_respawn_2"}
  32.                     }
  33.         },
  34.         --battle events
  35.         battle = {
  36.             {
  37.                 --This list creates 25 battle permutations (roughly, frankly calculating it is annoying)
  38.                
  39.                 --First entry is the combatants on the first side
  40.                 --Format is {faction, number of combatants, randomize number}
  41.                 side1 = {"stalker", 2, true},
  42.                 --Combatants are randomly selected from this list
  43.                 side1_troops = {"esc_stalker_respawn_1", "esc_stalker_respawn_2"},
  44.                 --Second entry is for the second side, same format
  45.                 side2 = {"bandit", 2, true},
  46.                 side2_troops = {"esc_bandit_respawn_1", "esc_bandit_respawn_2"}
  47.             },
  48.             {
  49.                 side1 = {"stalker", 1, false},
  50.                 side1_troops = {"esc_stalker_respawn_1", "esc_stalker_respawn_2"},
  51.                 side2 = {"bandit", 3, true},
  52.                 side2_troops = {"esc_bandit_respawn_1", "esc_bandit_respawn_2"}
  53.             }
  54.         },
  55.     }
  56. }
Advertisement
Add Comment
Please, Sign In to add comment