Merge pull request #151 from ckcz123/v2.0

V2.0
This commit is contained in:
Zhang Chen 2018-06-22 01:21:05 +08:00 committed by GitHub
commit 7705371c2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1398,6 +1398,7 @@ ActionParser.prototype.parseAction = function() {
data.text,this.next]);
break;
case "show": // 显示
data.loc=data.loc||[];
if (!(data.loc[0] instanceof Array))
data.loc = [data.loc];
var x_str=[],y_str=[];

View File

@ -151,12 +151,12 @@ data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc =
"constants": {
"_leaf": true,
"_type": "textarea",
"_data": "初始永久道具个数,例如初始送手册可以写 {'book': 1}"
"_data": "初始永久道具个数,例如初始送手册可以写 {\"book\": 1}"
},
"tools": {
"_leaf": true,
"_type": "textarea",
"_data": "初始消耗道具个数,例如初始有两破可以写 {'pickaxe': 2}"
"_data": "初始消耗道具个数,例如初始有两破可以写 {\"pickaxe\": 2}"
}
}
},