浏览代码

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

anjuna krokus 2 月之前
父节点
当前提交
0294fbaa42
共有 2 个文件被更改,包括 6 次插入8 次删除
  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])
 	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', 'ClearSMSSchedule', $ARGS[1]
 end
@@ -53,27 +53,25 @@ end
 
 
 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['total_lovers_current'] -= 1
 	stat['ex_boyfriends'] += 1
 
 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['total_lovers_current'] -= 1
 	stat['ex_girlfriends'] += 1
 
 elseif $ARGS[0] = 'remove_fuckbuddy':
-	gs 'lover', 'remove', $ARGS[0]
+	gs 'lover', 'remove', $ARGS[1]
 	stat['fuckbuddies_current'] -= 1
 	stat['total_lovers_current'] -= 1
 	stat['ex_fuckbuddies'] += 1
 
 elseif $ARGS[0] = 'remove_sugar_daddy':
-	gs 'lover', 'remove', $ARGS[0]
+	gs 'lover', 'remove', $ARGS[1]
 	stat['sugardaddies_current'] -= 1
 	stat['total_lovers_current'] -= 1
 	stat['ex_sugardaddies'] += 1

+ 1 - 1
locations/lover_meet.qsrc

@@ -1020,7 +1020,7 @@ if $ARGS[0] = 'actions':
 		*clr & cla
 		'<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.'
-		if npc_gender[$npcID] = 0 or npc_gender[$npcID] = 3:
+		if npc_gender[$npcID] = 0:
 			gs 'lover', 'remove_boyfriend', $npcID
 		else
 			gs 'lover', 'remove_girlfriend', $npcID