From 878e5591e3b7928d3af18f24c7625d633d5d8e4e Mon Sep 17 00:00:00 2001 From: SkaldetSkaeg Date: Sat, 4 Jan 2025 17:27:11 +0700 Subject: [PATCH] astral light off --- Content.Shared/SS220/CultYogg/MiGo/SharedMiGoSystem.cs | 3 +++ Resources/Prototypes/SS220/GameRules/roundstart.yml | 4 ++-- Resources/Prototypes/SS220/game_presets.yml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Content.Shared/SS220/CultYogg/MiGo/SharedMiGoSystem.cs b/Content.Shared/SS220/CultYogg/MiGo/SharedMiGoSystem.cs index 869e569a955cf6..ea2c0e45ac7bda 100644 --- a/Content.Shared/SS220/CultYogg/MiGo/SharedMiGoSystem.cs +++ b/Content.Shared/SS220/CultYogg/MiGo/SharedMiGoSystem.cs @@ -405,7 +405,10 @@ public virtual void ChangeForm(EntityUid uid, MiGoComponent comp, bool isMateria //full vision during astral if (TryComp(uid, out var eye)) + { _eye.SetDrawFov(uid, isMaterial, eye); + _eye.SetDrawLight((uid, eye), isMaterial); + } } diff --git a/Resources/Prototypes/SS220/GameRules/roundstart.yml b/Resources/Prototypes/SS220/GameRules/roundstart.yml index 8d4b342b5f7102..62226725545b46 100644 --- a/Resources/Prototypes/SS220/GameRules/roundstart.yml +++ b/Resources/Prototypes/SS220/GameRules/roundstart.yml @@ -5,8 +5,8 @@ parent: BaseGameRule components: - type: GameRule - minPlayers: 40 #ToDo calculate around min players - delay: #ToDo tweak numbers + minPlayers: 40 + delay: min: 300 max: 600 - type: CultYoggRule diff --git a/Resources/Prototypes/SS220/game_presets.yml b/Resources/Prototypes/SS220/game_presets.yml index 0cdb4d61cb15ce..ddfd0f7da6d2aa 100644 --- a/Resources/Prototypes/SS220/game_presets.yml +++ b/Resources/Prototypes/SS220/game_presets.yml @@ -31,7 +31,7 @@ components: - type: BasicStationEventScheduler scheduledGameRules: !type:NestedSelector - tableId: NoNewCrewAntagsGameRulesTables + tableId: NoNewCrewAntagsGameRulesTable - type: entityTable id: NoNewCrewAntagsGameRulesTable