Keplerth

Keplerth

Not enough ratings
Improvements to configuring the ConfigXXX.json file.
By Elliott
Improvements to configuring the ConfigXXX.json file.

1. You can only modify the data that needs to be modified. Other data does not need to be filled out.
If you only want to change the maximum stack size of Apple, you can write the data as:

"1":
{
"maxCount": 999,
},

2. You can set which ID to use as the base data in the configuration ("BaseDataID": X)
If you want to make a new item that is the same as Apple but has a maximum stack number, you can write the data as

"Your Item ID":
{
"BaseDataID": 1,
"maxCount": 999,
},


Data with Id 1 in ConfigItem.json (Apple)
Data are as follows:

"1":
{
"name": "ItemName1",
"type": 1,
"itemType": 2,
"maxCount": 99,
"price": 4,
"attTree": 1,
"attWall": 1,
"attBuild": 1,
"durability": 0,
"burnTime": 0,
"dropTexture": "Icon/tree-fruits-icon",
"placenmentId": 0,
"bbqResult": [0],
"smeltResult": [0],
"smeltConsume": 1,
"description": "ItemDes1",
"functionDes": "ItemFunctionDes1",
"usesInfo": [7],
"mouseLeft": "0",
"mouseRight": "MouseRightClickInfo1",
"keyboard": "0",
"keyboardInfo": "0"
},
   
Award
Favorite
Favorited
Unfavorite