function GetAuthor() { return "alberth & andythenorth"; } - function GetName() { return "Busy Bee"; } // Old: return PROGRAM_NAME; - function GetDescription() { return "Make connection, transport cargo"; } + function GetAuthor() { return "alberth & andythenorth, reward by jottyfan"; } + function GetName() { return "Busy Bee Reward"; } // Old: return PROGRAM_NAME; + function GetDescription() { return "Make connection, transport cargo, recieve reward"; } function GetVersion() { return PROGRAM_VERSION + SAVEGAME_VERSION * 100000; } function GetDate() { return PROGRAM_DATE; } function CreateInstance() { return "BusyBeeClass"; } @@ -85,6 +85,15 @@ function BusyBeeInfo::GetSettings() hard_value=1, custom_value=1, flags=GSInfo.CONFIG_INGAME}); + GSInfo.AddSetting({name="subsidy_factor", + description="Factor to be multiplied with cargo amount as reward", + min_value=0, + max_value=99, + easy_value=3, + medium_value=2, + hard_value=1, + custom_value=0, + flags=GSInfo.CONFIG_INGAME}); } RegisterGS(BusyBeeInfo()); diff --git a/lang/english.txt b/lang/english.txt index c9e3eeb..ca6602d 100644 --- a/lang/english.txt +++ b/lang/english.txt @@ -1,8 +1,11 @@ ##plural 0 -STR_COMPANY_GOAL :Deliver {GOLD}{CARGO_LONG} {ORANGE}to {STRING} +STR_COMPANY_GOAL_REWARD :Deliver {GOLD}{CARGO_LONG} {ORANGE}to {STRING}{ORANGE} for {WHITE}{STRING}{CURRENCY_LONG} +STR_COMPANY_GOAL :Deliver {GOLD}{CARGO_LONG} {ORANGE}to {STRING}{ORANGE} +STR_COMPANY_GOAL_REWARD_NEWS:New goal! Deliver {CARGO_LONG} to {STRING} for {STRING}{CURRENCY_LONG} STR_COMPANY_GOAL_NEWS :New goal! Deliver {CARGO_LONG} to {STRING} STR_PROGRESS :{YELLOW}{NUM}% {ORANGE}done +STR_COMPANY_GOAL_REWARD_WON_NEWS:Goal won! {CARGO_LONG} delivered to {STRING} and earned {STRING}{CURRENCY_LONG} STR_COMPANY_GOAL_WON_NEWS :Goal won! {CARGO_LONG} delivered to {STRING} STR_TIMEOUT_YEARS :{GOLD}{NUM} {ORANGE}year{P "" s} remaining STR_TIMEOUT_MONTHS :{GOLD}{NUM} {ORANGE}month{P "" s} remaining diff --git a/lang/german.txt b/lang/german.txt index 546806d..cd9d61a 100644 --- a/lang/german.txt +++ b/lang/german.txt @@ -1,8 +1,11 @@ ##plural 0 -STR_COMPANY_GOAL :Liefere {GOLD}{CARGO_LONG} {ORANGE}nach {STRING} +STR_COMPANY_GOAL_REWARD :Lieferung von {GOLD}{CARGO_LONG} {ORANGE}nach {STRING}{ORANGE} bringt {WHITE}{STRING}{CURRENCY_LONG} {ORANGE}ein +STR_COMPANY_GOAL :Lieferung von {GOLD}{CARGO_LONG} {ORANGE}nach {STRING}{GOLD} +STR_COMPANY_GOAL_REWARD_NEWS:Neues Ziel! Liefere {CARGO_LONG} nach {STRING} für {STRING}{CURRENCY_LONG} STR_COMPANY_GOAL_NEWS :Neues Ziel! Liefere {CARGO_LONG} nach {STRING} STR_PROGRESS :{YELLOW}{NUM}% {ORANGE}erreicht +STR_COMPANY_GOAL_REWARD_WON_NEWS:Ziel erreicht! {CARGO_LONG} nach {STRING} geliefert und {STRING}{CURRENCY_LONG} kassiert STR_COMPANY_GOAL_WON_NEWS :Ziel erreicht! {CARGO_LONG} nach {STRING} geliefert STR_TIMEOUT_YEARS :{GOLD}{NUM} {ORANGE}Jahr{P "" e} verbleib{P t en} STR_TIMEOUT_MONTHS :{GOLD}{NUM} {ORANGE}Monat{P "" e} verbleib{P t en}