Change: pretty-print the cargo amounts for goals
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
STR_LAKE_NEWS :There are {NUM} {}fish here
|
STR_LAKE_NEWS :There are {NUM} {}fish here
|
||||||
STR_COMPANY_GOAL :Deliver {NUM} of {CARGO_LIST} to {STRING}
|
STR_COMPANY_GOAL :Deliver {CARGO_LONG} of {CARGO_LIST} to {STRING}
|
||||||
STR_TOWN_NAME :{TOWN}
|
STR_TOWN_NAME :{TOWN}
|
||||||
STR_INDUSTRY_NAME :{INDUSTRY}
|
STR_INDUSTRY_NAME :{INDUSTRY}
|
||||||
|
|||||||
2
main.nut
2
main.nut
@@ -181,7 +181,7 @@ function FMainClass::CreateChallenge(cid)
|
|||||||
destination_string = GSText(GSText.STR_INDUSTRY_NAME, destination);
|
destination_string = GSText(GSText.STR_INDUSTRY_NAME, destination);
|
||||||
goal_type = GSGoal.GT_INDUSTRY;
|
goal_type = GSGoal.GT_INDUSTRY;
|
||||||
}
|
}
|
||||||
local goal_text = GSText(GSText.STR_COMPANY_GOAL, amount, 1 << cargo, destination_string);
|
local goal_text = GSText(GSText.STR_COMPANY_GOAL, cargo, amount, 1 << cargo, destination_string);
|
||||||
GSLog.Info("Company " + cid + ": " + amount + " of " +
|
GSLog.Info("Company " + cid + ": " + amount + " of " +
|
||||||
GSCargo.GetCargoLabel(this.cargoes[cargo].cid) +
|
GSCargo.GetCargoLabel(this.cargoes[cargo].cid) +
|
||||||
" to " + destination_name);
|
" to " + destination_name);
|
||||||
|
|||||||
Reference in New Issue
Block a user