Лечение КПБ и мелкие фиксы#39
Conversation
|
RSI Diff Bot; head commit cd72900 merging into 5377e3f Resources/Textures/_LuaM/Objects/Power/power_cells.rsi
Resources/Textures/_LuaM/Objects/Tools/nanite_applicator_experimental.rsi
|
There was a problem hiding this comment.
Так. Понизить максимальный заряд батареи до 500(чтобы её не использовали в мехах). Она так же останется используемая для скороходов, КПБ и боргов, но не даст возможность использовать её эффективно в мехах. Так как мехи будут привержены в будущем огромного ребаланса, а лезть в батарейки у меня щас желания нету особого. В остальном все ок, я согласен да хорошая прка. Так же убрать отсутствие сбивания хилла нанитовым апликатором вовремя получения урона
|
Мог я сломать EmpResistance не затрагивая его? Просто раньше эми взрыв сносил 30% заряда а сейчас до нуля в том числе и у боевой. |
Вроде, не должен. Смотри, что yml-linter пишет в любом случае. Обнову закидывать я планировал сегодня ночью. |
|
Попробуй такой эми резист как у m86 mk3 или cv-53 выдать, там фулл эми резист, такой эми резист в целом будет оправдан небольшой ёмкостью батареи |
|
Ошибки ещё высвечиваются. Плюс конфликты. Советую обновить локалку до #35 |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Они имеют такой же резист, но проблема была в том что я тестировал полные версии. Сейчас при максимальном заряде 480 эми взрыв оставляет 40% чего вроде достаточно. В остальном вроде всё норм, в будующем можно будет поправить баланс. |
Pcolik505
left a comment
There was a problem hiding this comment.
Вроде, всё, мелочёвка в основном.
| foreach (var type in healable.Damage.DamageDict) | ||
| if (damageable.Comp.Damage.DamageDict[type.Key].Value > 0) | ||
| if (damageable.Comp.Damage.DamageDict.TryGetValue(type.Key, out var damage) && // LuaM: Prevent crash if damage type is absent. | ||
| damage.Value > 0) |
| foreach (var type in healable.Damage.DamageDict) | ||
| if (damageablePart.Damage.DamageDict[type.Key].Value > 0) | ||
| if (damageablePart.Damage.DamageDict.TryGetValue(type.Key, out var damage) // LuaM: Prevent crash if damage type is absent. | ||
| && damage.Value > 0) |
|
|
||
| /// <summary> | ||
| /// Whether repairing is interrupted when the user moves | ||
| /// </summary> | ||
| [DataField] //LuaM | ||
| public bool BreakOnMove = true; | ||
|
|
||
| /// <summary> | ||
| /// Whether repairing is interrupted when the user takes damage | ||
| /// </summary> | ||
| [DataField] //LuaM | ||
| public bool BreakOnDamage = true; |
There was a problem hiding this comment.
| /// <summary> | |
| /// Whether repairing is interrupted when the user moves | |
| /// </summary> | |
| [DataField] //LuaM | |
| public bool BreakOnMove = true; | |
| /// <summary> | |
| /// Whether repairing is interrupted when the user takes damage | |
| /// </summary> | |
| [DataField] //LuaM | |
| public bool BreakOnDamage = true; | |
| // LuaM-start: | |
| /// <summary> | |
| /// Whether repairing is interrupted when the user moves | |
| /// </summary> | |
| [DataField] | |
| public bool BreakOnMove = true; | |
| /// <summary> | |
| /// Whether repairing is interrupted when the user takes damage | |
| /// </summary> | |
| [DataField] | |
| public bool BreakOnDamage = true; | |
| // LuaM-end. |
| parent: NaniteApplicatorExperimental | ||
| id: NaniteApplicatorSyndicate | ||
| description: "Advanced nanite applicator with a heavily upgraded nanite capacity capable of self-nanite generation." | ||
| description: "Advanced nanite applicator designed for use in combat with self-nanite generation." |
There was a problem hiding this comment.
Комментарий в формате # LuaM: Было > Стало, а лучше вообще не трогать, т.к. не влияет.
| - HyposprayRogue | ||
| - AccessBreakerRogue | ||
| - EmagRogue | ||
| - NaniteApplicatorSyndicate |
There was a problem hiding this comment.
Не удалить, а закомментить.
| cost: 10000 | ||
| recipeUnlocks: | ||
| - JawsOfLifeRogue | ||
| - NaniteApplicatorSyndicate |
There was a problem hiding this comment.
Не удалить, а закомментить.
| - type: Anchorable | ||
| flags: | ||
| - Anchorable | ||
| - type: Rotatable |
There was a problem hiding this comment.
Не удалить, а закомментить.
| baseWalkSpeed: 10 | ||
| baseSprintSpeed: 35 | ||
| baseWalkSpeed: 35 | ||
| baseSprintSpeed: 15 |
There was a problem hiding this comment.
Комментарий в формате # LuaM: Было > Стало
Укажи изменение в чейнджлоге, но я вообще не вижу смысла в этом. Текущий А-гост, вроде, всех устраивает.
|
Баланс ок, сойдет. Посмотрим на деле уже |
| components: | ||
| - type: InstantAction | ||
| icon: { sprite: Interface/Actions/actions_ai.rsi, state: mass_scanner } | ||
| icon: { sprite: Interface/A9ctions/actions_ai.rsi, state: mass_scanner } |
There was a problem hiding this comment.
Я догадываюсь, в чем проблема yml-linterа.
| flags: | ||
| - Anchorable | ||
| - type: Rotatable | ||
| # - type: Rotatable |
There was a problem hiding this comment.
| # - type: Rotatable | |
| # - type: Rotatable # Commented by LuaM |
| - type: MovementSpeedModifier # LuaM | ||
| baseWalkSpeed: 10 | ||
| baseSprintSpeed: 35 | ||
| baseWalkSpeed: 35 # LuaM 10 > 35 |
There was a problem hiding this comment.
Не обратил внимания, что компач наш. Можешь убрать.
| baseWalkSpeed: 35 # LuaM 10 > 35 | |
| baseWalkSpeed: 35 |
| baseWalkSpeed: 10 | ||
| baseSprintSpeed: 35 | ||
| baseWalkSpeed: 35 # LuaM 10 > 35 | ||
| baseSprintSpeed: 15 # LuaM 35 > 15 |
There was a problem hiding this comment.
| baseSprintSpeed: 15 # LuaM 35 > 15 | |
| baseSprintSpeed: 15 |
| recipeUnlocks: | ||
| - JawsOfLifeRogue | ||
| - NaniteApplicatorSyndicate | ||
| # - NaniteApplicatorSyndicate |
There was a problem hiding this comment.
| # - NaniteApplicatorSyndicate | |
| # - NaniteApplicatorSyndicate # Commented by LuaM |
| result: NaniteApplicatorSyndicate | ||
| materials: | ||
| Steel: 500 | ||
| materials: # LuaM |
There was a problem hiding this comment.
| materials: # LuaM | |
| materials: |
| @@ -0,0 +1,19 @@ | |||
| - type: entity # LuaM | |||
There was a problem hiding this comment.
| - type: entity # LuaM | |
| - type: entity |
| if (damageablePart.Damage.DamageDict[type.Key].Value > 0) | ||
| // if (damageablePart.Damage.DamageDict[type.Key].Value > 0) | ||
| if (damageablePart.Damage.DamageDict.TryGetValue(type.Key, out var damage) // LuaM: Safely handle missing damage types. | ||
| && damage.Value > 0) |
There was a problem hiding this comment.
| && damage.Value > 0) | |
| && damage.Value > 0) // LuaM |
| if (TryComp<DamageableComponent>(part.Id, out var damageablePart)) | ||
| foreach (var type in healable.Damage.DamageDict) | ||
| if (damageablePart.Damage.DamageDict[type.Key].Value > 0) | ||
| // if (damageablePart.Damage.DamageDict[type.Key].Value > 0) |
There was a problem hiding this comment.
| // if (damageablePart.Damage.DamageDict[type.Key].Value > 0) | |
| // if (damageablePart.Damage.DamageDict[type.Key].Value > 0) // Commented by LuaM |
| if (damageable.Comp.Damage.DamageDict[type.Key].Value > 0) | ||
| // if (damageable.Comp.Damage.DamageDict[type.Key].Value > 0) | ||
| if (damageable.Comp.Damage.DamageDict.TryGetValue(type.Key, out var damage) && // LuaM: Safely handle missing damage types. | ||
| damage.Value > 0) |
There was a problem hiding this comment.
| damage.Value > 0) | |
| damage.Value > 0) // LuaM |
|
|
||
| foreach (var type in healable.Damage.DamageDict) | ||
| if (damageable.Comp.Damage.DamageDict[type.Key].Value > 0) | ||
| // if (damageable.Comp.Damage.DamageDict[type.Key].Value > 0) |
There was a problem hiding this comment.
| // if (damageable.Comp.Damage.DamageDict[type.Key].Value > 0) | |
| // if (damageable.Comp.Damage.DamageDict[type.Key].Value > 0) // Commented by LuaM |






Обновление аппликаторов нанитов и добавление экспериментальной батареи, исходя из предложения.
Технические детали
Изменения:
Как протестировать
Требования
Критические изменения
Были изменены WeldingHealableSystem.cs и SharedToolSystem.cs, настоятельно рекомендуется проверка на отсутствия у меня мога
Журнал изменений
🆑