Browse Source

[added] Images to show when mending clothes as found by Gwen, randomly picking one or other

KevinSmarts 3 years ago
parent
commit
45d6460fce
1 changed files with 4 additions and 0 deletions
  1. 4 0
      locations/clothing.qsrc

+ 4 - 0
locations/clothing.qsrc

@@ -578,17 +578,21 @@ if $ARGS[0] = 'view_clothing_item':
 					'You can repair this thanks to your sewing skill.'
 					act 'Repair item':
 						if rand (1, 100) < 30:
+							*clr
 							cla
 							tkan -= 1
 							minut += 30
 							dynamic $ARGS[2] + 'H[<<ARGS[3]>>] += 30'
+							'<center><img <<$set_imgh>> src="images/pc/clothing/fix' + rand(1,2) + '.jpg"></center>'
 							'You spend 30 minutes fixing the outfit.'
 							act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>', '<<$ward_list_store>>'
 						else
+							*clr
 							cla
 							tkan += 3
 							minut += 30
 							dynamic $ARGS[2] + '[<<ARGS[3]>>] = 0'
+							'<center><img <<$set_imgh>> src="images/pc/clothing/fix' + rand(1,2) + '.jpg"></center>'
 							'Despite your skill with a needle, this outfit has proved beyond repair. All that is left of it is only good for your cloth pile.'
 							act 'Return':gt 'clothing', 'view_clothing_list', '<<$ward_list_page>>'
 						end