Feature - Implemented ValhallaDecorator should add "ice house" to ascend.php

Bale

Minion
It would be nice if ascend.php showed which monster is currently captured in the ice house.

In aftercore I had swapped it with an Escalatormaster in order to win a wolf whistle and forgot to switch back to AMC Gremlin before ascending. It would have been nice to have seen a reminder there.

Related request: Manage Folder Holder before ascending
 
Last edited:

Bale

Minion
For now I'm solving my problem with this ascend.ash

Code:
void tasks(buffer results) {
	int e = results.index_of('</font></td></tr></table></td></tr></table><br><br></center></form><p><center><a href="main.php">');
	if(e > 0) {
		// What folders are in the over-the-shoulder Folder Holder?
		if(available_amount($item[over-the-shoulder Folder Holder]) > 0) {
			foreach s in $slots[folder3, folder2, folder1]
				results.insert(e, '- '+equipped_item(s)+'<br>');
			results.insert(e, '<a href="/inventory.php?action=useholder">over-the-shoulder Folder Holder<a><br>');
		}
		// Monster in the Ice House
		matcher icehouse = create_matcher("([^:]+):ice house:", get_property("banishedMonsters"));
		if(icehouse.find())
			results.insert(e, '<nobr><b>ice house</b>: '+icehouse.group(1).to_monster()+'</nobr><br>');
	}
}

void main() {
	buffer results;
	results.append(visit_url());
	results.tasks();
	results.write();
}
 
Last edited:
Top