Ver Fonte

[fixed] missing double apostrophes

rachels há 8 meses atrás
pai
commit
b5f074fa3f

+ 4 - 4
locations/Cheatmenu_din.qsrc

@@ -3298,8 +3298,8 @@ $cheatmenu['items'] = {
 	if showFoodItems = 1:
 		'<a href = "exec: showFoodItems = 0 & dynamic $cheatmenu[''items'']">Hide Details </a>'
 		*pl 'Regular food: <a href="exec:eda=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<eda>> </b></a>'
-		*pl 'Diet food: <a href="exec:mc_inventory['food_diet']=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<mc_inventory['food_diet']>> </b></a>'
-		*pl 'Tea biscuits: <a href="exec:mc_inventory['food_biscuits']=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<mc_inventory['food_biscuits']>> </b></a>'
+		*pl 'Diet food: <a href="exec:mc_inventory[''food_diet'']=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<mc_inventory[''food_diet'']>> </b></a>'
+		*pl 'Tea biscuits: <a href="exec:mc_inventory[''food_biscuits'']=input(''Set number'') & dynamic $cheatmenu[''items'']"><b> <<mc_inventory[''food_biscuits'']>> </b></a>'
 
 		if bag > 0:
 			if bottle = 0:
@@ -3310,10 +3310,10 @@ $cheatmenu['items'] = {
 			end
 
 			if mc_inventory['food_sandwich'] = 0:
-				*pl 'Sandwich: <a href="exec:mc_inventory['food_sandwich'] = 1 & dynamic $cheatmenu[''items'']"><b>none</b></a>'
+				*pl 'Sandwich: <a href="exec:mc_inventory[''food_sandwich''] = 1 & dynamic $cheatmenu[''items'']"><b>none</b></a>'
 			end
 			if mc_inventory['food_sandwich'] = 1:
-				*pl 'Sandwich: <a href="exec:mc_inventory['food_sandwich'] = 0 & dynamic $cheatmenu[''items'']"><b>owned</b></a>'
+				*pl 'Sandwich: <a href="exec:mc_inventory[''food_sandwich''] = 0 & dynamic $cheatmenu[''items'']"><b>owned</b></a>'
 			end
 
 			if wine = 0:

+ 1 - 1
locations/din_bad.qsrc

@@ -233,7 +233,7 @@ if $ARGS[0] = 'd_bag':
 		'You carry your sports water bottle in your purse. It''s empty.'
 	end
 	if bottle > 0: 'There''s a bottle of water in your purse. <a href="exec:bottle = 0 & pcs_hydra += 100 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
-	if mc_inventory['food_sandwich'] > 0: 'There''s a sandwich in your purse. <a href="exec:mc_inventory['food_sandwich'] = 0 & pcs_energy += 40 & cumspclnt = 2 & gs ''cum_cleanup'' & fat += 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''">Eat</a>'
+	if mc_inventory['food_sandwich'] > 0: 'There''s a sandwich in your purse. <a href="exec:mc_inventory[''food_sandwich''] = 0 & pcs_energy += 40 & cumspclnt = 2 & gs ''cum_cleanup'' & fat += 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''">Eat</a>'
 	if strapon = 1 and strapnumber = 0:
 		'You have a strapon harness in your purse, but you don''t have a dildo attached to it'+iif(dildo + middildo + largedildo + bigdildo + extradildo + superdildo + maddildo > 0, '. You keep your dildos in your desk at home.', ', because you don''t own one.')
 	elseif strapon = 1 and strapnumber ! 0:

+ 1 - 1
locations/dom_gor.qsrc

@@ -95,7 +95,7 @@ end
 
 if eda > 0:'In the refrigerator food is stored that''s good for <b><<eda>></b> servings.'
 if mc_inventory['food_diet'] = 0 and mc_inventory['food_basic'] = 0:'<b><font color="red">The fridge is empty, nothing to eat in sight.</font></b>'
-if mc_inventory['food_diet'] > 0:'The refrigerator contains healthy meals that are good for <b><<mc_inventory['food_diet']>></b> servings.'
+if mc_inventory['food_diet'] > 0:'The refrigerator contains healthy meals that are good for <b><<mc_inventory[''food_diet'']>></b> servings.'
 
 if eda >= 1:
 	act 'Prepare meals (2:00)':

+ 2 - 2
locations/gadmarket.qsrc

@@ -20,7 +20,7 @@ frost = 0
 *nl
 
 $gadmarkettab = '<center><table align="center">'
-$gadmarkettab += FUNC ('$stock_item', 10, 'Package of tea biscuits', 400, 'mc_inventory['food_biscuits']', 'gadmarket')
+$gadmarkettab += FUNC ('$stock_item', 10, 'Package of tea biscuits', 400, 'mc_inventory[''food_biscuits'']', 'gadmarket')
 $gadmarkettab += FUNC ('$stock_item', 20, 'Cigarettes', 150, 'siga', 'gadmarket')
 $gadmarkettab += FUNC ('$single_stock_item', 1, 'Fashion magazine', 145, 'fashmag', 'gadmarket')
 $gadmarkettab += FUNC ('$single_stock_item', 1, 'Computer magazine', 145, 'compmag', 'gadmarket')
@@ -33,7 +33,7 @@ $gadmarkettab += FUNC ('$stock_item', 20, 'Tampons', 250, 'mc_inventory[''tampon
 $gadmarkettab += FUNC ('$stock_item', 25, 'Razors (number of shaves)', 350, 'mc_inventory[''razor'']', 'gadmarket')
 $gadmarkettab += FUNC ('$stock_item', 30, 'Shampoo', 250, 'mc_inventory[''shampoo'']', 'gadmarket')
 $gadmarkettab += FUNC ('$single_stock_item', 1, 'Bottle of water', 100, 'bottle', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')
-$gadmarkettab += FUNC ('$single_stock_item', 1, 'Sandwich', 100, 'mc_inventory['food_sandwich']', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')
+$gadmarkettab += FUNC ('$single_stock_item', 1, 'Sandwich', 100, 'mc_inventory[''food_sandwich'']', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')
 $gadmarkettab += FUNC ('$single_stock_item', 1, 'Cheap Bottle of wine', 200, 'wine', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')
 $gadmarkettab += FUNC ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', 'gadmarket', '', iif(bag > 0, 0, 1), 'You need a purse')
 $gadmarkettab += '</table></center>'

+ 1 - 1
locations/intro_customization.qsrc

@@ -221,7 +221,7 @@ if $ARGS[0] = 'modite_mis':
 	killvar '$table_display'
 	gs 'intro_customization', 'modrel_setup2', 'siga', 'Cigarettes'
 	gs 'intro_customization', 'modrel_setup2', 'dur', 'Cocaine'
-	gs 'intro_customization', 'modrel_setup2', 'mc_inventory['food_biscuits']', 'Tea Biscuits'
+	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''food_biscuits'']', 'Tea Biscuits'
 	'<center><table border=0 cellspacing=0 cellpadding=25  bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
 	$table_display
 	'</table></center>'

+ 2 - 2
locations/kit_din.qsrc

@@ -446,12 +446,12 @@ $posudomashina = {
 $edasnack = {
 	act 'Have a snack (0:05)': gs 'food', 'snack'
 }
-
+$pranik = {
 	if mc_inventory['food_biscuits'] > 0:
 		if mc_inventory['food_biscuits'] = 1:
 			'You only have one more portion of tea biscuits.'
 		else
-			'You have enough tea biscuits for <b><<mc_inventory['food_biscuits']>></b> more snacks.'
+			'You have enough tea biscuits for <b><<mc_inventory[''food_biscuits'']>></b> more snacks.'
 		end
 		act 'Eat some tea biscuits (0:05)':
 			*clr & cla

+ 1 - 1
locations/stat_display.qsrc

@@ -1076,7 +1076,7 @@ if cheatStatusIcons = 0:
 	if cheatNoEat = 0 and $stat_hunger_msg ! '' and mc_inventory['food_sandwich'] = 0:
 		$statusIconBarTab += '<td><a href="exec:msg $stat_hunger_msg"><img title="<<$stat_hunger_tooltip>>" height = <<set_siconht>> src="images/system/icons/status/need_food.png"></a></td>'
 	elseif cheatNoEat = 0 and $stat_hunger_msg ! '' and mc_inventory['food_sandwich'] = 1 and menu_off = 0:
-		$statusIconBarTab += '<td><a href="exec: mc_inventory['food_sandwich'] = 0 & pcs_energy += 40 & cumspclnt = 2 & gs ''cum_cleanup'' & fat += 1 & gs ''stat''"><img title="Click to eat your sandwich." height = <<set_siconht>> src="images/system/icons/status/need_food.png"></a></td>'
+		$statusIconBarTab += '<td><a href="exec: mc_inventory[''food_sandwich''] = 0 & pcs_energy += 40 & cumspclnt = 2 & gs ''cum_cleanup'' & fat += 1 & gs ''stat''"><img title="Click to eat your sandwich." height = <<set_siconht>> src="images/system/icons/status/need_food.png"></a></td>'
 	elseif cheatNoEat = 0 and $stat_hunger_msg ! '' and mc_inventory['food_sandwich'] = 1 and menu_off = 1:
 		$statusIconBarTab += '<td><a href="exec: $stat_hunger_msg"><img title="Your sandwich has to wait until you can spare a minute." height = <<set_siconht>> src="images/system/icons/status/need_food.png"></a></td>'
 	end