mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-27 10:38:02 +03:00
* Уэээээээ * Почти настрадались * Скоро конец.... * СКОРО * Мышки плакали, кололись, но продолжали упорно жрать кактус * Все ближе! * Это такой конец? * Книжка говна * фиксики * ОНО ЖИВОЕ * Телепорт * разное * Added byond * ивенты теперь работают * Разфикс телепорта * Свет мой зеркальце скажи, да всю правду доложи - Я ль робастней всех на свете? * Разное * Еще многа всего * Многа разнава * Скоро конец.... * ЭТО КОНЕЦ * Фикс линтера (ну, или я на это надеюсь) * Еще один фикс линтера * Победа! * фиксики * пу пу пу * Фикс подмастерья * Мисклик * Высокочастотный меч * Неймспейсы * Пул способностей мага
87 lines
2.3 KiB
C#
87 lines
2.3 KiB
C#
// SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
|
|
// SPDX-FileCopyrightText: 2025 Aviu00 <93730715+Aviu00@users.noreply.github.com>
|
|
// SPDX-FileCopyrightText: 2025 Misandry <mary@thughunt.ing>
|
|
// SPDX-FileCopyrightText: 2025 gus <august.eymann@gmail.com>
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
using Content.Shared.Damage;
|
|
using Content.Shared.Humanoid;
|
|
using Content.Shared.Weapons.Ranged;
|
|
using Robust.Shared.Audio;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared._Shitcode.Wizard.Mutate;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class HulkComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// If it's null, hulk is permanent
|
|
/// </summary>
|
|
[DataField]
|
|
public float? Duration;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public float OldScale;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public bool LaserEyes = true;
|
|
|
|
[DataField]
|
|
public SoundSpecifier? SoundGunshot = new SoundPathSpecifier("/Audio/Weapons/Guns/Gunshots/laser_cannon.ogg");
|
|
|
|
[DataField]
|
|
public ProtoId<HitscanPrototype> ShotProto = "BulletLaserShotgunHeavy";
|
|
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public Dictionary<HumanoidVisualLayers, CustomBaseLayerInfo> OldCustomBaseLayers = new();
|
|
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public Color OldSkinColor;
|
|
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public Color OldEyeColor;
|
|
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public TimeSpan NextRoar = TimeSpan.Zero;
|
|
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public List<Color> NonHumanoidOldLayerData = new();
|
|
|
|
/// <summary>
|
|
/// Multiplier is actually this value + 1
|
|
/// </summary>
|
|
[DataField]
|
|
public float FistDamageMultiplier = 7f;
|
|
|
|
[DataField]
|
|
public float MaxBonusFistDamage = 50f;
|
|
|
|
[DataField]
|
|
public DamageSpecifier? StructuralDamage;
|
|
|
|
[DataField]
|
|
public Color SkinColor = Color.FromHex("#4EDB53");
|
|
|
|
[DataField]
|
|
public Color EyeColor = Color.FromHex("#910C17");
|
|
|
|
[DataField]
|
|
public string BaseLayerExternal = "MobHumanoidMarkingMatchSkin";
|
|
|
|
[DataField]
|
|
public TimeSpan RoarDelay = TimeSpan.FromSeconds(0.5);
|
|
|
|
[DataField]
|
|
public List<LocId> Roars = new()
|
|
{
|
|
"hulk-roar-1",
|
|
"hulk-roar-2",
|
|
"hulk-roar-3",
|
|
"hulk-roar-4",
|
|
"hulk-roar-5",
|
|
};
|
|
}
|