Browse Source

My edits to lipbalm and clothing repair

Lurk_Morrison 5 years ago
parent
commit
ba9aefbda1
3 changed files with 4 additions and 4 deletions
  1. 2 2
      locations/clothing.qsrc
  2. 1 1
      locations/mirror.qsrc
  3. 1 1
      locations/succubus.qsrc

+ 2 - 2
locations/clothing.qsrc

@@ -511,11 +511,11 @@ if $ARGS[0] = 'view_clothing_item':
 					cla
 					cla
 					'You can repair this thanks to your sewing skill.'
 					'You can repair this thanks to your sewing skill.'
 					act 'Repair item':
 					act 'Repair item':
-						if rand (1, 100) < 30:
+						if rand (1, 100) >= 30:
 							cla
 							cla
 							tkan -= 1
 							tkan -= 1
 							minut += 30
 							minut += 30
-							dynamic $ARGS[2] + 'H[<<ARGS[3]>>] += 30'
+							dynamic $ARGS[2] + 'H[<<ARGS[3]>>] += rand(30,pcs_sewng)'
 							'You spend 30 minutes fixing the outfit.'
 							'You spend 30 minutes fixing the outfit.'
 							act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
 							act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
 						else
 						else

+ 1 - 1
locations/mirror.qsrc

@@ -494,7 +494,7 @@ if $ARGS[0] = 'applyLipbalm':
 	if lipbalm > 0 and pcs_lipbalm <= 0:
 	if lipbalm > 0 and pcs_lipbalm <= 0:
 		minut += 1
 		minut += 1
 		lipbalm -= 1
 		lipbalm -= 1
-		lipkoef += rand(0, 1)
+		lipkoef += rand(1,2)
 		if lipkoef > 50:
 		if lipkoef > 50:
 			lipkoef = 0
 			lipkoef = 0
 			pcs_lip += 1
 			pcs_lip += 1

+ 1 - 1
locations/succubus.qsrc

@@ -647,7 +647,7 @@ if $args[0] = 'sucwalkinginit':
 			if pcs_hairbsh = 0: pcs_hairbsh = 1
 			if pcs_hairbsh = 0: pcs_hairbsh = 1
 			if lipbalm > 0 and pcs_lipbalm <= 0:
 			if lipbalm > 0 and pcs_lipbalm <= 0:
 				lipbalm -= 1
 				lipbalm -= 1
-				lipkoef += rand(0, 1)
+				lipkoef += rand(1,2)
 				if lipkoef > 50:
 				if lipkoef > 50:
 					lipkoef = 0
 					lipkoef = 0
 					pcs_lip += 1
 					pcs_lip += 1