Explorar o código

[fixed] Get rid of Gala... for real

Christine %!s(int64=5) %!d(string=hai) anos
pai
achega
3156f866a4
Modificáronse 2 ficheiros con 23 adicións e 3 borrados
  1. 1 3
      locations/nichGala.qsrc
  2. 22 0
      locations/nichUtil.qsrc

+ 1 - 3
locations/nichGala.qsrc

@@ -152,9 +152,7 @@ elseif $ARGS[0] = 'tarasPlan':
 		minut += 5
 		nichGalaTarasPlan = 10
 		
-		nichGalaDisabled = 1
-		nichGalaContractTaras = 0
-		nichGalaContractActive = 0
+		gs 'nichUtil','disableNPC','Gala'
 		
 		gs 'stat'
 		act 'Continue': gt $loc, 'return'

+ 22 - 0
locations/nichUtil.qsrc

@@ -1073,4 +1073,26 @@ if $ARGS[0] = 'freeDay':
 	end
 end
 
+if $ARGS[0] = 'disableNPC':
+	if $ARGS[1] = 'Gala':
+		nichGalaDisabled = 1
+		killvar 'nichGalaContractTaras'
+		killvar 'nichGalaContractTarasCount'
+		killvar 'nichGalaContractTarasLast'
+		killvar 'nichGalaContractActive'
+		killvar 'nichGalaContractLast'
+		killvar 'nichGalaDoc'
+		killvar 'nichGalaKnowsPT'
+		killvar 'nichGalaOpponent'
+		killvar 'nichGalaOpponentDay'
+		killvar 'nichGalaImplant'
+		killvar 'nichGalaTattoo'
+		killvar 'nichGalaImplantCount'
+		killvar 'nichGalaContractLast'
+		killvar 'nichGalaTraining'
+		killvar 'nichGalaTrainCounter'
+		killvar 'nichGalaTrainLast'
+	end
+end
+
 --- nichUtil ---------------------------------