Loading

Paste #ptsyp5qb2

  1. class CompanyValue extends GSInfo
  2. {
  3.  function GetAuthor()        { return "Samu"; }
  4.  function GetName()          { return "Company Value GS"; }
  5.  function GetDescription()   { return "A game script that pauses the game once the target company value is reached"; }
  6.  function GetVersion()       { return 1; }
  7.  function MinVersionToLoad() { return 1; }
  8.  function GetDate()          { return "2018-02-06"; }
  9.  function GetShortName()     { return "CVGS"; }
  10.  function CreateInstance()   { return "CompanyValue"; }
  11.  function GetAPIVersion()    { return "1.7"; }
  12.  function GetSettings()
  13.  {
  14.   AddSetting({
  15.    name = "value",
  16.    description = "Target company value",
  17.    min_value = 500000,
  18.    max_value = 500000000,
  19.    easy_value = 12500000,
  20.    medium_value = 100000000,
  21.    hard_value = 500000000,
  22.    custom_value = 100000000,
  23.    step_size = 250000,
  24.    flags = CONFIG_INGAME
  25.   });
  26.  }
  27. }
  28.  
  29. RegisterGS(CompanyValue());

Comments