Moubootaur Legends

Acorn - Item DB

Acorn | 501

A natural food, ingredient, bait or seed.

Heal 1% HP
ID 501
type IT_HEALING
weight 3
delay 500
ID for use in Discord:
Expert View

You'd like to see behind the curtain? Then you are here at the right place - lots of data only contributors would normally see.

Open raw JSON
ID 501
aegisName Acorn
Script

Script to execute when the item is used/equipped.

if (@useType == 1) {
	getmapxy([email protected]$, [email protected], [email protected], 0);
	if (rand(1,10) != 3) {
monster([email protected]$, [email protected], [email protected], l("Oak"), 1017, 1);
$TREE_PLANTED+=+1;
callfunc "SaggyScoreUpdate", callfunc("rand2", 1, 2);
	} else {
monster([email protected]$, [email protected], [email protected], l("Not An Oak"), SpringSquirrel, 1);
	}
} else {
	@type = 0;
	@rarity=1;
	doevent "rand_sc_heal::OnUse";
}