|
@@ -65,6 +65,7 @@ if isnum(mid($ARGS[0], 2)):
|
|
|
if $npc_pref_traits = $ARGS[1]:
|
|
|
if temp_trait_value ! 0:
|
|
|
npc_trait_values[$ARGS[1]] = temp_trait_value
|
|
|
+ end
|
|
|
|
|
|
!!Rebuild the $npc_pref....[$ARGS[0]] strings from the grounds up
|
|
|
gs 'npc_set_preference', 'rebuild_preferences', $ARGS[0]
|
|
@@ -136,7 +137,7 @@ end
|
|
|
|
|
|
|
|
|
if $ARGS[0] = 'remove_preference':
|
|
|
- if arrsize('$npc_pref_traits') > 0
|
|
|
+ if arrsize('$npc_pref_traits') > 0:
|
|
|
!! Check the position of the preference in the preference array.
|
|
|
temp_trait_position = arrpos('$npc_pref_traits', $ARGS[1])
|
|
|
|