pf2e.fyi
From Pathfinder #147: Tomorrow Must Burn, which isn't enabled.

Tree of Dreadful Dreams

COMPLEX HAZARD 10
Stealth +22 (expert)
Description The statue of the willow tree animates, its branches lashing out to try to grab anyone in area B2.

Disable DC 25 Athletics or DC 25 Thievery (trained) to force or lever open a single branch, disabling that branch and freeing any creature trapped within. DC 29 Thievery (expert) to disrupt the tree's magical animation, shut it down, and free all trapped creatures. Placing a dreamstone in the tree's trunk takes 2 Interact actions and causes the trap to shut down, freeing all trapped creatures. Placing the cursed dreamstone from area B4 in the trunk instead increases the tree's actions per turn to 4 and gives it a +2 item bonus to all saving throws and attack rolls.

AC 30; Fort +22, Ref +14
Hardness 10, HP 40 (BT 20) to break each branch; Immunities critical hits, precision

Constrict

1d10+12 bludgeoning damage.

DC 27 basic Fortitude


The monster deals the listed amount of damage to any number of creatures Grabbed or Restrained by it. Each of those creatures can attempt a basic Fortitude save with the listed DC.

Terrifying Visions

A creature that begins its turn grabbed by the trap experiences vivid, warped visions of true events and must succeed at a DC 31 Will save or take 4d8 mental damage. On a critical failure, the creature also becomes Doomed 1. A creature that succeeds at its save is temporarily immune for 24 hours.

Attack of Opportunity (Special)

The tree of dreadful dreams can attempt up to six Attacks of Opportunity each round.

Trigger A creature within the monster's reach uses a manipulate action or a move action, makes a ranged attack, or leaves a square during a move action it's using.

Effect The monster attempts a melee Strike against the triggering creature. If the attack is a critical hit and the trigger was a manipulate action, the monster disrupts that action. This Strike doesn't count toward the monster's multiple attack penalty, and its multiple attack penalty doesn't apply to this Strike.

Independent Limbs

Any creature struck by the tree's Branch strike are Grabbed. Additionally the tree's Branch strikes do not suffer from multiple attack penalties.

Melee Branch +26 (reach 20), Damage 2d10+12 bludgeoning plus Independent Limbs
Routine (3 actions) The statue uses each action to attempt a branch Strike against a random creature in the room that it hasn't Grabbed. If there are no creatures for it to attack and it has at least one creature grabbed, it instead Constricts. The trap can have up to six creatures grabbed.
Reset The trap deactivates and resets if it has no creatures Grabbed and no creatures in the room to attack. If an uncursed dreamstone is placed in its trunk, the statue doesn't reactivate.
Pathfinder #147: Tomorrow Must BurnOGL