New Content - Implemented Feb 2016 IotM -- LT&T telegraph office deed

Erich

Member
Dunno if this is relevant:

Manuel says that 'unusual construct' (1923) scales, but KoLmafia doesn't
Manuel says that 'surly gambler' (1900) 'Never wins initiative', but KoLmafia says it is 0
Manuel says that 'Pharaoh Amoon-Ra Cowtep' (1920) scales, but KoLmafia doesn't

Also, a request: if you get Your Cowboy Boots on the first visit to the LT&T office, can Mafia be set to grab them when it loads a new ascension, like how it pulls a VIP Key?
 

Veracity

Developer
Staff member
Might need to have a setting that says whether you are on the easy, medium, or hard quest and make the monster stats have an expression that references that.
 

Darzil

Developer
Yup, that's what I'd do (and will if and when I find time), setting for quest name, stage and difficulty, from which we can derive chance of meeting each monster for area combat data and it's stats.
 

digitrev

Member
Unknown as of r16660:
Code:
--------------------
8946	jangly spurs	264681826	dullspurs.gif	usable	t,d	10
# Item jangly spurs
--------------------
--------------------
8852	nugget of quicksilver	972949009	crimnugget.gif	none	t,d	150
# Item nugget of quicksilver
--------------------
 

digitrev

Member
When you fight the unknown construct, the strange discs go away at the end of the fight, regardless of whether you win or lose. Mafia should not add them to your inventory.
 

lostcalpolydude

Developer
Staff member
Added more stuff in 16663. I'm hoping boot parts get added to api.php like stickers and folders are, but for now those aren't handled on your boots.
 

lostcalpolydude

Developer
Staff member
I asked for it in /dev (where chat is logged to look back at), but no one was there to respond since it's the weekend.
 

Bale

Minion
I hope there's a positive response then because it is important for mafia to know that information, but troublesome if its not in the api.
 

digitrev

Member
Missing as of r16669
Code:
Unknown item found: quicksilver ring (8859, 535136555)
--------------------
8859 quicksilver ring 535136555 weddingring.gif accessory 0
quicksilver ring 100 Mys: 10
Item quicksilver ring Initiative: +40, Single Equip
--------------------
Also, would it be possible to get a/some preference(s) that track(s) the state of the LT&T quests? Each quest follows the same format
  • Non-combat
  • Kill 9 telegram monsters
  • 2nd non-combat
  • Kill 9 telegram monsters
  • 3rd non-combat w/ reward
  • Kill 9 telegram monsters
  • 4th non-combat into boss fight
    • Repeat until the boss is dead or you give up the quest
You can kill any telegram zone monster, including faxed/copied monsters to increase the counter. Free kills count towards the counter, but wandering monsters / hipster fights don't count.
 

Bale

Minion
Here's a little relay script to see what each Telegraph choice adventure looks like in case you are forgetful about which boss and monster selection you'll face. Suggestions are welcome. I'm not sure this one would be popular enough to bother putting it on svn, but probably someone beside myself will be glad to use it.

Save this as /relay/place.town_right.ash
Code:
// Save this as place.town_right.ash

