Skip to content

Commit

Permalink
Merge PR #57 from EndrAnimet (РСУ и ГП)
Browse files Browse the repository at this point in the history
РСУ и ГП
  • Loading branch information
EndrAnimet authored Jul 6, 2024
2 parents 97d53a7 + 044d520 commit 0cae6fa
Show file tree
Hide file tree
Showing 56 changed files with 537 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-map-renderer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

on:
push:
branches: [ master, staging, trying, cursed ]
branches: [ master, staging, trying, endrbranch2 ]
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build & Test Debug

on:
push:
branches: [ master, staging, trying, cursed ]
branches: [ master, staging, trying, endrbranch2 ]
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

on:
push:
branches: [ master, staging, trying, cursed ]
branches: [ master, staging, trying, endrbranch2 ]
paths:
- '**.cs'
- '**.csproj'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-rgas.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: RGA schema validator
on:
push:
branches: [ master, staging, trying, cursed ]
branches: [ master, staging, trying, endrbranch2 ]
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-rsis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: RSI Validator

on:
push:
branches: [ staging, trying, cursed ]
branches: [ staging, trying, endrbranch2 ]
merge_group:
pull_request:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate_mapfiles.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Map file schema validator
on:
push:
branches: [ master, staging, trying, cursed ]
branches: [ master, staging, trying, endrbranch2 ]
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yaml-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: YAML Linter

on:
push:
branches: [ master, staging, trying, cursed ]
branches: [ master, staging, trying, endrbranch2 ]
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
Expand Down
10 changes: 8 additions & 2 deletions Content.Client/RCD/RCDMenu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
VerticalExpand="True"
HorizontalExpand="True"
MinSize="450 450">

<!-- Note: The min size of the window just determine how close to the edge of the screen the center of the radial menu can be placed -->
<!-- The radial menu will try to open so that its center is located where the player's cursor is currently -->

Expand All @@ -27,6 +27,10 @@
<ui:RadialMenuTextureButton StyleClasses="RadialMenuButton" SetSize="64 64" ToolTip="{Loc 'rcd-component-lighting'}" TargetLayer="Lighting" Visible="False">
<TextureRect VerticalAlignment="Center" HorizontalAlignment="Center" TextureScale="2 2" TexturePath="/Textures/Interface/Radial/RCD/lighting.png"/>
</ui:RadialMenuTextureButton>
<ui:RadialMenuTextureButton StyleClasses="RadialMenuButton" SetSize="64 64" ToolTip="{Loc 'rcd-component-tubes'}" TargetLayer="Tubes" Visible="False">
<TextureRect VerticalAlignment="Center" HorizontalAlignment="Center" TextureScale="2 2" TexturePath="/Textures/Interface/Radial/RCD/Tubes.png"/>

</ui:RadialMenuTextureButton>
</ui:RadialContainer>

<!-- Walls and flooring -->
Expand All @@ -40,8 +44,10 @@

<!-- Computer and machine frames -->
<ui:RadialContainer Name="Electrical" VerticalExpand="True" HorizontalExpand="True" Radius="64"/>

<!-- Lighting -->
<ui:RadialContainer Name="Lighting" VerticalExpand="True" HorizontalExpand="True" Radius="64"/>

<!-- Tubes --> <!--Stray-->
<ui:RadialContainer Name="Tubes" VerticalExpand="True" HorizontalExpand="True" Radius="64"/> <!--Stray-->
</ui:RadialMenu>
10 changes: 10 additions & 0 deletions Resources/Locale/ru-RU/stray/items/tools.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ent-AdavancedRCD = Продвинутое РСУ
.desc = РСУ с большим количеством возможных строений и большим возможным количеством зарядов.
ent-AdavancedRCDEmpty = Продвинутое РСУ
.desc = РСУ с большим количеством возможных строений и большим возможным количеством зарядов.
ent-CombatRCD = Боевое РСУ
.desc = РСУ с большим количеством возможных строений и гигантским количеством зарядов. Используется СИ и инженерами ОБР.
ent-RACDEmpty = РАСУ
.desc = Ручное атмосферное строительное устройство. Может строить трубы.
ent-RACD = РАСУ
.desc = Ручное атмосферное строительное устройство. Может строить трубы.
3 changes: 2 additions & 1 deletion Resources/Locale/ru-RU/stray/research.ftl
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
research-technology-advanced-salvage-weapons = Продвинутое вооружение утилизаторов
research-technology-advanced-salvage-weapons = Продвинутое вооружение утилизаторов
research-technology-adavanced-rcd = Продвинутые РСУ
1 change: 1 addition & 0 deletions Resources/Prototypes/Catalog/Fills/Items/belt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
- id: HolofanProjector
- id: GasAnalyzer
- id: trayScanner
- id: CombatRCD

- type: entity
id: ClothingBeltSecurityFilled
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/engineer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
- id: MedkitOxygenFilled
- id: HolofanProjector
- id: RCD
- id: RACD
- id: RCDAmmo
- id: LunchboxEngineeringFilledRandom # Delta-V Lunchboxes!
prob: 0.3
Expand All @@ -113,6 +114,7 @@
- id: MedkitOxygenFilled
- id: HolofanProjector
- id: RCD
- id: RACD
- id: RCDAmmo
- id: LunchboxEngineeringFilledRandom # Delta-V Lunchboxes!
prob: 0.3
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@
- id: ClothingShoesBootsLaceup # DeltaV - add fancy shoes for HoP and cap
- id: ClothingShoesMiscWhite # DeltaV - add fancy shoes for HoP and cap
- id: ClothingShoesBootsWinterHeadOfPersonel #Delta V: Add departmental winter boots
- id: ClothingOuterHardsuitHoP # Stray
- id: WeaponDisabler # Stray
- id: LunchboxCommandFilledRandom # Delta-V Lunchboxes!
prob: 0.3

Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@
- WeaponProtoKineticAcceleratorMining
- WeaponProtoKineticAcceleratorAdvancedMining
- WeaponProtoKineticAcceleratorSubversiveMining
- RCD
- RACD
- AdavancedRCD
# End Stray additions
- type: EmagLatheRecipes
emagDynamicRecipes:
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Maps/edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
Paramedic: [ 1, 2 ]
Psychologist: [ 1, 1 ]
MedicalDoctor: [ 3, 4 ]
MedicalIntern: [ 2, 3 ]s
MedicalIntern: [ 2, 3 ]
Slugcat: [ 1, 1 ]
#science
ResearchDirector: [ 1, 1 ]
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Research/industrial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@
- JawsOfLife
- BorgModuleAdvancedTool
- BorgModuleRCD
- RCD
- RCDAmmo

# Tier 3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
highPressureMultiplier: 0.02
lowPressureMultiplier: 4500
- type: ClothingSpeedModifier
walkModifier: 0.8
sprintModifier: 0.8
walkModifier: 1
sprintModifier: 0.85
- type: Armor
modifiers:
coefficients:
Blunt: 0.90
Slash: 0.8
Piercing: 0.90
Blunt: 0.7
Slash: 0.7
Piercing: 0.7
Heat: 0.8
Radiation: 0.6
- type: ExplosionResistance
Expand Down
7 changes: 0 additions & 7 deletions Resources/Prototypes/Stray/Body/Organs/ipc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
- type: Organ
- type: Extractable
grindableSolutionName: organ
- type: SolutionContainerManager
solutions:
organ:
maxVol: 10
reagents:
- ReagentId: Oil
Quantity: 10

- type: entity
id: OrganIPCFan
Expand Down
1 change: 0 additions & 1 deletion Resources/Prototypes/Stray/Entities/Mobs/Species/ipc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@
- Freelance
- type: LockedWiresPanel


- type: entity
name: Urist McIPC
parent: MobHumanDummy
Expand Down
148 changes: 148 additions & 0 deletions Resources/Prototypes/Stray/Entities/Objects/Tools/RCD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
- type: entity
id: CombatRCD
parent: BaseItem
name: Combat RCD
description: The rapid construction device can be used to quickly place and remove various station structures and fixtures. Requires compressed matter to function.
components:
- type: RCD
availablePrototypes:
- WallSolid
- FloorSteel
- Plating
- Catwalk
- Grille
- Window
- WindowDirectional
- WindowReinforcedDirectional
- ReinforcedWindow
- Airlock
- AirlockGlass
- Firelock
- TubeLight
- BulbLight
- LVCable
- MVCable
- HVCable
- CableTerminal
- Deconstruct
- GasVentPump
- GasVentScrubber
- GasPipeStraight
- GasPipeTJunction
- GasPipeBend
- GasPipeFourway
- GasPressurePump
- GasMixer
- GasFilter
- ComputerFrame
- MachineFrame
- WindoorSecure
- Windoor
- AirlockGlassShuttle
- AirlockShuttle
- WallShuttle
- WallReinforced
- type: LimitedCharges
maxCharges: 500
charges: 500
- type: AutoRecharge
rechargeDuration: 480
- type: UseDelay
- type: Sprite
sprite: Stray/Objects/Tools/crcd.rsi
state: icon
- type: Item
sprite: Stray/Objects/Tools/crcd.rsi
size: Normal
- type: PhysicalComposition
materialComposition:
Steel: 600
Plastic: 100
- type: StaticPrice
price: 50000
- type: UserInterface
interfaces:
enum.RcdUiKey.Key:
type: RCDMenuBoundUserInterface
- type: ActivatableUI
key: enum.RcdUiKey.Key

- type: entity
id: RACD
parent: BaseItem
name: RACD
description: The rapid construction device can be used to quickly place and remove various station structures and fixtures. Requires compressed matter to function.
components:
- type: RCD
availablePrototypes:
- GasPassiveVent
- GasVentPump
- GasVentScrubber
- GasPipeStraight
- GasPipeTJunction
- GasPipeBend
- GasPipeFourway
- GasPressurePump
- GasVolumePump
- GasMixer
- GasFilter
- FloorSteel
- Airlock
- AirlockGlass
- Firelock
- Deconstruct
- type: LimitedCharges
maxCharges: 30
charges: 30
- type: UseDelay
- type: Sprite
sprite: Stray/Objects/Tools/rcad.rsi
state: icon
- type: Item
sprite: Stray/Objects/Tools/rcad.rsi
size: Normal
- type: PhysicalComposition
materialComposition:
Steel: 600
Plastic: 100
- type: StaticPrice
price: 50000
- type: UserInterface
interfaces:
enum.RcdUiKey.Key:
type: RCDMenuBoundUserInterface
- type: ActivatableUI
key: enum.RcdUiKey.Key

- type: entity
id: AdavancedRCD
parent: CombatRCD
name: Adavanced RCD
description: The rapid construction device can be used to quickly place and remove various station structures and fixtures. Requires compressed matter to function.
components:
- type: LimitedCharges
maxCharges: 60
charges: 60
- type: Sprite
sprite: Stray/Objects/Tools/arcd.rsi
state: icon
- type: Item
sprite: Stray/Objects/Tools/arcd.rsi

- type: entity
id: AdavancedRCDEmpty
parent: AdavancedRCD
suffix: пустое
components:
- type: LimitedCharges
maxCharges: 60
charges: 0

- type: entity
id: RACDEmpty
parent: RACD
suffix: пустое
components:
- type: LimitedCharges
maxCharges: 30
charges: 0
Loading

0 comments on commit 0cae6fa

Please sign in to comment.