#5171
Kicking a tree that has no fruit or bees left in it should occasionally give a message that indicates “there is nothing left to get here, move along” to the player.
Kicking a tree that has no fruit or bees left in it should occasionally give a message that indicates “there is nothing left to get here, move along” to the player.
Druids should be able to chat to a tree to persuade it to peacefully give up its fruit, because them kicking the tree for fruit doesn’t make much flavor sense. Alternatively, there could be a spell to do this to all trees within a certain area.
You can bury fruit to make a tree grow where the fruit was buried.
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 should be able to loot trees to get less fruit than you might by kicking it, but with a much lower chance of getting bees. Looting the tree 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%.