|
@@ -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
|