Tweak borg laws (#24698)

* Change emagged laws to append modifiers instead of completely changing them.

* Maybe fix everything not working

* bugfix

* Fix missing secrecy law and allow basic borgs to be emagged correctly

* Localization

* Actual localization

* test

* Test

* Remove dummy debug value

* Fix bad law ordering

* Tweak the secrecy law

* Minor law tweaks

* Remove obsolete argument

* Fix YAML
This commit is contained in:
Jajsha
2024-02-01 00:02:49 -05:00
committed by GitHub
parent b029d05620
commit 27592ba898
7 changed files with 51 additions and 60 deletions

View File

@@ -16,7 +16,7 @@ public sealed partial class SiliconLawProviderComponent : Component
/// <summary>
/// Lawset created from the prototype id.
/// Cached when getting laws and only modified during an ion storm event.
/// Cached when getting laws and modified during an ion storm event and when emagged.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public SiliconLawset? Lawset;