Skip to content

Commit

Permalink
Merge pull request #39 from tinygrox/dev
Browse files Browse the repository at this point in the history
1.1.0
  • Loading branch information
tinygrox authored Oct 14, 2024
2 parents 9661f46 + af13bd0 commit 51ed237
Show file tree
Hide file tree
Showing 21 changed files with 29,620 additions and 41 deletions.
7 changes: 6 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ root = true
[*]
end_of_line = lf
indent_style = space
insert_final_newline = true

[*.cfg]
charset = utf-8
indent_size = 4
insert_final_newline = true

[*.cs]
charset = utf-8
indent_size = 4
insert_final_newline = true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ bin/
obj/
Properties/
*.sln
/.vscode
15 changes: 15 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# 更新日志 | Changelog

## [1.1.0]

本次更新内容如下:(DLL 翻译暂不开放翻译接口)

### 新增

- **[x] Science! Continued(需要Harmony)** - 方便科学点数查漏补缺
- **BetterBurnTime(需要Harmony)** - 一个速度指示扩展,感觉有点鸡肋
- **Background Resources** - TAC LS 和 DeepFreeze Continued 的前置,翻译了设置文本
- **Better SRBs** - 固推药柱的几种装法
- **Docking Port Alignment Indicator(需要Harmony)** - 手动对接辅助,鉴定为不如 MechJeb2 一根
- **Physics Range Extender(需要Harmony)** - 物理距离扩展
- **B9 Part Switch(需要Harmony)** - 燃料箱上的硬编码 PartInfo 等文本

## [1.0.0]

几年测试期间无收到任何恶性问题反馈,测试阶段可以结束,进入正式版本。欢迎各位继续尽情提 PR!
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Localization
{
zh-cn
{
// BackgroundResources = BackgroundResources
BackgroundResources Options = BackgroundResources选项
Unloaded Vessel Processing = 计算未加载载具
If enabled BackgroundResources will process resources on unloaded vessels. If disabled, it won't (does nothing). = 如果启用BackgroundResources会对未加载载具进行计算。如果关闭,则不会(什么都不会发生)。
Produce Resources = 产生资源
If enabled BackgroundResources will produce resources on unloaded vessels. If disabled, it won't. = 如果启用BackgroundResources会让未加载载具产出资源。如果关闭,则不会。
Consume Resources = 消耗资源
If enabled BackgroundResources will consume resources on unloaded vessels. If disabled, it won't. = 如果启用BackgroundResources会让未加载载具消耗资源。如果关闭,则不会。
Include EC Generating Resource Converters = 包含发电资源转换器部件
If enabled BackgroundResources will include parts that generate EC that use the stock Generic Resource Converter on unloaded vessels. If disabled, it won't. = 如果启用BackgroundResources会让未加载载具计算原版的发电的资源转换器。如果关闭,则不会。
}
}
20 changes: 20 additions & 0 deletions GameData/0000Tinygrox_CNPatches/BetterSRBs/BSRB_Parts.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@PART[Size1p5to1Adapter]:NEEDS[BetterSRBs]
{
@title = 坎巴拉动力 ADTP-1-1.5 // Kerbodyne ADTP-1-1.5
@description = 1.875m转换1.25m部件的转接器。 // An adapter to attach 1.875m parts to 1.25m parts.
}
@PART[rocketNoseCone_1p5]:NEEDS[BetterSRBs]
{
@title = 火箭保护头锥Mk4 // Protective Rocket Nose Cone Mk4
@description = 这个中型头锥用于覆盖中型火箭的暴露区域。 // A medium nose cone for covering up exposed areas of medium rockets.
}
@PART[BetterSRB_1p875x12]:NEEDS[BetterSRBs]:AFTER[BetterSRBs]
{
@title = BACC MK2 “冲压”固体燃料助推器 // BACC Mk2 "Ram" Solid Fuel Booster
@description = 基于原来的BACC固体燃料助推器制作而成,Mk2 引入了直径1.875米的外壳,使得之前的所有固推相形见绌。// Based on the original BACC solid fuel booster, the Mk2 introduces a 1.875-meter diameter casing, dwarfing all previous SRB models.
}
@PART[BetterSRB_1p875x22]:NEEDS[BetterSRBs]:AFTER[BetterSRBs]
{
@title = S2 SRB-KD50 “长矛”固体燃料助推器 // S2 SRB-KD50 "Lance" Solid Fuel Booster
@description = KD50 型号是固体助推器制造和设计的巅峰之作。这个巨大的助推器应该能满足你所有的重型火箭发射需求。 // The model KD50 is the pinnacle in SRB manufacturing and design. This massive booster should satisfy all your heavy lifitng needs.
}
75 changes: 75 additions & 0 deletions GameData/0000Tinygrox_CNPatches/BetterSRBs/BSRB_Patches.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
@PART:HAS[#BetterSRBsTag[True],@MODULE[ModuleEngines]:HAS[@PROPELLANT[SolidFuel]]]:FINAL
{
@description ^= :<br><color="green">This part can accept different fuel grain geometries and render different performance envelopes.</color>:<br><color="green">该部件可以装入不同形状的药柱获得不同的性能。</color>:
}

@PART:HAS[#BetterSRBsTag[True],@MODULE[ModuleEngines]:HAS[@PROPELLANT[SolidFuel]]]:FINAL
{
@MODULE[ModuleB9PartSwitch]:HAS[#moduleID[solidThrustCurve]]
{
@switcherDescription = 药柱形状 // Grain Geometry
@switcherDescriptionPlural = 药柱形状 // Grain Geometries
@SUBTYPE[Slotted_06]
{
@title = 6槽管状形药柱 // Slotted Tube, 6-slots
@descriptionSummary = 渐增-持平推进 // Progressive-Neutral Thrust
@descriptionDetail = 开始的平均推力为76%,随后渐增至113%,然后推力持平,最后逐渐衰减。此药柱相较于原版默认,产生的推力为 80%,燃烧时间更长。 // Thrust starts at 76% of average, progresses to 113%, then continues neutral before rapidly decaying. This grain produces an average thrust 80% that of the default, with a longer burn time.
}
@SUBTYPE[Slotted_08]
{
@title = 8槽管状形药柱 // Slotted Tube, 8-slots
@descriptionSummary = 渐增-递减推进 // Progressive-Regressive Thrust
@descriptionDetail = 开始的平均推力为100%,随后渐增至124%,然后递减至80%,最后逐渐衰减。此药柱相较于原版默认,为标准配置,燃烧时间均衡。 // Thrust starts at 100% of average, progresses to 124%, then regresses to 80% before rapidly decaying. This fuel grain is considered the default, having standard thrust and burn time.
}
@SUBTYPE[Slotted_10]
{
@title = 10槽管状形药柱 // Slotted Tube, 10-slots
@descriptionSummary = 渐增-递减推进 // Progressive-Regressive Thrust
@descriptionDetail = 开始的平均推力为124%,随后渐增至138%,然后递减至63%,最后逐渐衰减。此药柱相较于原版默认,产生的推力为 120%,燃烧时间更短。 // Thrust starts at 124% of average, progresses to 138%, then regresses to 63% before rapidly decaying. This grain produces an average thrust 120% that of the default, with a shorter burn time.
}
@SUBTYPE[Slotted_special1]
{
@title = 特制管状形药柱 // Slotted Tube, special
@descriptionSummary = 递减-持平推进<br><#ffaa10>结合了6槽和特制的12槽药柱</color> // Regressive-Neutral Thrust<br><#ffaa10>Combines 6- and special 12-slotted segments.</color>
@descriptionDetail = 开始的平均推力为154%,随后递减至86%,然后推力持平,最后逐渐衰减。此药柱相较于原版默认,产生的推力为 80%,燃烧时间更长。 // Thrust starts at 154% of average, regresses to 86%, then continues neutral before rapidly decaying. This grain produces an average thrust 80% that of the default, with a longer burn time.
}
}
}

@PART:HAS[#BetterSRBsTag[True],@MODULE[ModuleEnginesFX]:HAS[@PROPELLANT[SolidFuel]]]:FINAL
{
@description ^= :<br><color="green">This part can accept different fuel grain geometries and render different performance envelopes.</color>:<br><color="green">该部件可以装入不同形状的药柱获得不同的性能。</color>:
}

@PART:HAS[#BetterSRBsTag[True],@MODULE[ModuleEnginesFX]:HAS[@PROPELLANT[SolidFuel]]]:FINAL
{
@MODULE[ModuleB9PartSwitch]:HAS[#moduleID[solidThrustCurve]]
{
@switcherDescription = 药柱形状 // Grain Geometry
@switcherDescriptionPlural = 药柱形状 // Grain Geometries
@SUBTYPE[Slotted_06]
{
@title = 6槽管状形药柱 // Slotted Tube, 6-slots
@descriptionSummary = 渐增-持平推进 // Progressive-Neutral Thrust
@descriptionDetail = 开始的平均推力为76%,随后渐增至113%,然后推力持平,最后逐渐衰减。此药柱相较于原版默认,产生的推力为 80%,燃烧时间更长。 // Thrust starts at 76% of average, progresses to 113%, then continues neutral before rapidly decaying. This grain produces an average thrust 80% that of the default, with a longer burn time.
}
@SUBTYPE[Slotted_08]
{
@title = 8槽管状形药柱 // Slotted Tube, 8-slots
@descriptionSummary = 渐增-递减推进 // Progressive-Regressive Thrust
@descriptionDetail = 开始的平均推力为100%,随后渐增至124%,然后递减至80%,最后逐渐衰减。此药柱相较于原版默认,为标准配置,燃烧时间均衡。 // Thrust starts at 100% of average, progresses to 124%, then regresses to 80% before rapidly decaying. This fuel grain is considered the default, having standard thrust and burn time.
}
@SUBTYPE[Slotted_10]
{
@title = 10槽管状形药柱 // Slotted Tube, 10-slots
@descriptionSummary = 渐增-递减推进 // Progressive-Regressive Thrust
@descriptionDetail = 开始的平均推力为124%,随后渐增至138%,然后递减至63%,最后逐渐衰减。此药柱相较于原版默认,产生的推力为 120%,燃烧时间更短。 // Thrust starts at 124% of average, progresses to 138%, then regresses to 63% before rapidly decaying. This grain produces an average thrust 120% that of the default, with a shorter burn time.
}
@SUBTYPE[Slotted_special1]
{
@title = 特制管状形药柱 // Slotted Tube, special
@descriptionSummary = 递减-持平推进<br><#ffaa10>结合了6槽和特制的12槽药柱</color> // Regressive-Neutral Thrust<br><#ffaa10>Combines 6- and special 12-slotted segments.</color>
@descriptionDetail = 开始的平均推力为154%,随后递减至86%,然后推力持平,最后逐渐衰减。此药柱相较于原版默认,产生的推力为 80%,燃烧时间更长。 // Thrust starts at 154% of average, regresses to 86%, then continues neutral before rapidly decaying. This grain produces an average thrust 80% that of the default, with a longer burn time.
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
@PART[FASAMercruyCap2]:NEEDS[FASA]
{
@title = 水星 鼻锥 分离器 & 天线 // Mercury Nosecone Decoupler & Antenna
@title = 水星 头锥型切分器 & 天线 // Mercury Nosecone Decoupler & Antenna
@description = 这个护盖在飞行时起到整流和保护降落伞的作用。护盖内还有一个小型天线。警告:飞行时不要坐在护盖上! // This cap acts as a faring and protects the parachute during flight. Cap also contains a small antenna as well. Warning do not sit on top of cap while in flight!
@MODULE[ModuleAnimateGeneric]
Expand Down
10 changes: 5 additions & 5 deletions GameData/0000Tinygrox_CNPatches/FASA/FASA_Parts_Probes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
}
@PART[FASAExplorerSgt3Dec]:NEEDS[FASA]
{
@title = FASA 探索者 Sargent 3 分离器 // FASA Explorer Sargent 3 Decoupler
@description = 适用于你的探索者 Sargent 3 引擎的小型分离器。这是一个全分离器。探索者探测器的第 #3 部分。 // A small decoupler for your Explorer Sargent 3 engine. This is an omni decoupler. This is part #3 for the Explorer Probe.
@title = FASA 探索者 Sargent 3 切分器 // FASA Explorer Sargent 3 Decoupler
@description = 适用于你的探索者 Sargent 3 引擎的小型分离装置。这是一个切分器。探索者探测器的第 #3 部分。 // A small decoupler for your Explorer Sargent 3 engine. This is an omni decoupler. This is part #3 for the Explorer Probe.
}
@PART[FASAExplorerSgt3]:NEEDS[FASA]
{
Expand All @@ -54,14 +54,14 @@

@PART[FASAExplorerSgt11Dec]:NEEDS[FASA]
{
@title = FASA 探索者 Sargent 11x 分离器 // FASA Explorer Sargent 11x Decoupler
@description = 适用于你的探索者 Sargent 11x 引擎的轻型分离器。安装在 Sargent 3x 火箭的上面。探索者探测器的第 #5 部分。 // A light decoupler for your Explorer Sargent 11x engine. This attaches to the TOP of the Sargent 3x rocket. This is part #5 for the Explorer Probe.
@title = FASA 探索者 Sargent 11x 切分器 // FASA Explorer Sargent 11x Decoupler
@description = 适用于你的探索者 Sargent 11x 引擎的轻质切分器。安装在 Sargent 3x 火箭的上面。探索者探测器的第 #5 部分。 // A light decoupler for your Explorer Sargent 11x engine. This attaches to the TOP of the Sargent 3x rocket. This is part #5 for the Explorer Probe.
}

@PART[FASAExplorerSgt11]:NEEDS[FASA]
{
@title = 探索者 Sargent 11x 火箭发动机 // Explorer Sargent 11x Rocket Motor
@description = 安装在探索者 11x 分离器上。该固体火箭引擎能够关机。探索者探测器的第 #6 部分。 // Attaches on the Explorer 11x decoupler. This solid rocket engine has the ability to be shut down. This is part #6 for the Explorer Probe.
@description = 安装在探索者 11x 切分器上。该固体火箭引擎能够关机。探索者探测器的第 #6 部分。 // Attaches on the Explorer 11x decoupler. This solid rocket engine has the ability to be shut down. This is part #6 for the Explorer Probe.
}

@PART[FASAExplorerSgt]:NEEDS[FASA]
Expand Down
6 changes: 0 additions & 6 deletions GameData/0000Tinygrox_CNPatches/ModCNPatches.ckan
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
spec_version: v1.4
identifier: ChineseModPatches
name: Chinese Mod Patches
abstract: A collection of Module Manager patches for translating KSP Mods (Part mods mostly) to Chinese (Simplified Chinese Only).
license: CC-BY-4.0
$vref: '#/ckan/ksp-avc'
depends:
- name: Harmony2
- name: ModuleManager
Loading

0 comments on commit 51ed237

Please sign in to comment.