diff --git a/Content.Server/Drone/Components/DroneComponent.cs b/Content.Server/Drone/Components/DroneComponent.cs deleted file mode 100644 index df7ad2bcc8..0000000000 --- a/Content.Server/Drone/Components/DroneComponent.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Content.Server.Drone.Components -{ - [RegisterComponent] - public sealed partial class DroneComponent : Component - { - public float InteractionBlockRange = 2.15f; - } -} diff --git a/Content.Server/Drone/DroneSystem.cs b/Content.Server/Drone/DroneSystem.cs deleted file mode 100644 index 769d1b5d11..0000000000 --- a/Content.Server/Drone/DroneSystem.cs +++ /dev/null @@ -1,146 +0,0 @@ -using Content.Server.Body.Systems; -using Content.Server.Drone.Components; -using Content.Server.Ghost.Roles.Components; -using Content.Server.Popups; -using Content.Server.Tools.Innate; -using Content.Shared.UserInterface; -using Content.Shared.Body.Components; -using Content.Shared.Drone; -using Content.Shared.Emoting; -using Content.Shared.Examine; -using Content.Shared.Ghost; -using Content.Shared.IdentityManagement; -using Content.Shared.Interaction.Components; -using Content.Shared.Interaction.Events; -using Content.Shared.Item; -using Content.Shared.Mind.Components; -using Content.Shared.Mobs; -using Content.Shared.Mobs.Components; -using Content.Shared.Mobs.Systems; -using Content.Shared.Popups; -using Content.Shared.Tag; -using Content.Shared.Throwing; -using Robust.Shared.Timing; - -namespace Content.Server.Drone -{ - public sealed class DroneSystem : SharedDroneSystem - { - [Dependency] private readonly BodySystem _bodySystem = default!; - [Dependency] private readonly PopupSystem _popupSystem = default!; - [Dependency] private readonly TagSystem _tagSystem = default!; - [Dependency] private readonly EntityLookupSystem _lookup = default!; - [Dependency] private readonly IGameTiming _gameTiming = default!; - [Dependency] private readonly InnateToolSystem _innateToolSystem = default!; - [Dependency] private readonly MobStateSystem _mobStateSystem = default!; - [Dependency] private readonly SharedAppearanceSystem _appearance = default!; - - public override void Initialize() - { - base.Initialize(); - SubscribeLocalEvent(OnInteractionAttempt); - SubscribeLocalEvent(OnActivateUIAttempt); - SubscribeLocalEvent(OnMobStateChanged); - SubscribeLocalEvent(OnExamined); - SubscribeLocalEvent(OnMindAdded); - SubscribeLocalEvent(OnMindRemoved); - SubscribeLocalEvent(OnEmoteAttempt); - SubscribeLocalEvent(OnThrowAttempt); - } - - private void OnInteractionAttempt(EntityUid uid, DroneComponent component, InteractionAttemptEvent args) - { - if (args.Target != null && !HasComp(args.Target) && NonDronesInRange(uid, component)) - args.Cancel(); - - if (HasComp(args.Target) && !HasComp(args.Target)) - { - if (!_tagSystem.HasAnyTag(args.Target.Value, "DroneUsable", "Trash")) - args.Cancel(); - } - } - - private void OnActivateUIAttempt(EntityUid uid, DroneComponent component, UserOpenActivatableUIAttemptEvent args) - { - if (!_tagSystem.HasTag(args.Target, "DroneUsable")) - { - args.Cancel(); - } - } - - private void OnExamined(EntityUid uid, DroneComponent component, ExaminedEvent args) - { - if (TryComp(uid, out var mind) && mind.HasMind) - { - args.PushMarkup(Loc.GetString("drone-active")); - } - else - { - args.PushMarkup(Loc.GetString("drone-dormant")); - } - } - - private void OnMobStateChanged(EntityUid uid, DroneComponent drone, MobStateChangedEvent args) - { - if (args.NewMobState == MobState.Dead) - { - if (TryComp(uid, out var innate)) - _innateToolSystem.Cleanup(uid, innate); - - if (TryComp(uid, out var body)) - _bodySystem.GibBody(uid, body: body); - QueueDel(uid); - } - } - - private void OnMindAdded(EntityUid uid, DroneComponent drone, MindAddedMessage args) - { - UpdateDroneAppearance(uid, DroneStatus.On); - _popupSystem.PopupEntity(Loc.GetString("drone-activated"), uid, PopupType.Large); - } - - private void OnMindRemoved(EntityUid uid, DroneComponent drone, MindRemovedMessage args) - { - UpdateDroneAppearance(uid, DroneStatus.Off); - EnsureComp(uid); - } - - private void OnEmoteAttempt(EntityUid uid, DroneComponent component, EmoteAttemptEvent args) - { - // No. - args.Cancel(); - } - - private void OnThrowAttempt(EntityUid uid, DroneComponent drone, ThrowAttemptEvent args) - { - args.Cancel(); - } - - private void UpdateDroneAppearance(EntityUid uid, DroneStatus status) - { - if (TryComp(uid, out var appearance)) - { - _appearance.SetData(uid, DroneVisuals.Status, status, appearance); - } - } - - private bool NonDronesInRange(EntityUid uid, DroneComponent component) - { - var xform = Comp(uid); - foreach (var entity in _lookup.GetEntitiesInRange(xform.MapPosition, component.InteractionBlockRange)) - { - // Return true if the entity is/was controlled by a player and is not a drone or ghost. - if (HasComp(entity) && !HasComp(entity) && !HasComp(entity)) - { - // Filter out dead ghost roles. Dead normal players are intended to block. - if ((TryComp(entity, out var entityMobState) && HasComp(entity) && _mobStateSystem.IsDead(entity, entityMobState))) - continue; - if (_gameTiming.IsFirstTimePredicted) - _popupSystem.PopupEntity(Loc.GetString("drone-too-close", ("being", Identity.Entity(entity, EntityManager))), uid, uid); - return true; - } - } - return false; - } - } -} diff --git a/Content.Server/Tools/Innate/InnateToolComponent.cs b/Content.Server/Tools/Innate/InnateToolComponent.cs index bfe7c21342..d3afca3059 100644 --- a/Content.Server/Tools/Innate/InnateToolComponent.cs +++ b/Content.Server/Tools/Innate/InnateToolComponent.cs @@ -7,5 +7,6 @@ namespace Content.Server.Tools.Innate { [DataField("tools")] public List Tools = new(); public List ToolUids = new(); + public List ToSpawn = new(); } } diff --git a/Content.Server/Tools/Innate/InnateToolSystem.cs b/Content.Server/Tools/Innate/InnateToolSystem.cs index d0109138ad..e7e5be38c4 100644 --- a/Content.Server/Tools/Innate/InnateToolSystem.cs +++ b/Content.Server/Tools/Innate/InnateToolSystem.cs @@ -1,90 +1,99 @@ +using System.Linq; +using Content.Shared.Body.Part; using Content.Shared.Destructible; +using Content.Shared.Hands; using Content.Shared.Hands.Components; using Content.Shared.Hands.EntitySystems; using Content.Shared.Interaction.Components; using Content.Shared.Storage; using Content.Shared.Tag; +using Robust.Shared.Network; using Robust.Shared.Random; -namespace Content.Server.Tools.Innate +namespace Content.Server.Tools.Innate; + +/// +/// Spawns a list unremovable tools in hands if possible. Used for drones, +/// borgs, or maybe even stuff like changeling armblades! +/// +public sealed class InnateToolSystem : EntitySystem { - /// - /// Spawns a list unremovable tools in hands if possible. Used for drones, - /// borgs, or maybe even stuff like changeling armblades! - /// - public sealed class InnateToolSystem : EntitySystem + [Dependency] private readonly IRobustRandom _robustRandom = default!; + [Dependency] private readonly SharedHandsSystem _sharedHandsSystem = default!; + [Dependency] private readonly TagSystem _tagSystem = default!; + + public override void Initialize() { - [Dependency] private readonly IRobustRandom _robustRandom = default!; - [Dependency] private readonly SharedHandsSystem _sharedHandsSystem = default!; - [Dependency] private readonly TagSystem _tagSystem = default!; - public override void Initialize() + base.Initialize(); + SubscribeLocalEvent(OnMapInit); + SubscribeLocalEvent(OnHandCountChanged); + SubscribeLocalEvent(OnShutdown); + SubscribeLocalEvent(OnDestroyed); + } + + private void OnMapInit(EntityUid uid, InnateToolComponent component, MapInitEvent args) + { + if (component.Tools.Count == 0) + return; + + component.ToSpawn = EntitySpawnCollection.GetSpawns(component.Tools, _robustRandom); + } + + private void OnHandCountChanged(EntityUid uid, InnateToolComponent component, HandCountChangedEvent args) + { + if (component.ToSpawn.Count == 0) + return; + + var spawnCoord = Transform(uid).Coordinates; + + var toSpawn = component.ToSpawn.First(); + + var item = Spawn(toSpawn, spawnCoord); + AddComp(item); + if (!_sharedHandsSystem.TryPickupAnyHand(uid, item, checkActionBlocker: false)) { - base.Initialize(); - SubscribeLocalEvent(OnStartup); - SubscribeLocalEvent(OnShutdown); - SubscribeLocalEvent(OnDestroyed); + QueueDel(item); + component.ToSpawn.Clear(); } + component.ToSpawn.Remove(toSpawn); + component.ToolUids.Add(item); + } - private void OnStartup(EntityUid uid, InnateToolComponent component, ComponentStartup args) + private void OnShutdown(EntityUid uid, InnateToolComponent component, ComponentShutdown args) + { + foreach (var tool in component.ToolUids) { - if (component.Tools.Count == 0) - return; - - var spawnCoord = Transform(uid).Coordinates; - - if (TryComp(uid, out var hands) && hands.Count >= component.Tools.Count) - { - var items = EntitySpawnCollection.GetSpawns(component.Tools, _robustRandom); - foreach (var entry in items) - { - var item = Spawn(entry, spawnCoord); - AddComp(item); - if (!_sharedHandsSystem.TryPickupAnyHand(uid, item, checkActionBlocker: false)) - { - QueueDel(item); - continue; - } - component.ToolUids.Add(item); - } - } + RemComp(tool); } + } - private void OnShutdown(EntityUid uid, InnateToolComponent component, ComponentShutdown args) + private void OnDestroyed(EntityUid uid, InnateToolComponent component, DestructionEventArgs args) + { + Cleanup(uid, component); + } + + public void Cleanup(EntityUid uid, InnateToolComponent component) + { + foreach (var tool in component.ToolUids) { - foreach (var tool in component.ToolUids) + if (_tagSystem.HasTag(tool, "InnateDontDelete")) { RemComp(tool); } - } - - private void OnDestroyed(EntityUid uid, InnateToolComponent component, DestructionEventArgs args) - { - Cleanup(uid, component); - } - - public void Cleanup(EntityUid uid, InnateToolComponent component) - { - foreach (var tool in component.ToolUids) + else { - if (_tagSystem.HasTag(tool, "InnateDontDelete")) - { - RemComp(tool); - } - else - { - Del(tool); - } - - if (TryComp(uid, out var hands)) - { - foreach (var hand in hands.Hands) - { - _sharedHandsSystem.TryDrop(uid, hand.Value, checkActionBlocker: false, handsComp: hands); - } - } + Del(tool); } - component.ToolUids.Clear(); + if (TryComp(uid, out var hands)) + { + foreach (var hand in hands.Hands) + { + _sharedHandsSystem.TryDrop(uid, hand.Value, checkActionBlocker: false, handsComp: hands); + } + } } + + component.ToolUids.Clear(); } } diff --git a/Content.Server/Zombies/ZombieSystem.cs b/Content.Server/Zombies/ZombieSystem.cs index 1009e0a294..e515c377be 100644 --- a/Content.Server/Zombies/ZombieSystem.cs +++ b/Content.Server/Zombies/ZombieSystem.cs @@ -3,7 +3,6 @@ using Content.Server.Body.Systems; using Content.Server.Chat; using Content.Server.Chat.Systems; using Content.Server.Cloning; -using Content.Server.Drone.Components; using Content.Server.Emoting.Systems; using Content.Server.Inventory; using Content.Server.Speech.EntitySystems; @@ -214,7 +213,7 @@ namespace Content.Server.Zombies if (args.User == entity) continue; - if (!TryComp(entity, out var mobState) || HasComp(entity)) + if (!TryComp(entity, out var mobState)) continue; if (HasComp(entity)) diff --git a/Content.Shared/Drone/SharedDroneSystem.cs b/Content.Shared/Drone/SharedDroneSystem.cs deleted file mode 100644 index d6fc7efcc6..0000000000 --- a/Content.Shared/Drone/SharedDroneSystem.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Robust.Shared.Serialization; - -namespace Content.Shared.Drone -{ - public abstract class SharedDroneSystem : EntitySystem - { - [Serializable, NetSerializable] - public enum DroneVisuals : byte - { - Status - } - - [Serializable, NetSerializable] - public enum DroneStatus : byte - { - Off, - On - } - } -} diff --git a/Resources/Locale/en-US/drone/drone-system.ftl b/Resources/Locale/en-US/drone/drone-system.ftl deleted file mode 100644 index 292f981ecb..0000000000 --- a/Resources/Locale/en-US/drone/drone-system.ftl +++ /dev/null @@ -1,4 +0,0 @@ -drone-active = A maintenance drone. It seems totally unconcerned with you. -drone-dormant = A dormant maintenance drone. Who knows when it will wake up? -drone-activated = The drone whirrs to life! -drone-too-close = Your laws prevent this action near {THE($being)}. diff --git a/Resources/Prototypes/Body/Prototypes/drone.yml b/Resources/Prototypes/Body/Prototypes/drone.yml deleted file mode 100644 index 00acba9646..0000000000 --- a/Resources/Prototypes/Body/Prototypes/drone.yml +++ /dev/null @@ -1,27 +0,0 @@ -- type: body - id: Drone - name: "drone" - root: hand 1 - slots: - hand 1: - part: LeftArmBorg - connections: - - hand 2 - hand 2: - part: LeftArmBorg - connections: - - hand 3 - hand 3: - part: LeftArmBorg - connections: - - hand 4 - hand 4: - part: LeftArmBorg - connections: - - hand 5 - hand 5: - part: RightArmBorg - connections: - - hand 6 - hand 6: - part: RightArmBorg diff --git a/Resources/Prototypes/Catalog/Fills/Backpacks/StarterGear/satchel.yml b/Resources/Prototypes/Catalog/Fills/Backpacks/StarterGear/satchel.yml index eab3a9243c..fbfa318417 100644 --- a/Resources/Prototypes/Catalog/Fills/Backpacks/StarterGear/satchel.yml +++ b/Resources/Prototypes/Catalog/Fills/Backpacks/StarterGear/satchel.yml @@ -266,15 +266,6 @@ contents: - id: BoxSurvival -- type: entity - noSpawn: true - parent: ClothingBackpackSatchel - id: ClothingBackpackSatchelDrone - components: - - type: Tag - tags: - - InnateDontDelete - - type: entity noSpawn: true parent: ClothingBackpackSatchelMime diff --git a/Resources/Prototypes/Catalog/Fills/Boxes/general.yml b/Resources/Prototypes/Catalog/Fills/Boxes/general.yml index 09525e7931..e302ce4c20 100644 --- a/Resources/Prototypes/Catalog/Fills/Boxes/general.yml +++ b/Resources/Prototypes/Catalog/Fills/Boxes/general.yml @@ -6,7 +6,7 @@ components: - type: Item size: Large - shape: + shape: - 0,0,2,2 - type: Storage maxItemSize: Small @@ -50,9 +50,6 @@ whitelist: components: - LightBulb - - type: Tag - tags: - - DroneUsable - type: entity name: lighttube box @@ -74,9 +71,6 @@ whitelist: components: - LightBulb - - type: Tag - tags: - - DroneUsable - type: entity name: mixed lights box @@ -100,9 +94,6 @@ whitelist: components: - LightBulb - - type: Tag - tags: - - DroneUsable - type: entity name: PDA box @@ -217,9 +208,6 @@ layers: - state: box - state: inflatable - - type: Tag - tags: - - DroneUsable - type: entity @@ -271,9 +259,6 @@ layers: - state: box - state: trashbag - - type: Tag - tags: - - DroneUsable - type: entity name: passenger encryption key box diff --git a/Resources/Prototypes/Entities/Clothing/Head/base_clothinghead.yml b/Resources/Prototypes/Entities/Clothing/Head/base_clothinghead.yml index e34208e9ca..9edffcb8f2 100644 --- a/Resources/Prototypes/Entities/Clothing/Head/base_clothinghead.yml +++ b/Resources/Prototypes/Entities/Clothing/Head/base_clothinghead.yml @@ -23,7 +23,6 @@ - type: Tag tags: - ClothMade - - DroneUsable - WhitelistChameleon - type: entity diff --git a/Resources/Prototypes/Entities/Clothing/Head/hats.yml b/Resources/Prototypes/Entities/Clothing/Head/hats.yml index 467a2070d2..528e46dd97 100644 --- a/Resources/Prototypes/Entities/Clothing/Head/hats.yml +++ b/Resources/Prototypes/Entities/Clothing/Head/hats.yml @@ -877,7 +877,6 @@ sprite: Clothing/Head/Hats/party_red.rsi - type: Tag tags: - - DroneUsable - WhitelistChameleon - HamsterWearable @@ -957,7 +956,7 @@ - type: AddAccentClothing accent: ReplacementAccent replacement: cowboy - + - type: entity parent: ClothingHeadHatCowboyBrown id: ClothingHeadHatCowboyBlack @@ -967,7 +966,7 @@ sprite: Clothing/Head/Hats/cowboyhatblack.rsi - type: Clothing sprite: Clothing/Head/Hats/cowboyhatblack.rsi - + - type: entity parent: ClothingHeadHatCowboyBrown id: ClothingHeadHatCowboyGrey @@ -977,7 +976,7 @@ sprite: Clothing/Head/Hats/cowboyhatgrey.rsi - type: Clothing sprite: Clothing/Head/Hats/cowboyhatgrey.rsi - + - type: entity parent: ClothingHeadHatCowboyBrown id: ClothingHeadHatCowboyRed @@ -987,7 +986,7 @@ sprite: Clothing/Head/Hats/cowboyhatred.rsi - type: Clothing sprite: Clothing/Head/Hats/cowboyhatred.rsi - + - type: entity parent: ClothingHeadHatCowboyBrown id: ClothingHeadHatCowboyWhite @@ -997,7 +996,7 @@ sprite: Clothing/Head/Hats/cowboyhatwhite.rsi - type: Clothing sprite: Clothing/Head/Hats/cowboyhatwhite.rsi - + - type: entity parent: ClothingHeadHatCowboyBrown id: ClothingHeadHatCowboyBountyHunter @@ -1061,4 +1060,4 @@ - type: Sprite sprite: Clothing/Head/Hats/beret_medic.rsi - type: Clothing - sprite: Clothing/Head/Hats/beret_medic.rsi \ No newline at end of file + sprite: Clothing/Head/Hats/beret_medic.rsi diff --git a/Resources/Prototypes/Entities/Clothing/Head/misc.yml b/Resources/Prototypes/Entities/Clothing/Head/misc.yml index 9826da57b7..3fd55faf26 100644 --- a/Resources/Prototypes/Entities/Clothing/Head/misc.yml +++ b/Resources/Prototypes/Entities/Clothing/Head/misc.yml @@ -175,15 +175,14 @@ suffix: DO NOT MAP components: - type: Tag - tags: # ignore "WhitelistChameleon" tag - - DroneUsable + tags: [] # ignore "WhitelistChameleon" tag - type: Sprite sprite: Clothing/Head/Hats/catears.rsi - type: Clothing sprite: Clothing/Head/Hats/catears.rsi - type: AddAccentClothing accent: OwOAccent - + - type: entity parent: ClothingHeadBase id: ClothingHeadHatDogEars @@ -191,9 +190,6 @@ description: Only for good boys. suffix: DO NOT MAP components: - - type: Tag - tags: - - DroneUsable - type: Sprite sprite: Clothing/Head/Hats/dogears.rsi - type: Clothing diff --git a/Resources/Prototypes/Entities/Clothing/Head/welding.yml b/Resources/Prototypes/Entities/Clothing/Head/welding.yml index 39d3eb8506..753646757e 100644 --- a/Resources/Prototypes/Entities/Clothing/Head/welding.yml +++ b/Resources/Prototypes/Entities/Clothing/Head/welding.yml @@ -16,7 +16,6 @@ price: 50 - type: Tag tags: - - DroneUsable - WhitelistChameleon - type: entity @@ -31,7 +30,6 @@ sprite: Clothing/Head/Welding/welding.rsi - type: Tag tags: - - DroneUsable - HamsterWearable - WhitelistChameleon diff --git a/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml b/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml index 214a19adff..d8a095b443 100644 --- a/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml +++ b/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml @@ -74,20 +74,6 @@ prototypes: - MobRaccoonMorticia -- type: entity - name: Drone Spawner - id: SpawnMobDrone - parent: MarkerBase - components: - - type: Sprite - layers: - - state: green - - sprite: Mobs/Silicon/drone.rsi - state: shell - - type: ConditionalSpawner - prototypes: - - Drone - - type: entity name: Fox Renault Spawner id: SpawnMobFoxRenault @@ -778,8 +764,8 @@ - type: ConditionalSpawner prototypes: - MobPenguin - - + + - type: entity name: Hellspawn Spawner id: SpawnMobHellspawn @@ -793,7 +779,7 @@ - type: ConditionalSpawner prototypes: - MobHellspawn - + - type: entity name: ore crab spawner id: SpawnMobOreCrab diff --git a/Resources/Prototypes/Entities/Mobs/Player/silicon.yml b/Resources/Prototypes/Entities/Mobs/Player/silicon.yml index 072c419bc8..0f8998bdec 100644 --- a/Resources/Prototypes/Entities/Mobs/Player/silicon.yml +++ b/Resources/Prototypes/Entities/Mobs/Player/silicon.yml @@ -1,245 +1,3 @@ -- type: entity - save: false - abstract: true - id: PlayerSiliconBase #for player controlled silicons - components: - - type: Reactive - groups: - Acidic: [Touch] - - type: Input - context: "human" - - type: DamageOnHighSpeedImpact - damage: - types: - Blunt: 5 - soundHit: - collection: MetalThud - - type: Clickable - - type: Damageable - damageContainer: Inorganic - - type: Bloodstream - bloodReagent: Oil - bloodlossDamage: - types: - Bloodloss: - 1 - bloodlossHealDamage: - types: - Bloodloss: - -1 - - type: InteractionOutline - - type: Fixtures - fixtures: - fix1: - shape: - # Circles, cuz rotation of rectangles looks very bad - !type:PhysShapeCircle - radius: 0.35 - density: 50 - mask: - - MobMask - layer: - - MobLayer - - type: MovementSpeedModifier - baseWalkSpeed : 4 - baseSprintSpeed : 3 - - type: Sprite - noRot: true - drawdepth: Mobs - - type: Physics - bodyType: KinematicController - - type: Hands - showInHands: false - - type: Body - prototype: Drone - - type: IntrinsicRadioReceiver - - type: IntrinsicRadioTransmitter - channels: - - Binary - - type: ActiveRadio - channels: - - Binary - - Common - - type: DoAfter - - type: Pullable - - type: Examiner - - type: Puller - - type: StandingState - - type: Alerts - - type: Tag - tags: - - ShoesRequiredStepTriggerImmune - -- type: entity - name: drone - id: Drone - parent: PlayerSiliconBase - components: - - type: Drone - - type: InnateTool - tools: - - id: ClothingBackpackSatchelDrone - - id: trayScanner - - id: Omnitool - - id: WelderExperimental - - type: NameIdentifier - group: Drone - - type: Inventory - templateId: drone - - type: InventorySlots - - type: Strippable - - type: UserInterface - interfaces: - - key: enum.StrippingUiKey.Key - type: StrippableBoundUserInterface - - key: enum.SiliconLawsUiKey.Key - type: SiliconLawBoundUserInterface - #- type: GhostRole - # makeSentient: true - # name: Maintenance Drone - # description: Maintain the station. Ignore other beings except drones. - # rules: | - # You are bound by these laws both in-game and out-of-character: - # 1. You may not involve yourself in the matters of another being, even if such matters conflict with Law Two or Law Three, unless the other being is another Drone. - # 2. You may not harm any being, regardless of intent or circumstance. - # 3. Your goals are to build, maintain, repair, improve, and power to the best of your abilities, You must never actively work against these goals. - #- type: GhostTakeoverAvailable - - type: SiliconLawBound - - type: SiliconLawProvider - laws: Drone - - type: MovementSpeedModifier - baseWalkSpeed : 5 - baseSprintSpeed : 5 - - type: MobState - allowedStates: - - Alive - - Dead - - type: MobThresholds - thresholds: - 0: Alive - 60: Dead - - type: Flashable - - type: NoSlip - - type: StatusEffects - allowed: - - Stun - - KnockedDown - - SlowedDown - - type: SlowOnDamage - speedModifierThresholds: - 30: 0.7 - 50: 0.5 - - type: Temperature - heatDamageThreshold: 5000 - currentTemperature: 310.15 - specificHeat: 42 - heatDamage: - types: - Heat : 1 #per second, scales with temperature & other constants - - type: Sprite - drawdepth: SmallMobs - layers: - - state: shell - sprite: Mobs/Silicon/drone.rsi - map: ["base"] - - type: MovementIgnoreGravity - - type: Fixtures - fixtures: - fix1: - shape: - !type:PhysShapeCircle - radius: 0.35 - density: 50 - mask: - - SmallMobMask - layer: - - SmallMobLayer - - type: Appearance - - type: GenericVisualizer - visuals: - enum.DroneVisuals.Status: - base: - Off: { state: shell } - On: { state: drone } - - type: ReplacementAccent - accent: silicon - - type: Repairable - fuelcost: 15 - doAfterDelay: 8 - - type: Actions - - type: UnpoweredFlashlight - - type: PointLight - enabled: false - radius: 3.5 - softness: 1 - mask: /Textures/Effects/LightMasks/cone.png - autoRot: true - - type: Tag - tags: - - ShoesRequiredStepTriggerImmune - - CannotSuicide - -- type: entity - name: onestar mecha - id: Onestar - parent: PlayerSiliconBase - components: - - type: InnateTool - tools: - - id: WeaponMinigun - - id: EnergySword - - id: WeaponLauncherMultipleRocket - - id: WeaponXrayCannon - - type: UserInterface - interfaces: - - key: enum.StrippingUiKey.Key - type: StrippableBoundUserInterface - - type: GhostRole - makeSentient: true - name: ghost-role-information-onestar-mecha-name - description: ghost-role-information-onestar-mecha-description - rules: ghost-role-information-onestar-mecha-rules - - type: GhostTakeoverAvailable - - type: MovementSpeedModifier - baseWalkSpeed : 3 - baseSprintSpeed : 2 - - type: MobState - allowedStates: - - Alive - - Dead - - type: MobThresholds - thresholds: - 0: Alive - 1000: Dead - - type: Sprite - drawdepth: Mobs - layers: - - state: onestar_boss - sprite: Mobs/Silicon/onestar.rsi - - state: onestar_boss_screen - sprite: Mobs/Silicon/onestar.rsi - shader: unshaded - - type: FootstepModifier - footstepSoundCollection: - path: /Audio/Mecha/sound_mecha_powerloader_step.ogg - - type: MovementIgnoreGravity - - type: Fixtures - fixtures: - fix1: - shape: - !type:PhysShapeCircle - radius: 1 - density: 160 - mask: - - LargeMobMask - layer: - - MobLayer - - type: Appearance - - type: CombatMode - - type: Tag - tags: - - FootstepSound - - type: entity id: PlayerBorgGeneric parent: BorgChassisGeneric @@ -248,9 +6,9 @@ - type: ContainerFill containers: borg_brain: - - PositronicBrain + - PositronicBrain borg_module: - - BorgModuleTool + - BorgModuleTool - type: ItemSlots slots: cell_slot: @@ -267,7 +25,7 @@ - type: ContainerFill containers: borg_brain: - - MMIFilled + - MMIFilled - type: ItemSlots slots: cell_slot: @@ -279,17 +37,17 @@ parent: BorgChassisSyndicateAssault suffix: Battery, Module, Operative components: - - type: NukeOperative - - type: ContainerFill - containers: - borg_brain: - - PositronicBrain - borg_module: - - BorgModuleOperative - - BorgModuleL6C - - BorgModuleEsword - - type: ItemSlots - slots: - cell_slot: - name: power-cell-slot-component-slot-name-default - startingItem: PowerCellHyper + - type: NukeOperative + - type: ContainerFill + containers: + borg_brain: + - PositronicBrain + borg_module: + - BorgModuleOperative + - BorgModuleL6C + - BorgModuleEsword + - type: ItemSlots + slots: + cell_slot: + name: power-cell-slot-component-slot-name-default + startingItem: PowerCellHyper diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_cups.yml b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_cups.yml index f18a85286f..8242496e20 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_cups.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_cups.yml @@ -350,7 +350,6 @@ - type: Tag tags: - Trash - - DroneUsable - WhitelistChameleon - type: TrashOnSolutionEmpty solution: drink diff --git a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/base_machineboard.yml b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/base_machineboard.yml index 4e6dced060..164777284f 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/base_machineboard.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/base_machineboard.yml @@ -11,9 +11,6 @@ state: generic - type: Item storedRotation: -90 - - type: Tag - tags: - - DroneUsable - type: StaticPrice price: 100 - type: PhysicalComposition diff --git a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/computer.yml b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/computer.yml index a1ba97cbcc..56e484a274 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/computer.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/computer.yml @@ -10,9 +10,6 @@ state: cpuboard - type: Item storedRotation: -90 - - type: Tag - tags: - - DroneUsable - type: StaticPrice price: 100 - type: PhysicalComposition @@ -86,9 +83,6 @@ prototype: ComputerCargoOrders - type: StaticPrice price: 750 - - type: Tag - tags: - - DroneUsable - type: entity id: CargoBountyComputerCircuitboard @@ -101,9 +95,6 @@ - type: ComputerBoard prototype: ComputerCargoBounty - type: StaticPrice - - type: Tag - tags: - - DroneUsable - type: entity parent: BaseComputerCircuitboard @@ -161,7 +152,6 @@ prototype: ComputerSurveillanceCameraMonitor - type: Tag tags: - - DroneUsable - SurveillanceCameraMonitorCircuitboard - type: entity @@ -183,7 +173,6 @@ prototype: ComputerTelevision - type: Tag tags: - - DroneUsable - ComputerTelevisionCircuitboard - type: entity @@ -242,7 +231,6 @@ price: 750 - type: Tag tags: - - DroneUsable - HighRiskItem - type: entity diff --git a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/misc.yml b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/misc.yml index aca34b9ad0..a4275995dc 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/misc.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/misc.yml @@ -9,7 +9,6 @@ state: airalarm_electronics - type: Tag tags: - - DroneUsable - StationMapElectronics - type: StaticPrice - price: 15 \ No newline at end of file + price: 15 diff --git a/Resources/Prototypes/Entities/Objects/Devices/Electronics/atmos_alarms.yml b/Resources/Prototypes/Entities/Objects/Devices/Electronics/atmos_alarms.yml index b42ee2499c..b54d21750d 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Electronics/atmos_alarms.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Electronics/atmos_alarms.yml @@ -9,7 +9,6 @@ state: airalarm_electronics - type: Tag tags: - - DroneUsable - AirAlarmElectronics - type: StaticPrice price: 61 @@ -25,7 +24,6 @@ state: airalarm_electronics - type: Tag tags: - - DroneUsable - FireAlarmElectronics - type: StaticPrice price: 61 diff --git a/Resources/Prototypes/Entities/Objects/Devices/Electronics/base_electronics.yml b/Resources/Prototypes/Entities/Objects/Devices/Electronics/base_electronics.yml index d55b5a1098..8ee76d43e9 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Electronics/base_electronics.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Electronics/base_electronics.yml @@ -8,9 +8,6 @@ - type: Sprite sprite: Objects/Misc/module.rsi state: generic - - type: Tag - tags: - - DroneUsable - type: StaticPrice price: 100 - type: PhysicalComposition diff --git a/Resources/Prototypes/Entities/Objects/Devices/Electronics/disposal.yml b/Resources/Prototypes/Entities/Objects/Devices/Electronics/disposal.yml index 9278e34706..7c2f2a6fda 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Electronics/disposal.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Electronics/disposal.yml @@ -9,7 +9,6 @@ state: net_wired - type: Tag tags: - - DroneUsable - MailingUnitElectronics - type: StaticPrice price: 55 diff --git a/Resources/Prototypes/Entities/Objects/Devices/Electronics/door.yml b/Resources/Prototypes/Entities/Objects/Devices/Electronics/door.yml index 627fe5fb0a..275a61d821 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Electronics/door.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Electronics/door.yml @@ -11,6 +11,5 @@ - type: Tag tags: - DoorElectronics - - DroneUsable - type: StaticPrice price: 55 diff --git a/Resources/Prototypes/Entities/Objects/Devices/Electronics/firelock.yml b/Resources/Prototypes/Entities/Objects/Devices/Electronics/firelock.yml index 3dee4037b3..00b928f2ec 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Electronics/firelock.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Electronics/firelock.yml @@ -9,7 +9,6 @@ state: mainboard - type: Tag tags: - - DroneUsable - FirelockElectronics - type: StaticPrice price: 61 diff --git a/Resources/Prototypes/Entities/Objects/Devices/Electronics/intercom.yml b/Resources/Prototypes/Entities/Objects/Devices/Electronics/intercom.yml index b59654cf02..3446a3ba4f 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Electronics/intercom.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Electronics/intercom.yml @@ -9,7 +9,6 @@ state: id_mod - type: Tag tags: - - DroneUsable - IntercomElectronics - type: StaticPrice price: 55 diff --git a/Resources/Prototypes/Entities/Objects/Devices/Electronics/power_electronics.yml b/Resources/Prototypes/Entities/Objects/Devices/Electronics/power_electronics.yml index 9a806a6bf2..d3293bbfd2 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Electronics/power_electronics.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Electronics/power_electronics.yml @@ -31,7 +31,6 @@ price: 40 - type: Tag tags: - - DroneUsable - WallmountSubstationElectronics # Wallmount Generator @@ -51,7 +50,6 @@ Glass: 90 - type: Tag tags: - - DroneUsable - WallmountGeneratorElectronics # APU @@ -68,7 +66,6 @@ price: 40 - type: Tag tags: - - DroneUsable - WallmountGeneratorAPUElectronics # Solar Tracker Electronics @@ -85,5 +82,4 @@ price: 85 - type: Tag tags: - - DroneUsable - SolarTrackerElectronics diff --git a/Resources/Prototypes/Entities/Objects/Devices/flatpack.yml b/Resources/Prototypes/Entities/Objects/Devices/flatpack.yml index 974918a068..39e9401832 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/flatpack.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/flatpack.yml @@ -35,6 +35,3 @@ cpu_supply: "#A46106" - type: StaticPrice price: 250 - - type: Tag - tags: - - DroneUsable diff --git a/Resources/Prototypes/Entities/Objects/Devices/mousetrap.yml b/Resources/Prototypes/Entities/Objects/Devices/mousetrap.yml index 440bc4dd8a..c3bd74dd75 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/mousetrap.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/mousetrap.yml @@ -54,9 +54,6 @@ mask: - ItemMask - type: Rotatable - - type: Tag - tags: - - DroneUsable - type: entity name: mousetrap diff --git a/Resources/Prototypes/Entities/Objects/Materials/Sheets/glass.yml b/Resources/Prototypes/Entities/Objects/Materials/Sheets/glass.yml index f99b9cf074..64c601b483 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/Sheets/glass.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/Sheets/glass.yml @@ -15,7 +15,6 @@ - type: Tag tags: - Sheet - - DroneUsable - type: Material - type: Damageable damageContainer: Inorganic @@ -47,7 +46,7 @@ acts: [ "Destruction" ] - type: SolutionContainerManager solutions: - glass: + glass: canReact: false - type: entity @@ -197,7 +196,7 @@ - ReagentId: Carbon Quantity: 0.5 canReact: false - + - type: entity parent: SheetGlassBase id: SheetPGlass @@ -443,8 +442,8 @@ Quantity: 4.5 - ReagentId: Carbon Quantity: 0.5 - canReact: false - + canReact: false + - type: entity parent: SheetRUGlass id: SheetRUGlass1 diff --git a/Resources/Prototypes/Entities/Objects/Materials/Sheets/metal.yml b/Resources/Prototypes/Entities/Objects/Materials/Sheets/metal.yml index 24b4544e56..ae817f6ffc 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/Sheets/metal.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/Sheets/metal.yml @@ -15,7 +15,6 @@ tags: - Sheet - Metal - - DroneUsable - type: Damageable damageContainer: Inorganic damageModifierSet: Metallic diff --git a/Resources/Prototypes/Entities/Objects/Materials/Sheets/other.yml b/Resources/Prototypes/Entities/Objects/Materials/Sheets/other.yml index 18590e98df..dfb5133628 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/Sheets/other.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/Sheets/other.yml @@ -12,7 +12,6 @@ - type: Tag tags: - Sheet - - DroneUsable - type: Damageable damageContainer: Inorganic - type: Destructible @@ -133,7 +132,6 @@ tags: - Plastic - Sheet - - DroneUsable - type: Material - type: PhysicalComposition materialComposition: @@ -250,7 +248,6 @@ - type: Tag tags: - Sheet - - DroneUsable - type: Material - type: PhysicalComposition materialComposition: diff --git a/Resources/Prototypes/Entities/Objects/Materials/materials.yml b/Resources/Prototypes/Entities/Objects/Materials/materials.yml index 854e9d308e..e71a163b5d 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/materials.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/materials.yml @@ -11,7 +11,6 @@ size: Normal - type: Tag tags: - - DroneUsable - RawMaterial - type: Damageable damageContainer: Inorganic @@ -128,7 +127,6 @@ - type: Tag tags: - ClothMade - - DroneUsable - Gauze - RawMaterial - type: Construction @@ -193,7 +191,6 @@ - type: Tag tags: - ClothMade - - DroneUsable - RawMaterial - type: entity @@ -212,7 +209,7 @@ reagents: #Hell if I know what durathread is made out of. - ReagentId: Fiber Quantity: 6 - + - type: entity parent: MaterialBase id: MaterialWoodPlank @@ -241,7 +238,6 @@ - type: Tag tags: - Wooden - - DroneUsable - RawMaterial - type: Extractable grindableSolutionName: wood @@ -411,10 +407,8 @@ - type: Tag tags: - ClothMade - - DroneUsable - RawMaterial - - type: entity parent: MaterialCotton id: MaterialCotton1 @@ -523,7 +517,6 @@ - type: Tag tags: - ClothMade - - DroneUsable - RawMaterial - type: entity diff --git a/Resources/Prototypes/Entities/Objects/Materials/parts.yml b/Resources/Prototypes/Entities/Objects/Materials/parts.yml index a15675995c..71adedab0e 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/parts.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/parts.yml @@ -8,9 +8,6 @@ state: rods - type: Item sprite: Objects/Materials/parts.rsi - - type: Tag - tags: - - DroneUsable - type: Damageable damageContainer: Inorganic damageModifierSet: FlimsyMetallic @@ -81,7 +78,6 @@ - type: Tag tags: - RodMetal1 - - DroneUsable - type: Sprite state: rods - type: Stack @@ -96,7 +92,6 @@ - type: Tag tags: - RodMetal1 - - DroneUsable - type: Sprite state: rods - type: Stack diff --git a/Resources/Prototypes/Entities/Objects/Misc/tiles.yml b/Resources/Prototypes/Entities/Objects/Misc/tiles.yml index 445e2c7b5b..286e28c53d 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/tiles.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/tiles.yml @@ -15,9 +15,6 @@ Blunt: 5 - type: Stack count: 1 - - type: Tag - tags: - - DroneUsable - type: Damageable damageContainer: Inorganic - type: Destructible diff --git a/Resources/Prototypes/Entities/Objects/Power/antimatter_part.yml b/Resources/Prototypes/Entities/Objects/Power/antimatter_part.yml index 62aa0dccdd..9aa6014066 100644 --- a/Resources/Prototypes/Entities/Objects/Power/antimatter_part.yml +++ b/Resources/Prototypes/Entities/Objects/Power/antimatter_part.yml @@ -16,8 +16,5 @@ price: 500 - type: GuideHelp guides: [ AME, Power ] - - type: Tag - tags: - - DroneUsable - type: StealTarget stealGroup: AmePart diff --git a/Resources/Prototypes/Entities/Objects/Power/powercells.yml b/Resources/Prototypes/Entities/Objects/Power/powercells.yml index 758d5f7b42..8aefe5e931 100644 --- a/Resources/Prototypes/Entities/Objects/Power/powercells.yml +++ b/Resources/Prototypes/Entities/Objects/Power/powercells.yml @@ -27,7 +27,6 @@ Quantity: 5 - type: Tag tags: - - DroneUsable - PowerCell - type: Appearance - type: PowerCellVisuals @@ -50,7 +49,6 @@ startingCharge: 70 - type: Tag tags: - - DroneUsable - PotatoBattery - type: Construction graph: PowerCellPotato @@ -315,7 +313,7 @@ - type: Battery maxCharge: 1400 startingCharge: 1400 - + - type: entity id: PowerCageMedium parent: BasePowerCage @@ -333,7 +331,7 @@ - type: Battery maxCharge: 2700 startingCharge: 2700 - + - type: entity id: PowerCageHigh parent: BasePowerCage @@ -351,7 +349,7 @@ - type: Battery maxCharge: 6200 startingCharge: 6200 - + - type: entity id: PowerCageSmallEmpty parent: PowerCageSmall @@ -369,7 +367,7 @@ - type: Battery maxCharge: 1400 startingCharge: 0 - + - type: entity id: PowerCageMediumEmpty parent: PowerCageMedium @@ -386,7 +384,7 @@ visible: false - type: Battery startingCharge: 0 - + - type: entity id: PowerCageHighEmpty parent: PowerCageHigh @@ -402,4 +400,4 @@ shader: unshaded visible: false - type: Battery - startingCharge: 0 \ No newline at end of file + startingCharge: 0 diff --git a/Resources/Prototypes/Entities/Objects/Power/solar_parts.yml b/Resources/Prototypes/Entities/Objects/Power/solar_parts.yml index 0fcd11f9b0..de8aef6518 100644 --- a/Resources/Prototypes/Entities/Objects/Power/solar_parts.yml +++ b/Resources/Prototypes/Entities/Objects/Power/solar_parts.yml @@ -11,6 +11,3 @@ - type: Sprite sprite: Objects/Power/solar_parts.rsi state: solar_assembly_parts - - type: Tag - tags: - - DroneUsable diff --git a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml index ce4eef7453..8d3c83e3e1 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml @@ -30,7 +30,6 @@ delay: 1 - type: Tag tags: - - DroneUsable #No bucket because it holds chems, they can drag the cart or use a drain - Mop - MopBasic - type: GuideHelp @@ -81,7 +80,6 @@ maxVol: 100 - type: Tag tags: - - DroneUsable #No bucket because it holds chems, they can drag the cart or use a drain - Mop - MopAdv @@ -649,7 +647,6 @@ delay: 1.5 - type: Tag tags: - - DroneUsable - Mop - type: CleansForensics - type: Fiber diff --git a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/spray.yml b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/spray.yml index e9eb18f926..0e19c03dee 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/spray.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/spray.yml @@ -91,8 +91,6 @@ - type: Tag tags: - Spray - - DroneUsable #They don't have any other chem stuff on their whitelist so they can't refill it - # Vapor - type: entity diff --git a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/trashbag.yml b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/trashbag.yml index 1a97b607bb..b74962d9d7 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/trashbag.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/trashbag.yml @@ -25,7 +25,6 @@ - type: Tag tags: - TrashBag - - DroneUsable - type: Appearance - type: StorageFillVisualizer maxFillLevels: 4 diff --git a/Resources/Prototypes/Entities/Objects/Specific/atmos.yml b/Resources/Prototypes/Entities/Objects/Specific/atmos.yml index ff946aefe9..0dc714aba0 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/atmos.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/atmos.yml @@ -26,9 +26,6 @@ enabled: True: { state: working } False: { state: icon } - - type: Tag - tags: - - DroneUsable - type: StaticPrice price: 80 - type: PhysicalComposition diff --git a/Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml b/Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml index e1e565cc18..bfb3069efb 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml @@ -12,7 +12,6 @@ - type: Tag tags: - CableCoil - - DroneUsable - type: Stack stackType: Cable - type: Sprite @@ -221,4 +220,4 @@ - type: Sprite state: coillv-10 - type: Stack - count: 1 \ No newline at end of file + count: 1 diff --git a/Resources/Prototypes/Entities/Objects/Tools/flashlights.yml b/Resources/Prototypes/Entities/Objects/Tools/flashlights.yml index e7ea80830b..14a31d269e 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/flashlights.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/flashlights.yml @@ -7,7 +7,6 @@ - type: Tag tags: - Flashlight - - DroneUsable - type: HandheldLight addPrefix: false blinkingBehaviourId: blinking diff --git a/Resources/Prototypes/Entities/Objects/Tools/inflatable_wall.yml b/Resources/Prototypes/Entities/Objects/Tools/inflatable_wall.yml index 5c30cfdea3..86163aad67 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/inflatable_wall.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/inflatable_wall.yml @@ -19,9 +19,6 @@ doAfter: 1 removeOnInteract: true - type: Clickable - - type: Tag - tags: - - DroneUsable # TODO: Add stack sprites + visuals. - type: entity @@ -45,9 +42,6 @@ doAfter: 1 removeOnInteract: true - type: Clickable - - type: Tag - tags: - - DroneUsable # TODO: Add stack sprites + visuals. - type: entity diff --git a/Resources/Prototypes/Entities/Objects/Tools/light_replacer.yml b/Resources/Prototypes/Entities/Objects/Tools/light_replacer.yml index 442e939d42..646f6a6378 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/light_replacer.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/light_replacer.yml @@ -15,9 +15,6 @@ amount: 8 - id: LightBulb amount: 5 - - type: Tag - tags: - - DroneUsable - type: StaticPrice price: 100 - type: ContainerContainer diff --git a/Resources/Prototypes/Entities/Objects/Tools/t-ray.yml b/Resources/Prototypes/Entities/Objects/Tools/t-ray.yml index 71032290b1..c467974b74 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/t-ray.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/t-ray.yml @@ -19,8 +19,5 @@ base: On: { state: tray-on } Off: { state: tray-off } - - type: Tag - tags: - - DroneUsable - type: StaticPrice price: 60 diff --git a/Resources/Prototypes/Entities/Objects/Tools/toolbox.yml b/Resources/Prototypes/Entities/Objects/Tools/toolbox.yml index 250f570c5f..667d855997 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/toolbox.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/toolbox.yml @@ -24,7 +24,6 @@ path: "/Audio/Weapons/smash.ogg" - type: Tag tags: - - DroneUsable - Toolbox - type: GenericVisualizer visuals: @@ -170,4 +169,4 @@ - type: UserInterface interfaces: - key: enum.ThiefBackpackUIKey.Key - type: ThiefBackpackBoundUserInterface \ No newline at end of file + type: ThiefBackpackBoundUserInterface diff --git a/Resources/Prototypes/Entities/Objects/Tools/tools.yml b/Resources/Prototypes/Entities/Objects/Tools/tools.yml index 619324a2f2..b3693eac16 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/tools.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/tools.yml @@ -221,7 +221,6 @@ - type: Tag tags: - Multitool - - DroneUsable - type: PhysicalComposition materialComposition: Steel: 100 @@ -271,9 +270,6 @@ type: NetworkConfiguratorBoundUserInterface - key: enum.NetworkConfiguratorUiKey.Link type: NetworkConfiguratorBoundUserInterface - - type: Tag - tags: - - DroneUsable - type: StaticPrice price: 56 - type: GuideHelp diff --git a/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml b/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml index c9cbb34d63..54d64cc721 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml @@ -638,9 +638,6 @@ radius: 1.5 energy: 1.6 color: "#e6e227" - - type: Tag - tags: - - DroneUsable - type: entity parent: BaseComputer diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index c50d6560c3..50601d8be8 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -279,7 +279,6 @@ - Implanter - PillCanister - ChemistryEmptyBottle01 - - Drone - AdvMopItem - WeaponSprayNozzle - ClothingBackpackWaterTank diff --git a/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml b/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml index d2b2961728..2c8f34860b 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml @@ -296,9 +296,6 @@ - type: Advertise pack: ClothesMateAds - type: Speech - - type: Tag - tags: - - DroneUsable - type: Sprite sprite: Structures/Machines/VendingMachines/clothing.rsi layers: @@ -329,9 +326,6 @@ - type: Advertise pack: ClothesMateAds - type: Speech - - type: Tag - tags: - - DroneUsable - type: Sprite sprite: Structures/Machines/VendingMachines/winterdrobe.rsi layers: @@ -1103,9 +1097,6 @@ radius: 1.5 energy: 1.6 color: "#c73434" - - type: Tag - tags: - - DroneUsable - type: entity parent: VendingMachine @@ -1201,9 +1192,6 @@ radius: 1.5 energy: 1.6 color: "#d4ab33" - - type: Tag - tags: - - DroneUsable - type: entity parent: VendingMachine diff --git a/Resources/Prototypes/Recipes/Lathes/misc.yml b/Resources/Prototypes/Recipes/Lathes/misc.yml index 84091668e3..15b20d8b90 100644 --- a/Resources/Prototypes/Recipes/Lathes/misc.yml +++ b/Resources/Prototypes/Recipes/Lathes/misc.yml @@ -75,15 +75,6 @@ materials: Wood: 100 -- type: latheRecipe - id: Drone - result: Drone - completetime: 6 - materials: - Steel: 500 - Glass: 500 - Plastic: 500 - - type: latheRecipe id: SynthesizerInstrument result: SynthesizerInstrument diff --git a/Resources/Prototypes/Research/experimental.yml b/Resources/Prototypes/Research/experimental.yml index bbb6ce568c..bc0a26b58a 100644 --- a/Resources/Prototypes/Research/experimental.yml +++ b/Resources/Prototypes/Research/experimental.yml @@ -11,7 +11,6 @@ cost: 5000 recipeUnlocks: - ProximitySensor - - Drone - ExosuitFabricatorMachineCircuitboard - type: technology diff --git a/Resources/Prototypes/name_identifier_groups.yml b/Resources/Prototypes/name_identifier_groups.yml index 7df370035e..82c2f3bce9 100644 --- a/Resources/Prototypes/name_identifier_groups.yml +++ b/Resources/Prototypes/name_identifier_groups.yml @@ -11,13 +11,6 @@ id: Holoparasite prefix: HOLO -- type: nameIdentifierGroup - id: Drone - prefix: DR - fullName: true - minValue: 10000 - maxValue: 99999 - - type: nameIdentifierGroup id: MMI prefix: MMI diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml index 3b2dcbe374..6bcff07f4a 100644 --- a/Resources/Prototypes/tags.yml +++ b/Resources/Prototypes/tags.yml @@ -467,9 +467,6 @@ - type: Tag id: DrinkBottle -- type: Tag - id: DroneUsable - - type: Tag id: Duck diff --git a/Resources/migration.yml b/Resources/migration.yml index 4d5a4cce6e..e2ef8c0c69 100644 --- a/Resources/migration.yml +++ b/Resources/migration.yml @@ -214,3 +214,8 @@ VehicleJanicartDestroyed: null # 2024-02-01 YellowOxygenTank: OxygenTank YellowOxygenTankFilled: OxygenTankFilled + +# 2024-02-19 +Drone: null +SpawnMobDrone: null +Onestar: null # I dont think this is even mapped, but just in case