Loading

Paste #pbpxyn75a

  1. Changelog for default-r0.4.2:274
  2. - Feature: Vintage Air Depots and Air Stations suitable for early games with airships
  3. - Feature: Vintage Commuter airport suitable for early games.
  4. - Feature: Parameter to disable airport fences, optionally dependent on adjacent objects and/or stations; trim some trailing whitespace
  5. - Feature: Small Seaplane Airport

Paste #pej6sox8c

  1. import sys
  2. from PIL import Image
  3.  
  4. im = Image.open(sys.argv[1])
  5. print("File: {}".format(sys.argv[1]))

Paste #pe2m5s2o1

  1.     if (this.companies == null) {
  2.         this.companies = {};
  3.         if (this.debug_messages >= 2) GSLog.Info("Initialized this.companies = " + this.companies);
  4.         for (local c_id = GSCompany.COMPANY_FIRST; c_id < GSCompany.COMPANY_LAST; c_id++) {
  5.             this.companies[c_id] <- null;

Paste #pu4p4v5p3

  1. diff --git a/_layouts/default.html b/_layouts/default.html
  2. index badb9a7..d35ab8c 100644
  3. --- a/_layouts/default.html
  4. +++ b/_layouts/default.html
  5. @@ -38,7 +38,7 @@

Paste #po4jrn9sr

  1. diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp
  2. index 660b7e476..3db7a92c0 100644
  3. --- a/src/newgrf_engine.cpp
  4. +++ b/src/newgrf_engine.cpp
  5. @@ -693,6 +693,12 @@ static uint32 VehicleGetVariable(Vehicle *v, const VehicleScopeResolver *object,

Paste #pk6kvijmi

  1. //////////
  2. main.nut
  3. //////////
  4.  
  5. class LuDiAIAfterFix extends AIController {

Paste #pozutqws7

  1.         local start_tick = AIController.GetTick();
  2.         for (local i = routeManager.m_townRouteArray.len() - 1; i >= 0; --i) {
  3. //          AILog.Info("managing route " + i + ". sellVehiclesInDepot");
  4.             routeManager.m_townRouteArray[i].sellVehiclesInDepot();
  5.         }

Paste #psh2zd1js

  1. local myCID = Utils.MyCID();
  2.  
  3.                 if (!AITown.HasStatue(town)) {
  4.                     local action = AITown.TOWN_ACTION_BUILD_STATUE;
  5.                     if (AITown.IsActionAvailable(town, action)) {

Paste #p7uvaedf7

  1. local myCID = Utils.MyCID();
  2.  
  3.                 if (!AITown.HasStatue(town)) {
  4.                     local action = AITown.TOWN_ACTION_BUILD_STATUE;
  5.                     if (AITown.IsActionAvailable(town, action)) {

Paste #p3eeyjkqe

  1. class TestPerformTownAction extends MoneyTest {
  2.     t = null;
  3.     a = null;
  4.    
  5.     function DoAction() {

Paste #ptjsvzrdg

  1.                 if (!AITown.HasStatue(town)) {
  2.                     if (AITown.IsActionAvailable(town, AITown.TOWN_ACTION_BUILD_STATUE)) {
  3.                         local perform_action = true;
  4.                         if (cvgs.IsCompanyValueGSGame() && cvgs.GetCompanyIDRank(AICompany.ResolveCompanyID(AICompany.COMPANY_SELF)) == 1 && cvgs.RankingList().Count() > 1) {
  5.                             if (TestPerformTownAction().TestCost(town, AITown.TOWN_ACTION_BUILD_STATUE) > cvgs.GetCompanyIDDiffToNext(AICompany.ResolveCompanyID(AICompany.COMPANY_SELF), false)) {

Paste #pwcf1wdzf

  1.                 if (!AITown.HasStatue(town)) {
  2.                     if (AITown.IsActionAvailable(town, AITown.TOWN_ACTION_BUILD_STATUE)) {
  3.                         local perform_action = true;
  4.                         if (cvgs.IsCompanyValueGSGame() && cvgs.GetCompanyIDRank(AICompany.ResolveCompanyID(AICompany.COMPANY_SELF)) == 1 && cvgs.RankingList().Count() > 1) {
  5.                             AILog.Info("Cost of perfoming action: " + TestPerformTownAction().TestCost(town, AITown.TOWN_ACTION_BUILD_STATUE) + " ; Value difference to company behind: " + cvgs.GetCompanyIDDiffToNext(AICompany.ResolveCompanyID(AICompany.COMPANY_SELF), false));
  6.                             if (TestPerformTownAction().TestCost(town, AITown.TOWN_ACTION_BUILD_STATUE) > cvgs.GetCompanyIDDiffToNext(AIC

Paste #pwjr1knwo

  1.     function PerformTownActions() {
  2.         if (!cvgs.IsCompanyValueGSGame() || cvgs.GetCompanyIDRank(AICompany.ResolveCompanyID(AICompany.COMPANY_SELF)) == 1) {
  3.             local cargoId = Utils.getCargoId(cargoClass);
  4.  
  5.             local stationList = AIStationList(AIStation.STATION_ANY);

Paste #psveifvzx

  1.         this.cvgs = SCPClient_CompanyValueGS(this.scp);
  2.         this.ncg = SCPClient_NoCarGoal(this.scp);
  3.  
  4.         loading = false;
  5.     }

Paste #pvyl4y1v5

  1.         this.cvgs = SCPClient_CompanyValueGS(this.scp);
  2.         this.ncg = SCPClient_NoCarGoal(this.scp);
  3.  
  4.         loading = false;
  5.     }