1
0
Pārlūkot izejas kodu

[fixed] STD fixes (no more immunity)

Sicaa 4 gadi atpakaļ
vecāks
revīzija
323230bc35
3 mainītis faili ar 30 papildinājumiem un 52 dzēšanām
  1. 4 7
      locations/cikl.qsrc
  2. 24 33
      locations/dinSex.qsrc
  3. 2 12
      locations/dinsexFX.qsrc

+ 4 - 7
locations/cikl.qsrc

@@ -625,14 +625,11 @@ if TriperOnce = 1:
 end
 if KandidozOnce = 1:Kandidoz += 1
 
-VeneraN = 0
+Venera = 0
+if SifacOnce = 1: Venera += 1
+if GerpesOnce = 1: Venera += 1
+if TriperOnce = 1: Venera += 1
 
-if VeneraOnce > 0:VeneraOnce = 0
-if SifacOnce = 1:VeneraN += 1
-if GerpesOnce = 1:VeneraN += 1
-if TriperOnce = 1:VeneraN += 1
-
-Venera = VeneraN
 
 if pcs_ass > 1 and ashrink > 0 and analplugIN = 0:
 	if anusK < 0:anusK = 0

+ 24 - 33
locations/dinSex.qsrc

@@ -45,35 +45,30 @@ if ARGS[0] = 'disease_picker':
 		if tipvenerarand = 8:
 			!!herpes
 			if rand(1, 100) > 90:
-				if GerpesOnce = 0:
-					GerpesOnce = 1
-					Venera += 1
-					Gerpes += 1
-					GenHerpes = 1
-					
-				end
+				if GerpesOnce = 0: GerpesOnce = 1
+				Venera += 1
+				Gerpes += 1
+				GenHerpes = 1
 			end
 		elseif tipvenerarand = 7:
 			!!syphilis
-			if rand(1, 100) > 95: Venera += 1
-			if SifacOnce = 0:
-				SifacOnce = 1
+			if rand(1, 100) > 95: 
+				if SifacOnce = 0: SifacOnce = 1
 				Sifilis += 1
+				Venera += 1
 			end
 		elseif tipvenerarand >= 5 and tipvenerarand < 7:
 			!!gonorrhea/triper
-			if rand(1, 100) > 95: Venera += 1
-			if TriperOnce = 0:
-				TriperOnce = 1
+			if rand(1, 100) > 95:
+				if TriperOnce = 0: TriperOnce = 1
 				Triper += 1
+				Venera += 1
 			end
 		elseif tipvenerarand < 5:
 			!!candidiasis/thrush
 			if rand(1, 100) > 85:
-				if KandidozOnce = 0:
-					KandidozOnce = 1
-					Kandidoz += 1
-				end
+				if KandidozOnce = 0: KandidozOnce = 1
+				Kandidoz += 1
 			end
 		end
 	end	
@@ -91,38 +86,34 @@ end
 if ARGS[0] = 'disease_picker_oral':
 	if cheatHealth = 0:
 		if tipvenerarand >= 5 and tipvenerarand < 7:
-			if rand(1, 100) > 95: Venera += 1
-			if TriperOnce = 0:
-				TriperOnce = 1
+			if rand(1, 100) > 95:
+				if TriperOnce = 0: TriperOnce = 1
 				TriperOral += 1
+				Venera += 1
 				if rand (0,100) < 15: TriperOralSigns = 1 
 			end
 		elseif tipvenerarand = 7:
 			if rand(0,1) = 1:
 				!!syphilis
-				if rand(1, 100) > 95: Venera += 1
-				if SifacOnce = 0:
-					SifacOnce = 1
+				if rand(1, 100) > 95:
+					if SifacOnce = 0: SifacOnce = 1
 					Sifilis += 1
+					Venera += 1
 				end
 			end
 		elseif tipvenerarand < 5:
 			!!candidiasis/thrush
 			if rand(1, 100) > 85:
-				if KandidozOnce = 0:
-					KandidozOnce = 1
-					Kandidoz += 1
-				end
+				if KandidozOnce = 0: KandidozOnce = 1
+				Kandidoz += 1
 			end
 		elseif tipvenerarand = 8:
 			!!herpes
 			if rand(1, 100) > 90:
-				if GerpesOnce = 0:
-					GerpesOnce = 1
-					Venera += 1
-					Gerpes += 1
-					OrHerpes = 1
-				end
+				if GerpesOnce = 0: GerpesOnce = 1
+				Venera += 1
+				Gerpes += 1
+				OrHerpes = 1
 			end
 		end
 	end

+ 2 - 12
locations/dinsexFX.qsrc

@@ -159,39 +159,29 @@ $veneracheck = {
 		tipvenerarand = rand(1, 10)
 		if tipvenerarand = 8:
 			!!herpes
-
 			if rand(1, 100) > 90:
 				if GerpesOnce = 0:GerpesOnce = 1
-
 				Venera += 1
 				Gerpes += 1
 			end
 		elseif tipvenerarand = 7:
 			!!syphilis
-
 			if rand(1, 100) > 97:
-				Venera += 1
-
 				if SifacOnce = 0:SifacOnce = 1
-
+				Venera += 1
 				Sifilis += 1
 			end
 		elseif tipvenerarand >= 5 and tipvenerarand < 7:
 			!!gonorrhea
-
 			if rand(1, 100) > 90:
-				Venera += 1
-
 				if TriperOnce = 0:TriperOnce = 1
-
+				Venera += 1
 				Triper += 1
 			end
 		elseif tipvenerarand < 5:
 			!!thrush
-
 			if rand(1, 100) > 85:
 				if KandidozOnce = 0:KandidozOnce = 1
-
 				Kandidoz += 1
 			end
 		end