Преглед изворни кода

[fixed] Links were pointing at mod file

Kevin_Smarts пре 2 година
родитељ
комит
cf5c6e537a
1 измењених фајлова са 9 додато и 9 уклоњено
  1. 9 9
      locations/shop.qsrc

+ 9 - 9
locations/shop.qsrc

@@ -281,7 +281,7 @@ if $ARGS[0] = 'dog_items':
 				act 'Buy enough for 20 meals (600 <b>₽</b>, pay cash)':
 					money -= 600
 					objects['dog_food'] += 20
-					gt 'mod_wlife_misc', 'dog_items'
+					gt 'shop', 'dog_items'
 				end
 			else
 				'<br>You don''t have enough money to buy food.'
@@ -291,7 +291,7 @@ if $ARGS[0] = 'dog_items':
 				act 'Buy enough for 40 meals (1200 <b>₽</b>, pay cash)':
 					money -= 1200
 					objects['dog_food'] += 40
-					gt 'mod_wlife_misc', 'dog_items'
+					gt 'shop', 'dog_items'
 				end
 			end
 			
@@ -299,7 +299,7 @@ if $ARGS[0] = 'dog_items':
 				act 'Buy enough for 80 meals (2400 <b>₽</b>, pay cash)':
 					money -= 2400
 					objects['dog_food'] += 80
-					gt 'mod_wlife_misc', 'dog_items'
+					gt 'shop', 'dog_items'
 				end
 			end
 		end
@@ -314,13 +314,13 @@ if $ARGS[0] = 'dog_items':
 		'<center><img <<$set_imgh>> src="images/characters/shared/rex/treat_'+rand(0,2)+'.jpg"></center>'
 		'The store sells dog treats for 300 <b>₽</b>. Inside each pack are 20 treats. You have <<objects[''treats'']>>.'
 		
-		act 'Go back': gt 'mod_wlife_misc', 'dog_items'
+		act 'Go back': gt 'shop', 'dog_items'
 		
 		if money >= 300: 
 			act 'Buy a pack (300 <b>₽</b>, pay cash)':
 				money -= 300
 				objects['treats'] += 20
-				gt 'mod_wlife_misc', 'dog_items'
+				gt 'shop', 'dog_items'
 			end
 		else
 			'You don''t have enough money to buy a pack.'
@@ -334,13 +334,13 @@ if $ARGS[0] = 'dog_items':
 		'<center><img <<$set_imgh>> src="images/characters/shared/rex/chew.jpg"></center>'
 		'The store sells a chew toy for 800 <b>₽</b>.'
 
-		act 'Go back': gt 'mod_wlife_misc', 'dog_items'
+		act 'Go back': gt 'shop', 'dog_items'
 			
 		if money >= 800: 
 			act 'Buy one (800 <b>₽</b>, pay cash)':
 				money -= 800
 				objects['chew'] += 10
-				gt 'mod_wlife_misc', 'dog_items'
+				gt 'shop', 'dog_items'
 			end
 		else
 			'You don''t have enough money to buy it.'
@@ -355,13 +355,13 @@ if $ARGS[0] = 'dog_items':
 			'<center><img <<$set_imgh>> src="images/characters/shared/rex/balls.jpg"></center>'
 			'The store sells rubber balls for 900 <b>₽</b> that you can use to play fetch with your dog.'
 			
-			act 'Go back': gt 'mod_wlife_misc', 'dog_items'
+			act 'Go back': gt 'shop', 'dog_items'
 			
 			if money >= 900: 
 				act 'Buy them (900 <b>₽</b>, pay cash)':
 					money -= 900
 					objects['toys'] = 1
-					gt 'mod_wlife_misc', 'dog_items'
+					gt 'shop', 'dog_items'
 				end
 			else
 				'You don''t have enough money to buy them.'