itemShop
This commit is contained in:
parent
fe6e331fb0
commit
cbb2a27f01
@ -2879,7 +2879,7 @@ ActionParser.prototype.parse = function (obj,type) {
|
||||
var text_choices = null;
|
||||
for(var ii=obj.choices.length-1,choice;choice=obj.choices[ii];ii--) {
|
||||
text_choices = MotaActionBlocks['shopItemChoices'].xmlText([
|
||||
choice.id, choice.count, choice.money, choice.sell == null ? "" : (""+choice.sell),
|
||||
choice.id, choice.number, choice.money, choice.sell == null ? "" : (""+choice.sell),
|
||||
text_choices
|
||||
]);
|
||||
}
|
||||
|
||||
@ -54,7 +54,7 @@ editor_blockly = function () {
|
||||
"item": true,
|
||||
"textInList": "道具商店",
|
||||
"choices": [
|
||||
{"id": "yellowKey", "count": 10, "money": 10}
|
||||
{"id": "yellowKey", "number": 10, "money": 10}
|
||||
]
|
||||
},{
|
||||
"id": "keyShop1",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user