Feature - Implemented track bombed back to stone age or auto fix locations

taltamir

Member
I am trying to script getting [around the world]. which is a non tradeable, non discardable booze. you need to drink 80 of them for a trophy. and also need them to craft some chefstaves

I am running into the issue where mafia does not seem to track the bombed status of the camps.
and does not allow me to use the wrong location name.

Code:
> ash adv1($location[Hippy Camp])

That area is not available.

Returned: false

> ash adv1($location[The Hippy Camp (Bombed Back to the Stone Age)])

Visit to Island: The Hippy Camp (Bombed Back to the Stone Age) in progress...
Preference lastAdventure changed from Frat House (Frat Disguise) to The Hippy Camp (Bombed Back to the Stone Age)

[1919] The Hippy Camp (Bombed Back to the Stone Age)

I think the best way to do it is via a variable that tracks which side of the war won (or if you defeated both). it needs 4 states:
unfinished
hippy won
frat won
both lost

or maybe just directly track bombed status.
neither bombed (unfinished)
hippy bombed
frat bombed
both bombed

with an update that happens when looking at completed quests log so that
refresh quests
can correct/update/set that variable
 

Veracity

Developer
Staff member
It is intentional, by the way, that "Hippy Camp" is not a synonym for "The Hippy Camp (Bombed Back to the Stone Age)".

Code:
> ash get_monsters($location[Hippy Camp])

Returned: aggregate monster [9]
0 => crusty hippy
1 => crusty hippy jewelry maker
2 => crusty hippy Vegan chef
3 => dirty hippy
4 => dirty hippy jewelry maker
5 => dirty hippy Vegan chef
6 => filthy hippy
7 => filthy hippy jewelry maker
8 => filthy hippy Vegan chef

> ash get_monsters($location[The Hippy Camp (Bombed Back to the Stone Age)])

Returned: aggregate monster [3]
0 => caveman hippy
1 => cavewomyn hippy
2 => sabre-toothed ferret
 

taltamir

Member
warProgress -> unstarted, started, finished
sideDefeated -> neither, hippies, fratboys, both
thank you

I searched preferences for "frat" because I was assuming it would show up as "side won" instead of "side defeated".
I went through all the preferences that had frat in them and saw this one was "missing". but that was my mistake there.
 

Veracity

Developer
Staff member
We don’t have “side won” since there would be ambiguity between “neither, because the war is unfinished - or even unstarted” and “neither, because, Wossname”.

“side defeated” is unambiguous.
 
Top