소스 검색

[fixed] some issues with the new Plasma TV variable

Awesome 8 달 전
부모
커밋
a17acb60c9
3개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      locations/Komp.qsrc
  2. 0 1
      locations/shoplifting.qsrc
  3. 1 1
      locations/sitr.qsrc

+ 1 - 1
locations/Komp.qsrc

@@ -334,7 +334,7 @@ if $ARGS[0] = 'kabtv':
 			msg 'Your subscription has been cancelled and you can no longer watch the extra channels. The cable firm charges a one-time fee of 300 <b>₽</b> for disconnecting you.'
 			gt 'komp', 'browse'
 		end
-	elseif kabel = 0 and mc_inventory['tech_tv'] >= 1:
+	elseif kabel = 0 and mc_inventory['tech_tv'] >= 1 and mc_inventory['plasma_tv'] = 0:
 		'You currently do not have a cable subscription for your TV.'
 
 		act 'Get cable services for your TV':

+ 0 - 1
locations/shoplifting.qsrc

@@ -8,7 +8,6 @@
 !images/locations/city/shared/shoplift
 
 if $ARGS[0] = 'city':
-	$backimage = ''
 	act 'Attempt to steal':
 		$backimage = ''
 		*clr & cla

+ 1 - 1
locations/sitr.qsrc

@@ -29,7 +29,7 @@ elseif remsitr = 1:
 	$zal2 = 'papered walls'
 end
 if mc_inventory['tech_tv'] = 0 and mc_inventory['plasma_tv'] = 0: $TV = 'a great place for a TV, if you had one.'
-if mc_inventory['tech_tv'] >= 1: $TV = 'an old CRT <a href="exec:gt ''TV'', ''start''">television</a>'
+if mc_inventory['tech_tv'] >= 1 and mc_inventory['plasma_tv'] = 0: $TV = 'an old CRT <a href="exec:gt ''TV'', ''start''">television</a>'
 if mc_inventory['plasma_tv'] >= 1: $TV = 'a huge plasma <a href="exec:gt ''TV'', ''start''">TV</a>'
 ! WD: Missing Code to buy / Upgrade Sofa, Uninitialised ~ 'divan'
 if divan = 0:$divan = '<a href="exec:gt ''divan'', ''start''">An old sofa</a>'