diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/inputs/tables.yue | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/inputs/tables.yue b/spec/inputs/tables.yue index 2c6dff9..4cd9b4d 100644 --- a/spec/inputs/tables.yue +++ b/spec/inputs/tables.yue | |||
| @@ -219,5 +219,23 @@ items = | |||
| 219 | name: "necklace" | 219 | name: "necklace" |
| 220 | amount: 1 | 220 | amount: 1 |
| 221 | 221 | ||
| 222 | menus = | ||
| 223 | * text: "Save" | ||
| 224 | sub: | ||
| 225 | * text: "Slot 1: " .. (slots[1].name or "None") | ||
| 226 | click: -> | ||
| 227 | * text: {"Slot 2"} | ||
| 228 | click: -> | ||
| 229 | * text: [[Slot 3]] | ||
| 230 | click: -> | ||
| 231 | * text: ("Slot 4")\name! | ||
| 232 | click: -> | ||
| 233 | * text: ({{"slot5"}})[1]\name! | ||
| 234 | click: -> | ||
| 235 | [6]: { | ||
| 236 | text: ("Slot 6") | ||
| 237 | click: -> | ||
| 238 | } | ||
| 239 | |||
| 222 | nil | 240 | nil |
| 223 | 241 | ||
