Browse Source

[fixed] Some old lipbalm variables hanging around, spotted by Skylah

Kevin_Smarts 9 months ago
parent
commit
19b88fa1e1
2 changed files with 5 additions and 5 deletions
  1. 1 1
      locations/Cheatmenu_din.qsrc
  2. 4 4
      locations/mirror.qsrc

+ 1 - 1
locations/Cheatmenu_din.qsrc

@@ -3267,7 +3267,7 @@ $cheatmenu['items'] = {
 		*pl 'Painkillers: <a href="exec:painkiller=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<painkiller>> </b></a>'
 		*pl 'Ointments for chafing: <a href="exec:mosolmaz=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<mosolmaz>> </b></a>'
 		*pl 'Lubricants: <a href="exec:lubri=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<lubri>> </b></a>'
-		*pl 'Lip balms: <a href="exec:lipbalm=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<lipbalm>> </b></a>'
+		*pl 'Lip balms: <a href="exec:mc_inventory[''lipbalm'']=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<lipbalm>> </b></a>'
 		*pl 'Weight loss pill: <a href="exec:fatdel=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<fatdel>> </b></a>'
 		*pl 'Tampons: <a href="exec:mc_inventory[''tampons'']=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<mc_inventory[''tampons'']>> </b></a>'
 		*pl 'Sanitary napkins: <a href="exec:mc_inventory[''sanitary_pads'']=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<mc_inventory[''sanitary_pads'']>> </b></a>'

+ 4 - 4
locations/mirror.qsrc

@@ -494,10 +494,10 @@ $createcustroutine = {
 	end
 	*nl
 	'Choose if you will use lipbalm'
-	if custmc_inventory['lipbalm']  = 0:
-		'You currently have no lip balm selected: <a href="exec:custmc_inventory[''lipbalm'']  = 1 & dynamic $createcustroutine">Add Lipbalm to routine</a>'
+	if cust_lipbalm  = 0:
+		'You currently have no lip balm selected: <a href="exec:cust_lipbalm  = 1 & dynamic $createcustroutine">Add Lipbalm to routine</a>'
 	else
-		'You currently have lip balm selected: <a href="exec:custmc_inventory[''lipbalm'']  = 0 & dynamic $createcustroutine">Remove Lipbalm to routine</a>'
+		'You currently have lip balm selected: <a href="exec:cust_lipbalm  = 0 & dynamic $createcustroutine">Remove Lipbalm to routine</a>'
 	end
 	*nl
 	'Cycle lash options'
@@ -714,7 +714,7 @@ if $ARGS[0] = 'works':
 end &! --- works ----
 
 if $ARGS[0] = 'applyLipbalm':
-	if lipbalm > 0 and pcs_lipbalm <= 0:
+	if mc_inventory['lipbalm'] > 0 and pcs_lipbalm <= 0:
 		minut += 1
 		mc_inventory['lipbalm'] -= 1
 		lipkoef += rand(0, 1)