Feature - Rejected get_campground() does not parse terrarium

taltamir

Member
get_campground() does not parse $item[Familiar-Gro™ Terrarium]
Code:
> ash get_campground()

Returned: aggregate int [item]
Certificate of Participation => 1
Dramatic™ range => 1
Queue Du Coq cocktailcrafting kit => 1
Frobozz Real-Estate Company Instant House (TM) => 1
Discount Telescope Warehouse gift certificate => 7
packet of tall grass seeds => 1
it should show up in there as well as
Familiar-Gro™ Terrarium => 1

being able to parse it will help automate bad moon runs where you lose your terrarium and need to re-acquire it.
it could also help with identifying paths that forbid familiars
 

gausie

D̰͕̝͚̤̥̙̐̇̑͗̒e͍͔͎͈͔ͥ̉̔̅́̈l̠̪̜͓̲ͧ̍̈́͛v̻̾ͤe͗̃ͥ̐̊ͬp̔͒ͪ
After looking into it, this isn't a good idea. Nuclear Autumn and You, Robot (for example) do not have terraria in your campground.php but still allow familiars in one way or another.

I suggest for your specific situation in Bad Moon you do something like

Code:
boolean checkTerrarium() {
  return visit_url("campground.php").contains_text("bigterrarium.gif");
}
 

taltamir

Member
I suggest for your specific situation in Bad Moon you do something like
isn't this check going to do the same as get_campground() but only manually via visit_url

either way (get_campground or this visit url check) I would have to equally account for special paths such as you robot and nuclear autumn. (which I would).
 

gausie

D̰͕̝͚̤̥̙̐̇̑͗̒e͍͔͎͈͔ͥ̉̔̅́̈l̠̪̜͓̲ͧ̍̈́͛v̻̾ͤe͗̃ͥ̐̊ͬp̔͒ͪ
You don't need to account for other paths because you can't not have a terrarium in those - the only time this can matter is Bad Moon
 
Top