* Added basic alternative fire mode system for the CHIMP * Redesign of the CHIMP handcannon - the CHIMP now has an internal rechargable battery (10 shots at 100% charge) - it has three alternative fire modes, one for each particle type, that its user can easily switch between - syndicate scientists have access to an experimental version which can also fire omega particles (4 TC) - each particle type now has a distinct color and damage type: delta (red): heat, epsilon (green): radiation, zeta (yellow): shock, omega (purple): heat + radiation. This affects A.P.E.s as well - CHIMP particles now do 10 damage (up from 5) - all CHIMP particle cartridges have been removed from the game (including the syndicate omega particle ammo pack) * Code revisions * Code revisions - Removed changes to particle damage and damage types - The experimental CHIMP was removed from the syndicate uplink and replaced with an upgrade kit, which when used on a standard CHIMP will convert it to an experimental one * Code revisions - Added a 2 second DoAfter for applying the upgrade kit * Fixed spelling mistake * Update projectiles.yml Removed commented code * Update Content.Server/Weapons/Ranged/Systems/AlternativeFireModesSystem.cs Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> * Code revisions - Implemented changes requested by EmoGarbage - Removed UpgradeKitComponent in favor of using a construction graph - Renamed AlternativeFireModesComponent.cs to BatteryWeaponFireModesComponent.cs Textures - Reverted omega particle to being a green color - Epsilon particles are now a cyan color * Added comments * Revisions - Moved BatteryWeaponFireModesComponent from Shared to Server - Restricted access to this component to BatteryWeaponFireModesSystem - Changed the CHIMP upgrade kit to a chip - Updated the localization files to reflect this change * Delete interaction-upgrade-kit-component.ftl This file is no longer needed * Update battery_guns.yml Added new description for the experimental CHIMP * Update battery_guns.yml Updated experimental CHIMP description again... * Fixed issue with ItemComponent --------- Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
112 lines
2.2 KiB
C#
112 lines
2.2 KiB
C#
using Robust.Shared.Serialization;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Shared.Anomaly;
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum AnomalyVisuals : byte
|
|
{
|
|
IsPulsing,
|
|
Supercritical
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum AnomalyVisualLayers : byte
|
|
{
|
|
Base,
|
|
Animated
|
|
}
|
|
|
|
/// <summary>
|
|
/// The types of anomalous particles used
|
|
/// for interfacing with anomalies.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// The only thought behind these names is that
|
|
/// they're a continuation of radioactive particles.
|
|
/// Yes i know detla+ waves exist, but they're not
|
|
/// common enough for me to care.
|
|
/// </remarks>
|
|
[Serializable, NetSerializable]
|
|
public enum AnomalousParticleType : byte
|
|
{
|
|
Delta,
|
|
Epsilon,
|
|
Zeta,
|
|
Default
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum AnomalyVesselVisuals : byte
|
|
{
|
|
HasAnomaly,
|
|
AnomalyState
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum AnomalyVesselVisualLayers : byte
|
|
{
|
|
Base
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum AnomalyGeneratorVisuals : byte
|
|
{
|
|
Generating
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum AnomalyGeneratorVisualLayers : byte
|
|
{
|
|
Base
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum AnomalyScannerUiKey : byte
|
|
{
|
|
Key
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class AnomalyScannerUserInterfaceState : BoundUserInterfaceState
|
|
{
|
|
public FormattedMessage Message;
|
|
|
|
public TimeSpan? NextPulseTime;
|
|
|
|
public AnomalyScannerUserInterfaceState(FormattedMessage message, TimeSpan? nextPulseTime)
|
|
{
|
|
Message = message;
|
|
NextPulseTime = nextPulseTime;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum AnomalyGeneratorUiKey : byte
|
|
{
|
|
Key
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class AnomalyGeneratorUserInterfaceState : BoundUserInterfaceState
|
|
{
|
|
public TimeSpan CooldownEndTime;
|
|
|
|
public int FuelAmount;
|
|
|
|
public int FuelCost;
|
|
|
|
public AnomalyGeneratorUserInterfaceState(TimeSpan cooldownEndTime, int fuelAmount, int fuelCost)
|
|
{
|
|
CooldownEndTime = cooldownEndTime;
|
|
FuelAmount = fuelAmount;
|
|
FuelCost = fuelCost;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class AnomalyGeneratorGenerateButtonPressedEvent : BoundUserInterfaceMessage
|
|
{
|
|
|
|
}
|