Sprite netsync purge (1st wave) (#6557)
This commit is contained in:
@@ -37,6 +37,11 @@ namespace Content.Shared.Item
|
|||||||
args.State = new ItemComponentState(component.Size, component.EquippedPrefix, component.Color, component.RsiPath);
|
args.State = new ItemComponentState(component.Size, component.EquippedPrefix, component.Color, component.RsiPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Although netsync is being set to false for items client can still update these
|
||||||
|
// Realistically:
|
||||||
|
// Container should already hide these
|
||||||
|
// Client is the only thing that matters.
|
||||||
|
|
||||||
private void OnUnequipped(EntityUid uid, SharedSpriteComponent component, GotUnequippedEvent args)
|
private void OnUnequipped(EntityUid uid, SharedSpriteComponent component, GotUnequippedEvent args)
|
||||||
{
|
{
|
||||||
component.Visible = true;
|
component.Visible = true;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
- type: InteractionOutline
|
- type: InteractionOutline
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Markers/cross.rsi
|
sprite: Markers/cross.rsi
|
||||||
|
netsync: false
|
||||||
# If serialization was cool this would work.
|
# If serialization was cool this would work.
|
||||||
# layers:
|
# layers:
|
||||||
# - state: blue
|
# - state: blue
|
||||||
|
|||||||
@@ -7,3 +7,4 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Misc/module.rsi
|
sprite: Objects/Misc/module.rsi
|
||||||
state: charger_APC
|
state: charger_APC
|
||||||
|
netsync: false
|
||||||
|
|||||||
@@ -10,3 +10,4 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Misc/module.rsi
|
sprite: Objects/Misc/module.rsi
|
||||||
state: mainboard
|
state: mainboard
|
||||||
|
netsync: false
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Tiles/tile.rsi
|
sprite: Objects/Tiles/tile.rsi
|
||||||
|
netsync: false
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Tiles/tile.rsi
|
sprite: Objects/Tiles/tile.rsi
|
||||||
- type: DamageOtherOnHit
|
- type: DamageOtherOnHit
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
parent: BaseItem
|
parent: BaseItem
|
||||||
abstract: true
|
abstract: true
|
||||||
components:
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
netsync: false
|
||||||
- type: EmitSoundOnLand
|
- type: EmitSoundOnLand
|
||||||
sound:
|
sound:
|
||||||
path: /Audio/Items/toolbox_drop.ogg
|
path: /Audio/Items/toolbox_drop.ogg
|
||||||
|
|||||||
@@ -122,6 +122,7 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Tools/crowbar.rsi
|
sprite: Objects/Tools/crowbar.rsi
|
||||||
state: icon
|
state: icon
|
||||||
|
netsync: false
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Tools/crowbar.rsi
|
sprite: Objects/Tools/crowbar.rsi
|
||||||
size: 10
|
size: 10
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: FloorTiles
|
drawdepth: FloorTiles
|
||||||
|
netsync: false
|
||||||
- type: Icon
|
- type: Icon
|
||||||
state: full
|
state: full
|
||||||
- type: IconSmooth
|
- type: IconSmooth
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Furniture/chairs.rsi
|
sprite: Structures/Furniture/chairs.rsi
|
||||||
noRot: true
|
noRot: true
|
||||||
|
netsync: false
|
||||||
- type: Strap
|
- type: Strap
|
||||||
position: Stand
|
position: Stand
|
||||||
buckleOffset: "0,0.15"
|
buckleOffset: "0,0.15"
|
||||||
@@ -210,4 +211,4 @@
|
|||||||
sound:
|
sound:
|
||||||
path: /Audio/Voice/Human/womanlaugh.ogg
|
path: /Audio/Voice/Human/womanlaugh.ogg
|
||||||
graph: RitualSeat
|
graph: RitualSeat
|
||||||
node: chairCursed
|
node: chairCursed
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
snap:
|
snap:
|
||||||
- Disposal
|
- Disposal
|
||||||
components:
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
netsync: false
|
||||||
- type: SubFloorHide
|
- type: SubFloorHide
|
||||||
- type: Clickable
|
- type: Clickable
|
||||||
- type: InteractionOutline
|
- type: InteractionOutline
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
description: "A liquids storage tank."
|
description: "A liquids storage tank."
|
||||||
abstract: true
|
abstract: true
|
||||||
components:
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
netsync: false
|
||||||
- type: InteractionOutline
|
- type: InteractionOutline
|
||||||
- type: Physics
|
- type: Physics
|
||||||
- type: Fixtures
|
- type: Fixtures
|
||||||
|
|||||||
@@ -29,3 +29,4 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: WallTops
|
drawdepth: WallTops
|
||||||
sprite: Structures/Wallmounts/signs.rsi
|
sprite: Structures/Wallmounts/signs.rsi
|
||||||
|
netsync: false
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Wallmounts/Lighting/light_tube.rsi
|
sprite: Structures/Wallmounts/Lighting/light_tube.rsi
|
||||||
drawdepth: WallMountedItems
|
drawdepth: WallMountedItems
|
||||||
|
netsync: false
|
||||||
layers:
|
layers:
|
||||||
- state: on
|
- state: on
|
||||||
map: ["enum.PoweredLightLayers.Base"]
|
map: ["enum.PoweredLightLayers.Base"]
|
||||||
@@ -137,7 +138,6 @@
|
|||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Heat: 20
|
Heat: 20
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: WallLight
|
parent: WallLight
|
||||||
id: UnpoweredLightExterior
|
id: UnpoweredLightExterior
|
||||||
@@ -149,6 +149,7 @@
|
|||||||
softness: 0.5
|
softness: 0.5
|
||||||
color: "#B4FCF0"
|
color: "#B4FCF0"
|
||||||
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: PoweredlightSodium
|
id: PoweredlightSodium
|
||||||
description: "A light fixture. Draws power and produces light when equipped with a light tube."
|
description: "A light fixture. Draws power and produces light when equipped with a light tube."
|
||||||
@@ -257,4 +258,4 @@
|
|||||||
hasLampOnSpawn: LightBulb
|
hasLampOnSpawn: LightBulb
|
||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Heat: 20
|
Heat: 20
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Hydroponics/misc.rsi
|
sprite: Structures/Hydroponics/misc.rsi
|
||||||
state: soil
|
state: soil
|
||||||
|
netsync: false
|
||||||
- type: PlantHolder
|
- type: PlantHolder
|
||||||
drawWarnings: false
|
drawWarnings: false
|
||||||
- type: SolutionContainerManager
|
- type: SolutionContainerManager
|
||||||
|
|||||||
Reference in New Issue
Block a user