更新配置

This commit is contained in:
wh_zcy 2022-09-22 11:54:42 +08:00
parent b4c249fd2b
commit c75ea74596
7 changed files with 735 additions and 326 deletions

View File

@ -127,13 +127,13 @@
{ {
"id": 100205, "id": 100205,
"group": 2, "group": 2,
"type": 3, "type": 2,
"preTid": 100204, "preTid": 100204,
"condition": [ "condition": [
101 101
], ],
"sidequest": [ "sidequest": [
2010 2006
] ]
}, },
{ {
@ -146,7 +146,7 @@
], ],
"sidequest": [ "sidequest": [
2007, 2007,
2006 2008
] ]
}, },
{ {
@ -158,8 +158,129 @@
101 101
], ],
"sidequest": [ "sidequest": [
2008, 2009,
2006 2010,
2011
]
},
{
"id": 100208,
"group": 2,
"type": 2,
"preTid": 100207,
"condition": [
101
],
"sidequest": [
2012
]
},
{
"id": 100209,
"group": 2,
"type": 2,
"preTid": 100208,
"condition": [
101
],
"sidequest": [
2013
]
},
{
"id": 100210,
"group": 2,
"type": 2,
"preTid": 100209,
"condition": [
101
],
"sidequest": [
2014
]
},
{
"id": 100211,
"group": 2,
"type": 2,
"preTid": 100210,
"condition": [
101
],
"sidequest": [
2015
]
},
{
"id": 100212,
"group": 2,
"type": 2,
"preTid": 100211,
"condition": [
101
],
"sidequest": [
2016
]
},
{
"id": 100213,
"group": 2,
"type": 2,
"preTid": 100212,
"condition": [
101
],
"sidequest": [
2017
]
},
{
"id": 100214,
"group": 2,
"type": 2,
"preTid": 100213,
"condition": [
101
],
"sidequest": [
2018
]
},
{
"id": 100215,
"group": 2,
"type": 2,
"preTid": 100214,
"condition": [
101
],
"sidequest": [
2019
]
},
{
"id": 100216,
"group": 2,
"type": 2,
"preTid": 100215,
"condition": [
101
],
"sidequest": [
2020
]
},
{
"id": 100217,
"group": 2,
"type": 2,
"preTid": 100216,
"condition": [
101
],
"sidequest": [
2021
] ]
} }
] ]

View File

@ -3,11 +3,6 @@
"id": 10001, "id": 10001,
"num": 1, "num": 1,
"preTid": 0, "preTid": 0,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -17,11 +12,6 @@
"id": 10002, "id": 10002,
"num": 2, "num": 2,
"preTid": 104, "preTid": 104,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -31,11 +21,6 @@
"id": 10003, "id": 10003,
"num": 1, "num": 1,
"preTid": 0, "preTid": 0,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -45,11 +30,6 @@
"id": 10004, "id": 10004,
"num": 1, "num": 1,
"preTid": 0, "preTid": 0,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -59,11 +39,6 @@
"id": 10005, "id": 10005,
"num": 2, "num": 2,
"preTid": 105, "preTid": 105,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -73,11 +48,6 @@
"id": 10006, "id": 10006,
"num": 1, "num": 1,
"preTid": 105, "preTid": 105,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -87,11 +57,6 @@
"id": 10007, "id": 10007,
"num": 2, "num": 2,
"preTid": 0, "preTid": 0,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -101,11 +66,6 @@
"id": 10008, "id": 10008,
"num": 3, "num": 3,
"preTid": 0, "preTid": 0,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -115,15 +75,6 @@
"id": 10009, "id": 10009,
"num": 1, "num": 1,
"preTid": 0, "preTid": 0,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -133,15 +84,6 @@
"id": 100010, "id": 100010,
"num": 2, "num": 2,
"preTid": 105, "preTid": 105,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -151,15 +93,6 @@
"id": 100011, "id": 100011,
"num": 1, "num": 1,
"preTid": 0, "preTid": 0,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"gotoLevel": 101,
"needItem": [ "needItem": [
0 0
], ],
@ -169,15 +102,6 @@
"id": 100012, "id": 100012,
"num": 2, "num": 2,
"preTid": 0, "preTid": 0,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -186,16 +110,7 @@
{ {
"id": 20001, "id": 20001,
"num": 1, "num": 1,
"preTid": 0, "preTid": 104,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -205,17 +120,6 @@
"id": 20002, "id": 20002,
"num": 2, "num": 2,
"preTid": 0, "preTid": 0,
"Entity": [
"Earth"
],
"EntityChange": [
"globe"
],
"EntityStateChange": [],
"EntityInteractive": [
true
],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -225,17 +129,6 @@
"id": 20003, "id": 20003,
"num": 1, "num": 1,
"preTid": 0, "preTid": 0,
"Entity": [
"Earth"
],
"EntityChange": [
"globe"
],
"EntityStateChange": [],
"EntityInteractive": [
true
],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -245,17 +138,6 @@
"id": 20004, "id": 20004,
"num": 1, "num": 1,
"preTid": 0, "preTid": 0,
"Entity": [
"Earth"
],
"EntityChange": [
"globe"
],
"EntityStateChange": [],
"EntityInteractive": [
true
],
"gotoLevel": 101,
"needItem": [ "needItem": [
0 0
], ],
@ -265,17 +147,6 @@
"id": 20005, "id": 20005,
"num": 1, "num": 1,
"preTid": 0, "preTid": 0,
"Entity": [
"Earth"
],
"EntityChange": [
"globe"
],
"EntityStateChange": [],
"EntityInteractive": [
true
],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -285,17 +156,6 @@
"id": 20006, "id": 20006,
"num": 1, "num": 1,
"preTid": 0, "preTid": 0,
"Entity": [
"Earth"
],
"EntityChange": [
"globe"
],
"EntityStateChange": [],
"EntityInteractive": [
true
],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
@ -305,14 +165,90 @@
"id": 20007, "id": 20007,
"num": 1, "num": 1,
"preTid": 0, "preTid": 0,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"gotoLevel": 0,
"needItem": [ "needItem": [
0 0
], ],
"nextTid": 100206 "nextTid": 100206
},
{
"id": 20008,
"num": 1,
"preTid": 0,
"needItem": [
0
],
"nextTid": 100207
},
{
"id": 20009,
"num": 2,
"preTid": 0,
"needItem": [
0
],
"nextTid": 0
},
{
"id": 200010,
"num": 2,
"preTid": 0,
"needItem": [
0
],
"nextTid": 100212
},
{
"id": 200011,
"num": 2,
"preTid": 0,
"needItem": [
0
],
"nextTid": 100213
},
{
"id": 200012,
"num": 2,
"preTid": 0,
"needItem": [
0
],
"nextTid": 100209
},
{
"id": 200013,
"num": 1,
"preTid": 0,
"needItem": [
0
],
"nextTid": 100210
},
{
"id": 200014,
"num": 1,
"preTid": 0,
"needItem": [
0
],
"nextTid": 100211
},
{
"id": 200015,
"num": 1,
"preTid": 0,
"needItem": [
0
],
"nextTid": 0
},
{
"id": 200016,
"num": 1,
"preTid": 0,
"needItem": [
0
],
"nextTid": 100217
} }
] ]

View File

@ -53,8 +53,8 @@
"id": 106, "id": 106,
"datatype": 2, "datatype": 2,
"type": 6, "type": 6,
"data1": 25001, "data1": 45003,
"data2": 5, "data2": 4,
"data3": 0, "data3": 0,
"data4": 0, "data4": 0,
"data5": 0 "data5": 0
@ -173,7 +173,7 @@
"id": 118, "id": 118,
"datatype": 2, "datatype": 2,
"type": 18, "type": 18,
"data1": 2, "data1": 1,
"data2": 0, "data2": 0,
"data3": 0, "data3": 0,
"data4": 0, "data4": 0,
@ -514,7 +514,7 @@
"datatype": 2, "datatype": 2,
"type": 52, "type": 52,
"data1": 1, "data1": 1,
"data2": 25001, "data2": 45003,
"data3": 0, "data3": 0,
"data4": 0, "data4": 0,
"data5": 0 "data5": 0

View File

@ -4,6 +4,7 @@
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_07", "point": "model_07",
"storyBegin": 1,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
"EntityStateChange": [], "EntityStateChange": [],
@ -18,7 +19,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 1,
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
10001, 10001,
@ -66,6 +66,7 @@
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_04", "point": "model_04",
"storyBegin": 2,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
"EntityStateChange": [], "EntityStateChange": [],
@ -80,7 +81,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 2,
"timeline": "", "timeline": "",
"chooseId": [], "chooseId": [],
"endTid": -1, "endTid": -1,
@ -94,6 +94,7 @@
"objType": 2, "objType": 2,
"location": "right", "location": "right",
"point": "icon_03", "point": "icon_03",
"storyBegin": 6,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
"EntityStateChange": [], "EntityStateChange": [],
@ -108,7 +109,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 6,
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
10003, 10003,
@ -125,6 +125,7 @@
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_04", "point": "model_04",
"storyBegin": 3,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
"EntityStateChange": [], "EntityStateChange": [],
@ -139,7 +140,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 3,
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
10005, 10005,
@ -157,6 +157,7 @@
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_07", "point": "model_07",
"storyBegin": 4,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
"EntityStateChange": [], "EntityStateChange": [],
@ -171,7 +172,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 4,
"timeline": "", "timeline": "",
"chooseId": [], "chooseId": [],
"endTid": -1, "endTid": -1,
@ -185,6 +185,7 @@
"objType": 2, "objType": 2,
"location": "right", "location": "right",
"point": "icon_03", "point": "icon_03",
"storyBegin": 8,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
"EntityStateChange": [], "EntityStateChange": [],
@ -199,7 +200,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 8,
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
10008, 10008,
@ -216,6 +216,7 @@
"objType": 2, "objType": 2,
"location": "left", "location": "left",
"point": "icon_01", "point": "icon_01",
"storyBegin": 10,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
"EntityStateChange": [], "EntityStateChange": [],
@ -230,7 +231,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 10,
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
100010, 100010,
@ -248,6 +248,7 @@
"objType": 2, "objType": 2,
"location": "", "location": "",
"point": "icon_04", "point": "icon_04",
"storyBegin": 12,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
"EntityStateChange": [], "EntityStateChange": [],
@ -262,7 +263,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 12,
"timeline": "", "timeline": "",
"chooseId": [], "chooseId": [],
"endTid": -1, "endTid": -1,
@ -276,6 +276,7 @@
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_02", "point": "model_02",
"storyBegin": 201,
"Entity": [ "Entity": [
"Earth" "Earth"
], ],
@ -294,7 +295,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 0,
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
20001, 20001,
@ -332,6 +332,7 @@
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_02", "point": "model_02",
"storyBegin": 202,
"Entity": [ "Entity": [
"Earth" "Earth"
], ],
@ -350,7 +351,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 0,
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
20003 20003
@ -358,7 +358,7 @@
"endTid": -1, "endTid": -1,
"storyEnd": 0, "storyEnd": 0,
"reward": [], "reward": [],
"nextTid": 0, "nextTid": 100204,
"CD": 0 "CD": 0
}, },
{ {
@ -366,6 +366,7 @@
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_03", "point": "model_03",
"storyBegin": 203,
"Entity": [ "Entity": [
"Earth" "Earth"
], ],
@ -384,7 +385,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 0,
"timeline": "", "timeline": "",
"chooseId": [], "chooseId": [],
"endTid": -1, "endTid": -1,
@ -398,6 +398,7 @@
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_03", "point": "model_03",
"storyBegin": 203,
"Entity": [ "Entity": [
"Earth" "Earth"
], ],
@ -416,7 +417,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 0,
"timeline": "", "timeline": "",
"chooseId": [], "chooseId": [],
"endTid": -1, "endTid": -1,
@ -430,6 +430,7 @@
"objType": 2, "objType": 2,
"location": "right", "location": "right",
"point": "icon_05", "point": "icon_05",
"storyBegin": 204,
"Entity": [ "Entity": [
"Earth" "Earth"
], ],
@ -448,7 +449,6 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 0,
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
20004 20004
@ -472,18 +472,83 @@
}, },
{ {
"id": 2006, "id": 2006,
"objType": 1, "objType": 2,
"location": "middle", "location": "right",
"point": "model_02", "point": "icon_05",
"storyBegin": 207,
"Entity": [ "Entity": [
"Earth" "Earth"
], ],
"EntityChange": [ "EntityChange": [],
"globe"
],
"EntityStateChange": [], "EntityStateChange": [],
"EntityInteractive": [ "EntityInteractive": [
true false
],
"modelaction": "",
"rotation": {
"x": 0,
"y": 0,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [
20007
],
"endTid": -1,
"storyEnd": 0,
"reward": [],
"nextTid": 100206,
"CD": 0
},
{
"id": 2007,
"objType": 1,
"location": "middle",
"point": "model_03",
"storyBegin": 217,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"modelaction": "Enter",
"rotation": {
"x": 0,
"y": -90,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [],
"endTid": -1,
"storyEnd": 0,
"reward": [],
"nextTid": -1,
"CD": 0
},
{
"id": 2008,
"objType": 1,
"location": "middle",
"point": "model_02",
"storyBegin": 218,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
], ],
"modelaction": "Enter", "modelaction": "Enter",
"rotation": { "rotation": {
@ -495,43 +560,11 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 0,
"timeline": "", "timeline": "",
"chooseId": [], "chooseId": [
"endTid": -1, 20008,
"storyEnd": 0, 20009
"reward": [],
"nextTid": -1,
"CD": 0
},
{
"id": 2007,
"objType": 1,
"location": "middle",
"point": "model_03",
"Entity": [
"Earth"
], ],
"EntityChange": [
"globe"
],
"EntityStateChange": [],
"EntityInteractive": [
true
],
"modelaction": "Enter",
"rotation": {
"x": 0,
"y": -90,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"storyBegin": 0,
"timeline": "",
"chooseId": [],
"endTid": -1, "endTid": -1,
"storyEnd": 0, "storyEnd": 0,
"reward": [], "reward": [],
@ -539,31 +572,29 @@
"CD": 0 "CD": 0
}, },
{ {
"id": 2008, "id": 2009,
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_03", "point": "model_07",
"storyBegin": 219,
"Entity": [ "Entity": [
"Earth" "Earth"
], ],
"EntityChange": [ "EntityChange": [],
"globe"
],
"EntityStateChange": [], "EntityStateChange": [],
"EntityInteractive": [ "EntityInteractive": [
true false
], ],
"modelaction": "Enter", "modelaction": "",
"rotation": { "rotation": {
"x": 0, "x": 0,
"y": -90, "y": -180,
"z": 0 "z": 0
}, },
"modelstate": 0, "modelstate": 0,
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 0,
"timeline": "", "timeline": "",
"chooseId": [], "chooseId": [],
"endTid": -1, "endTid": -1,
@ -573,10 +604,280 @@
"CD": 0 "CD": 0
}, },
{ {
"id": 2009, "id": 2010,
"objType": 1,
"location": "middle",
"point": "model_03",
"storyBegin": 220,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"modelaction": "",
"rotation": {
"x": 0,
"y": -90,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [],
"endTid": -1,
"storyEnd": 0,
"reward": [],
"nextTid": -1,
"CD": 0
},
{
"id": 2011,
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_02", "point": "model_02",
"storyBegin": 221,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"modelaction": "",
"rotation": {
"x": 0,
"y": 90,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [],
"endTid": -1,
"storyEnd": 0,
"reward": [],
"nextTid": -1,
"CD": 0
},
{
"id": 2012,
"objType": 1,
"location": "middle",
"point": "model_02",
"storyBegin": 212,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"modelaction": "",
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [
200012,
200015
],
"endTid": 118,
"storyEnd": 209,
"reward": [],
"nextTid": 100209,
"CD": 0
},
{
"id": 2013,
"objType": 1,
"location": "middle",
"point": "model_02",
"storyBegin": 213,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"modelaction": "",
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [
200013,
200015
],
"endTid": 152,
"storyEnd": 210,
"reward": [],
"nextTid": 100210,
"CD": 0
},
{
"id": 2014,
"objType": 1,
"location": "middle",
"point": "model_02",
"storyBegin": 214,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
true
],
"modelaction": "",
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [
200014,
200015
],
"endTid": 146,
"storyEnd": 211,
"reward": [],
"nextTid": 100211,
"CD": 0
},
{
"id": 2015,
"objType": 1,
"location": "middle",
"point": "model_02",
"storyBegin": 222,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"modelaction": "",
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [
200010
],
"endTid": -1,
"storyEnd": 0,
"reward": [],
"nextTid": 100212,
"CD": 0
},
{
"id": 2016,
"objType": 2,
"location": "left",
"point": "icon_01",
"storyBegin": 223,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"modelaction": "",
"rotation": {
"x": 0,
"y": 0,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [
200011
],
"endTid": 158,
"storyEnd": 0,
"reward": [],
"nextTid": 100213,
"CD": 0
},
{
"id": 2017,
"objType": 2,
"location": "left",
"point": "icon_01",
"storyBegin": 224,
"Entity": [
"Earth"
],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [
false
],
"modelaction": "",
"rotation": {
"x": 0,
"y": 0,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [],
"endTid": -1,
"storyEnd": 0,
"reward": [],
"nextTid": 100214,
"CD": 0
},
{
"id": 2018,
"objType": 1,
"location": "middle",
"point": "model_02",
"storyBegin": 225,
"Entity": [ "Entity": [
"Earth" "Earth"
], ],
@ -597,20 +898,20 @@
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 0,
"timeline": "", "timeline": "",
"chooseId": [], "chooseId": [],
"endTid": -1, "endTid": -1,
"storyEnd": 0, "storyEnd": 0,
"reward": [], "reward": [],
"nextTid": 0, "nextTid": 100215,
"CD": 0 "CD": 0
}, },
{ {
"id": 2010, "id": 2019,
"objType": 2, "objType": 1,
"location": "right", "location": "middle",
"point": "icon_05", "point": "model_02",
"storyBegin": 215,
"Entity": [ "Entity": [
"Earth" "Earth"
], ],
@ -624,22 +925,93 @@
"modelaction": "", "modelaction": "",
"rotation": { "rotation": {
"x": 0, "x": 0,
"y": 0, "y": -180,
"z": 0 "z": 0
}, },
"modelstate": 0, "modelstate": 0,
"popup": "", "popup": "",
"special": "", "special": "",
"boxreplace": "", "boxreplace": "",
"storyBegin": 0,
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
20007 200012,
200015
], ],
"endTid": -1, "endTid": 118,
"storyEnd": 0, "storyEnd": 0,
"reward": [], "reward": [],
"nextTid": 100206, "nextTid": 100215,
"CD": 0
},
{
"id": 2020,
"objType": 1,
"location": "middle",
"point": "model_02",
"storyBegin": 216,
"Entity": [
"Earth"
],
"EntityChange": [
"globe"
],
"EntityStateChange": [],
"EntityInteractive": [
true
],
"modelaction": "",
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [
200016,
200015
],
"endTid": 106,
"storyEnd": 0,
"reward": [],
"nextTid": 100215,
"CD": 0
},
{
"id": 2021,
"objType": 1,
"location": "middle",
"point": "model_02",
"storyBegin": 226,
"Entity": [
"Earth"
],
"EntityChange": [
"globe"
],
"EntityStateChange": [],
"EntityInteractive": [
true
],
"modelaction": "",
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"boxreplace": "",
"timeline": "",
"chooseId": [],
"endTid": 161,
"storyEnd": 0,
"reward": [],
"nextTid": 100215,
"CD": 0 "CD": 0
} }
] ]

View File

@ -12,7 +12,6 @@ import (
"os/exec" "os/exec"
"path/filepath" "path/filepath"
"runtime" "runtime"
"time"
"fyne.io/fyne/v2" "fyne.io/fyne/v2"
"fyne.io/fyne/v2/container" "fyne.io/fyne/v2/container"
@ -60,7 +59,8 @@ func (this *appGen) LazyInit(obs observer.Observer) error {
// client // client
client := widget.NewEntry() client := widget.NewEntry()
client.PlaceHolder = `配置Luban Client.exe路径 例如: Luban.Client\Luban.Client.exe` client.Text = `Luban.Client\Luban.Client.exe`
client.PlaceHolder = `配置Luban Client.exe路径`
//define //define
define := widget.NewEntry() define := widget.NewEntry()
@ -172,8 +172,11 @@ func (this *appGen) LazyInit(obs observer.Observer) error {
this.goChkList = this.goList.createList() this.goChkList = this.goList.createList()
// 覆盖 -go // 覆盖 -go
go_overrideBtn := &widget.Button{Text: "覆盖Go", Icon: theme.ConfirmIcon()} go_allSelBtn := &widget.Button{Icon: theme.CheckButtonCheckedIcon()}
go_allCancelBtn := &widget.Button{Icon: theme.CheckButtonIcon()}
go_overrideBtn := &widget.Button{Text: "覆盖", Icon: theme.ConfirmIcon()}
go_overrideBtn.Hide() go_overrideBtn.Hide()
go_allSelBtn.Hide()
go_overrideBtn.OnTapped = func() { go_overrideBtn.OnTapped = func() {
go_overrideBtn.Disable() go_overrideBtn.Disable()
defer func() { defer func() {
@ -198,8 +201,11 @@ func (this *appGen) LazyInit(obs observer.Observer) error {
this.jsonChkList = this.jsonList.createList() this.jsonChkList = this.jsonList.createList()
// 覆盖 -go // 覆盖 -go
json_overrideBtn := &widget.Button{Text: "覆盖Json", Icon: theme.ConfirmIcon()} json_allSelBtn := &widget.Button{Icon: theme.CheckButtonCheckedIcon()}
json_allCancelBtn := &widget.Button{Icon: theme.CheckButtonIcon()}
json_overrideBtn := &widget.Button{Text: "覆盖", Icon: theme.ConfirmIcon()}
json_overrideBtn.Hide() json_overrideBtn.Hide()
json_allSelBtn.Hide()
json_overrideBtn.OnTapped = func() { json_overrideBtn.OnTapped = func() {
json_overrideBtn.Disable() json_overrideBtn.Disable()
defer func() { defer func() {
@ -255,12 +261,12 @@ func (this *appGen) LazyInit(obs observer.Observer) error {
// 更新列表 // 更新列表
if genTypeText == "go" { if genTypeText == "go" {
this.goList.changeItem(filepath.Join(tmpDir.Text, "go")) this.goList.changeItem(filepath.Join(tmpDir.Text, "go"), filepath.Join(projectDir.Text, outputCodeDir.Text))
this.goList.titleLabel.SetText(fmt.Sprintf("(%d/%d个)", len(this.goList.selItemIds), this.goList.fileTotal)) this.goList.titleLabel.SetText(fmt.Sprintf("(%d/%d个)", len(this.goList.selItemIds), this.goList.fileTotal))
go_overrideBtn.Show() go_overrideBtn.Show()
this.goList.titleLabel.Show() this.goList.titleLabel.Show()
} else if genTypeText == "json" { } else if genTypeText == "json" {
this.jsonList.changeItem(filepath.Join(tmpDir.Text, "json")) this.jsonList.changeItem(filepath.Join(tmpDir.Text, "json"), filepath.Join(projectDir.Text, outputJsonDir.Text))
this.jsonList.titleLabel.SetText(fmt.Sprintf("(%d/%d)", len(this.jsonList.selItemIds), this.jsonList.fileTotal)) this.jsonList.titleLabel.SetText(fmt.Sprintf("(%d/%d)", len(this.jsonList.selItemIds), this.jsonList.fileTotal))
json_overrideBtn.Show() json_overrideBtn.Show()
this.jsonList.titleLabel.Show() this.jsonList.titleLabel.Show()
@ -269,14 +275,17 @@ func (this *appGen) LazyInit(obs observer.Observer) error {
// layout // layout
left := container.NewVBox(form, container.NewHBox(&layout.Spacer{}, saveBtn, genBtn)) left := container.NewVBox(form, container.NewHBox(&layout.Spacer{}, saveBtn, genBtn))
right := container.NewBorder( right := container.NewGridWithColumns(2,
container.NewHBox(widget.NewLabel("Go文件"), this.goList.titleLabel, &layout.Spacer{}, widget.NewLabel("Json文件"), this.jsonList.titleLabel), container.NewBorder(
container.NewHBox(go_overrideBtn, &layout.Spacer{}, json_overrideBtn), nil, nil, container.NewHBox(go_allCancelBtn, go_overrideBtn, widget.NewLabel("Go文件"), this.goList.titleLabel),
container.NewMax( nil, nil, nil,
container.NewGridWithColumns(2, container.NewMax(container.NewVScroll(this.goChkList))),
container.NewVScroll(this.goChkList), container.NewBorder(
container.NewVScroll(this.jsonChkList), container.NewHBox(json_allCancelBtn, json_overrideBtn, widget.NewLabel("Json文件"), this.jsonList.titleLabel),
))) nil, nil, nil,
container.NewMax(container.NewVScroll(this.jsonChkList)),
),
)
content.Objects = append(content.Objects, container.NewGridWithColumns(2, left, right)) content.Objects = append(content.Objects, container.NewGridWithColumns(2, left, right))
@ -299,6 +308,24 @@ func NewFileList() *fileList {
} }
} }
func (f *fileList) cretaeHeader() *widget.List {
// header
return widget.NewList(
func() int {
return 1
},
func() fyne.CanvasObject {
return container.NewGridWithColumns(3,
widget.NewLabelWithStyle("", fyne.TextAlignLeading, fyne.TextStyle{}),
widget.NewLabelWithStyle("", fyne.TextAlignCenter, fyne.TextStyle{}))
},
func(id widget.ListItemID, item fyne.CanvasObject) {
item.(*fyne.Container).Objects[0].(*widget.Label).SetText(common.APP_MONITOR_TITLE_ID)
item.(*fyne.Container).Objects[1].(*widget.Label).SetText(common.APP_MONITOR_TITLE_DATA)
},
)
}
func (f *fileList) createList() *widget.List { func (f *fileList) createList() *widget.List {
return widget.NewListWithData(f.dataBinding, return widget.NewListWithData(f.dataBinding,
func() fyne.CanvasObject { func() fyne.CanvasObject {
@ -325,19 +352,36 @@ func (f *fileList) createList() *widget.List {
) )
} }
func (f *fileList) changeItem(dir string) { func (f *fileList) changeItem(tmpDir, projectDir string) {
f.fileTotal = 0
f.selItemIds = []string{}
f.itemListData = model.NewItemModelList() f.itemListData = model.NewItemModelList()
files, err := ioutil.ReadDir(dir) tmpFiles, err := ioutil.ReadDir(tmpDir)
if err != nil { if err != nil {
logrus.Error(err) logrus.Error(err)
return return
} }
now := time.Now().Unix() projectFiles, err := ioutil.ReadDir(projectDir)
for _, file := range files { if err != nil {
logrus.Error(err)
return
}
pfMap := make(map[string]int64)
for _, v := range projectFiles {
if !v.IsDir() {
pfMap[v.Name()] = v.ModTime().Unix()
}
}
for _, file := range tmpFiles {
if !file.IsDir() { if !file.IsDir() {
// 仅筛选出变更的文件 if pfTime, ok := pfMap[file.Name()]; ok {
if now-file.ModTime().Unix() < 5 { if file.ModTime().Unix() <= pfTime {
continue
}
}
fm := &model.ItemModel{ fm := &model.ItemModel{
Id: file.Name(), Id: file.Name(),
Label: file.Name(), Label: file.Name(),
@ -347,8 +391,6 @@ func (f *fileList) changeItem(dir string) {
f.fileTotal++ f.fileTotal++
logrus.Debugf("%v", fm.Id) logrus.Debugf("%v", fm.Id)
} }
}
} }
f.reloadListData() f.reloadListData()

View File

@ -16,6 +16,7 @@ type GameRdtaskSideData struct {
ObjType int32 ObjType int32
Location string Location string
Point string Point string
StoryBegin int32
Entity []string Entity []string
EntityChange []string EntityChange []string
EntityStateChange []string EntityStateChange []string
@ -26,7 +27,6 @@ type GameRdtaskSideData struct {
Popup string Popup string
Special string Special string
Boxreplace string Boxreplace string
StoryBegin int32
Timeline string Timeline string
ChooseId []int32 ChooseId []int32
EndTid int32 EndTid int32
@ -47,6 +47,7 @@ func (_v *GameRdtaskSideData)Deserialize(_buf map[string]interface{}) (err error
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["objType"].(float64); !_ok_ { err = errors.New("objType error"); return }; _v.ObjType = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["objType"].(float64); !_ok_ { err = errors.New("objType error"); return }; _v.ObjType = int32(_tempNum_) }
{ var _ok_ bool; if _v.Location, _ok_ = _buf["location"].(string); !_ok_ { err = errors.New("location error"); return } } { var _ok_ bool; if _v.Location, _ok_ = _buf["location"].(string); !_ok_ { err = errors.New("location error"); return } }
{ var _ok_ bool; if _v.Point, _ok_ = _buf["point"].(string); !_ok_ { err = errors.New("point error"); return } } { var _ok_ bool; if _v.Point, _ok_ = _buf["point"].(string); !_ok_ { err = errors.New("point error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["storyBegin"].(float64); !_ok_ { err = errors.New("storyBegin error"); return }; _v.StoryBegin = int32(_tempNum_) }
{ {
var _arr_ []interface{} var _arr_ []interface{}
var _ok_ bool var _ok_ bool
@ -116,7 +117,6 @@ func (_v *GameRdtaskSideData)Deserialize(_buf map[string]interface{}) (err error
{ var _ok_ bool; if _v.Popup, _ok_ = _buf["popup"].(string); !_ok_ { err = errors.New("popup error"); return } } { var _ok_ bool; if _v.Popup, _ok_ = _buf["popup"].(string); !_ok_ { err = errors.New("popup error"); return } }
{ var _ok_ bool; if _v.Special, _ok_ = _buf["special"].(string); !_ok_ { err = errors.New("special error"); return } } { var _ok_ bool; if _v.Special, _ok_ = _buf["special"].(string); !_ok_ { err = errors.New("special error"); return } }
{ var _ok_ bool; if _v.Boxreplace, _ok_ = _buf["boxreplace"].(string); !_ok_ { err = errors.New("boxreplace error"); return } } { var _ok_ bool; if _v.Boxreplace, _ok_ = _buf["boxreplace"].(string); !_ok_ { err = errors.New("boxreplace error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["storyBegin"].(float64); !_ok_ { err = errors.New("storyBegin error"); return }; _v.StoryBegin = int32(_tempNum_) }
{ var _ok_ bool; if _v.Timeline, _ok_ = _buf["timeline"].(string); !_ok_ { err = errors.New("timeline error"); return } } { var _ok_ bool; if _v.Timeline, _ok_ = _buf["timeline"].(string); !_ok_ { err = errors.New("timeline error"); return } }
{ {
var _arr_ []interface{} var _arr_ []interface{}

View File

@ -14,11 +14,6 @@ type GameRdtaskChooseData struct {
Id int32 Id int32
Num int32 Num int32
PreTid int32 PreTid int32
Entity []string
EntityChange []string
EntityStateChange []string
EntityInteractive []bool
GotoLevel int32
NeedItem []int32 NeedItem []int32
NextTid int32 NextTid int32
} }
@ -33,63 +28,6 @@ func (_v *GameRdtaskChooseData)Deserialize(_buf map[string]interface{}) (err err
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["num"].(float64); !_ok_ { err = errors.New("num error"); return }; _v.Num = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["num"].(float64); !_ok_ { err = errors.New("num error"); return }; _v.Num = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["preTid"].(float64); !_ok_ { err = errors.New("preTid error"); return }; _v.PreTid = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["preTid"].(float64); !_ok_ { err = errors.New("preTid error"); return }; _v.PreTid = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["Entity"].([]interface{}); !_ok_ { err = errors.New("Entity error"); return }
_v.Entity = make([]string, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ string
{ if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } }
_v.Entity = append(_v.Entity, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["EntityChange"].([]interface{}); !_ok_ { err = errors.New("EntityChange error"); return }
_v.EntityChange = make([]string, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ string
{ if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } }
_v.EntityChange = append(_v.EntityChange, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["EntityStateChange"].([]interface{}); !_ok_ { err = errors.New("EntityStateChange error"); return }
_v.EntityStateChange = make([]string, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ string
{ if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } }
_v.EntityStateChange = append(_v.EntityStateChange, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["EntityInteractive"].([]interface{}); !_ok_ { err = errors.New("EntityInteractive error"); return }
_v.EntityInteractive = make([]bool, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ bool
{ var _ok_ bool; if _list_v_, _ok_ = _e_.(bool); !_ok_ { err = errors.New("_list_v_ error"); return } }
_v.EntityInteractive = append(_v.EntityInteractive, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["gotoLevel"].(float64); !_ok_ { err = errors.New("gotoLevel error"); return }; _v.GotoLevel = int32(_tempNum_) }
{ {
var _arr_ []interface{} var _arr_ []interface{}
var _ok_ bool var _ok_ bool