// whichplace=town_right&action=townright_ltt
void ltt() {
	buffer page;
	page.append(visit_url());
	int i = page.index_of("</center><!--faaaaaaart");
	if(i > 0)
		page.insert(i, '<div id=ptab><table><tr><th> Investigation</th><th> Begins</th><th> Continues</th><th> Continues</th><th> Concludes</th></tr><tr class=easy><td>Missing: Fancy Man</td><td><ul><li>drunk cowpoke</li><li>hired gun</li><li>surly gambler</li></ul></td><td><ul><li>buzzard</li><li>camp cook</li><li>mountain lion</li></ul></td><td><ul><li>coal snake</li><li>restless ghost</li></ul></td><td>Jeff the Fancy Skeleton</td></tr><tr class=easy><td>Help! Desperados!</td><td><ul><li>drunk cowpoke</li><li>hired gun</li><li>wannabe gunslinger</li></ul></td><td><ul><li>buzzard</li><li>diamondback rattler</li><li>mountain lion</li></ul></td><td><ul><li>grizzled bear</li><li>skeletal gunslinger</li></ul></td><td>Pecos Dave</td></tr><tr class=easy><td> Missing: Pioneer Daughter</td><td><ul><li>buzzard</li><li>restless ghost</li></ul></td><td><ul><li>cow cultist</li><li>hired gun</li></ul></td><td><ul><li>caugr</li><li>pyrobove</li><li>spidercow</li></ul></td><td>Daisy the Unclean</td></tr><tr class=moderate><td> Big Gambling Tournament Announced<br /></td><td><ul><li>wannabe gunslinger</li><li>drunk cowpoke</li></ul></td><td><ul><li>coal snake</li><li>diamondback rattler</li><li>frontwinder</li></ul></td><td><ul><li>hired gun</li><li>surly gambler</li></ul></td><td>Snake-Eyes Glenn</td></tr><tr class=moderate><td> Haunted Boneyard<br /></td><td><ul><li>buzzard</li><li>skeletal gunslinger</li></ul></td><td><ul><li>restless ghost</li></ul></td><td><ul><li>cow cultist</li><li>moomy</li><li>spidercow</li></ul></td><td>Pharaoh Amoon-Ra Cowtep</td></tr><tr class=moderate><td>Sheriff Wanted<br /></td><td><ul><li>drunk cowpoke</li><li>wannabe gunslinger</li><li>surly gambler</li></ul></td><td><ul><li>cow cultist</li><li>frontwinder</li><li>mountain lion</li></ul></td><td><ul><li>camp cook</li><li>hired gun</li></ul></td><td>Former Sheriff Dan Driscoll</td></tr><tr class=hard><td>Madness at the Mine<br /></td><td><ul><li>coal snake</li><li>drunk cowpoke</li><li>camp cook</li></ul></td><td><ul><li>diamondback rattler</li><li>moomy</li><li>mountain lion</li></ul></td><td><ul><li>grizzled bear</li><li>skeletal gunslinger</li><li>restless ghost</li></ul></td><td>unusual construct</td></tr><tr class=hard><td>Missing: Many Children<br /></td><td><ul><li>cow cultist</li><li>spidercow</li><li>hired gun</li></ul></td><td><ul><li>restless ghost</li></ul></td><td><ul><li>caugr</li><li>moomy</li><li>pyrobove</li></ul></td><td>Clara</td></tr><tr class=hard><td>Wagon Train Escort Wanted<br /></td><td><ul><li>diamondback rattler</li><li>grizzled bear</li><li>mountain lion</li></ul></td><td><ul><li>pyrobove</li><li>restless ghost</li><li>skeletal gunslinger</li></ul></td><td><ul><li>camp cook</li><li>hired gun</li><li>wannabe gunslinger</li></ul></td><td>Granny Hackleton</td></tr></table></div>');
	
	// This requires some styles. I've got them all captured inside the ptab div to ensure they don't mess up the rest of the page.
	page.replace_string("</head>", "\n<style type='text/css'>#ptab ul {margin:2px; padding-left:18px;} #ptab li {text-indent:-5px;}\n#ptab table {width:95%; font-size:14px;} #ptab table, #ptab td {border:1px solid blue; padding:2px; border-collapse:collapse; margin:0;} #ptab th {background-color:blue; color:white; border:1px solid blue; padding:2px; border-collapse:collapse; margin:0;} #ptab th {text-align:center;} #ptab td {text-align:left; vertical-align:top;} #ptab td:first-child {font-weight:bold; vertical-align:middle;} tr.moderate {background-color:#EDEDED;} #ptab tr.hard {background-color:#D3D3D3;}</style>\n</head>");
	write(page);
}

void main() {
	if(form_field("action") == "townright_ltt")
		ltt();
}
 

Bale

Minion
Made a little improvement. Now the bosses are linked to the wiki in case someone has trouble beating them:

Code:
// Save this as place.town_right.ash

