First, find a Craft - Area Settings placeable in custom placeable palette, and place it into area. Then open its inventory and put inside trap kits of traps you want to be spawned in the area. You will find them in custom item palette - Miscellaniouis - Kit. Adding same trap multiple times will increase chances of that trap to be spawned.
After you do this, right click the Craft - Area Settings placeable and go to Variables. The placeable already has the variables set with “null” values. You just adjust them.
And lastly, set TRAP_ALLOW variable to -1 on every non-invisible door and useable placeable that you don't want the random trap to be ever spawned.
85% traps will be spawned on the floor unless there are no, or not enough, objects to spawn trap at. Traps will respawn automatically when disarmed, recovered or triggered.
If you trapped some object such as door or placeable, you will probably want it to grant experiences for disarming and to respawn.
First of all, set the object script sh_trap_disarm into OnDisarm event.
If the trap is one-shot then add also sh_trap_trigger script into OnTrapTriggered event.
By default the trap will respawn with same type, DCs in about 1250-1450 seconds. You can change this via these variables:
If random traps are set up in area and you don't set any of the variables then numbers for random traps are used instead.