添加基础的生产线内容-不少bug
This commit is contained in:
@ -6,7 +6,9 @@
|
||||
"iron_ore",
|
||||
"copper_ore",
|
||||
"coal_ore",
|
||||
"water"
|
||||
"stone_ore",
|
||||
"water",
|
||||
"crude_oil"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -15,6 +17,17 @@
|
||||
"iron_ingot",
|
||||
"copper_ingot"
|
||||
]
|
||||
},
|
||||
{
|
||||
"categoryName": "建筑设施",
|
||||
"items": [
|
||||
"mining_drill",
|
||||
"furnace",
|
||||
"smelter",
|
||||
"miner",
|
||||
"assembler",
|
||||
"chemical_plant"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -7,6 +7,8 @@ water,水,RawMaterial,基础资源,可用于多种生产,null,0,0,res://assets
|
||||
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
|
||||
mining_drill,钻机,Building,自动采集矿石的钻探设备,iron_ingot:5;copper_ingot:3,4.0,300.0,res://assets/textures/buildings/mining_drill.png
|
||||
furnace,熔炉,Building,自动冶炼矿石的熔炉设备,iron_ingot:4;stone_ore:2,3.5,250.0,res://assets/textures/buildings/furnace.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
|
||||
|
||||
|
152
data/config/production_lines.json
Normal file
152
data/config/production_lines.json
Normal file
@ -0,0 +1,152 @@
|
||||
{
|
||||
"ProductionLines": [
|
||||
{
|
||||
"id": "iron_ore_extraction",
|
||||
"name": "铁矿采集",
|
||||
"category": "资源采集",
|
||||
"description": "自动采集铁矿石",
|
||||
"productionTime": 2.0,
|
||||
"powerConsumption": 10,
|
||||
"buildingRequirements": [
|
||||
{
|
||||
"itemId": "mining_drill",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"recipe": {
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"itemId": "iron_ore",
|
||||
"quantity": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "copper_ore_extraction",
|
||||
"name": "铜矿采集",
|
||||
"category": "资源采集",
|
||||
"description": "自动采集铜矿石",
|
||||
"productionTime": 2.0,
|
||||
"powerConsumption": 10,
|
||||
"buildingRequirements": [
|
||||
{
|
||||
"itemId": "mining_drill",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"recipe": {
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"itemId": "copper_ore",
|
||||
"quantity": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "coal_extraction",
|
||||
"name": "煤矿采集",
|
||||
"category": "资源采集",
|
||||
"description": "自动采集煤炭",
|
||||
"productionTime": 1.5,
|
||||
"powerConsumption": 8,
|
||||
"buildingRequirements": [
|
||||
{
|
||||
"itemId": "mining_drill",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"recipe": {
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"itemId": "coal_ore",
|
||||
"quantity": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "stone_extraction",
|
||||
"name": "石矿采集",
|
||||
"category": "资源采集",
|
||||
"description": "自动采集石头",
|
||||
"productionTime": 1.8,
|
||||
"powerConsumption": 8,
|
||||
"buildingRequirements": [
|
||||
{
|
||||
"itemId": "mining_drill",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"recipe": {
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"itemId": "stone_ore",
|
||||
"quantity": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "iron_smelting_auto",
|
||||
"name": "自动冶炼铁块",
|
||||
"category": "冶炼加工",
|
||||
"description": "使用冶炼炉自动生产铁块",
|
||||
"productionTime": 3.2,
|
||||
"powerConsumption": 15,
|
||||
"buildingRequirements": [
|
||||
{
|
||||
"itemId": "furnace",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"recipe": {
|
||||
"inputs": [
|
||||
{
|
||||
"itemId": "iron_ore",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"itemId": "iron_ingot",
|
||||
"quantity": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "copper_smelting_auto",
|
||||
"name": "自动冶炼铜块",
|
||||
"category": "冶炼加工",
|
||||
"description": "使用冶炼炉自动生产铜块",
|
||||
"productionTime": 3.2,
|
||||
"powerConsumption": 15,
|
||||
"buildingRequirements": [
|
||||
{
|
||||
"itemId": "furnace",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"recipe": {
|
||||
"inputs": [
|
||||
{
|
||||
"itemId": "copper_ore",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"itemId": "copper_ingot",
|
||||
"quantity": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -36,13 +36,10 @@
|
||||
{
|
||||
"categoryName": "建筑设施",
|
||||
"itemIds": [
|
||||
"mining_drill",
|
||||
"furnace",
|
||||
"smelter",
|
||||
"miner"
|
||||
]
|
||||
},
|
||||
{
|
||||
"categoryName": "生产设备",
|
||||
"itemIds": [
|
||||
"miner",
|
||||
"assembler",
|
||||
"chemical_plant"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user