From a36de16fd65ff0e82158971273b0dfb1082b4929 Mon Sep 17 00:00:00 2001 From: Wanne Date: Tue, 10 Sep 2013 07:25:38 +0000 Subject: [PATCH] - Fixed X-Y coordinate mixed up for CheckConditionsForTriggeringCreatureQuest (by Buggler) git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1762 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Scripts/StrategicTownLoyalty.lua | 10 +++++----- gamedir/Data-UB/Scripts/StrategicTownLoyalty.lua | 10 +++++----- gamedir/Data/Scripts/StrategicTownLoyalty.lua | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/gamedir/Data-1.13/Scripts/StrategicTownLoyalty.lua b/gamedir/Data-1.13/Scripts/StrategicTownLoyalty.lua index 7e3b30f2d..7daf3908a 100644 --- a/gamedir/Data-1.13/Scripts/StrategicTownLoyalty.lua +++ b/gamedir/Data-1.13/Scripts/StrategicTownLoyalty.lua @@ -47,11 +47,11 @@ ** Examples ** ************** - if SectorEnemyControlled ( SECTOR(4,13) ) == false then + if SectorEnemyControlled ( SECTOR(13,4) ) == false then -- instructions end - if SectorEnemyControlled ( SECTOR(4,13) ) == false then + if SectorEnemyControlled ( SECTOR(13,4) ) == false then -- instructions else -- instructions @@ -183,7 +183,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ -- Count the number of "infectible mines" the player occupies -- SEC_D13 - if SectorEnemyControlled ( SECTOR(4,13) ) == false then + if SectorEnemyControlled ( SECTOR(13,4) ) == false then ubValidMines = ubValidMines + 1 end @@ -193,12 +193,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ end -- SEC_I14 - if SectorEnemyControlled ( SECTOR(9,14) ) == false then + if SectorEnemyControlled ( SECTOR(14,9) ) == false then ubValidMines = ubValidMines + 1 end -- SEC_H3 - if SectorEnemyControlled ( SECTOR(8,3) ) == false then + if SectorEnemyControlled ( SECTOR(3,8) ) == false then ubValidMines = ubValidMines + 1 end diff --git a/gamedir/Data-UB/Scripts/StrategicTownLoyalty.lua b/gamedir/Data-UB/Scripts/StrategicTownLoyalty.lua index 2581ca55d..fa211cb2a 100644 --- a/gamedir/Data-UB/Scripts/StrategicTownLoyalty.lua +++ b/gamedir/Data-UB/Scripts/StrategicTownLoyalty.lua @@ -47,11 +47,11 @@ ** Examples ** ************** - if SectorEnemyControlled ( SECTOR(4,13) ) == false then + if SectorEnemyControlled ( SECTOR(13,4) ) == false then -- instructions end - if SectorEnemyControlled ( SECTOR(4,13) ) == false then + if SectorEnemyControlled ( SECTOR(13,4) ) == false then -- instructions else -- instructions @@ -183,7 +183,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ -- Count the number of "infectible mines" the player occupies -- SEC_D13 - if SectorEnemyControlled ( SECTOR(4,13) ) == false then + if SectorEnemyControlled ( SECTOR(13,4) ) == false then ubValidMines = ubValidMines + 1 end @@ -193,12 +193,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ end -- SEC_I14 - if SectorEnemyControlled ( SECTOR(9,14) ) == false then + if SectorEnemyControlled ( SECTOR(14,9) ) == false then ubValidMines = ubValidMines + 1 end -- SEC_H3 - if SectorEnemyControlled ( SECTOR(8,3) ) == false then + if SectorEnemyControlled ( SECTOR(3,8) ) == false then ubValidMines = ubValidMines + 1 end diff --git a/gamedir/Data/Scripts/StrategicTownLoyalty.lua b/gamedir/Data/Scripts/StrategicTownLoyalty.lua index f80ab2ba0..656da151f 100644 --- a/gamedir/Data/Scripts/StrategicTownLoyalty.lua +++ b/gamedir/Data/Scripts/StrategicTownLoyalty.lua @@ -47,11 +47,11 @@ ** Examples ** ************** - if SectorEnemyControlled ( SECTOR(4,13) ) == false then + if SectorEnemyControlled ( SECTOR(13,4) ) == false then -- instructions end - if SectorEnemyControlled ( SECTOR(4,13) ) == false then + if SectorEnemyControlled ( SECTOR(13,4) ) == false then -- instructions else -- instructions @@ -182,7 +182,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ -- Count the number of "infectible mines" the player occupies -- SEC_D13 - if SectorEnemyControlled ( SECTOR(4,13) ) == false then + if SectorEnemyControlled ( SECTOR(13,4) ) == false then ubValidMines = ubValidMines + 1 end @@ -192,12 +192,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ end -- SEC_I14 - if SectorEnemyControlled ( SECTOR(9,14) ) == false then + if SectorEnemyControlled ( SECTOR(14,9) ) == false then ubValidMines = ubValidMines + 1 end -- SEC_H3 - if SectorEnemyControlled ( SECTOR(8,3) ) == false then + if SectorEnemyControlled ( SECTOR(3,8) ) == false then ubValidMines = ubValidMines + 1 end