summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-04-19 20:56:05 +0800
committerLi Jin <dragon-fly@qq.com>2021-04-19 20:56:05 +0800
commitea82666506b57d6e905b7f2e5fe78498fe5a7abd (patch)
treeef5eb47f849090f225567b67070a90aeeee49d95 /spec
parent7ac784e73b026ce7e17babb2f0b819864fd898b0 (diff)
downloadyuescript-ea82666506b57d6e905b7f2e5fe78498fe5a7abd.tar.gz
yuescript-ea82666506b57d6e905b7f2e5fe78498fe5a7abd.tar.bz2
yuescript-ea82666506b57d6e905b7f2e5fe78498fe5a7abd.zip
fix issue #49 and issue #50.
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/tables.yue18
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
222menus =
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
222nil 240nil
223 241