// whichplace=town_right&action=townright_ltt
void ltt() {
	buffer page;
	page.append(visit_url());
	int i = page.index_of("</center><!--faaaaaaart");
	if(i > 0)
		page.insert(i, '<div id=ptab><table><tr><th> Investigation</th><th> Begins</th><th> Continues</th><th> Continues</th><th> Concludes</th></tr><tr class=easy><td>Missing: Fancy Man</td><td><ul><li>drunk cowpoke</li><li>hired gun</li><li>surly gambler</li></ul></td><td><ul><li>buzzard</li><li>camp cook</li><li>mountain lion</li></ul></td><td><ul><li>coal snake</li><li>restless ghost</li></ul></td><td><a href=http://kol.coldfront.net/thekolwiki/index.php/Jeff_the_Fancy_Skeleton target=_blank>Jeff the Fancy Skeleton</a></td></tr><tr class=easy><td>Help! Desperados!</td><td><ul><li>drunk cowpoke</li><li>hired gun</li><li>wannabe gunslinger</li></ul></td><td><ul><li>buzzard</li><li>diamondback rattler</li><li>mountain lion</li></ul></td><td><ul><li>grizzled bear</li><li>skeletal gunslinger</li></ul></td><td><a href=http://kol.coldfront.net/thekolwiki/index.php/Pecos_Dave target=_blank>Pecos Dave</a></td></tr><tr class=easy><td> Missing: Pioneer Daughter</td><td><ul><li>buzzard</li><li>restless ghost</li></ul></td><td><ul><li>cow cultist</li><li>hired gun</li></ul></td><td><ul><li>caugr</li><li>pyrobove</li><li>spidercow</li></ul></td><td><a href=http://kol.coldfront.net/thekolwiki/index.php/Daisy_the_Unclean target=_blank>Daisy the Unclean</a></td></tr><tr class=moderate><td> Big Gambling Tournament Announced<br /></td><td><ul><li>wannabe gunslinger</li><li>drunk cowpoke</li></ul></td><td><ul><li>coal snake</li><li>diamondback rattler</li><li>frontwinder</li></ul></td><td><ul><li>hired gun</li><li>surly gambler</li></ul></td><td><a href=http://kol.coldfront.net/thekolwiki/index.php/Snake-Eyes_Glenn target=_blank>Snake-Eyes Glenn</a></td></tr><tr class=moderate><td> Haunted Boneyard<br /></td><td><ul><li>buzzard</li><li>skeletal gunslinger</li></ul></td><td><ul><li>restless ghost</li></ul></td><td><ul><li>cow cultist</li><li>moomy</li><li>spidercow</li></ul></td><td><a href=http://kol.coldfront.net/thekolwiki/index.php/Pharaoh_Amoon-Ra_Cowtep target=_blank>Pharaoh Amoon-Ra Cowtep</a></td></tr><tr class=moderate><td>Sheriff Wanted<br /></td><td><ul><li>drunk cowpoke</li><li>wannabe gunslinger</li><li>surly gambler</li></ul></td><td><ul><li>cow cultist</li><li>frontwinder</li><li>mountain lion</li></ul></td><td><ul><li>camp cook</li><li>hired gun</li></ul></td><td><a href=http://kol.coldfront.net/thekolwiki/index.php/Former_Sheriff_Dan_Driscoll target=_blank>Former Sheriff Dan Driscoll</a></td></tr><tr class=hard><td>Madness at the Mine<br /></td><td><ul><li>coal snake</li><li>drunk cowpoke</li><li>camp cook</li></ul></td><td><ul><li>diamondback rattler</li><li>moomy</li><li>mountain lion</li></ul></td><td><ul><li>grizzled bear</li><li>skeletal gunslinger</li><li>restless ghost</li></ul></td><td><a href=http://kol.coldfront.net/thekolwiki/index.php/Unusual_construct target=_blank>unusual construct</a></td></tr><tr class=hard><td>Missing: Many Children<br /></td><td><ul><li>cow cultist</li><li>spidercow</li><li>hired gun</li></ul></td><td><ul><li>restless ghost</li></ul></td><td><ul><li>caugr</li><li>moomy</li><li>pyrobove</li></ul></td><td><a href=http://kol.coldfront.net/thekolwiki/index.php/Clara target=_blank>Clara</a></td></tr><tr class=hard><td>Wagon Train Escort Wanted<br /></td><td><ul><li>diamondback rattler</li><li>grizzled bear</li><li>mountain lion</li></ul></td><td><ul><li>pyrobove</li><li>restless ghost</li><li>skeletal gunslinger</li></ul></td><td><ul><li>camp cook</li><li>hired gun</li><li>wannabe gunslinger</li></ul></td><td><a href=http://kol.coldfront.net/thekolwiki/index.php/Granny_Hackleton target=_blank>Granny Hackleton</a></td></tr></table></div>');
	
	// This requires some styles. I've got them all captured inside the ptab div to ensure they don't mess up the rest of the page.
	page.replace_string("</head>", "\n<style type='text/css'>#ptab ul {margin:2px; padding-left:18px;} #ptab li {text-indent:-5px;}\n#ptab a:link {text-decoration:none; font-style:italic;} #ptab a:hover {text-decoration:underline; color:blue;}\n#ptab table {width:95%; font-size:14px;} #ptab table, #ptab td {border:1px solid blue; padding:2px; border-collapse:collapse; margin:0;} #ptab th {background-color:blue; color:white; border:1px solid blue; padding:2px; border-collapse:collapse; margin:0;} #ptab th {text-align:center;} #ptab td {text-align:left; vertical-align:top;} #ptab td:first-child {font-weight:bold; vertical-align:middle;} tr.moderate {background-color:#EDEDED;} #ptab tr.hard {background-color:#D3D3D3;}</style>\n</head>");
	write(page);
}

