Init
This commit is contained in:
17
data/config/crafting_recipes.json
Normal file
17
data/config/crafting_recipes.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"recipes": [
|
||||
{
|
||||
"id": "iron_ingot_smelting",
|
||||
"outputItem": "iron_ingot",
|
||||
"outputQuantity": 1,
|
||||
"craftingMethod": "冶炼",
|
||||
"craftingTime": 1.0,
|
||||
"ingredients": [
|
||||
{
|
||||
"itemId": "iron_ore",
|
||||
"quantity": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
20
data/config/inventory_categories.json
Normal file
20
data/config/inventory_categories.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"categories": [
|
||||
{
|
||||
"categoryName": "原材料",
|
||||
"items": [
|
||||
"iron_ore",
|
||||
"copper_ore",
|
||||
"coal_ore",
|
||||
"water"
|
||||
]
|
||||
},
|
||||
{
|
||||
"categoryName": "炼制成品",
|
||||
"items": [
|
||||
"iron_ingot",
|
||||
"copper_ingot"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
13
data/config/items.csv
Normal file
13
data/config/items.csv
Normal file
@ -0,0 +1,13 @@
|
||||
Id,Name,Category,Description,Recipe,CraftTime,PowerConsumption,IconPath
|
||||
iron_ore,铁矿,RawMaterial,基础原材料,可用于冶炼铁块,null,0,0,res://assets/textures/items/iron_ore.png
|
||||
copper_ore,铜矿,RawMaterial,基础原材料,可用于冶炼铜块,null,0,0,res://assets/textures/items/copper_ore.png
|
||||
stone_ore,石矿,RawMaterial,基础建筑材料,可用于建造建筑,null,0,0,res://assets/textures/items/stone_ore.png
|
||||
coal_ore,煤矿,RawMaterial,重要的能源资源,可用于发电,null,0,0,res://assets/textures/items/coal_ore.png
|
||||
water,水,RawMaterial,基础资源,可用于多种生产,null,0,0,res://assets/textures/items/water.png
|
||||
crude_oil,原油,RawMaterial,重要的能源资源,可用于生产燃料,null,0,0,res://assets/textures/items/crude_oil.png
|
||||
iron_ingot,铁块,ProcessedMaterial,由铁矿冶炼而成的基础材料,iron_ore:1,1.0,60.0,res://assets/textures/items/iron_ingot.png
|
||||
copper_ingot,铜块,ProcessedMaterial,由铜矿冶炼而成的基础材料,copper_ore:1,1.0,60.0,res://assets/textures/items/copper_ingot.png
|
||||
smelter,冶炼厂,Building,用于冶炼矿石的基础建筑,iron_ingot:4;copper_ingot:2,3.0,360.0,res://assets/textures/buildings/smelter.png
|
||||
miner,采矿机,Building,自动采集矿石的基础建筑,iron_ingot:3;copper_ingot:1,2.0,420.0,res://assets/textures/buildings/miner.png
|
||||
assembler,组装机,ProductionDevice,高级生产设备,可制造复杂物品,iron_ingot:6;copper_ingot:4,5.0,480.0,res://assets/textures/buildings/assembler.png
|
||||
chemical_plant,化工厂,ProductionDevice,专业化工生产设备,可处理液体,iron_ingot:8;copper_ingot:6,6.0,600.0,res://assets/textures/buildings/chemical_plant.png
|
||||
|
10
data/config/items.csv.import
Normal file
10
data/config/items.csv.import
Normal file
@ -0,0 +1,10 @@
|
||||
[remap]
|
||||
|
||||
importer="keep"
|
||||
type=""
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://data/config/items.csv"
|
||||
|
||||
[params]
|
||||
50
data/config/resource_categories.json
Normal file
50
data/config/resource_categories.json
Normal file
@ -0,0 +1,50 @@
|
||||
[
|
||||
{
|
||||
"categoryName": "手动采集",
|
||||
"itemIds": [
|
||||
"iron_ore",
|
||||
"copper_ore",
|
||||
"coal_ore",
|
||||
"stone_ore",
|
||||
"water",
|
||||
"crude_oil"
|
||||
]
|
||||
},
|
||||
{
|
||||
"categoryName": "基础资源",
|
||||
"itemIds": [
|
||||
"iron_ore",
|
||||
"copper_ore",
|
||||
"stone_ore",
|
||||
"coal_ore"
|
||||
]
|
||||
},
|
||||
{
|
||||
"categoryName": "液体资源",
|
||||
"itemIds": [
|
||||
"water",
|
||||
"crude_oil"
|
||||
]
|
||||
},
|
||||
{
|
||||
"categoryName": "冶炼",
|
||||
"itemIds": [
|
||||
"iron_ingot",
|
||||
"copper_ingot"
|
||||
]
|
||||
},
|
||||
{
|
||||
"categoryName": "建筑设施",
|
||||
"itemIds": [
|
||||
"smelter",
|
||||
"miner"
|
||||
]
|
||||
},
|
||||
{
|
||||
"categoryName": "生产设备",
|
||||
"itemIds": [
|
||||
"assembler",
|
||||
"chemical_plant"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user