Explorar o código

[fixed] breaking up with lovers/fuckbuddies/sugar daddies did not do anything

anjuna krokus hai 2 meses
pai
achega
0294fbaa42
Modificáronse 2 ficheiros con 6 adicións e 8 borrados
  1. 5 7
      locations/lover.qsrc
  2. 1 1
      locations/lover_meet.qsrc

+ 5 - 7
locations/lover.qsrc

@@ -16,7 +16,7 @@ if $ARGS[0] = 'remove':
 	lover_index = arrpos('$lover', $ARGS[1])
 	lover_index = arrpos('$lover', $ARGS[1])
 	if lover_index < 0: exit
 	if lover_index < 0: exit
 
 
-	$npc_rel_type[$ARGS[1]] = 'ex_' + $npc_rel_type[$ARGS[1]]
+	$npc_rel_type[$ARGS[1]] = 'ex-' + $npc_rel_type[$ARGS[1]]
 	gs 'telefon', 'ClearCallSchedule', $ARGS[1]
 	gs 'telefon', 'ClearCallSchedule', $ARGS[1]
 	gs 'telefon', 'ClearSMSSchedule', $ARGS[1]
 	gs 'telefon', 'ClearSMSSchedule', $ARGS[1]
 end
 end
@@ -53,27 +53,25 @@ end
 
 
 
 
 if $ARGS[0] = 'remove_boyfriend':
 if $ARGS[0] = 'remove_boyfriend':
-	gs 'lover', 'remove', $ARGS[0]
-	$npc_rel_type[$ARGS[0]] = 'ex-boyfriend'
+	gs 'lover', 'remove', $ARGS[1]
 	stat['boyfriends_current'] -= 1
 	stat['boyfriends_current'] -= 1
 	stat['total_lovers_current'] -= 1
 	stat['total_lovers_current'] -= 1
 	stat['ex_boyfriends'] += 1
 	stat['ex_boyfriends'] += 1
 
 
 elseif $ARGS[0] = 'remove_girlfriend':
 elseif $ARGS[0] = 'remove_girlfriend':
-	gs 'lover', 'remove', $ARGS[0]
-	$npc_rel_type[$ARGS[0]] = 'ex-girlfriend'
+	gs 'lover', 'remove', $ARGS[1]
 	stat['girlfriends_current'] -= 1
 	stat['girlfriends_current'] -= 1
 	stat['total_lovers_current'] -= 1
 	stat['total_lovers_current'] -= 1
 	stat['ex_girlfriends'] += 1
 	stat['ex_girlfriends'] += 1
 
 
 elseif $ARGS[0] = 'remove_fuckbuddy':
 elseif $ARGS[0] = 'remove_fuckbuddy':
-	gs 'lover', 'remove', $ARGS[0]
+	gs 'lover', 'remove', $ARGS[1]
 	stat['fuckbuddies_current'] -= 1
 	stat['fuckbuddies_current'] -= 1
 	stat['total_lovers_current'] -= 1
 	stat['total_lovers_current'] -= 1
 	stat['ex_fuckbuddies'] += 1
 	stat['ex_fuckbuddies'] += 1
 
 
 elseif $ARGS[0] = 'remove_sugar_daddy':
 elseif $ARGS[0] = 'remove_sugar_daddy':
-	gs 'lover', 'remove', $ARGS[0]
+	gs 'lover', 'remove', $ARGS[1]
 	stat['sugardaddies_current'] -= 1
 	stat['sugardaddies_current'] -= 1
 	stat['total_lovers_current'] -= 1
 	stat['total_lovers_current'] -= 1
 	stat['ex_sugardaddies'] += 1
 	stat['ex_sugardaddies'] += 1

+ 1 - 1
locations/lover_meet.qsrc

@@ -1020,7 +1020,7 @@ if $ARGS[0] = 'actions':
 		*clr & cla
 		*clr & cla
 		'<center><img <<$set_imgh>> src="<<$npc_pic[$npcID]>>"></center>'
 		'<center><img <<$set_imgh>> src="<<$npc_pic[$npcID]>>"></center>'
 		'<<$Xec>> looks hurt, but you insist it is for the best. You both say goodbye and part ways.'
 		'<<$Xec>> looks hurt, but you insist it is for the best. You both say goodbye and part ways.'
-		if npc_gender[$npcID] = 0 or npc_gender[$npcID] = 3:
+		if npc_gender[$npcID] = 0:
 			gs 'lover', 'remove_boyfriend', $npcID
 			gs 'lover', 'remove_boyfriend', $npcID
 		else
 		else
 			gs 'lover', 'remove_girlfriend', $npcID
 			gs 'lover', 'remove_girlfriend', $npcID