|
@@ -23,14 +23,14 @@ end
|
|
|
|
|
|
|
|
|
|
if $ARGS[0] = 'set_manage_string':
|
|
if $ARGS[0] = 'set_manage_string':
|
|
- if pcs_piercings['any'] > 0:
|
|
|
|
|
|
+ if pcs_piercings['total'] > 0:
|
|
'<a href="exec: gt ''piercing_management'', ''main''">Manage Piercings</a>'
|
|
'<a href="exec: gt ''piercing_management'', ''main''">Manage Piercings</a>'
|
|
end
|
|
end
|
|
exit
|
|
exit
|
|
end
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'set_manage_act':
|
|
if $ARGS[0] = 'set_manage_act':
|
|
- if pcs_piercings['any'] > 0:
|
|
|
|
|
|
+ if pcs_piercings['total'] > 0:
|
|
act 'Manage Piercings': gt 'piercing_management', 'main'
|
|
act 'Manage Piercings': gt 'piercing_management', 'main'
|
|
end
|
|
end
|
|
exit
|
|
exit
|
|
@@ -40,7 +40,6 @@ end
|
|
if $ARGS[0] = 'add':
|
|
if $ARGS[0] = 'add':
|
|
if pcs_piercings[$ARGS[1]] = 0: pcs_piercings['total'] += 1
|
|
if pcs_piercings[$ARGS[1]] = 0: pcs_piercings['total'] += 1
|
|
if pcs_piercings[$ARGS[1]] <= 0: pcs_piercings['wearing'] += 1
|
|
if pcs_piercings[$ARGS[1]] <= 0: pcs_piercings['wearing'] += 1
|
|
- pcs_piercings['any'] = 1
|
|
|
|
pcs_piercings[$ARGS[1]] = ARGS[2]
|
|
pcs_piercings[$ARGS[1]] = ARGS[2]
|
|
pcs_piercings['<<$ARGS[1]>>_<<ARGS[2]>>_owned'] = 1
|
|
pcs_piercings['<<$ARGS[1]>>_<<ARGS[2]>>_owned'] = 1
|
|
exit
|
|
exit
|