Feature - Rejected New ASH command - my_outfit

Theraze

Active member
Thought this would be useful... added a new command, my_outfit() which will return what the currently worn outfit is. This allows for checking what outfit is being worn without needing the extra server hits of launching the relay browser and checking the avatar. Birthday suit, as a non-outfit item doesn't detect, but anything that's an actual outfit should display. If no outfit is equipped (or wearing the 'Birthday Suit' special outfit), it returns "none" as the outfit name.

> my_outfit
Returned: Mining Gear
> ash have_outfit(my_outfit())
Returned: true
> outfit birthday suit
Taking off everything...
Everything removed.
> mymax
Maximizing (1st time may take a while)...
44 combinations checked, best score 974.7
Putting on miner's helmet...
Equipment changed.
Wielding 7-Foot Dwarven mattock...
Equipment changed.
Putting on Knob Goblin elite shirt...
Equipment changed.
Putting on miner's pants...
Equipment changed.
Putting on shiny ring...
Equipment changed.
Putting on eXtreme mittens...
Equipment changed.
Putting on dope gangsta bling-bling...
Equipment changed.
> ash my_outfit()
Returned: Mining Gear
 

Attachments

  • CurrentOutfit.patch
    1.1 KB · Views: 19

Fluxxdog

Active member
So it's basically a hard coded version of:
PHP:
string my_outfit(){ //What outfit am I wearing?
	return (string_modifier("outfit"));}
 

Theraze

Active member
Ah... nice. Wasn't listed in the direct Veracity post, but it is given as the wiki example for how to use it. :)

Guess this part/function can get scrapped then. Time to rollback that part of the code and move on to equipped_outfit(String) to check on normal and custom outfits both. :D
 

Bale

Minion
So it's basically a hard coded version of:
PHP:
string my_outfit(){ //What outfit am I wearing?
	return (string_modifier("outfit"));}

I just posted that in the other thread. Thank goodness I'm not the only one who knows that command.

I had to learn use it in Universal Recovery to figure out if a character was capable of visiting the nuns in his current outfit.
 
Top