mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
feat: 新增队列与外交通知组件及新手引导
引入队列通知(QueueNotifications)和外交通知(DiplomaticNotifications)组件,优化主界面队列与外交报告展示,支持一键查看与跳转。重构App.vue,移除原有队列展示,改为弹出式通知,支持功能解锁提示与新手引导(TutorialOverlay)。完善NPC外交事件处理,导弹攻击等行为影响好感度并生成报告。优化部分UI细节与多语言文本,提升交互体验。
This commit is contained in:
@@ -130,6 +130,21 @@ export const BUILDINGS: Record<BuildingType, BuildingConfig> = {
|
||||
12: { [BuildingType.RoboticsFactory]: 8, [BuildingType.ResearchLab]: 8, [BuildingType.NaniteFactory]: 2 }
|
||||
}
|
||||
},
|
||||
[BuildingType.Hangar]: {
|
||||
id: BuildingType.Hangar,
|
||||
name: '机库',
|
||||
description: '专门用于扩展舰队存储容量,支持星球专业化发展',
|
||||
baseCost: { metal: 200, crystal: 100, deuterium: 50, darkMatter: 0, energy: 0 },
|
||||
baseTime: 20,
|
||||
costMultiplier: 1.8,
|
||||
spaceUsage: 3,
|
||||
fleetStorageBonus: 1500, // 每级增加1500舰队仓储,比船坞更高
|
||||
requirements: { [BuildingType.RoboticsFactory]: 1 }, // 只需要1级机器人工厂
|
||||
levelRequirements: {
|
||||
10: { [BuildingType.RoboticsFactory]: 3 },
|
||||
20: { [BuildingType.RoboticsFactory]: 5 }
|
||||
}
|
||||
},
|
||||
[BuildingType.ResearchLab]: {
|
||||
id: BuildingType.ResearchLab,
|
||||
name: '研究实验室',
|
||||
@@ -674,13 +689,13 @@ export const SHIPS: Record<ShipType, ShipConfig> = {
|
||||
[ShipType.Battleship]: {
|
||||
id: ShipType.Battleship,
|
||||
name: '战列舰',
|
||||
description: '重型战舰',
|
||||
description: '重型战舰,主力作战单位',
|
||||
cost: { metal: 45000, crystal: 15000, deuterium: 0, darkMatter: 0, energy: 0 },
|
||||
buildTime: 90,
|
||||
cargoCapacity: 1500,
|
||||
attack: 1000,
|
||||
shield: 200,
|
||||
armor: 6000,
|
||||
attack: 1200,
|
||||
shield: 300,
|
||||
armor: 10000,
|
||||
speed: 10000,
|
||||
fuelConsumption: 500,
|
||||
storageUsage: 25,
|
||||
@@ -728,13 +743,13 @@ export const SHIPS: Record<ShipType, ShipConfig> = {
|
||||
[ShipType.Destroyer]: {
|
||||
id: ShipType.Destroyer,
|
||||
name: '驱逐舰',
|
||||
description: '擅长摧毁大型舰船的猎杀者',
|
||||
description: '专业反大型舰船战舰,高火力低防护',
|
||||
cost: { metal: 60000, crystal: 50000, deuterium: 15000, darkMatter: 0, energy: 0 },
|
||||
buildTime: 120,
|
||||
cargoCapacity: 2000,
|
||||
attack: 2000,
|
||||
shield: 500,
|
||||
armor: 11000,
|
||||
attack: 2500,
|
||||
shield: 250,
|
||||
armor: 8000,
|
||||
speed: 5000,
|
||||
fuelConsumption: 1000,
|
||||
storageUsage: 40,
|
||||
|
||||
Reference in New Issue
Block a user