|
@@ -56,12 +56,7 @@ if isnum(mid($ARGS[0], 2)):
|
|
|
end
|
|
|
end
|
|
|
|
|
|
- killvar 'check_preferences_loop'
|
|
|
- killvar 'skip_check_preferences_loop'
|
|
|
- killvar 'check_preference_loop_start'
|
|
|
-
|
|
|
-
|
|
|
- if pref_trait_value ! 0:
|
|
|
+ if temp_set_preference_trait_value ! 0:
|
|
|
if arrsize('$npc_pref_traits') = 0:
|
|
|
!!replace(..., ' ', '') is there to remove the tabs from the string.
|
|
|
$npc_preferences[$ARGS[0]] = replace({killvar '$npc_pref_traits'
|
|
@@ -140,7 +135,6 @@ if $ARGS[0] = 'rebuild_preferences':
|
|
|
|
|
|
killvar '$temp_npc_pref_traits'
|
|
|
killvar '$temp_npc_trait_values'
|
|
|
- killvar 'rebuild_preferences_loop'
|
|
|
killvar 'rebuild_preferences_index'
|
|
|
end
|
|
|
|