#2523
If trees’ fruit is ever made deterministic to the tree, occasionally scatter some of that fruit around the base of the tree.
If trees’ fruit is ever made deterministic to the tree, occasionally scatter some of that fruit around the base of the tree.
Trees can rarely drop slime mold “fruit” when kicked.
Trees’ fruit is generated along with the tree (possibly buried for code purposes so that it shows up on object detection but not when you just look at the tree, or perhaps just “embedded in the tree” is good enough). When you kick or chop down the tree, this fruit is released rather than generating some fruit on the spot.
Applying a pruning hook (or possibly any polearm) to a space containing a tree, assuming there’s no monster occupying that space, it triggers the regular bees/fruit from the tree without needing to kick it.
Occasionally, sitting next to a tree will cause an apple to fall on your head.
Add a field to struct rm (or possibly reuse the flags field which is 5 bits) that determines the type of tree that is on that space, if typ == TREE. This enables you to control what kind of tree it is, and what kind of fruits you will get by kicking it, and whether you can get bees from it. Also add a level flag that allows a level designer to specify that all trees on the level should be barren.
You can loot trees to get less fruit than you might by kicking it, but the chance of getting bees is much reduced. This might fail, in which case you might fall out of the tree and abuse Dexterity or something similar. If you are polymorphed into a Y, it has a 100% chance of success; if a human or elf, probably 80%; if an orc, 40-50%; if a gnome or a dwarf, 1-5%.