void main() {
	if(form_field("action") == "townright_ltt")
		ltt();
}
 

Magus_Prime

Well-known member
Unknown effect as of r16669:

Code:
--------------------
2066 Partially Ghosted ghostbit.gif 487f468a1e6674254309a9ecf8bd3823
# Effect Partially Ghosted: Reduces physical damage taken by 30%
--------------------
 

Yendor

Member
A few more:
Code:
--------------------
2061	Milk is Blood is Milk	blooddrops.gif	00662ad268709d76800df67f0daec5be
Effect	Milk is Blood is Milk	Muscle Percent: -50, Mysticality Percent: -50, Moxie Percent: -50, Muscle: -5, Mysticality: -5, Moxie: -5
--------------------
--------------------
2062	The Moomy's Curse	scarab.gif	0e125f8b36ad36e4959ad5b5d382289a
Effect	The Moomy's Curse	Mana Cost: +20, Familiar Weight: -40, Muscle Percent: -200, Mysticality Percent: -200, Moxie Percent: -200
--------------------
--------------------
2065	Itchy Trigger Finger	gunbone.gif	d8384b7c33340bbd87765cf79f0ed9a5	use 1 triggerfingerbone
Effect	Itchy Trigger Finger	Ranged Damage: +30
--------------------
--------------------
2068	Lion in Ambush	3claws.gif	f114b2c1531448d2649fd705fb626aa0	use 1 lion musk
# Effect Lion in Ambush: Makes you significantly more attractive to monsters
--------------------
--------------------
2069	Bear Clawed	3claws.gif	9f76dc8caece84722921e2c835a6cd01	eat 1 bear claw
Effect	Bear Clawed	Weapon Damage Percent: +100
--------------------
--------------------
2070	Venomous Weapon	blooddrops.gif	b3b8722c7cba18094401780ca69e5463	use 1 rattler gland
# Effect Venomous Weapon: Causes your regular attacks to poison foes
--------------------
2061's effect is multiplied by the number of turns remaining.
 

Veracity

Developer
Staff member
Here's a little relay script to see what each Telegraph choice adventure looks like in case you are forgetful about which boss and monster selection you'll face. Suggestions are welcome. I'm not sure this one would be popular enough to bother putting it on svn, but probably someone beside myself will be glad to use it]
I would use it - if it worked for me.

- I saved it as place.town_right.ash
- My debug log says that it was called
- I inserted the following line:
Code:
	int i = page.index_of("</center><!--faaaaaaart");
	print( "offset = " + i );
and I get:

offset = -1

Apparently, MY LT&T office does not have faaaaaaats in it.
 

Veracity

Developer
Staff member
This worked for me:

Code:
	int i = page.index_of("</center></td></tr><tr><td height=4>");
Looks very nice. Thank you!
 

lostcalpolydude

Developer
Staff member
With no ML, during easy quests the non-boss monsters have 5 more attack than my moxie, and 5 more defense than my muscle. For moderate quests it's 25, and hard it's 50. I disagree that "scale to your stats" is a phrase that contradicts what I said.
 

Bale

Minion
Apparently, MY LT&T office does not have faaaaaaarts in it.

Weird. My page has different html than yours. No idea why my page farts at me. Perhaps there's a different version for the Safari browser. I made a version that would work for both.

Looks very nice. Thank you!

You're very welcome. Unfortunately I just could NOT stop fiddling with this. (I wish my brain would let me stop wasting my time.) I made the code much more interesting and more importantly I added the rewards like jangly spurs and nuggets of silver since I thought of a non-ugly way to add them. Mostly it was fun to make the code which auto-generates the table row for each quest.

Then I put it on SVN to make it an easy download since I spent so darn much time on it!
Code:
[B][COLOR="#0000CD"]svn checkout https://svn.code.sf.net/p/bale/ltt/code/[/COLOR][/B]
 
Top