en:modulebuilding:randomtraps
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:modulebuilding:randomtraps [2025/11/12 23:57] – [Random and Respawning Traps] shadooow | en:modulebuilding:randomtraps [2025/11/13 00:55] (current) – [Random and Respawning Traps] shadooow | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Random and Respawning Traps ====== | ====== Random and Respawning Traps ====== | ||
| - | 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. Adding same trap multiple times will increase chances of that trap to be spawned. | + | 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. |
| {{: | {{: | ||
| Line 13: | Line 13: | ||
| * TRAP_SEARCH_MIN integer X - minimal DC of the random traps for search | * TRAP_SEARCH_MIN integer X - minimal DC of the random traps for search | ||
| * TRAP_SEARCH_MAX integer X - maximum DC of the random traps for search | * TRAP_SEARCH_MAX integer X - maximum DC of the random traps for search | ||
| - | * TRAP_OBJECTS integer | + | * TRAP_OBJECTS integer 1 - if set to 1 it changes the default |
| * TRAP_UNLIMITED integer X - percentual chance for the traps to be unlimited (ie. not disappearing after triggering) | * TRAP_UNLIMITED integer X - percentual chance for the traps to be unlimited (ie. not disappearing after triggering) | ||
| {{: | {{: | ||
| 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. | 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. | ||
| ===== Static Traps On Objects ===== | ===== Static Traps On Objects ===== | ||
en/modulebuilding/randomtraps.1762991875.txt.gz · Last modified: 2025/11/12 23:57 by shadooow
