mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 16:05:12 +08:00
docs: 新增西班牙语和日语README并优化多语言文档
新增README-ES.md(西班牙语)和README-JA.md(日语)文档,完善多语言README互链。优化各语言README徽章、技术栈、外链格式及语言切换区,提升文档一致性与可读性。
This commit is contained in:
@@ -131,9 +131,11 @@ export const createNPCPlanet = (
|
||||
isMoon: false
|
||||
}
|
||||
|
||||
// 随机初始化建筑等级
|
||||
// 初始化所有建筑等级为0
|
||||
// 实际的建筑等级会在 initializeNPCByDistance 中根据距离难度系统设置
|
||||
// 这里只做基础初始化,避免随机设置不合理的等级(如月球专属建筑)
|
||||
Object.values(BuildingType).forEach(building => {
|
||||
npcPlanet.buildings[building] = Math.floor(Math.random() * 10)
|
||||
npcPlanet.buildings[building] = 0
|
||||
})
|
||||
|
||||
// 初始化矿脉储量
|
||||
|
||||
Reference in New Issue
Block a user