Browse Source

Update some template snippets

tags/v0.1.3
Fen Dweller 5 years ago
parent
commit
e78f5ac73f
1 changed files with 12 additions and 2 deletions
  1. +12
    -2
      .vscode/templates.code-snippets

+ 12
- 2
.vscode/templates.code-snippets View File

@@ -80,7 +80,7 @@
" \"conditions\": [", " \"conditions\": [",
"", "",
" ],", " ],",
" \"hooks\" [",
" \"hooks\": [",
" ", " ",
" ]", " ]",
"}," "},"
@@ -97,6 +97,16 @@
], ],
"description": "Condition" "description": "Condition"
}, },
"Hook": {
"prefix": "hook",
"body": [
"(room, exit, state) => {",
" return ${1:true}",
"}",
""
],
"description": "Condition"
},
"Stat": { "Stat": {
"prefix": "stat", "prefix": "stat",
"body": [ "body": [
@@ -147,7 +157,7 @@
"", "",
" ],", " ],",
" \"world\": {", " \"world\": {",
" s",
" ",
" }", " }",
"});", "});",
"" ""


Loading…
Cancel
Save