Loading

realigned

  1.             local goal_text, goal_news_text;
  2.             if (this.reward > 0) {
  3.               goal_text = GSText(GSText.STR_COMPANY_GOAL_REWARD, cargo.cid, this.wanted_amount, destination_string, this.reward);
  4.               goal_news_text = GSText(GSText.STR_COMPANY_GOAL_REWARD_NEWS, cargo.cid, this.wanted_amount, destination_string_news, this.reward);
  5.             } else {
  6.               goal_text = GSText(GSText.STR_COMPANY_GOAL, cargo.cid, this.wanted_amount, destination_string);
  7.               goal_news_text = GSText(GSText.STR_COMPANY_GOAL_NEWS, cargo.cid, this.wanted_amount, destination_string_news);
  8.             }
  9.             this.goal_id = GSGoal.New(comp_id, goal_text, goal_type, destination);
  10.             this.PublishNews(goal_news_text, comp_id);

Comments