|
@@ -151,7 +151,11 @@ if $ARGS[0] = 'default_entry_wear':
|
|
|
default_entry = ARGS[1]
|
|
|
|
|
|
gs 'clothing_attributes', $defclothingtype[default_entry], defclothingnumber[default_entry]
|
|
|
- gs 'clothing', 'wear', $defclothingtype[default_entry], defclothingnumber[default_entry]
|
|
|
+ if ARRPOS('$CloLosTyp', $defclothingtype[default_entry]) ! -1 and ARRPOS('CloLosNum', defclothingnumber[default_entry]) ! -1:
|
|
|
+ msg '<center>You''ve lost part of this set, and are unable to wear all items.<br>Maybe you can find the missing clothes somewhere?</center>'
|
|
|
+ else
|
|
|
+ gs 'clothing', 'wear', $defclothingtype[default_entry], defclothingnumber[default_entry]
|
|
|
+ end
|
|
|
|
|
|
if dyneval('RESULT = <<$defbratype[default_entry]>>_bras[<<defbranumber[default_entry]>>]') = 0: $defbratype[default_entry] = 'none' & defbranumber[default_entry] = 0
|
|
|
gs 'bras', 'wear', $defbratype[default_entry], defbranumber[default_entry]
|
|
@@ -338,7 +342,12 @@ if $ARGS[0] = 'sports_entry_wear':
|
|
|
gs 'wardrobe', 'prev_entry_set'
|
|
|
|
|
|
gs 'clothing_attributes', 'exercise', sportsclothingnumber
|
|
|
- gs 'clothing', 'wear', 'exercise', sportsclothingnumber
|
|
|
+
|
|
|
+ if ARRPOS('$CloLosTyp', 'exercise') ! -1 and ARRPOS('CloLosNum', sportsclothingnumber) ! -1:
|
|
|
+ msg '<center>You''ve lost part of this set, and are unable to wear all items.<br>Maybe you can find the missing clothes somewhere?</center>'
|
|
|
+ else
|
|
|
+ gs 'clothing', 'wear', 'exercise', sportsclothingnumber
|
|
|
+ end
|
|
|
|
|
|
if dyneval('RESULT = <<$sportsbratype>>_bras[<<sportsbranumber>>]') = 0: $sportsbratype = 'none' & sportsbranumber = 0
|
|
|
gs 'bras', 'wear', $sportsbratype, sportsbranumber
|