Loading

busy bee subsidy patch

  1.   function GetAuthor()        { return "alberth & andythenorth"; }
  2. -    function GetName()          { return "Busy Bee"; } // Old: return PROGRAM_NAME;
  3. -    function GetDescription()   { return "Make connection, transport cargo"; }
  4. +    function GetAuthor()        { return "alberth & andythenorth, reward by jottyfan"; }
  5. +    function GetName()          { return "Busy Bee Reward"; } // Old: return PROGRAM_NAME;
  6. +    function GetDescription()   { return "Make connection, transport cargo, recieve reward"; }
  7.      function GetVersion()       { return PROGRAM_VERSION + SAVEGAME_VERSION * 100000; }
  8.      function GetDate()          { return PROGRAM_DATE; }
  9.      function CreateInstance()   { return "BusyBeeClass"; }
  10. @@ -85,6 +85,15 @@ function BusyBeeInfo::GetSettings()
  11.                         hard_value=1,
  12.                         custom_value=1,
  13.                         flags=GSInfo.CONFIG_INGAME});
  14. +    GSInfo.AddSetting({name="subsidy_factor",
  15. +                                    description="Factor to be multiplied with cargo amount as reward",
  16. +                                    min_value=0,
  17. +                                    max_value=99,
  18. +                                    easy_value=3,
  19. +                                    medium_value=2,
  20. +                                    hard_value=1,
  21. +                                    custom_value=0,
  22. +                                    flags=GSInfo.CONFIG_INGAME});
  23.  }
  24.  
  25.  RegisterGS(BusyBeeInfo());
  26. diff --git a/lang/english.txt b/lang/english.txt
  27. index c9e3eeb..ca6602d 100644
  28. --- a/lang/english.txt
  29. +++ b/lang/english.txt
  30. @@ -1,8 +1,11 @@
  31.  ##plural 0
  32.  
  33. -STR_COMPANY_GOAL            :Deliver {GOLD}{CARGO_LONG} {ORANGE}to {STRING}
  34. +STR_COMPANY_GOAL_REWARD     :Deliver {GOLD}{CARGO_LONG} {ORANGE}to {STRING}{ORANGE} for {WHITE}{STRING}{CURRENCY_LONG}
  35. +STR_COMPANY_GOAL            :Deliver {GOLD}{CARGO_LONG} {ORANGE}to {STRING}{ORANGE}
  36. +STR_COMPANY_GOAL_REWARD_NEWS:New goal! Deliver {CARGO_LONG} to {STRING} for {STRING}{CURRENCY_LONG}
  37.  STR_COMPANY_GOAL_NEWS       :New goal! Deliver {CARGO_LONG} to {STRING}
  38.  STR_PROGRESS                :{YELLOW}{NUM}% {ORANGE}done
  39. +STR_COMPANY_GOAL_REWARD_WON_NEWS:Goal won! {CARGO_LONG} delivered to {STRING} and earned {STRING}{CURRENCY_LONG}
  40.  STR_COMPANY_GOAL_WON_NEWS   :Goal won! {CARGO_LONG} delivered to {STRING}
  41.  STR_TIMEOUT_YEARS           :{GOLD}{NUM} {ORANGE}year{P "" s} remaining
  42.  STR_TIMEOUT_MONTHS          :{GOLD}{NUM} {ORANGE}month{P "" s} remaining
  43. diff --git a/lang/german.txt b/lang/german.txt
  44. index 546806d..cd9d61a 100644
  45. --- a/lang/german.txt
  46. +++ b/lang/german.txt
  47. @@ -1,8 +1,11 @@
  48.  ##plural 0
  49.  
  50. -STR_COMPANY_GOAL            :Liefere {GOLD}{CARGO_LONG} {ORANGE}nach {STRING}
  51. +STR_COMPANY_GOAL_REWARD     :Lieferung von {GOLD}{CARGO_LONG} {ORANGE}nach {STRING}{ORANGE} bringt {WHITE}{STRING}{CURRENCY_LONG} {ORANGE}ein
  52. +STR_COMPANY_GOAL            :Lieferung von {GOLD}{CARGO_LONG} {ORANGE}nach {STRING}{GOLD}
  53. +STR_COMPANY_GOAL_REWARD_NEWS:Neues Ziel! Liefere {CARGO_LONG} nach {STRING} für {STRING}{CURRENCY_LONG}
  54.  STR_COMPANY_GOAL_NEWS       :Neues Ziel! Liefere {CARGO_LONG} nach {STRING}
  55.  STR_PROGRESS                :{YELLOW}{NUM}% {ORANGE}erreicht
  56. +STR_COMPANY_GOAL_REWARD_WON_NEWS:Ziel erreicht! {CARGO_LONG} nach {STRING} geliefert und {STRING}{CURRENCY_LONG} kassiert
  57.  STR_COMPANY_GOAL_WON_NEWS   :Ziel erreicht! {CARGO_LONG} nach {STRING} geliefert
  58.  STR_TIMEOUT_YEARS           :{GOLD}{NUM} {ORANGE}Jahr{P "" e} verbleib{P t en}
  59.  STR_TIMEOUT_MONTHS          :{GOLD}{NUM} {ORANGE}Monat{P "" e} verbleib{P t en}

Comments