diff --git a/Content.Server/Ame/AmeNodeGroup.cs b/Content.Server/Ame/AmeNodeGroup.cs index d970f43d8b..1c6927cd43 100644 --- a/Content.Server/Ame/AmeNodeGroup.cs +++ b/Content.Server/Ame/AmeNodeGroup.cs @@ -124,7 +124,7 @@ public sealed class AmeNodeGroup : BaseNodeGroup if (fuel <= 0 || CoreCount <= 0) return 0; - var safeFuelLimit = CoreCount * 2; + var safeFuelLimit = CoreCount * 3; var powerOutput = CalculatePower(fuel, CoreCount); if (fuel <= safeFuelLimit) diff --git a/Content.Server/Ame/Components/AmeControllerComponent.cs b/Content.Server/Ame/Components/AmeControllerComponent.cs index 2b7a46e947..2f8c5fec5e 100644 --- a/Content.Server/Ame/Components/AmeControllerComponent.cs +++ b/Content.Server/Ame/Components/AmeControllerComponent.cs @@ -37,7 +37,7 @@ public sealed partial class AmeControllerComponent : SharedAmeControllerComponen /// [DataField("injectionAmount")] [ViewVariables(VVAccess.ReadWrite)] - public int InjectionAmount = 2; + public int InjectionAmount = 3; /// /// How stable the reactor currently is. diff --git a/Content.Server/Ame/EntitySystems/AmeControllerSystem.cs b/Content.Server/Ame/EntitySystems/AmeControllerSystem.cs index 93b2a29a76..21097719d3 100644 --- a/Content.Server/Ame/EntitySystems/AmeControllerSystem.cs +++ b/Content.Server/Ame/EntitySystems/AmeControllerSystem.cs @@ -234,7 +234,7 @@ public sealed class AmeControllerSystem : EntitySystem // Admin alert var safeLimit = 0; if (TryGetAMENodeGroup(uid, out var group)) - safeLimit = group.CoreCount * 2; + safeLimit = group.CoreCount * 3; if (oldValue <= safeLimit && value > safeLimit) { @@ -340,10 +340,10 @@ public sealed class AmeControllerSystem : EntitySystem ToggleInjecting(uid, user: user, controller: comp); break; case UiButton.IncreaseFuel: - AdjustInjectionAmount(uid, +2, user: user, controller: comp); + AdjustInjectionAmount(uid, +3, user: user, controller: comp); break; case UiButton.DecreaseFuel: - AdjustInjectionAmount(uid, -2, user: user, controller: comp); + AdjustInjectionAmount(uid, -3, user: user, controller: comp); break; } diff --git a/Content.Server/Ame/EntitySystems/AmeShieldingSystem.cs b/Content.Server/Ame/EntitySystems/AmeShieldingSystem.cs index c8ebaf53e8..50089e9e68 100644 --- a/Content.Server/Ame/EntitySystems/AmeShieldingSystem.cs +++ b/Content.Server/Ame/EntitySystems/AmeShieldingSystem.cs @@ -36,6 +36,6 @@ public sealed class AmeShieldingSystem : EntitySystem _pointLightSystem.SetRadius(uid, Math.Clamp(injectionStrength, 1, 12)); _pointLightSystem.SetEnabled(uid, true); - _appearanceSystem.SetData(uid, AmeShieldVisuals.CoreState, injectionStrength > 2 ? AmeCoreState.Strong : AmeCoreState.Weak); + _appearanceSystem.SetData(uid, AmeShieldVisuals.CoreState, injectionStrength > 3 ? AmeCoreState.Strong : AmeCoreState.Weak); } } diff --git a/Content.Shared/CCVar/CCVars.cs b/Content.Shared/CCVar/CCVars.cs index bab54dd736..4a4688ffe0 100644 --- a/Content.Shared/CCVar/CCVars.cs +++ b/Content.Shared/CCVar/CCVars.cs @@ -708,7 +708,7 @@ namespace Content.Shared.CCVar CVarDef.Create("hud.combat_mode_indicators_point_show", true, CVar.ARCHIVE | CVar.CLIENTONLY); public static readonly CVarDef LoocAboveHeadShow = - CVarDef.Create("hud.show_looc_above_head", true, CVar.ARCHIVE | CVar.CLIENTONLY); + CVarDef.Create("hud.show_looc_above_head", false, CVar.ARCHIVE | CVar.CLIENTONLY); public static readonly CVarDef HudHeldItemOffset = CVarDef.Create("hud.held_item_offset", 28f, CVar.ARCHIVE | CVar.CLIENTONLY); @@ -1813,7 +1813,7 @@ namespace Content.Shared.CCVar /// Whether or not the storage UI is static and bound to the hotbar, or unbound and allowed to be dragged anywhere. /// public static readonly CVarDef StaticStorageUI = - CVarDef.Create("control.static_storage_ui", true, CVar.CLIENTONLY | CVar.ARCHIVE); + CVarDef.Create("control.static_storage_ui", false, CVar.CLIENTONLY | CVar.ARCHIVE); /// /// Whether or not the storage window uses a transparent or opaque sprite. diff --git a/Content.Shared/Changeling/SharedTentacleGun.cs b/Content.Shared/Changeling/SharedTentacleGun.cs index 191fb1da7b..e3baa2f2ee 100644 --- a/Content.Shared/Changeling/SharedTentacleGun.cs +++ b/Content.Shared/Changeling/SharedTentacleGun.cs @@ -34,9 +34,28 @@ public abstract class SharedTentacleGun : EntitySystem base.Initialize(); SubscribeLocalEvent(OnTentacleShot); + SubscribeLocalEvent(OnMapInit); // WD SubscribeLocalEvent(OnTentacleCollide); } + // WD EDIT START + private void OnMapInit(Entity ent, ref MapInitEvent args) + { + if (ent.Comp.DespawnTime <= 0) + { + return; + } + + _timerManager.AddTimer(new Timer(ent.Comp.DespawnTime, false, () => + { + if (!ent.Comp.GrabbedUid.HasValue) + { + Del(ent.Owner); + } + })); + } + // WD EDIT END + private void OnTentacleShot(EntityUid uid, TentacleGunComponent component, ref GunShotEvent args) { foreach (var (shotUid, _) in args.Ammo) @@ -90,6 +109,7 @@ public abstract class SharedTentacleGun : EntitySystem { DeleteProjectile(uid); })); + component.GrabbedUid = args.Embedded; break; case SelectiveFire.PullItem: PullItem(args); @@ -117,7 +137,7 @@ public abstract class SharedTentacleGun : EntitySystem private bool PullMob(ProjectileEmbedEvent args) { - var stunTime = _random.Next(TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(8)); + var stunTime = _random.Next(TimeSpan.FromSeconds(2), TimeSpan.FromSeconds(5)); if (!_stunSystem.TryParalyze(args.Embedded, stunTime, true)) return false; diff --git a/Content.Shared/Changeling/TentacleProjectileComponent.cs b/Content.Shared/Changeling/TentacleProjectileComponent.cs index 2088ad332e..c3ce7ec570 100644 --- a/Content.Shared/Changeling/TentacleProjectileComponent.cs +++ b/Content.Shared/Changeling/TentacleProjectileComponent.cs @@ -2,8 +2,15 @@ namespace Content.Shared.Changeling; - -[RegisterComponent, NetworkedComponent] +[RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class TentacleProjectileComponent : Component { + /// + /// Time until projectile despawns in miliseconds. + /// + [DataField, AutoNetworkedField] + public int DespawnTime = -1; + + [ViewVariables, AutoNetworkedField] + public EntityUid? GrabbedUid; } diff --git a/Content.Shared/Localizations/ContentLocalizationManager.cs b/Content.Shared/Localizations/ContentLocalizationManager.cs index b3d8643e14..10517dc6f8 100644 --- a/Content.Shared/Localizations/ContentLocalizationManager.cs +++ b/Content.Shared/Localizations/ContentLocalizationManager.cs @@ -35,7 +35,6 @@ namespace Content.Shared.Localizations // WD-EDIT var fallbackCulture = new CultureInfo(FallbackCulture); - _loc.LoadCulture(culture); // WD-EDIT @@ -52,6 +51,14 @@ namespace Content.Shared.Localizations _loc.AddFunction(culture, "NATURALFIXED", FormatNaturalFixed); _loc.AddFunction(culture, "NATURALPERCENT", FormatNaturalPercent); + _loc.AddFunction(fallbackCulture, "PRESSURE", FormatPressure); + _loc.AddFunction(fallbackCulture, "POWERWATTS", FormatPowerWatts); + _loc.AddFunction(fallbackCulture, "POWERJOULES", FormatPowerJoules); + _loc.AddFunction(fallbackCulture, "UNITS", FormatUnits); + _loc.AddFunction(fallbackCulture, "TOSTRING", args => FormatToString(culture, args)); + _loc.AddFunction(fallbackCulture, "LOC", FormatLoc); + _loc.AddFunction(fallbackCulture, "NATURALFIXED", FormatNaturalFixed); + _loc.AddFunction(fallbackCulture, "NATURALPERCENT", FormatNaturalPercent); /* * The following language functions are specific to the english localization. When working on your own diff --git a/Content.Shared/Weapons/Melee/SharedMeleeWeaponSystem.cs b/Content.Shared/Weapons/Melee/SharedMeleeWeaponSystem.cs index 46ebda6a3d..7bab837176 100644 --- a/Content.Shared/Weapons/Melee/SharedMeleeWeaponSystem.cs +++ b/Content.Shared/Weapons/Melee/SharedMeleeWeaponSystem.cs @@ -1,6 +1,7 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Numerics; +using Content.Server.Stunnable.Components; using Content.Shared.ActionBlocker; using Content.Shared.Administration.Logs; using Content.Shared.CombatMode; @@ -217,6 +218,13 @@ public abstract class SharedMeleeWeaponSystem : EntitySystem return; } + // WD EDIT START + if (TryComp(weaponUid, out _)) + { + return; + } + // WD EDIT END + AttemptAttack(args.SenderSession.AttachedEntity.Value, weaponUid, weapon, msg, args.SenderSession); } @@ -385,6 +393,12 @@ public abstract class SharedMeleeWeaponSystem : EntitySystem // Windup time checked elsewhere. var fireRate = TimeSpan.FromSeconds(1f / GetAttackRate(weaponUid, user, weapon)); + + if (attack is LightAttackEvent _) + { + fireRate *= 0.8f; + } + var swings = 0; // TODO: If we get autoattacks then probably need a shotcounter like guns so we can do timing properly. @@ -561,9 +575,13 @@ public abstract class SharedMeleeWeaponSystem : EntitySystem var direction = targetMap.Position - userPos; var distance = Math.Min(component.Range, direction.Length()); - var damage = GetDamage(meleeUid, user, component); + var damage = GetDamage(meleeUid, user, component) * 0.70f; var entities = GetEntityList(ev.Entities); + // WD EDIT + _stamina.TakeStaminaDamage(user, 7); + // WD EDIT END + if (entities.Count == 0) { if (meleeUid == user) diff --git a/Resources/Locale/ru-RU/power/teg.ftl b/Resources/Locale/ru-RU/power/teg.ftl new file mode 100644 index 0000000000..d5b1c39019 --- /dev/null +++ b/Resources/Locale/ru-RU/power/teg.ftl @@ -0,0 +1,2 @@ +teg-generator-examine-power = Генерирует [color=yellow]{ POWERWATTS($power) }[/color]. +teg-generator-examine-connection = Для работы необходимо, чтобы с каждой стороны был [color=white]циркулятор[/color]. diff --git a/Resources/Prototypes/Catalog/Fills/Crates/engines.yml b/Resources/Prototypes/Catalog/Fills/Crates/engines.yml index 3129e28b72..2e6208d08f 100644 --- a/Resources/Prototypes/Catalog/Fills/Crates/engines.yml +++ b/Resources/Prototypes/Catalog/Fills/Crates/engines.yml @@ -4,12 +4,12 @@ id: CrateEngineeringAMEShielding parent: CrateEngineeringSecure name: packaged antimatter reactor crate - description: 9 parts for the main body of an antimatter reactor, or for expanding an existing one. + description: 18 parts for the main body of an antimatter reactor, or for expanding an existing one. components: - type: StorageFill contents: - id: AmePart - amount: 9 + amount: 18 - type: entity id: CrateEngineeringAMEJar diff --git a/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml b/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml index 50218f776b..24672b39b8 100644 --- a/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml +++ b/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml @@ -91,11 +91,11 @@ - type: TemperatureProtection coefficient: 0.001 # yes it needs to be this low, fires are fucking deadly apparently!!!! - type: ClothingSpeedModifier - walkModifier: 0.4 - sprintModifier: 0.6 + walkModifier: 0.5 + sprintModifier: 0.7 - type: HeldSpeedModifier - type: Item - size: Ginormous + size: Huge - type: Armor modifiers: coefficients: diff --git a/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml b/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml index df49abc19d..fbaea3bf7a 100644 --- a/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml +++ b/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml @@ -22,8 +22,8 @@ Piercing: 0.9 Caustic: 0.9 - type: ClothingSpeedModifier - walkModifier: 0.80 - sprintModifier: 0.80 + walkModifier: 0.9 + sprintModifier: 0.9 - type: HeldSpeedModifier - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitBasic @@ -56,8 +56,8 @@ Radiation: 0.5 Caustic: 0.5 - type: ClothingSpeedModifier - walkModifier: 0.7 - sprintModifier: 0.7 + walkModifier: 0.85 + sprintModifier: 0.85 - type: HeldSpeedModifier - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitAtmos @@ -90,8 +90,8 @@ Caustic: 0.5 Radiation: 0.2 - type: ClothingSpeedModifier - walkModifier: 0.7 - sprintModifier: 0.7 + walkModifier: 0.85 + sprintModifier: 0.85 - type: HeldSpeedModifier - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitEngineering @@ -120,7 +120,7 @@ Caustic: 0.8 - type: ClothingSpeedModifier walkModifier: 0.9 - sprintModifier: 0.8 + sprintModifier: 0.9 - type: HeldSpeedModifier - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitSpatio @@ -150,8 +150,8 @@ Radiation: 0.3 Caustic: 0.7 - type: ClothingSpeedModifier - walkModifier: 0.75 - sprintModifier: 0.75 + walkModifier: 0.85 + sprintModifier: 0.85 - type: HeldSpeedModifier - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitSalvage @@ -211,15 +211,15 @@ Piercing: 0.6 Caustic: 0.7 - type: ClothingSpeedModifier - walkModifier: 0.75 - sprintModifier: 0.75 + walkModifier: 0.85 + sprintModifier: 0.85 - type: HeldSpeedModifier - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitSecurity #Brigmedic Hardsuit - type: entity - parent: ClothingOuterHardsuitBase + parent: ClothingOuterHardsuitSecurity id: ClothingOuterHardsuitBrigmedic name: brigmedic hardsuit description: Special hardsuit of the guardian angel of the brig. It is the medical version of the security hardsuit. @@ -228,25 +228,18 @@ sprite: Clothing/OuterClothing/Hardsuits/brigmedic.rsi - type: Clothing sprite: Clothing/OuterClothing/Hardsuits/brigmedic.rsi - - type: PressureProtection - highPressureMultiplier: 0.3 - lowPressureMultiplier: 1000 - type: Armor modifiers: coefficients: Blunt: 0.8 Slash: 0.8 Piercing: 0.7 - - type: ClothingSpeedModifier - walkModifier: 0.65 - sprintModifier: 0.65 - - type: HeldSpeedModifier - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitBrigmedic #Warden's Hardsuit - type: entity - parent: ClothingOuterHardsuitBase + parent: ClothingOuterHardsuitSecurity id: ClothingOuterHardsuitWarden name: warden's hardsuit description: A specialized riot suit geared to combat low pressure environments. @@ -255,28 +248,49 @@ sprite: Clothing/OuterClothing/Hardsuits/security-warden.rsi - type: Clothing sprite: Clothing/OuterClothing/Hardsuits/security-warden.rsi - - type: PressureProtection - highPressureMultiplier: 0.5 - lowPressureMultiplier: 1000 - - type: ExplosionResistance - damageCoefficient: 0.4 - type: Armor modifiers: coefficients: - Blunt: 0.5 - Slash: 0.6 - Piercing: 0.6 - Caustic: 0.7 + Blunt: 0.55 + Slash: 0.65 + Piercing: 0.65 + Caustic: 0.75 - type: ClothingSpeedModifier - walkModifier: 0.7 - sprintModifier: 0.7 - - type: HeldSpeedModifier + walkModifier: 0.8 + sprintModifier: 0.8 - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitWarden +#Head of Security's Hardsuit +- type: entity + parent: ClothingOuterHardsuitSecurity + id: ClothingOuterHardsuitSecurityRed + name: head of security's hardsuit + description: A special suit that protects against hazardous, low pressure environments. Has an additional layer of armor. + components: + - type: Sprite + sprite: Clothing/OuterClothing/Hardsuits/security-red.rsi + - type: Clothing + sprite: Clothing/OuterClothing/Hardsuits/security-red.rsi + - type: PressureProtection + highPressureMultiplier: 0.45 + lowPressureMultiplier: 1000 + - type: ExplosionResistance + damageCoefficient: 0.6 + - type: Armor + modifiers: + coefficients: + Blunt: 0.6 + Slash: 0.5 + Piercing: 0.5 + Radiation: 0.5 + Caustic: 0.6 + - type: ToggleableClothing + clothingPrototype: ClothingHeadHelmetHardsuitSecurityRed + #Captain's Hardsuit - type: entity - parent: ClothingOuterHardsuitBase + parent: ClothingOuterHardsuitWarden id: ClothingOuterHardsuitCap name: captain's armored spacesuit description: A formal armored spacesuit, made for the station's captain. @@ -288,13 +302,11 @@ - type: PressureProtection highPressureMultiplier: 0.02 lowPressureMultiplier: 1000 - - type: ExplosionResistance - damageCoefficient: 0.5 - type: Armor modifiers: coefficients: - Blunt: 0.8 - Slash: 0.8 + Blunt: 0.6 + Slash: 0.6 Piercing: 0.6 Heat: 0.5 Radiation: 0.5 @@ -302,7 +314,6 @@ - type: ClothingSpeedModifier walkModifier: 0.8 sprintModifier: 0.8 - - type: HeldSpeedModifier - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitCap @@ -346,8 +357,8 @@ Radiation: 0.0 Caustic: 0.7 - type: ClothingSpeedModifier - walkModifier: 0.75 - sprintModifier: 0.8 + walkModifier: 0.85 + sprintModifier: 0.85 - type: HeldSpeedModifier - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitEngineeringWhite @@ -403,8 +414,8 @@ - type: ExplosionResistance damageCoefficient: 0.1 - type: ClothingSpeedModifier - walkModifier: 0.75 - sprintModifier: 0.75 + walkModifier: 0.8 + sprintModifier: 0.8 - type: HeldSpeedModifier - type: Item size: Normal @@ -420,37 +431,6 @@ - type: StealTarget stealGroup: ClothingOuterHardsuitRd -#Head of Security's Hardsuit -- type: entity - parent: ClothingOuterHardsuitSecurity - id: ClothingOuterHardsuitSecurityRed - name: head of security's hardsuit - description: A special suit that protects against hazardous, low pressure environments. Has an additional layer of armor. - components: - - type: Sprite - sprite: Clothing/OuterClothing/Hardsuits/security-red.rsi - - type: Clothing - sprite: Clothing/OuterClothing/Hardsuits/security-red.rsi - - type: PressureProtection - highPressureMultiplier: 0.45 - lowPressureMultiplier: 1000 - - type: ExplosionResistance - damageCoefficient: 0.6 - - type: Armor - modifiers: - coefficients: - Blunt: 0.6 - Slash: 0.5 - Piercing: 0.5 - Radiation: 0.5 - Caustic: 0.6 - - type: ClothingSpeedModifier - walkModifier: 0.8 - sprintModifier: 0.8 - - type: HeldSpeedModifier - - type: ToggleableClothing - clothingPrototype: ClothingHeadHelmetHardsuitSecurityRed - #Luxury Mining Hardsuit - type: entity parent: ClothingOuterHardsuitBase @@ -523,8 +503,6 @@ components: - type: Sprite sprite: Clothing/OuterClothing/Hardsuits/syndicate.rsi - - type: Item - size: Huge - type: Clothing sprite: Clothing/OuterClothing/Hardsuits/syndicate.rsi - type: PressureProtection @@ -583,9 +561,9 @@ - type: Armor modifiers: coefficients: - Blunt: 0.6 - Slash: 0.6 - Piercing: 0.6 + Blunt: 0.5 + Slash: 0.5 + Piercing: 0.5 Heat: 0.2 Radiation: 0.01 Caustic: 0.5 @@ -655,7 +633,7 @@ Caustic: 0.2 - type: ClothingSpeedModifier walkModifier: 0.9 - sprintModifier: 0.65 + sprintModifier: 0.7 - type: HeldSpeedModifier - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitCybersun diff --git a/Resources/Prototypes/Entities/Objects/Materials/Sheets/metal.yml b/Resources/Prototypes/Entities/Objects/Materials/Sheets/metal.yml index 24b4544e56..d1a5afda3d 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/Sheets/metal.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/Sheets/metal.yml @@ -8,7 +8,7 @@ sprite: Objects/Materials/Sheets/metal.rsi - type: Item sprite: Objects/Materials/Sheets/metal.rsi - size: Normal + size: Small - type: StaticPrice price: 0 - type: Tag diff --git a/Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml b/Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml index ba946fe486..ad31fd0f51 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml @@ -19,7 +19,7 @@ sprite: Objects/Tools/cable-coils.rsi - type: Item sprite: Objects/Tools/cable-coils.rsi - size: Normal + size: Small - type: CablePlacer - type: Clickable - type: StaticPrice diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Launchers/launchers.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Launchers/launchers.yml index 0fca20dd0c..d93be773f7 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Launchers/launchers.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Launchers/launchers.yml @@ -279,6 +279,7 @@ proto: TentacleProjectile capacity: 1 count: 1 + - type: AmmoCounter - type: RechargeBasicEntityAmmo rechargeCooldown: 0.75 playRechargeSound: false diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml index 7fe97fa93f..1310578ef1 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml @@ -922,6 +922,7 @@ - Impassable - BulletImpassable - type: TentacleProjectile + despawnTime: 450 - type: entity name : disabler bolt smg diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Melee/armblade.yml b/Resources/Prototypes/Entities/Objects/Weapons/Melee/armblade.yml index 3f8a683e9d..19f74b4e81 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Melee/armblade.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Melee/armblade.yml @@ -13,8 +13,9 @@ attackRate: 0.75 damage: types: - Slash: 25 - Piercing: 15 + Slash: 17 + Piercing: 17 + Structural: 45 soundHit: path: /Audio/Weapons/bladeslice.ogg - type: Item diff --git a/Resources/Prototypes/Entities/Structures/Doors/Windoors/base_structurewindoors.yml b/Resources/Prototypes/Entities/Structures/Doors/Windoors/base_structurewindoors.yml index 4281177b4b..bcc0768fc5 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Windoors/base_structurewindoors.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Windoors/base_structurewindoors.yml @@ -60,7 +60,7 @@ ports: - DoorStatus - type: Damageable - damageContainer: Inorganic + damageContainer: StructuralInorganic damageModifierSet: Glass - type: ExaminableDamage messages: WindowMessages diff --git a/Resources/Prototypes/Entities/Structures/Doors/Windoors/windoor.yml b/Resources/Prototypes/Entities/Structures/Doors/Windoors/windoor.yml index b4010fe98f..0feaf81a6c 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Windoors/windoor.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Windoors/windoor.yml @@ -9,6 +9,10 @@ parent: BaseSecureWindoor name: secure windoor description: It's a sturdy window and a sliding door. Wow! + components: + - type: Damageable + damageContainer: StructuralInorganic + damageModifierSet: RGlass # TODO remove these with parameterized prototypes/whatever we end up doing # Windoors (alphabetical) diff --git a/Resources/Prototypes/secret_weights.yml b/Resources/Prototypes/secret_weights.yml index 48630066b7..882d0b16ae 100644 --- a/Resources/Prototypes/secret_weights.yml +++ b/Resources/Prototypes/secret_weights.yml @@ -1,10 +1,10 @@ - type: weightedRandom id: Secret weights: - Traitor: 0.30 - Changeling: 0.25 + Traitor: 0.35 + Changeling: 0.15 Nukeops: 0.15 Cult: 0.15 - Revolutionary: 0.05 + Revolutionary: 0.1 Zombie: 0.05 Survival: 0.05