New Content - Implemented potted tea tree

Lostcalpolydude has already implemented almost everything because he is a super cool dude.

Here's a couple of missing teas:
Code:
--------------------
8605	cuppa Improprie tea	610368464	tea_sleaze.gif	multiple	t,d	30
Item	cuppa Improprie tea	Effect: "Improprie Tea", Effect Duration: 30
--------------------
--------------------
1961	Improprie Tea	tea_sleaze.gif	a1d9f4e0f848599cf9b1cb5d1e2d95a1	use 1 cuppa Improprie tea
Effect	Improprie Tea	Sleaze Damage: +30
--------------------
--------------------
8635	cuppa Royal tea	143135963	tea_royal.gif	usable	t,d	30
# Item cuppa Royal tea
--------------------

A preference for having used your tree today would be groovy.
 

Veracity

Developer
Staff member
Code:
cuppa Boo tea is multiusable, but KoLmafia thought it was not
cuppa Dexteri tea is multiusable, but KoLmafia thought it was not
cuppa Impregnabili tea is multiusable, but KoLmafia thought it was not
cuppa Monstrosi tea is multiusable, but KoLmafia thought it was not
cuppa Neuroplastici tea is multiusable, but KoLmafia thought it was not
cuppa Toast tea is multiusable, but KoLmafia thought it was not
I could generalize, but I have no idea if any of the teas are limited to 1/day, say.
 

ckb

Minion
Staff member
Is there an ash and/or CLI command for getting teas from the tree? That would be delightful.
 

xKiv

Active member
Is there an ash and/or CLI command for getting teas from the tree? That would be delightful.

I assumed getting particular teas would be "create foo tee", but a "camp shaketeatree" would immediately find its way into my logoutScript.
 
Is it helpful to keep listing these?
Code:
cuppa Twen tea is multiusable, but KoLmafia thought it was not
cuppa Proprie tea is multiusable, but KoLmafia thought it was not
cuppa Vitali tea is multiusable, but KoLmafia thought it was not
 

Bale

Minion
There should be a _teaTreeHarvested preference.

At the moment, my logOutScript does this if I am overdrunk:

Code:
	// Shake the Tea Tree
	if(visit_url("campground.php").contains_text("campground.php?action=teatree")) {
		visit_url("campground.php?action=teatree");
		run_choice(1);
	}

That's one more server hit than I should be doing.
 

Cool12309

Member
In case we're still posting these:

Code:
cuppa Gill tea is multiusable, but KoLmafia thought it was not
cuppa Obscuri tea is multiusable, but KoLmafia thought it was not
 

Bale

Minion
I went with _pottedTeaTreeUsed, 16341. get_campground() will let you know if the tree is installed.

Thank you!

Is there anything left to implement other than which cuppas are multiusable?

Does someone want to implement a cli command to shake the tree? If not, I'm quite fine with my current solution.

Code:
	// Shake the Tea Tree
	if(get_property("_pottedTeaTreeUsed") == "false" && get_campground() contains $item[potted tea tree]) {
		visit_url("campground.php?action=teatree");
		run_choice(1);
	}
 
Last edited:

lostcalpolydude

Developer
Staff member
I added teatree in 16343. I also marked all the teas as multiusable, except the full and drunk ones.

PottedTeaTreeRequest also has a description for each tea, which currently is not used but could be hover text for a Daily Deed. I haven't done any work for a Daily Deed yet.
 

Bale

Minion
Learned from GD Forum that there's a reward for royal tea:

Code:
--------------------
8638	Royal scepter	695178500	scepter.gif	offhand		0
Royal scepter	0	none
Item	Royal scepter	Adventures: +4, PvP Fights: +8, Rollover Effect: "It's Good To Be Royal!"
--------------------
--------------------
1990	It's Good To Be Royal!	scepter.gif	649609b239c77507b1b112bc7a6d7ae4
Effect	It's Good To Be Royal!	Muscle Percent: +200, Mysticality Percent: +200, Moxie Percent: +200, Maximum HP Percent: +200, Maximum MP Percent: +200, Weapon Damage Percent: +200, Spell Damage Percent: +200
--------------------
 
Last edited:

Bale

Minion
r16356

Code:
[COLOR="#808000"]> teatree cuppa Royal tea[/COLOR]

[COLOR="#FF0000"]I don't know how to harvest cuppa Royal tea[/COLOR]

Am I misusing the teatree command?
 
Top