en:modulebuilding:randomtraps
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:modulebuilding:randomtraps [2025/11/13 00:52] – shadooow | en:modulebuilding:randomtraps [2025/11/13 00:55] (current) – [Random and Respawning Traps] shadooow | ||
|---|---|---|---|
| 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.txt · Last modified: 2025/11/13 00:55 by shadooow
