mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-24 04:44:40 +01:00
"Autogenerate" data files with data fallbacks and moved keys folder into jar resources (#927)
* Autogenerate keys and data files * Update gacha html files Accidentally pushed with old html files * Keys no longer copied. No more manually retrieving listing files. Recursive directory creation Removed unused code from old GC as well. * Moved somethings and better errors * Fixed resources from loading twice * Data files fallback
This commit is contained in:
54
src/main/resources/defaults/data/Shop.json
Normal file
54
src/main/resources/defaults/data/Shop.json
Normal file
@@ -0,0 +1,54 @@
|
||||
[
|
||||
{
|
||||
"shopId": 1004,
|
||||
"items": [
|
||||
{
|
||||
"goodsId": 1004202,
|
||||
"goodsItem": {
|
||||
"Id": 202,
|
||||
"Count": 1000000
|
||||
},
|
||||
"scoin": 1,
|
||||
"buyLimit": 500,
|
||||
"beginTime": 1575129600,
|
||||
"endTime": 2051193600,
|
||||
"minLevel": 1,
|
||||
"maxLevel": 99,
|
||||
"costItemList": [
|
||||
{
|
||||
"Id": 223,
|
||||
"Count": 100
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"goodsId": 10048006,
|
||||
"goodsItem": {
|
||||
"Id": 108006,
|
||||
"Count": 20
|
||||
},
|
||||
"scoin": 100,
|
||||
"hcoin": 100,
|
||||
"mcoin": 100,
|
||||
"buyLimit": 50000,
|
||||
"beginTime": 1575129600,
|
||||
"endTime": 2051193600,
|
||||
"minLevel": 1,
|
||||
"maxLevel": 99
|
||||
},
|
||||
{
|
||||
"goodsId": 10048033,
|
||||
"goodsItem": {
|
||||
"Id": 108033,
|
||||
"Count": 20
|
||||
},
|
||||
"scoin": 1,
|
||||
"buyLimit": 50000,
|
||||
"beginTime": 1575129600,
|
||||
"endTime": 2051193600,
|
||||
"minLevel": 1,
|
||||
"maxLevel": 99
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user