소스 검색

更新游戏物品JSON配置:新增物品属性和配置

Your Name 8 달 전
부모
커밋
24e21cb360
3개의 변경된 파일429개의 추가작업 그리고 52개의 파일을 삭제
  1. 1 50
      public/json/chest.json
  2. 81 0
      public/json/chest_pretty.json
  3. 347 2
      public/json/items.json

+ 1 - 50
public/json/chest.json

@@ -1,50 +1 @@
-{
-    "generated_at": "2025-05-09 04:40:18",
-    "chest": [
-        {
-            "id": 27,
-            "chest_contents": [
-                {
-                    "id": 2,
-                    "chest_id": 27,
-                    "item_id": 2,
-                    "group_id": null,
-                    "min_quantity": 1,
-                    "max_quantity": 3,
-                    "weight": 50,
-                    "allow_duplicate": false,
-                    "pity_count": 0,
-                    "pity_weight_factor": 0,
-                    "created_at": "2025-04-30T01:38:10.000000Z",
-                    "updated_at": "2025-04-30T01:38:10.000000Z"
-                },
-                {
-                    "id": 3,
-                    "chest_id": 27,
-                    "item_id": 2,
-                    "group_id": null,
-                    "min_quantity": 1,
-                    "max_quantity": 3,
-                    "weight": 50,
-                    "allow_duplicate": false,
-                    "pity_count": 0,
-                    "pity_weight_factor": 0,
-                    "created_at": "2025-04-30T01:46:04.000000Z",
-                    "updated_at": "2025-04-30T01:46:04.000000Z"
-                }
-            ]
-        },
-        {
-            "id": 28,
-            "chest_contents": []
-        },
-        {
-            "id": 29,
-            "chest_contents": []
-        },
-        {
-            "id": 30,
-            "chest_contents": []
-        }
-    ]
-}
+{"generated_at":"2025-05-12 02:49:55","chests":[{"id":27,"name":"铜宝箱","min_drop_count":0,"max_drop_count":4,"contents":[{"id":2,"weight":50,"min_quantity":1,"max_quantity":3,"item_id":2,"item_name":"萝卜","type":"item"},{"id":3,"weight":50,"min_quantity":1,"max_quantity":3,"item_id":2,"item_name":"萝卜","type":"item"}],"costs":[]},{"id":28,"name":"银宝箱","min_drop_count":0,"max_drop_count":4,"contents":[],"costs":[]},{"id":29,"name":"金宝箱","min_drop_count":0,"max_drop_count":4,"contents":[],"costs":[]},{"id":30,"name":"钻石宝箱","min_drop_count":0,"max_drop_count":4,"contents":[],"costs":[]},{"id":32,"name":"神奇宝箱","min_drop_count":0,"max_drop_count":4,"contents":[{"id":5,"weight":10,"min_quantity":1,"max_quantity":2,"item_id":2,"item_name":"萝卜","type":"item"}],"costs":[{"cost_type":1,"cost_id":31,"cost_quantity":1,"item_name":"钥匙"}]}]}

+ 81 - 0
public/json/chest_pretty.json

