Expose trap once-field to lua

This commit is contained in:
Pasi Kallinen
2025-04-13 17:32:14 +03:00
parent eeb96c4151
commit a185c270bb
2 changed files with 2 additions and 0 deletions

View File

@@ -201,6 +201,7 @@ Returns a table with the following elements:
| ttyp_name | text | name of trap type
| tseen | boolean | trap seen by you?
| madeby_u | boolean | trap made by you?
| once | boolean | trap is deleted once triggered
| tnote | integer | note of a squeaky board trap
| launchx, launchy, launch2x, launch2y | integer | coordinates of a boulder for a rolling boulder trap
| conjoined | integer | encoded directions for a [spiked] pit.