Feature - Implemented Improve return value of get_clan_rumpus()

Veracity

Developer
Staff member
Compare this:

Code:
[color=green]> ash get_campground()[/color]

Returned: aggregate int [item]
Certificate of Participation => 1
Dramatic™ range => 1
Queue Du Coq cocktailcrafting kit => 1
pagoda plans => 1
clockwork maid => 1
Discount Telescope Warehouse gift certificate => 1
fancy beer label => 1
spinning wheel => 1
potted tea tree => 1
haunted doghouse => 1
Witchess Set => 1
Source terminal => 1
giant pilgrim hat => 1
or this:

Code:
[color=green]> ash get_clan_lounge()[/color]

Returned: aggregate int [item]
Clan pool table => 1
Crimbough => 5
Clan looking glass => 1
deluxe fax machine => 1
Clan shower => 1
Olympic-sized Clan crate => 1
Clan hot dog stand => 1
Clan speakeasy => 1
glass of "milk" => 1
cup of "tea" => 1
thermos of "whiskey" => 1
Lucky Lindy => 1
Bee's Knees => 1
Sockdollager => 1
Ish Kabibble => 1
Hot Socks => 1
Phonus Balonus => 1
Flivver => 1
Sloppy Jalopy => 1
Clan Floundry => 1
carpe => 32
codpiece => 30
troutsers => 41
bass clarinet => 64
fish hatchet => 34
tunac => 48
to this:

Code:
[color=green]> ash get_clan_rumpus()[/color]

Returned: aggregate string [7]
0 => Infuriating Painting
1 => Collection of Sports Memorabilia
2 => Mr. Klaw "Skill" Crane Game
3 => Old-Timey Radio
4 => Wrestling Mat
5 => Snack Machine
6 => Awesome Ball Pit (10,000)
Seems like it would be better like the others:

Code:
[color=green]> ash get_clan_rumpus()[/color]

Returned: aggregate int [string]
Infuriating Painting => 1
Collection of Sports Memorabiliag => 1
Mr. Klaw "Skill" Crane Gameg => 1
Old-Timey Radiog => 1
Wrestling Matg => 1
Snack Machineg => 1
Awesome Ball Pit => 10000
so that rather than having to iterate over the map and check the values, you could just use "contains" to check for a particular piece of furniture.
 

Veracity

Developer
Staff member
Code:
[color=green]> ash get_clan_rumpus()[/color]

Returned: aggregate int [string]
Awesome Ball Pit => 10000
Collection of Sports Memorabilia => 1
Infuriating Painting => 1
Mr. Klaw "Skill" Crane Game => 1
Old-Timey Radio => 1
Snack Machine => 1
Wrestling Mat => 1

[color=green]> ash ( get_clan_rumpus() contains "Awesome Ball Pit" )[/color]

Returned: true
Yeah. Revision 17471.
 

Bale

Minion
Now I have to change my loginScript!

It was kinda bitchy to work with before so I'm real happy.
 
Top