@@ -0,0 +1,81 @@
+{
+    "generated_at": "2025-05-12 02:49:55",
+    "chests": [
+        {
+            "id": 27,
+            "name": "铜宝箱",
+            "min_drop_count": 0,
+            "max_drop_count": 4,
+            "contents": [
+                {
+                    "id": 2,
+                    "weight": 50,
+                    "min_quantity": 1,
+                    "max_quantity": 3,
+                    "item_id": 2,
+                    "item_name": "萝卜",
+                    "type": "item"
+                },
+                {
+                    "id": 3,
+                    "weight": 50,
+                    "min_quantity": 1,
+                    "max_quantity": 3,
+                    "item_id": 2,
+                    "item_name": "萝卜",
+                    "type": "item"
+                }
+            ],
+            "costs": []
+        },
+        {
+            "id": 28,
+            "name": "银宝箱",
+            "min_drop_count": 0,
+            "max_drop_count": 4,
+            "contents": [],
+            "costs": []
+        },
+        {
+            "id": 29,
+            "name": "金宝箱",
+            "min_drop_count": 0,
+            "max_drop_count": 4,
+            "contents": [],
+            "costs": []
+        },
+        {
+            "id": 30,
+            "name": "钻石宝箱",
+            "min_drop_count": 0,
+            "max_drop_count": 4,
+            "contents": [],
+            "costs": []
+        },
+        {
+            "id": 32,
+            "name": "神奇宝箱",
+            "min_drop_count": 0,
+            "max_drop_count": 4,
+            "contents": [
+                {
+                    "id": 5,
+                    "weight": 10,
+                    "min_quantity": 1,
+                    "max_quantity": 2,
+                    "item_id": 2,
+                    "item_name": "萝卜",
+                    "type": "item"
+                }
+            ],
+            "costs": [
+                {
+                    "cost_type": 1,
+                    "cost_id": 31,
+                    "cost_quantity": 1,
+                    "item_name": "钥匙"
+                }
+            ]
+        }
+    ]
+}

+ 347 - 2
public/json/items.json

@@ -1,5 +1,5 @@
 {
-    "generated_at": "2025-05-09 04:40:11",
+    "generated_at": "2025-05-12 02:49:54",
     "items": [
         {
             "id": 1,
@@ -8,6 +8,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": "icon\/item\/4_7_png"
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -17,6 +27,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -26,6 +46,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -35,6 +65,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -44,6 +84,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -53,6 +103,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -62,6 +122,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -71,6 +141,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -80,6 +160,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -89,6 +179,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -98,6 +198,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -107,6 +217,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -116,6 +236,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -125,6 +255,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -134,6 +274,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -143,6 +293,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -152,6 +312,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -161,6 +331,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -170,6 +350,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": "2"
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -179,6 +369,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": "2"
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -188,6 +388,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": "2"
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -197,6 +407,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": " "
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -206,6 +426,16 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": "icon\/item\/4_7_png"
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0.1,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": " "
             }
         },
         {
@@ -215,6 +445,17 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": "11"
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 1,
+                "fint": 0,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": "0",
+                "intd": 0
             }
         },
         {
@@ -224,6 +465,17 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": ""
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": "0",
+                "intd": 0
             }
         },
         {
@@ -233,6 +485,17 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": ""
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": "0",
+                "intd": 0
             }
         },
         {
@@ -242,6 +505,17 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": ""
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 4,
+                "fint": 0,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": "0",
+                "intd": 0
             }
         },
         {
@@ -251,6 +525,17 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": ""
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 4,
+                "fint": 0,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": "0",
+                "intd": 0
             }
         },
         {
@@ -260,6 +545,17 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": ""
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 4,
+                "fint": 0,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": "0",
+                "intd": 0
             }
         },
         {
@@ -269,7 +565,56 @@
             "sell_price": 0,
             "display_attributes": {
                 "img": ""
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 4,
+                "fint": 0,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": "0",
+                "intd": 0
+            }
+        },
+        {
+            "id": 31,
+            "name": "钥匙",
+            "description": "钥匙",
+            "sell_price": 0,
+            "display_attributes": {
+                "img": "0"
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 0,
+                "fint": 0,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": "0"
+            }
+        },
+        {
+            "id": 32,
+            "name": "神奇宝箱",
+            "description": "神奇宝箱",
+            "sell_price": 0,
+            "display_attributes": {
+                "img": "0"
+            },
+            "numeric_attributes": {
+                "min_drop_count": 0,
+                "max_drop_count": 4,
+                "fint": 0,
+                "crop_growth_time": 0,
+                "pet_power": 0,
+                "reward_group_id": 0,
+                "pet_exp": 0,
+                "stval": "0"
             }
         }
     ]
-}
+}