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

Mobs that drop this item:

Monster Drop Chances
Squirrel 17%
6%
Spring Squirrel 15%
5.5%
Lof Squirrel 15.5%
5%
Frozen Squirrel 7.5%
1%
Fairy's Squirrel 18%
10%
Log Head 30%
Desert Log Head 22%
10%
Vicious Squirrel 6%
Nutcracker 40%
30%
20%
10%
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(.@map$, .@x, .@y, 0);
	if (rand(1,10) != 3) {
monster(.@map$, .@x, .@y, l("Oak"), 1017, 1);
$TREE_PLANTED+=+1;
callfunc "SaggyScoreUpdate", callfunc("rand2", 1, 2);
	} else {
monster(.@map$, .@x, .@y, l("Not An Oak"), SpringSquirrel, 1);
	}
} else {
	callfunc("ItHeal2", 0, 1);
}