Bläddra i källkod

Update some template snippets

tags/v0.1.3
Fen Dweller 6 år sedan
förälder
incheckning
e78f5ac73f
1 ändrade filer med 12 tillägg och 2 borttagningar
  1. +12
    -2
      .vscode/templates.code-snippets

+ 12
- 2
.vscode/templates.code-snippets Visa fil

@@ -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",
" ",
" }", " }",
"});", "});",
"" ""


Laddar…
Avbryt
Spara