Loading

Paste #pu89rivhz

  1. function MainClass::SetTownEffectGoals() {
  2.     local cargoList = GSCargoList();
  3.     cargoList.Sort(GSList.SORT_BY_ITEM, GSList.SORT_ASCENDING);
  4.    
  5.     local passengers = false;

Paste #pmfujrgil

  1.     function InitializePath(source, goal) {
  2.         this._pathfinder.InitializePath([source, 0xFF], goal);
  3.         if (this._search_range != 0) {
  4.             local source_x = AIMap.GetTileX(source);
  5.             local source_y = AIMap.GetTileY(source);

Paste #p1x8xmqgt

  1.         if (this._search_range) {
  2.             local source_x = AIMap.GetTileX(source);
  3.             local source_y = AIMap.GetTileY(source);
  4.             local goal_x = AIMap.GetTileX(goal);
  5.             local goal_y = AIMap.GetTileY(goal);

Paste #prqsbwaty

  1.     function InitializePath(source, goal) {
  2.         this._pathfinder.InitializePath([source, 0xFF], goal);
  3.         if (this._search_range != 0) {
  4.             local source_x = AIMap.GetTileX(source);
  5.             local source_y = AIMap.GetTileY(source);