Sprite netsync purge wave 2 (#6560)

This commit is contained in:
metalgearsloth
2022-02-13 09:18:00 +11:00
committed by GitHub
parent 02396e446d
commit 0a28df0cd7
33 changed files with 44 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ using System;
using Robust.Shared.Maths;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.ViewVariables;
namespace Content.Shared.Weapons.Melee
@@ -18,7 +19,7 @@ namespace Content.Shared.Weapons.Melee
public string State { get; } = string.Empty;
[ViewVariables]
[DataField("prototype")]
[DataField("prototype", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
public string Prototype { get; } = "WeaponArc";
[ViewVariables]

View File

@@ -5,6 +5,7 @@
components:
- type: Sprite
sprite: Effects/arcs.rsi
netsync: false
noRot: false
offset: 0, -0.85
drawdepth: Effects

View File

@@ -32,6 +32,7 @@
- type: Sprite
noRot: true
drawdepth: Mobs
netsync: false
- type: Clickable
- type: InteractionOutline
- type: Physics

View File

@@ -7,6 +7,8 @@
abstract: true
components:
- type: Food
- type: Sprite
netsync: false
# This base type is used to cover all of the "obvious" things that should be doable to open-package food.
# Practically this means injection.

View File

@@ -14,6 +14,7 @@
- type: Drink
- type: Sprite
state: icon
netsync: false
- type: Spillable
solution: drink
- type: UserInterface
@@ -2120,4 +2121,4 @@
Quantity: 30
- ReagentId: CapsaicinOil
Quantity: 5

View File

@@ -4,6 +4,8 @@
id: BaseHandheldInstrument
description: That's an instrument.
components:
- type: Sprite
netsync: false
- type: Instrument
- type: ActivatableUI
inHandsOnly: true

View File

@@ -5,6 +5,8 @@
id: BasePlushie
abstract: true
components:
- type: Sprite
netsync: false
- type: EmitSoundOnUse
sound:
collection: ToySqueak
@@ -163,6 +165,7 @@
- type: Sprite
sprite: Objects/Fun/toys.rsi
state: plushie_vox
netsync: false
- type: ItemCooldown
- type: EmitSoundOnUse
sound:

View File

@@ -11,6 +11,7 @@
components:
- type: Sprite
sprite: Objects/Misc/bedsheets.rsi
netsync: false
- type: Clothing
size: 10
QuickEquip: true

View File

@@ -11,6 +11,7 @@
- actionType: ToggleLight
- type: Sprite
sprite: Objects/Misc/Lights/lights.rsi
netsync: false
- type: Item
sprite: Objects/Misc/Lights/lights.rsi

View File

@@ -8,6 +8,7 @@
- type: Sprite
sprite: Objects/Misc/inflatable_wall.rsi
state: inflatable_wall
netsync: false
- type: Physics
bodyType: Static
- type: Fixtures

View File

@@ -10,4 +10,5 @@
- type: Sprite
sprite: Objects/Power/AME/ame_jar.rsi
state: jar
netsync: false
- type: AMEFuelContainer

View File

@@ -51,6 +51,7 @@
- type: Sprite
sprite: Objects/Tools/Hydroponics/scythe.rsi
state: icon
netsync: false
- type: ItemCooldown
- type: MeleeWeapon
damage:
@@ -61,7 +62,7 @@
size: 20
Slots:
- back
- type: entity
name: hatchet
parent: BaseItem
@@ -75,6 +76,7 @@
- type: Sprite
sprite: Objects/Tools/Hydroponics/hatchet.rsi
state: icon
netsync: false
- type: ItemCooldown
- type: MeleeWeapon
damage:

View File

@@ -7,6 +7,7 @@
- type: Sprite
sprite: Objects/Specific/Atmos/gasanalyzer.rsi
state: icon
netsync: false
- type: GasAnalyzer
- type: UserInterface
interfaces:

View File

@@ -16,6 +16,7 @@
startingItem: PowerCellSmallHigh
- type: Sprite
sprite: Objects/Tools/flashlight.rsi
netsync: false
layers:
- state: flashlight
- state: flashlight-overlay

View File

@@ -91,6 +91,7 @@
components:
- type: Sprite
sprite: Objects/Tanks/emergency_yellow.rsi
netsync: false
- type: GasTank
outputPressure: 21.27825
air:

View File

@@ -7,6 +7,7 @@
- type: Sprite
sprite: Objects/Tools/hand_labeler.rsi
state: hand_labeler
netsync: false
- type: Item
sprite: Objects/Tools/hand_labeler.rsi
- type: UseDelay

View File

@@ -10,6 +10,7 @@
- type: Sprite
sprite: Objects/Tools/jaws_of_life.rsi
state: jaws_pry
netsync: false
- type: Clothing
sprite: Objects/Tools/jaws_of_life.rsi
size: 50

View File

@@ -5,6 +5,7 @@
components:
- type: Sprite
sprite: Objects/Tools/t-ray.rsi
netsync: false
layers:
- state: tray-off
- type: TrayScanner

View File

@@ -94,6 +94,7 @@
- type: Sprite
sprite: Objects/Tools/wrench.rsi
state: icon
netsync: false
- type: Item
sprite: Objects/Tools/wrench.rsi
- type: ItemCooldown

View File

@@ -9,6 +9,7 @@
path: /Audio/Items/welder_drop.ogg
- type: Sprite
sprite: Objects/Tools/welder.rsi
netsync: false
layers:
- state: icon
- state: welder_flame

View File

@@ -9,6 +9,7 @@
sprite: Structures/dispensers.rsi
drawdepth: SmallObjects
state: booze
netsync: false
- type: Fixtures
fixtures:
- shape:

View File

@@ -9,6 +9,7 @@
sprite: Structures/dispensers.rsi
drawdepth: SmallObjects
state: soda
netsync: false
- type: Fixtures
fixtures:
- shape:

View File

@@ -17,6 +17,7 @@
- type: Sprite
sprite: Structures/Furniture/furniture.rsi
state: bed
netsync: false
- type: Strap
position: Down
rotation: -90

View File

@@ -14,6 +14,7 @@
- type: ExtensionCableReceiver
- type: Sprite
sprite: Structures/Machines/computers.rsi
netsync: false
layers:
- state: computer
map: ["enum.ComputerVisualizer+Layers.Body"]

View File

@@ -8,6 +8,7 @@
components:
- type: Sprite
sprite: Structures/Machines/mixer.rsi
netsync: false
layers:
- state: mixer_empty
- state: mixer_screens

View File

@@ -6,6 +6,7 @@
components:
- type: Sprite
sprite: Structures/Machines/autolathe.rsi
netsync: false
layers:
- state: icon
map: ["enum.AutolatheVisualLayers.Base"]
@@ -84,6 +85,7 @@
components:
- type: Sprite
sprite: Structures/Machines/protolathe.rsi
netsync: false
layers:
- state: icon
map: ["enum.ProtolatheVisualLayers.Base"]

View File

@@ -28,6 +28,7 @@
anchored: true
- type: Sprite
sprite: Structures/Power/Generation/Singularity/collector.rsi
netsync: false
layers:
- state: ca_on
map: ["enum.RadiationCollectorVisualLayers.Main"]

View File

@@ -33,6 +33,7 @@
- type: Sprite
sprite: Structures/Power/Generation/Singularity/containment.rsi
state: icon
netsync: false
- type: Icon
sprite: Structures/Power/Generation/Singularity/containment.rsi
state: icon
@@ -76,6 +77,7 @@
- type: Sprite
sprite: Structures/Power/Generation/Singularity/containment_field.rsi
state: field
netsync: false
- type: Icon
sprite: Structures/Power/Generation/Singularity/containment_field.rsi
state: field

View File

@@ -28,6 +28,7 @@
anchored: true
- type: Sprite
sprite: Structures/Power/Generation/Singularity/emitter.rsi
netsync: false
layers:
- state: emitter2
- state: beam

View File

@@ -8,6 +8,7 @@
- type: Sprite
sprite: Structures/Power/Generation/Singularity/generator.rsi
state: icon
netsync: false
- type: SingularityGenerator
- type: InteractionOutline
- type: Clickable

View File

@@ -30,6 +30,7 @@
- type: Sprite
sprite: Structures/Power/Generation/solar_panel.rsi
state: normal
netsync: false
- type: NodeContainer
examinable: true
nodes:
@@ -170,6 +171,7 @@
- type: Sprite
sprite: Structures/Power/Generation/solar_panel.rsi
state: solar_tracker
netsync: false
- type: Transform
anchored: true
- type: Damageable

View File

@@ -9,6 +9,7 @@
components:
- type: Sprite # TODO: add sprite for maintenance panel open
sprite: Structures/Power/substation.rsi
netsync: false
layers:
- state: substation
- state: screen

View File

@@ -13,6 +13,7 @@
- type: Sprite
sprite: Structures/Furniture/furniture.rsi
state: rack
netsync: false
- type: Fixtures
fixtures:
- shape: