更新配置

This commit is contained in:
wh_zcy 2022-09-20 14:40:37 +08:00
parent 4f64071522
commit 83e99309c3
7 changed files with 379 additions and 5 deletions

View File

@ -5,7 +5,7 @@
"type": 2, "type": 2,
"preTid": 0, "preTid": 0,
"condition": [ "condition": [
101 103
], ],
"sidequest": [ "sidequest": [
1001, 1001,
@ -72,5 +72,93 @@
"sidequest": [ "sidequest": [
1008 1008
] ]
},
{
"id": 100201,
"group": 2,
"type": 2,
"preTid": 0,
"condition": [
101
],
"sidequest": [
2001
]
},
{
"id": 100202,
"group": 2,
"type": 2,
"preTid": 100201,
"condition": [
101
],
"sidequest": [
2002,
2004
]
},
{
"id": 100203,
"group": 2,
"type": 2,
"preTid": 100201,
"condition": [
101,
107
],
"sidequest": [
2002,
2003
]
},
{
"id": 100204,
"group": 2,
"type": 2,
"preTid": 100201,
"condition": [
101
],
"sidequest": [
2005
]
},
{
"id": 100205,
"group": 2,
"type": 2,
"preTid": 100204,
"condition": [
101
],
"sidequest": [
2007,
2006
]
},
{
"id": 100206,
"group": 2,
"type": 2,
"preTid": 100205,
"condition": [
101
],
"sidequest": [
2008
]
},
{
"id": 100207,
"group": 2,
"type": 2,
"preTid": 100206,
"condition": [
101
],
"sidequest": [
2009
]
} }
] ]

View File

@ -118,5 +118,65 @@
0 0
], ],
"nextTid": 0 "nextTid": 0
},
{
"id": 20001,
"num": 1,
"preTid": 0,
"gotoLevel": 0,
"needItem": [
0
],
"nextTid": 100203
},
{
"id": 20002,
"num": 2,
"preTid": 0,
"gotoLevel": 0,
"needItem": [
0
],
"nextTid": 100202
},
{
"id": 20003,
"num": 1,
"preTid": 0,
"gotoLevel": 0,
"needItem": [
0
],
"nextTid": 100204
},
{
"id": 20004,
"num": 1,
"preTid": 0,
"gotoLevel": 101,
"needItem": [
0
],
"nextTid": 100205
},
{
"id": 20005,
"num": 1,
"preTid": 0,
"gotoLevel": 0,
"needItem": [
0
],
"nextTid": 100206
},
{
"id": 20006,
"num": 1,
"preTid": 0,
"gotoLevel": 0,
"needItem": [
0
],
"nextTid": 100207
} }
] ]

View File

@ -693,7 +693,7 @@
"id": 170, "id": 170,
"datatype": 2, "datatype": 2,
"type": 1, "type": 1,
"data1": 12003, "data1": 25004,
"data2": 0, "data2": 0,
"data3": 0, "data3": 0,
"data4": 0, "data4": 0,

View File

@ -51,7 +51,7 @@
} }
], ],
"CD": 0, "CD": 0,
"endTid": 101 "endTid": -1
}, },
{ {
"id": 1002, "id": 1002,
@ -71,7 +71,7 @@
"nextTid": -1, "nextTid": -1,
"reward": [], "reward": [],
"CD": 0, "CD": 0,
"endTid": 104 "endTid": -1
}, },
{ {
"id": 1003, "id": 1003,
@ -206,5 +206,228 @@
"reward": [], "reward": [],
"CD": 0, "CD": 0,
"endTid": -1 "endTid": -1
},
{
"id": 2001,
"objType": 1,
"location": "middle",
"modelaction": "",
"modelstate": 0,
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"point": "model_02",
"storyBegin": 201,
"chooseId": [
20001,
20002
],
"storyEnd": 0,
"nextTid": 100202,
"reward": [],
"CD": 0,
"endTid": -1
},
{
"id": 2002,
"objType": 1,
"location": "middle",
"modelaction": "",
"modelstate": 0,
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"point": "model_02",
"storyBegin": 202,
"chooseId": [
20003
],
"storyEnd": 0,
"nextTid": 0,
"reward": [
{
"ChooseId": 20001,
"Reward": [
{
"a": "hero",
"t": "25001",
"n": 1
}
]
},
{
"ChooseId": 20002,
"Reward": [
{
"a": "hero",
"t": "25004",
"n": 1
}
]
}
],
"CD": 0,
"endTid": -1
},
{
"id": 2003,
"objType": 1,
"location": "middle",
"modelaction": "Enter",
"modelstate": 0,
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"point": "model_03",
"storyBegin": 203,
"chooseId": [],
"storyEnd": 0,
"nextTid": -1,
"reward": [],
"CD": 0,
"endTid": -1
},
{
"id": 2004,
"objType": 1,
"location": "middle",
"modelaction": "Enter",
"modelstate": 0,
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"point": "model_03",
"storyBegin": 203,
"chooseId": [],
"storyEnd": 0,
"nextTid": -1,
"reward": [],
"CD": 0,
"endTid": -1
},
{
"id": 2005,
"objType": 2,
"location": "right",
"modelaction": "",
"modelstate": 0,
"rotation": {
"x": 0,
"y": 0,
"z": 0
},
"point": "icon_05",
"storyBegin": 204,
"chooseId": [
20004
],
"storyEnd": 0,
"nextTid": 100205,
"reward": [
{
"ChooseId": 2004,
"Reward": [
{
"a": "hero",
"t": "44005",
"n": 1
}
]
}
],
"CD": 0,
"endTid": -1
},
{
"id": 2006,
"objType": 1,
"location": "middle",
"modelaction": "Enter",
"modelstate": 0,
"rotation": {
"x": 0,
"y": 90,
"z": 0
},
"point": "model_02",
"storyBegin": 205,
"chooseId": [],
"storyEnd": 0,
"nextTid": -1,
"reward": [],
"CD": 0,
"endTid": -1
},
{
"id": 2007,
"objType": 1,
"location": "middle",
"modelaction": "Enter",
"modelstate": 0,
"rotation": {
"x": 0,
"y": -90,
"z": 0
},
"point": "model_03",
"storyBegin": 206,
"chooseId": [
20005
],
"storyEnd": 0,
"nextTid": 100206,
"reward": [],
"CD": 0,
"endTid": -1
},
{
"id": 2008,
"objType": 2,
"location": "left",
"modelaction": "",
"modelstate": 0,
"rotation": {
"x": 0,
"y": 0,
"z": 0
},
"point": "icon_01",
"storyBegin": 207,
"chooseId": [
20006
],
"storyEnd": 208,
"nextTid": 100207,
"reward": [],
"CD": 0,
"endTid": -1
},
{
"id": 2009,
"objType": 1,
"location": "middle",
"modelaction": "",
"modelstate": 0,
"rotation": {
"x": 0,
"y": -180,
"z": 0
},
"point": "model_02",
"storyBegin": 207,
"chooseId": [],
"storyEnd": 207,
"nextTid": 0,
"reward": [],
"CD": 0,
"endTid": -1
} }
] ]

View File

@ -1,7 +1,7 @@
Website = "http://legu.cc" Website = "http://legu.cc"
[Details] [Details]
Icon = "Icon.png" Icon = "app.png"
Name = "RobotGUI" Name = "RobotGUI"
ID = "cc.legu.app" ID = "cc.legu.app"
Version = "1.0.5" Version = "1.0.5"

BIN
cmd/v2/app.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -93,6 +93,9 @@ func main() {
w.SetFixedSize(true) w.SetFixedSize(true)
w.Resize(fyne.NewSize(400, 200)) w.Resize(fyne.NewSize(400, 200))
w.CenterOnScreen() w.CenterOnScreen()
w.SetCloseIntercept(func() {
app.Quit()
})
logrus.WithField("version", app.Metadata().Version).Info("app starting") logrus.WithField("version", app.Metadata().Version).Info("app starting")
w.Show() w.Show()
appUI.Run() appUI.Run()