Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.99 KB | None | 0 0
  1. Def.Emergency.Add {
  2.     ID = "CarChase"
  3.     Type = "Type_Police"
  4.     Difficulty = "Easy"
  5.     Level = 3
  6.     Weighting = {
  7.         Day = 1.0
  8.         Night = 2.0
  9.     }
  10.     Tags = {
  11.         Visible = ["Pursuit";]
  12.         Hidden = ["Police";"Tier1"]
  13.     }
  14.     TitleKey = "CarChase_Title"
  15.     InitialDescriptionKeys = ["CarChase_Desc01"]
  16.     AssetRequirements = [
  17.         "Police" , 2, 40 //80
  18.         "HighPowerCar", 1, 20 /20
  19.     ]
  20.     PreparationTime = Gt.hours 0.75
  21.     ResolutionTime = Gt.hours 1.5
  22.     MoneyGainOnSuccess = 3000
  23.     ReputationGainOnDispatch = 0, 60
  24.     ReputationCostToTerminate = 30, 30
  25.     Events = [
  26.         When.Emergency.Success [
  27.             AddXp 10.0
  28.             AddExhaustion 3.0
  29.             If.Chance 0.5 [Emergency.AddVisitor "Prisoner"]
  30.             Hq.Storage.Create "PaperWork" 5
  31.             AddInjury 0.05 0.1 ["Light"]
  32.         ]
  33.         When.Emergency.Failure [
  34.             AddExhaustion 3.0
  35.             AddInjury 0.2 0.4 ["Medium"]
  36.         ]
  37.     ]
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement