Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

give more borg modules hands #3119

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Content.Shared/_DV/Whitelist/ElectronicsComponent.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using Robust.Shared.GameStates;

namespace Content.Shared._DV.Whitelist;

/// <summary>
/// Marker component for any electronics whitelisting without having to copy paste infinite tags.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class ElectronicsComponent : Component;
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
Glass: 200
chemicalComposition:
Silicon: 20
- type: Electronics # DeltaV
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- type: Tag
tags:
- Sheet
- BorgMaterial # DeltaV
- type: Material
- type: Damageable
damageContainer: Inorganic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
tags:
- Sheet
- Metal
- BorgMaterial # DeltaV
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
tags:
- Plastic
- Sheet
- BorgMaterial # DeltaV
- type: Material
- type: PhysicalComposition
materialComposition:
Expand Down
6 changes: 6 additions & 0 deletions Resources/Prototypes/Entities/Objects/Materials/parts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
- type: GuideHelp
guides:
- ExpandingRepairingStation
- type: Tag # DeltaV
tags:
# no RodMetal 1 because ???
- BorgMaterial

- type: entity
parent: PartRodMetal
Expand All @@ -81,6 +85,7 @@
- type: Tag
tags:
- RodMetal1
- BorgMaterial # DeltaV
- type: Sprite
state: rods
- type: Stack
Expand All @@ -95,6 +100,7 @@
- type: Tag
tags:
- RodMetal1
- BorgMaterial # DeltaV
- type: Sprite
state: rods
- type: Stack
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,19 @@
- CableHVStackLingering10
- Wirecutter
- trayScanner
# Begin DeltaV Additions - wires module can assemble electronics
droppableItems:
- id: APCElectronics
whitelist:
components:
- Electronics
- MachineBoard
- id: DoorElectronics
whitelist:
components:
- Electronics
- MachineBoard
# End DeltaV Additions
- type: BorgModuleIcon
icon: { sprite: Interface/Actions/actions_borg.rsi, state: wire-module }

Expand Down Expand Up @@ -304,11 +317,32 @@
- state: engineering
- state: icon-construction
- type: ItemBorgModule
items:
- SheetSteelLingering0
- SheetGlassLingering0
- PartRodMetalLingering0
- FloorTileItemSteelLingering0
# Begin DeltaV Removals - replaced by hands
#items:
#- SheetSteelLingering0
#- SheetGlassLingering0
#- PartRodMetalLingering0
#- FloorTileItemSteelLingering0
# End DeltaV Removals
# Begin DeltaV Additions
droppableItems:
- id: SheetSteel1
whitelist:
tags:
- BorgMaterial
- id: SheetGlass1
whitelist:
tags:
- BorgMaterial
- id: PartRodMetal1
whitelist:
tags:
- BorgMaterial
- id: FloorTileItemSteel
whitelist:
components:
- FloorTile
# End DeltaV Additions
- type: BorgModuleIcon
icon: { sprite: Interface/Actions/actions_borg.rsi, state: construction-module }

Expand Down Expand Up @@ -417,11 +451,32 @@
- type: ItemBorgModule
items:
- HandheldHealthAnalyzerUnpowered
- Brutepack10Lingering
- Ointment10Lingering
- Gauze10Lingering
- Bloodpack10Lingering
# Begin DeltaV Removals - replaced by hands
#- Brutepack10Lingering
#- Ointment10Lingering
#- Gauze10Lingering
#- Bloodpack10Lingering
# End DeltaV Removals
- Syringe
# Begin DeltaV Additions
droppableItems:
- id: Brutepack
whitelist:
components:
- Healing # these include ANY healing item, including tourniquets and oilpacks/lv for ipcs
- id: Ointment
whitelist:
components:
- Healing
- id: Gauze
whitelist:
components:
- Healing
- id: Bloodpack
whitelist:
components:
- Healing
# End DeltaV Additions
- type: BorgModuleIcon
icon: { sprite: Interface/Actions/actions_borg.rsi, state: treatment-module }

Expand Down Expand Up @@ -552,10 +607,33 @@
- state: service
- state: icon-musique
- type: ItemBorgModule
items:
- SynthesizerInstrument
- ElectricGuitarInstrument
- SaxophoneInstrument
# Begin DeltaV Removals - replaced by hands
#items:
#- SynthesizerInstrument
#- ElectricGuitarInstrument
#- SaxophoneInstrument
# End DeltaV Removals
# Begin DeltaV Additions
droppableItems:
- id: SynthesizerInstrument
whitelist:
requireAll: true # no picking up harpies or grand pianos
components:
- Instrument
- Item
- id: ElectricGuitarInstrument
whitelist:
requireAll: true
components:
- Instrument
- Item
- id: SaxophoneInstrument
whitelist:
requireAll: true
components:
- Instrument
- Item
# End DeltaV Additions
- type: BorgModuleIcon
icon: { sprite: Interface/Actions/actions_borg.rsi, state: musical-module }

Expand Down
17 changes: 1 addition & 16 deletions Resources/Prototypes/_DV/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,7 @@
id: BorgSecurityArmour

- type: Tag
id: BorgSecurityHead

- type: Tag
id: BorgSecurityLArm

- type: Tag
id: BorgSecurityLLeg

- type: Tag
id: BorgSecurityRArm

- type: Tag
id: BorgSecurityRLeg

- type: Tag
id: BorgSecurityTorso
id: BorgMaterial # for materials that can be used in a borg construction module

- type: Tag
id: BulletBB
Expand Down
Loading