* Enable lighting of Cigars with IsHotEvent Subscribed to IsHotEvent in ThrusterSystem, added AfterInteractEvent to SmokingSystem.Cigar which will set SmokableState to Lit if IsHotEvent returns true This should mean that cigs/Cigars should light on anything hot * Revert "Enable lighting of Cigars with IsHotEvent" This reverts commit db896e1f80940892a87d34aa7182b9c605fa53bc. * Add the ability to kick your way out of welded or locked closets Added a ResistLocker component/system that hooks into OnRelayMove to begin resisting out of lockers so that players aren't stuck in lockers forever Also added check to EntityStorageComponent to not print out welded shut message if the entity attempting to open the locker is inside of it. * Changes based on review minor formatting changes make components passed into AttemptResist nullable and resolve them inside of the function Remove incorrectly named .ftl file * Changes based on review Ditched async DoAfter Used PopupSystem over User.PopupMessage Added Cancel token to ResistLockerComponent Subscribed to EntRemovedFromContainer event to cancel DoAfter if the player is removed from a container * I am in formatting hell, apparently * Changes based on review Added TryComp for the EntityStorageComponent instead of the event passed one * Changes based on review * Apply suggestions from code review Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> * Formatting changes based on review * Shuffle functions around in LockSystem to properly trigger visualizer Moved all the unlocking logic to a Lock method inside of LockSystem and TryUnlock calls this method if the user passes all of the access checks * Formatting, replacing Resolve with TryComp and making AttemptResist arguments optional Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> * Check if the player is inside THE container not A container me no read good * ok ok I give my code is bad Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
331 lines
9.2 KiB
C#
331 lines
9.2 KiB
C#
// ReSharper disable ArrangeTrailingCommaInMultilineLists
|
|
namespace Content.Client.Entry
|
|
{
|
|
public static class IgnoredComponents
|
|
{
|
|
public static string[] List => new[]
|
|
{
|
|
"Anchorable",
|
|
"AmmoBox",
|
|
"Pickaxe",
|
|
"IngestionBlocker",
|
|
"Interactable",
|
|
"Charger",
|
|
"CloningPod",
|
|
"Destructible",
|
|
"Temperature",
|
|
"AtmosExposed",
|
|
"Explosive",
|
|
"OnUseTimerTrigger",
|
|
"WarpPoint",
|
|
"EmitSoundOnUse",
|
|
"EmitSoundOnLand",
|
|
"EmitSoundOnActivate",
|
|
"FootstepModifier",
|
|
"HeatResistance",
|
|
"EntityStorage",
|
|
"MeleeWeapon",
|
|
"MeleeChemicalInjector",
|
|
"Dice",
|
|
"PaperLabel",
|
|
"Construction",
|
|
"PoweredLight",
|
|
"Smes",
|
|
"LightBulb",
|
|
"Healing",
|
|
"Material",
|
|
"RangedMagazine",
|
|
"Ammo",
|
|
"AiController",
|
|
"Computer",
|
|
"AsteroidRock",
|
|
"ResearchServer",
|
|
"ResearchPointSource",
|
|
"ResearchClient",
|
|
"IdCardConsole",
|
|
"Airlock",
|
|
"ThermalRegulator",
|
|
"AtmosFixMarker",
|
|
"CablePlacer",
|
|
"Drink",
|
|
"Food",
|
|
"DeployableBarrier",
|
|
"MagicMirror",
|
|
"FloorTile",
|
|
"ShuttleController",
|
|
"RandomInsulation",
|
|
"Electrified",
|
|
"Electrocution",
|
|
"Pourable",
|
|
"Paper",
|
|
"Write",
|
|
"Bloodstream",
|
|
"TransformableContainer",
|
|
"Mind",
|
|
"StorageFill",
|
|
"Mop",
|
|
"Bucket",
|
|
"CableVis",
|
|
"BatterySelfRecharger",
|
|
"Puddle",
|
|
"Stomach",
|
|
"CanSpill",
|
|
"SpeedLoader",
|
|
"Hitscan",
|
|
"StunOnCollide",
|
|
"RandomPottedPlant",
|
|
"Brain",
|
|
"CommunicationsConsole",
|
|
"BarSign",
|
|
"DroppedBodyPart",
|
|
"DoorBumpOpener",
|
|
"DroppedMechanism",
|
|
"SolarPanel",
|
|
"BodyScanner",
|
|
"Stunbaton",
|
|
"Tool",
|
|
"TilePrying",
|
|
"RandomSpriteColor",
|
|
"ConditionalSpawner",
|
|
"TemperatureProtection",
|
|
"DamageOnToolInteract",
|
|
"ExaminableBattery",
|
|
"PottedPlantHide",
|
|
"SecureEntityStorage",
|
|
"Lock",
|
|
"PresetIdCard",
|
|
"SolarControlConsole",
|
|
"Thruster",
|
|
"FlashOnTrigger",
|
|
"SoundOnTrigger",
|
|
"TriggerOnCollide",
|
|
"DeleteOnTrigger",
|
|
"EmptyOnMachineDeconstruct",
|
|
"ExplodeOnTrigger",
|
|
"Utensil",
|
|
"UnarmedCombat",
|
|
"TimedSpawner",
|
|
"NodeContainer",
|
|
"PowerSupplier",
|
|
"PowerConsumer",
|
|
"Battery",
|
|
"Lung",
|
|
"BatteryDischarger",
|
|
"Apc",
|
|
"PowerProvider",
|
|
"ApcPowerReceiver",
|
|
"Cable",
|
|
"StressTestMovement",
|
|
"Toys",
|
|
"EmitSoundOnThrow",
|
|
"Salvage",
|
|
"SalvageMagnet",
|
|
"Flash",
|
|
"Docking",
|
|
"Telecrystal",
|
|
"TrashSpawner",
|
|
"RCD",
|
|
"RCDAmmo",
|
|
"CursedEntityStorage",
|
|
"Listening",
|
|
"Radio",
|
|
"DisposalHolder",
|
|
"DisposalTagger",
|
|
"DisposalRouter",
|
|
"DisposalTransit",
|
|
"DisposalEntry",
|
|
"DisposalJunction",
|
|
"DisposalBend",
|
|
"Recycler",
|
|
"Conveyor",
|
|
"Flippable",
|
|
"Airtight",
|
|
"MovedByPressure",
|
|
"Spray",
|
|
"Vapor",
|
|
"DamageOnHighSpeedImpact",
|
|
"SolutionContainerManager",
|
|
"RefillableSolution",
|
|
"DrainableSolution",
|
|
"ExaminableSolution",
|
|
"DrawableSolution",
|
|
"InjectableSolution",
|
|
"Barotrauma",
|
|
"GasSprayer",
|
|
"GasVapor",
|
|
"GasVentPump",
|
|
"GasPassiveVent",
|
|
"GasVentScrubber",
|
|
"GasOutletInjector",
|
|
"GasMiner",
|
|
"GasPressurePump",
|
|
"GasVolumePump",
|
|
"GasPassiveGate",
|
|
"GasValve",
|
|
"GasThermoMachine",
|
|
"Respirator",
|
|
"Metabolizer",
|
|
"AiFactionTag",
|
|
"PressureProtection",
|
|
"AMEPart",
|
|
"AMEFuelContainer",
|
|
"AMEShield",
|
|
"PressurePump",
|
|
"PressureVent",
|
|
"VolumePump",
|
|
"PressureSiphon",
|
|
"PipeHeater",
|
|
"AtmosDevice",
|
|
"SignalReceiver",
|
|
"SignalSwitch",
|
|
"SignalTransmitter",
|
|
"SignalButton",
|
|
"SignalLinker",
|
|
"ItemCabinet",
|
|
"FireExtinguisher",
|
|
"Firelock",
|
|
"AtmosPlaque",
|
|
"Spillable",
|
|
"SpaceVillainArcade",
|
|
"Flammable",
|
|
"Smokable",
|
|
"Cigar",
|
|
"Matchstick",
|
|
"Matchbox",
|
|
"BlockGameArcade",
|
|
"Rehydratable",
|
|
"Headset",
|
|
"ComputerBoard",
|
|
"GasCanister",
|
|
"GasCanisterPort",
|
|
"GasPort",
|
|
"GasPortable",
|
|
"AtmosPipeColor",
|
|
"AtmosUnsafeUnanchor",
|
|
"GasMixer",
|
|
"Cleanable",
|
|
"Configuration",
|
|
"PlantHolder",
|
|
"SeedExtractor",
|
|
"Produce",
|
|
"Log",
|
|
"Hoe",
|
|
"Seed",
|
|
"ActivatableUI",
|
|
"ActivatableUIRequiresPower",
|
|
"BotanySharp",
|
|
"PlantSampleTaker",
|
|
"Internals",
|
|
"GasTank",
|
|
"BreathMask",
|
|
"RadiationCollector",
|
|
"Emitter",
|
|
"SingularityGenerator",
|
|
"ParticleProjectile",
|
|
"ParticleAcceleratorControlBox",
|
|
"ParticleAcceleratorEmitter",
|
|
"ParticleAcceleratorEndCap",
|
|
"ParticleAcceleratorFuelChamber",
|
|
"ParticleAcceleratorPowerBox",
|
|
"BodyBagEntityStorage",
|
|
"MorgueEntityStorage",
|
|
"MorgueTray",
|
|
"CrematoriumEntityStorage",
|
|
"RandomSpriteState",
|
|
"DebugEquip",
|
|
"InnateActions",
|
|
"ReagentGrinder",
|
|
"Extractable",
|
|
"WelderRefinable",
|
|
"ConveyorAssembly",
|
|
"TwoWayLever",
|
|
"FirelockElectronics",
|
|
"SolutionInjectOnCollide",
|
|
"Machine",
|
|
"MachinePart",
|
|
"MachineFrame",
|
|
"MachineBoard",
|
|
"ChemicalAmmo",
|
|
"CargoTelepad",
|
|
"TraitorDeathMatchRedemption",
|
|
"GlassBeaker",
|
|
"CanHostGuardian",
|
|
"SliceableFood",
|
|
"DamageOtherOnHit",
|
|
"SinguloFood",
|
|
"DamageOnLand",
|
|
"SmokeSolutionAreaEffect",
|
|
"FoamSolutionAreaEffect",
|
|
"GasFilter",
|
|
"Recyclable",
|
|
"LightReplacer",
|
|
"SecretStash",
|
|
"Toilet",
|
|
"ClusterFlash",
|
|
"Repairable",
|
|
"GasGenerator",
|
|
"SolutionTransfer",
|
|
"Evaporation",
|
|
"Shovel",
|
|
"ReagentTank",
|
|
"UtilityAI",
|
|
"MouseAccent",
|
|
"FlashImmunity",
|
|
"GhostTakeoverAvailable",
|
|
"GhostRoleMobSpawner",
|
|
"GhostOnMove",
|
|
"BedsheetSpawner",
|
|
"ToySpawner",
|
|
"FigureSpawner",
|
|
"RandomSpawner",
|
|
"SpawnAfterInteract",
|
|
"DisassembleOnActivate",
|
|
"ExplosionLaunched",
|
|
"BeingCloned",
|
|
"Advertise",
|
|
"PowerNetworkBattery",
|
|
"BatteryCharger",
|
|
"UnpoweredFlashlight",
|
|
"Uplink",
|
|
"SpawnItemsOnUse",
|
|
"AmbientOnPowered",
|
|
"Wieldable",
|
|
"IncreaseDamageOnWield",
|
|
"TabletopGame",
|
|
"LitOnPowered",
|
|
"Foldable",
|
|
"TriggerOnSignalReceived",
|
|
"ToggleDoorOnTrigger",
|
|
"DeviceNetworkComponent",
|
|
"WiredNetworkConnection",
|
|
"WirelessNetworkConnection",
|
|
"ExtensionCableReceiver",
|
|
"ExtensionCableProvider",
|
|
"ApcNetworkConnection",
|
|
"SuitSensor",
|
|
"CrewMonitoringConsole",
|
|
"ApcNetSwitch",
|
|
"HandLabeler",
|
|
"Label",
|
|
"Nuke",
|
|
"NukeCodePaper",
|
|
"GhostRadio",
|
|
"Armor",
|
|
"AtmosMonitor",
|
|
"AtmosAlarmable",
|
|
"FireAlarm",
|
|
"AirAlarm",
|
|
"Guardian",
|
|
"GuardianCreator",
|
|
"GuardianHost",
|
|
"Udder",
|
|
"PneumaticCannon",
|
|
"Spreader",
|
|
"GrowingKudzu",
|
|
"MonkeyAccent",
|
|
"ReplacementAccent",
|
|
"ResistLocker"
|
|
};
|
|
}
|
|
}
|