Advertisement
Guest User

Untitled

a guest
Feb 25th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 1.78 KB | None | 0 0
  1. Def.Emergency.Add {
  2.     ID = "HeartAttackOnStreet"                                                                      //a ID thats used to call the Emergency by the Emergency Handler //can be called in scenario waves
  3.     Type = "Type_Medical"                                                                           //the icon thats used for example: Type_MedicalFireDept;Type_AllThree
  4.     Difficulty = "Easy"                                                                             //notifier
  5.     Level = 2                                                                                       //see Scenario[X].fsx
  6.     Weighting = {                                                                                   //how often the emergency is spawned
  7.         Day = 5.0                                      
  8.         Night = 1.0
  9.     }
  10.     Tags = {
  11.         Visible = ["Urban";"Critical"]                                                              //tags for the missions information
  12.         Hidden = ["Medical"; "Tier1"]                                                               //currently not used
  13.     }
  14.     MoneyGainOnSuccess = 500                                                                        //Money you get for success
  15.     TitleKey = "HeartAttackOnStreet"                                                                //same as id
  16.     InitialDescriptionKeys = ["HeartAttackOnStreet_Desc01"]                                         //Mission description as set in loca file                              
  17.     AssetRequirements = [
  18.         "Medic", 1, 100                                                                             //requirements, ItemID, Count, Percentage
  19.     ]
  20.     PreparationTime = Gt.hours 0.5                                                                  //prep time
  21.     ResolutionTime = Gt.hours 1.0                                                                   //time how long the emergency should take
  22.     ReputationGainOnDispatch = 0, 60                                                                //first at 0% secound on 100%
  23.     ReputationCostToTerminate = 1, 5                                                                //increstes from 1 digite to 2 with time
  24.     Events = [
  25.         When.Emergency.Success [
  26.             AddXp 6.0                                                                               //every user get XP (new level 100,300)
  27.             AddExhaustion 3.0                                                                       //start with 10, at 0 exhausting actually show up - reset at 2
  28.             Emergency.AddVisitorWithTrait "Patient" "PatientArchetype_HeartAttack"                  //additional stuff for your emergency
  29.         ]
  30.     ]
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement