diff --git a/Content.Client/Nyanotrasen/Overlays/DogVisionOverlay.cs b/Content.Client/Nyanotrasen/Overlays/DogVisionOverlay.cs index 1378e93353d..599e555a413 100644 --- a/Content.Client/Nyanotrasen/Overlays/DogVisionOverlay.cs +++ b/Content.Client/Nyanotrasen/Overlays/DogVisionOverlay.cs @@ -18,7 +18,7 @@ public sealed partial class DogVisionOverlay : Overlay public override OverlaySpace Space => OverlaySpace.WorldSpace; private readonly ShaderInstance _dogVisionShader; - private const string DogVisionName = "DogVision"; + private static readonly ProtoId DogVisionName = "DogVision"; public DogVisionOverlay() { diff --git a/Content.Client/UserInterface/Systems/Chat/ChatUIController.Highlighting.cs b/Content.Client/UserInterface/Systems/Chat/ChatUIController.Highlighting.cs index eca55ac8ede..cb03c670489 100644 --- a/Content.Client/UserInterface/Systems/Chat/ChatUIController.Highlighting.cs +++ b/Content.Client/UserInterface/Systems/Chat/ChatUIController.Highlighting.cs @@ -167,8 +167,4 @@ public sealed partial class ChatUIController : IOnSystemChanged true; public override OverlaySpace Space => OverlaySpace.WorldSpace; private readonly ShaderInstance _ultraVisionShader; - private const string UltraVisionName = "UltraVision"; + private static readonly ProtoId UltraVisionName = "UltraVision"; public UltraVisionOverlay() { diff --git a/Content.Client/_Goobstation/Overlays/BaseSwitchableOverlay.cs b/Content.Client/_Goobstation/Overlays/BaseSwitchableOverlay.cs index 917f8aa5d72..a64e5864002 100644 --- a/Content.Client/_Goobstation/Overlays/BaseSwitchableOverlay.cs +++ b/Content.Client/_Goobstation/Overlays/BaseSwitchableOverlay.cs @@ -27,7 +27,7 @@ public sealed class BaseSwitchableOverlay : Overlay where TComp : Switcha public bool IsActive = true; - private const string NightVisionName = "NightVision"; + private static readonly ProtoId NightVisionName = "NightVision"; public BaseSwitchableOverlay() { diff --git a/Content.Server/Connection/ConnectionManager.cs b/Content.Server/Connection/ConnectionManager.cs index a12369ae647..62c38dc4fed 100644 --- a/Content.Server/Connection/ConnectionManager.cs +++ b/Content.Server/Connection/ConnectionManager.cs @@ -313,7 +313,7 @@ namespace Content.Server.Connection } // DeltaV - Replace existing softwhitelist implementation - // if (false)//if (_cfg.GetCVar(CCVars.WhitelistEnabled) && adminData is null) + // if (_cfg.GetCVar(CCVars.WhitelistEnabled) && adminData is null) // { // if (_whitelists is null) // { diff --git a/Content.Server/Nyanotrasen/Research/SophicScribe/SophicScribeSystem.cs b/Content.Server/Nyanotrasen/Research/SophicScribe/SophicScribeSystem.cs index 54326d741aa..b6fe4ef83d3 100644 --- a/Content.Server/Nyanotrasen/Research/SophicScribe/SophicScribeSystem.cs +++ b/Content.Server/Nyanotrasen/Research/SophicScribe/SophicScribeSystem.cs @@ -20,8 +20,8 @@ public sealed partial class SophicScribeSystem : EntitySystem [Dependency] private readonly IPrototypeManager _prototypeManager = default!; [Dependency] private readonly IGameTiming _timing = default!; - private const string ScienceEncryptName = "Science"; - private const string CommonEncryptName = "Common"; + private static readonly ProtoId ScienceEncryptName = "Science"; + private static readonly ProtoId CommonEncryptName = "Common"; public override void Update(float frameTime) { diff --git a/Content.Server/_DV/CosmicCult/CosmicCultSystem.cs b/Content.Server/_DV/CosmicCult/CosmicCultSystem.cs index 986b600bd87..549004f5965 100644 --- a/Content.Server/_DV/CosmicCult/CosmicCultSystem.cs +++ b/Content.Server/_DV/CosmicCult/CosmicCultSystem.cs @@ -21,7 +21,7 @@ using Content.Shared.Inventory.Events; using Content.Shared.Movement.Systems; using Content.Shared.Polymorph; using Content.Shared.Speech.Components; -using Content.Shared.StatusEffectNew; +using Content.Shared.StatusEffect; using Robust.Server.GameObjects; using Robust.Shared.Audio.Systems; using Robust.Shared.EntitySerialization.Systems; @@ -67,7 +67,7 @@ public sealed partial class CosmicCultSystem : SharedCosmicCultSystem private readonly ResPath _mapPath = new("Maps/_DV/Nonstations/cosmicvoid.yml"); private static readonly EntProtoId CosmicEchoVfx = "CosmicEchoVfx"; - private static readonly string EntropicDegen = "EntropicDegen"; + private static readonly ProtoId EntropicDegen = "EntropicDegen"; private static readonly ProtoId CosmicRadio = "CosmicRadio"; public override void Initialize() @@ -173,7 +173,7 @@ public sealed partial class CosmicCultSystem : SharedCosmicCultSystem { if (!EntityIsCultist(args.Equipee)) { - _statusEffects.TryAddStatusEffectDuration(args.Equipee, EntropicDegen, out _, TimeSpan.FromDays(1)); // TimeSpan.MaxValue causes a crash here, so we use FromDays(1) instead. + _statusEffects.TryAddStatusEffect(args.Equipee, EntropicDegen, TimeSpan.FromDays(1), true); // TimeSpan.MaxValue causes a crash here, so we use FromDays(1) instead. if (TryComp(args.Equipee, out var comp)) comp.Degen = new(){DamageDict = new(){{"Cold", 0.5}, {"Asphyxiation", 1.5}, {"Ion", 1.5}}}; } } @@ -187,7 +187,7 @@ public sealed partial class CosmicCultSystem : SharedCosmicCultSystem { if (!EntityIsCultist(args.User)) { - _statusEffects.TryAddStatusEffectDuration(args.User, EntropicDegen, out _, TimeSpan.FromDays(1)); + _statusEffects.TryAddStatusEffect(args.User, EntropicDegen, TimeSpan.FromDays(1), true); if (TryComp(args.User, out var comp)) comp.Degen = new(){DamageDict = new(){{"Cold", 0.5}, {"Asphyxiation", 1.5}, {"Ion", 1.5}}}; _popup.PopupEntity(Loc.GetString("cosmiccult-gear-pickup", ("ITEM", args.Equipped)), args.User, args.User, PopupType.MediumCaution); } diff --git a/Content.Server/_DV/CosmicCult/EntitySystems/CosmicRiftSystem.cs b/Content.Server/_DV/CosmicCult/EntitySystems/CosmicRiftSystem.cs index aafe93a970d..74252157d88 100644 --- a/Content.Server/_DV/CosmicCult/EntitySystems/CosmicRiftSystem.cs +++ b/Content.Server/_DV/CosmicCult/EntitySystems/CosmicRiftSystem.cs @@ -5,12 +5,13 @@ using Content.Server.Bible.Components; using Content.Server.Popups; using Content.Shared._DV.CosmicCult; using Content.Shared._DV.CosmicCult.Components; +using Content.Shared.Damage; using Content.Shared.DoAfter; using Content.Shared.IdentityManagement; using Content.Shared.Interaction; using Content.Shared.Mobs.Components; using Content.Shared.Popups; -using Content.Shared.StatusEffectNew; +using Content.Shared.StatusEffect; using Robust.Shared.Random; using Robust.Shared.Timing; @@ -70,7 +71,7 @@ public sealed class CosmicRiftSystem : EntitySystem if (!_random.Prob(comp.PulseProb)) continue; var damageMultiplier = Math.Clamp(comp.PulseRange / distance, 1, 10); //0.2 damage per second at max distance, up to 2 per second if closer var effectDuration = _random.Next(10, 40); //2-8 damage at max distance, 20-80 damage at min distance - _statusEffects.TryAddStatusEffectDuration(mob, "EntropicDegen", out _, TimeSpan.FromSeconds(effectDuration)); + _statusEffects.TryAddStatusEffect(mob, "EntropicDegen", TimeSpan.FromSeconds(effectDuration), true); if (TryComp(mob, out var debuff)) debuff.Degen = new(){DamageDict = new(){ {"Cold", 0.05 * damageMultiplier}, diff --git a/Content.Server/_DV/Planet/PlanetSystem.cs b/Content.Server/_DV/Planet/PlanetSystem.cs index 79c8d742329..d3915fa89d5 100644 --- a/Content.Server/_DV/Planet/PlanetSystem.cs +++ b/Content.Server/_DV/Planet/PlanetSystem.cs @@ -57,7 +57,7 @@ public sealed class PlanetSystem : EntitySystem { var map = SpawnPlanet(id, runMapInit: false); var mapId = Comp(map).MapId; - if (!_mapLoader.TryLoadGrid(mapId, path, out var grid, offset: new Vector2(150,150))) + if (!_mapLoader.TryLoadGrid(mapId, path, out var grid, offset: new Vector2(150, 150))) { Log.Error($"Failed to load planet grid {path} for planet {id}!"); Del(map); diff --git a/Content.Server/_Goobstation/Devil/CheatDeath/CheatDeathSystem.cs b/Content.Server/_Goobstation/Devil/CheatDeath/CheatDeathSystem.cs index 375b9702488..bef88618550 100644 --- a/Content.Server/_Goobstation/Devil/CheatDeath/CheatDeathSystem.cs +++ b/Content.Server/_Goobstation/Devil/CheatDeath/CheatDeathSystem.cs @@ -110,7 +110,8 @@ public sealed partial class CheatDeathSystem : EntitySystem // If the holy damage exceeds the crit state, do not allow revives. if (!TryComp(ent, out var damageable) || !_thresholdSystem.TryGetIncapThreshold(ent, out var incapThreshold) - || _damageableSystem.GetPositiveDamage((ent, damageable)).DamageDict["Holy"] >= incapThreshold) + || (_damageableSystem.GetPositiveDamage((ent, damageable)).DamageDict.ContainsKey("Holy") // Delta V - Check for Holy Key being there + && _damageableSystem.GetPositiveDamage((ent, damageable)).DamageDict["Holy"] >= incapThreshold)) // Delta V - Check if Holy Damage is above threshhold { var failPopup = Loc.GetString("action-cheat-death-holy-damage"); _popupSystem.PopupEntity(failPopup, ent, ent, PopupType.LargeCaution); diff --git a/Content.Server/_Impstation/Revenant/EntitySystems/RevenantStasisSystem.cs b/Content.Server/_Impstation/Revenant/EntitySystems/RevenantStasisSystem.cs index 1ddaa0d2fe6..405eb1095bf 100644 --- a/Content.Server/_Impstation/Revenant/EntitySystems/RevenantStasisSystem.cs +++ b/Content.Server/_Impstation/Revenant/EntitySystems/RevenantStasisSystem.cs @@ -40,8 +40,8 @@ public sealed partial class RevenantStasisSystem : EntitySystem [ValidatePrototypeId] private const string RevenantStasisId = "Stasis"; - private const string HolyId = "Holy"; // DV - Fix Errors - private const string SaltId = "Salt"; // DV - Fix Errors + private ProtoId HolyId = "Holy"; // DV - Fix Errors + private ProtoId SaltId = "Salt"; // DV - Fix Errors public override void Initialize() { diff --git a/Content.Server/_Impstation/Thaven/ThavenMoodSystem.cs b/Content.Server/_Impstation/Thaven/ThavenMoodSystem.cs index e6e4d15d17c..ca8b6047a5b 100644 --- a/Content.Server/_Impstation/Thaven/ThavenMoodSystem.cs +++ b/Content.Server/_Impstation/Thaven/ThavenMoodSystem.cs @@ -39,7 +39,7 @@ public sealed partial class ThavenMoodsSystem : SharedThavenMoodSystem private const string NoAndDataset = "ThavenMoodsNoAnd"; private const string WildcardDataset = "ThavenMoodsWildcard"; private const string ActionViewMoods = "ActionViewMoods"; - private const string RandomThavenMoodDataset = "RandomThavenMoodDataset"; + private static readonly ProtoId RandomThavenMoodDataset = "RandomThavenMoodDataset"; public override void Initialize() { diff --git a/Content.Server/_Mono/CorticalBorer/CorticalBorerSystem.cs b/Content.Server/_Mono/CorticalBorer/CorticalBorerSystem.cs index 4562b3351e9..4ca20c7d1e1 100644 --- a/Content.Server/_Mono/CorticalBorer/CorticalBorerSystem.cs +++ b/Content.Server/_Mono/CorticalBorer/CorticalBorerSystem.cs @@ -13,6 +13,7 @@ using Content.Server.Medical; using Content.Server.Medical.Components; using Content.Server.Nutrition.Components; using Content.Shared._Mono.CorticalBorer; +using Content.Shared.Actions.Components; using Content.Shared.Administration.Logs; using Content.Shared.Alert; using Content.Shared.Body.Components; @@ -51,8 +52,8 @@ public sealed partial class CorticalBorerSystem : SharedCorticalBorerSystem [Dependency] private readonly AlertsSystem _alerts = default!; [Dependency] private readonly GhostRoleSystem _ghost = default!; - private const string ActionEndControlHostName = "ActionEndControlHost"; - private const string ActionLayEggHostName = "ActionLayEggHost"; + private static readonly EntProtoId ActionEndControlHostName = "ActionEndControlHost"; + private static readonly EntProtoId ActionLayEggHostName = "ActionLayEggHost"; public override void Initialize() { diff --git a/Content.Shared/Implants/SharedImplanterSystem.cs b/Content.Shared/Implants/SharedImplanterSystem.cs index 87baa7b303e..56290cb7129 100644 --- a/Content.Shared/Implants/SharedImplanterSystem.cs +++ b/Content.Shared/Implants/SharedImplanterSystem.cs @@ -50,7 +50,6 @@ public abstract class SharedImplanterSystem : EntitySystem _itemSlots.AddItemSlot(uid, ImplanterComponent.ImplanterSlotId, component.ImplanterSlot); // DeltaV - don't use deimplant chosing - // return; // component.DeimplantChosen ??= component.DeimplantWhitelist.FirstOrNull(); // // Dirty(uid, component); diff --git a/Content.Shared/Inventory/InventorySystem.Equip.cs b/Content.Shared/Inventory/InventorySystem.Equip.cs index f99220618fb..51a861849e1 100644 --- a/Content.Shared/Inventory/InventorySystem.Equip.cs +++ b/Content.Shared/Inventory/InventorySystem.Equip.cs @@ -255,7 +255,6 @@ public abstract partial class InventorySystem return false; // DeltaV - ignore suit storage whitelist - // continue; // if (TryComp(slotEntity, out var comp) && // _whitelistSystem.IsWhitelistFailOrNull(comp.Whitelist, itemUid)) // return false; diff --git a/Content.Shared/Sprite/SharedScaleVisualsSystem.cs b/Content.Shared/Sprite/SharedScaleVisualsSystem.cs index 053638bfa90..5cb190497ab 100644 --- a/Content.Shared/Sprite/SharedScaleVisualsSystem.cs +++ b/Content.Shared/Sprite/SharedScaleVisualsSystem.cs @@ -42,8 +42,8 @@ public abstract class SharedScaleVisualsSystem : EntitySystem Dirty(uid, comp); // Delta V - Begin Species Scaling - var diff = scale - Vector2.One; - var newScale = comp.SpeciesScale + diff; + // 120% species scale => add 0.2 to scale + var newScale = scale + comp.SpeciesScale - Vector2.One; // Delta V - End Species Scaling var appearanceComponent = EnsureComp(uid); diff --git a/Content.Shared/_DV/Addictions/SharedAddictionSystem.cs b/Content.Shared/_DV/Addictions/SharedAddictionSystem.cs index a355df32968..234157f38af 100644 --- a/Content.Shared/_DV/Addictions/SharedAddictionSystem.cs +++ b/Content.Shared/_DV/Addictions/SharedAddictionSystem.cs @@ -1,4 +1,4 @@ -using Content.Shared.StatusEffectNew; +using Content.Shared.StatusEffect; using Robust.Shared.Prototypes; namespace Content.Shared._DV.Addictions; @@ -7,15 +7,25 @@ public abstract class SharedAddictionSystem : EntitySystem { [Dependency] private readonly StatusEffectsSystem _statusEffects = default!; - public const string StatusEffectKey = "Addicted"; + public ProtoId StatusEffectKey = "Addicted"; protected abstract void UpdateTime(EntityUid uid); - public virtual void TryApplyAddiction(EntityUid uid, float addictionTime) + public virtual void TryApplyAddiction(EntityUid uid, float addictionTime, StatusEffectsComponent? status = null) { + if (!Resolve(uid, ref status, false)) + return; + UpdateTime(uid); - _statusEffects.TryAddStatusEffectDuration(uid, StatusEffectKey, out _, TimeSpan.FromSeconds(addictionTime)); + if (!_statusEffects.HasStatusEffect(uid, StatusEffectKey, status)) + { + _statusEffects.TryAddStatusEffect(uid, StatusEffectKey, TimeSpan.FromSeconds(addictionTime), true, status); + } + else + { + _statusEffects.TryAddTime(uid, StatusEffectKey, TimeSpan.FromSeconds(addictionTime), status); + } } public virtual void TrySuppressAddiction(EntityUid uid, float duration) diff --git a/Content.Shared/_DV/Psionics/Systems/PsionicPowers/SharedDispelPowerSystem.cs b/Content.Shared/_DV/Psionics/Systems/PsionicPowers/SharedDispelPowerSystem.cs index 2be6a20e211..27ea004660b 100644 --- a/Content.Shared/_DV/Psionics/Systems/PsionicPowers/SharedDispelPowerSystem.cs +++ b/Content.Shared/_DV/Psionics/Systems/PsionicPowers/SharedDispelPowerSystem.cs @@ -6,7 +6,7 @@ using Content.Shared.Damage; using Content.Shared.Damage.Systems; using Content.Shared.Popups; using Content.Shared.Revenant.Components; -using Content.Shared.StatusEffectNew; +using Content.Shared.StatusEffect; using Robust.Shared.Audio; using Robust.Shared.Audio.Systems; @@ -20,6 +20,7 @@ public abstract class SharedDispelPowerSystem : BasePsionicPowerSystemThe event. private void OnPsionicShieldingStopped(Entity psionic, ref PsionicStoppedShieldedEvent args) { - if (_statusEffects.HasStatusEffect(psionic, "StatusEffectPsionicsDisabled")) + if (_statusEffectsNew.HasStatusEffect(psionic, "StatusEffectPsionicsDisabled")) return; // Losing the shielding causes you to lose vision of the invisible. This is to prevent that. Psionic.SetCanSeePsionicInvisiblity(args.Shielded, true); @@ -115,7 +116,7 @@ public abstract class SharedDispelPowerSystem : BasePsionicPowerSystem(psionic, "TemporaryBlindness", psionic.Comp.UseDelay, true); Movement.TryUpdateMovementSpeedModDuration(args.Performer, PrecognitionSlowdown, psionic.Comp.UseDelay, 0.5f); psionic.Comp.SaveDoAfterId(doAfterId.Value); diff --git a/Content.Shared/_Goobstation/Fishing/Systems/SharedFishingSystem.cs b/Content.Shared/_Goobstation/Fishing/Systems/SharedFishingSystem.cs index 9fd08c5a34a..40962ac0a22 100644 --- a/Content.Shared/_Goobstation/Fishing/Systems/SharedFishingSystem.cs +++ b/Content.Shared/_Goobstation/Fishing/Systems/SharedFishingSystem.cs @@ -9,8 +9,10 @@ using Content.Shared._Goobstation.Fishing.Components; using Content.Shared._Goobstation.Fishing.Events; using Content.Shared.Actions; +using Content.Shared.GameTicking; using Content.Shared.Hands.EntitySystems; using Content.Shared.Popups; +using Content.Shared.Random.Helpers; using Content.Shared.Throwing; using Robust.Shared.Map; using Robust.Shared.Network; @@ -33,7 +35,6 @@ public abstract class SharedFishingSystem : EntitySystem [Dependency] private readonly SharedActionsSystem _actions = default!; [Dependency] private readonly SharedPopupSystem _popup = default!; [Dependency] private readonly SharedHandsSystem _hands = default!; - [Dependency] private readonly IRobustRandom _random = default!; // Delta V - Build Errors protected EntityQuery FisherQuery; protected EntityQuery ActiveFishSpotQuery; @@ -349,9 +350,10 @@ public abstract class SharedFishingSystem : EntitySystem var targetCoords = Xform.GetMapCoordinates(Transform(attachedEnt)); var playerCoords = Xform.GetMapCoordinates(Transform(player)); // var rand = new System.Random((int) Timing.CurTick.Value); // evil random prediction hack // Delta V - No idea, commenting out for now + var rand = SharedRandomExtensions.PredictedRandom(Timing, GetNetEntity(ent)); // Calculate throw direction - var direction = (playerCoords.Position - targetCoords.Position) * _random.NextFloat(0.2f, 0.85f); + var direction = (playerCoords.Position - targetCoords.Position) * rand.NextFloat(0.2f, 0.85f); // Yeet Throwing.TryThrow(attachedEnt, direction, 4f, player); diff --git a/Content.Shared/_Impstation/Revenant/EntitySystems/SharedRevealRevenantOnCollideSystem.cs b/Content.Shared/_Impstation/Revenant/EntitySystems/SharedRevealRevenantOnCollideSystem.cs index eace58d28b2..3338a808a3f 100644 --- a/Content.Shared/_Impstation/Revenant/EntitySystems/SharedRevealRevenantOnCollideSystem.cs +++ b/Content.Shared/_Impstation/Revenant/EntitySystems/SharedRevealRevenantOnCollideSystem.cs @@ -1,8 +1,10 @@ using Content.Shared.Revenant.Components; using Content.Shared.Popups; -using Content.Shared.StatusEffectNew; // Delta V - Migrate to New +using Content.Shared.StatusEffect; using Content.Shared.Stunnable; using Robust.Shared.Physics.Events; +using Robust.Shared.Prototypes; +using Robust.Shared.Timing; namespace Content.Shared.Revenant.EntitySystems; @@ -11,10 +13,10 @@ public abstract class SharedRevealRevenantOnCollideSystem : EntitySystem [Dependency] private readonly StatusEffectsSystem _status = default!; [Dependency] private readonly SharedPopupSystem _popup = default!; [Dependency] private readonly SharedStunSystem _stun = default!; - // [Dependency] private readonly IGameTiming _gameTiming = default!; // Delta V - Never used + [Dependency] private readonly IGameTiming _gameTiming = default!; - private const string CorporealStatusId = "Corporeal"; - private const string StunStatusId = "Stun"; + private static readonly ProtoId CorporealStatusId = "Corporeal"; + private static readonly ProtoId StunStatusId = "Stun"; public override void Initialize() { @@ -35,7 +37,7 @@ public abstract class SharedRevealRevenantOnCollideSystem : EntitySystem args.OtherEntity ); - _status.TryAddStatusEffectDuration(args.OtherEntity, CorporealStatusId, out _, comp.RevealTime); + _status.TryAddStatusEffect(args.OtherEntity, CorporealStatusId, comp.RevealTime, true); if (comp.StunTime != null && !_status.HasStatusEffect(args.OtherEntity, StunStatusId)) _stun.TryUpdateStunDuration(args.OtherEntity, comp.StunTime.Value); diff --git a/Resources/Locale/en-US/_DV/gases/gases.ftl b/Resources/Locale/en-US/_DV/gases/gases.ftl index 7b334c19b2c..16746fe0d17 100644 --- a/Resources/Locale/en-US/_DV/gases/gases.ftl +++ b/Resources/Locale/en-US/_DV/gases/gases.ftl @@ -1 +1,2 @@ gases-miasma = Miasma +gas-miasma = Miasma diff --git a/Resources/Locale/en-US/atmos/gases.ftl b/Resources/Locale/en-US/atmos/gases.ftl index 43d286a2df1..b5d9ed6aaed 100644 --- a/Resources/Locale/en-US/atmos/gases.ftl +++ b/Resources/Locale/en-US/atmos/gases.ftl @@ -12,7 +12,6 @@ gas-water-vapor = Water Vapor gas-water-vapor-abbreviation = H₂O gas-ammonia = Ammonia gas-ammonia-abbreviation = NH₃ -gas-miasma = Miasma # Delta V - Add Miasma gas-nitrous-oxide = Nitrous Oxide gas-nitrous-oxide-abbreviation = N₂O gas-frezon = Frezon diff --git a/Resources/Prototypes/Entities/Structures/Machines/reagent_grinder.yml b/Resources/Prototypes/Entities/Structures/Machines/reagent_grinder.yml index d7d99520eaf..888ded0cc49 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/reagent_grinder.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/reagent_grinder.yml @@ -38,9 +38,9 @@ - map: [ "grinder" ] state: "grinder_empty" - type: ApcPowerReceiver - powerLoad: 300 + powerLoad: 0 - type: PowerState - idlePowerDraw: 300 # Delta V - Tests Cry, needs to be the same as the APCPowerReceiver Value + idlePowerDraw: 0 # Delta V - Tests Cry, needs to be the same as the APCPowerReceiver Value workingPowerDraw: 750 # medium power blender - type: AutomationSlots # Goobstation slots: diff --git a/Resources/Prototypes/GameRules/pests.yml b/Resources/Prototypes/GameRules/pests.yml index 7e57039369a..97badb34f8c 100644 --- a/Resources/Prototypes/GameRules/pests.yml +++ b/Resources/Prototypes/GameRules/pests.yml @@ -44,8 +44,8 @@ - id: MobWhimperlet # DeltaV - added Whimperlet weight: 0.03 #- id: MobMouseCancer # DeltaV - no -# - id: MobCorticalBorer # DeltaV - ported Borer -# weight: 0.015 # DeltaV - original probability was 0.001 but that seems WAY too low + #- id: MobCorticalBorer # DeltaV - ported Borer + # weight: 0.015 # DeltaV - original probability was 0.001 but that seems WAY too low # Events always spawn a critter regardless of Probability https://github.com/space-wizards/space-station-14/issues/28480 I added the Rat King to their own event with a player cap. - type: entity @@ -188,3 +188,5 @@ - id: MobMouse - id: MobMouse1 - id: MobMouse2 + - id: MobWhimperlet # DeltaV - Added Whimperlet and its weight + weight: 0.03 diff --git a/Resources/Prototypes/Tiles/floors.yml b/Resources/Prototypes/Tiles/floors.yml index 08068a0d10b..33eea9866a4 100644 --- a/Resources/Prototypes/Tiles/floors.yml +++ b/Resources/Prototypes/Tiles/floors.yml @@ -107,7 +107,7 @@ id: FloorSteelOffset parent: BaseStationTile name: tiles-steel-floor-offset - sprite: /Textures/Tiles/steel_offset.png + sprite: /Textures/_DV/Tiles/steel_offset.png # Delta V - Resprite Tile itemDrop: FloorTileItemSteelOffset - type: tile diff --git a/Resources/Prototypes/_DV/Traits/disabilities.yml b/Resources/Prototypes/_DV/Traits/disabilities.yml index 513fc0509c7..41e1d9db9c8 100644 --- a/Resources/Prototypes/_DV/Traits/disabilities.yml +++ b/Resources/Prototypes/_DV/Traits/disabilities.yml @@ -73,34 +73,6 @@ - !type:SpawnItemInHandEffect item: OffsetCane -#- type: trait -# id: ArmAmputeeLeft -# name: trait-amputee-left-arm-name -# description: trait-amputee-left-arm-desc -# category: Disabilities -# conflicts: -# - ArmAmputeeRight # TODO: AmputeeComponent doesn't stack, should be an effect instead -# effects: -# - !type:AddCompsEffect -# components: -# - type: Amputee -# removeBodyPart: Arm -# partSymmetry: Left - -#- type: trait -# id: ArmAmputeeRight -# name: trait-amputee-right-arm-name -# description: trait-amputee-right-arm-desc -# category: Disabilities -# conflicts: -# - ArmAmputeeLeft -# effects: -# - !type:AddCompsEffect -# components: -# - type: Amputee -# removeBodyPart: Arm -# partSymmetry: Right - - type: trait id: Dysgraphia name: trait-dysgraphia-name diff --git a/Resources/Prototypes/_FarHorizons/Entities/Structures/Machines/Computers/computers.yml b/Resources/Prototypes/_FarHorizons/Entities/Structures/Machines/Computers/computers.yml index cc212b6fdf0..48961019da0 100644 --- a/Resources/Prototypes/_FarHorizons/Entities/Structures/Machines/Computers/computers.yml +++ b/Resources/Prototypes/_FarHorizons/Entities/Structures/Machines/Computers/computers.yml @@ -6,11 +6,11 @@ components: - type: ApcPowerReceiver powerLoad: 500 - # Delta V - Begin Changing PowerState here + # Delta V - Begin Changing PowerState here for Tests. IdlePowerDraw can't be less than APCPowerReceiver. - type: PowerState idlePowerDraw: 500 workingPowerDraw: 1000 - # Delta V - End Changing PowerState here + # Delta V - End - type: PointLight radius: 1.5 energy: 1.6 @@ -55,11 +55,11 @@ components: - type: ApcPowerReceiver powerLoad: 500 - # Delta V - Begin Changing PowerState here + # Delta V - Begin Changing PowerState here for Tests. IdlePowerDraw can't be less than APCPowerReceiver. - type: PowerState idlePowerDraw: 500 workingPowerDraw: 1000 - # Delta V - End Changing PowerState here + # Delta V - End - type: PointLight radius: 1.5 energy: 1.6 diff --git a/Resources/Prototypes/_Goobstation/Entities/Objects/Specific/Fishing/fish.yml b/Resources/Prototypes/_Goobstation/Entities/Objects/Specific/Fishing/fish.yml index 82e41d220d4..07a6b968100 100644 --- a/Resources/Prototypes/_Goobstation/Entities/Objects/Specific/Fishing/fish.yml +++ b/Resources/Prototypes/_Goobstation/Entities/Objects/Specific/Fishing/fish.yml @@ -27,7 +27,7 @@ - type: PassiveDamage allowedStates: - Alive -# damageCap: 20 # Delta V - No more damage cap + damageCap: 20 damage: types: Asphyxiation: 1 diff --git a/Resources/Prototypes/_Mono/Entities/Mobs/Ghostroles/Asakim/roles.yml b/Resources/Prototypes/_Mono/Entities/Mobs/Ghostroles/Asakim/roles.yml index ece21544973..873e4ff496c 100644 --- a/Resources/Prototypes/_Mono/Entities/Mobs/Ghostroles/Asakim/roles.yml +++ b/Resources/Prototypes/_Mono/Entities/Mobs/Ghostroles/Asakim/roles.yml @@ -11,9 +11,6 @@ components: - type: RandomHumanoidAppearance randomizeName: True -# - type: HumanoidAppearance - #height: 1.2 # DeltaV - non-functional - #width: 1.2 # DeltaV - non-functional - type: Loadout prototypes: [AsakimGear] #roleLoadout: [RoleSurvivalTankOnly] # DeltaV - nope @@ -33,9 +30,6 @@ - type: NpcFactionMember factions: - Syndicate - # Delta V Commented Olut for Nubody -# - type: SurgerySpeedModifier -# speedModifier: 1.5 #- type: IntrinsicRadioReceiver # DeltaV - unused #- type: IntrinsicRadioTransmitter # channels: diff --git a/Resources/Prototypes/_Mono/GameRules/asakim.yml b/Resources/Prototypes/_Mono/GameRules/asakim.yml index 99d5fdaf198..aee4b0c5b91 100644 --- a/Resources/Prototypes/_Mono/GameRules/asakim.yml +++ b/Resources/Prototypes/_Mono/GameRules/asakim.yml @@ -55,9 +55,6 @@ - type: NpcFactionMember factions: - Syndicate - # Delta V Commented out for Nubody -# - type: SurgerySpeedModifier # not sure why this was in the original one but whatever -# speedModifier: 1.5 #- type: PsionicBonusChance # uncomment when psionics are cool # multiplier: 999 # no way to guarentee random psionics so. next best thing mindRoles: