]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Instruments for Musician lodouts (#29059)
authorCojoke <83733158+Cojoke-dot@users.noreply.github.com>
Sun, 16 Jun 2024 11:27:35 +0000 (06:27 -0500)
committerGitHub <noreply@github.com>
Sun, 16 Jun 2024 11:27:35 +0000 (21:27 +1000)
* Musician Instruments to Musician lodouts

* Move instruments to their own file, fix instruments spawning on the floor, Found bug of Loadout dropping items on the floor rather than sorting inventory

* Whoops, I removed bagpipes for some reason

Resources/Locale/en-US/preferences/loadout-groups.ftl
Resources/Prototypes/Loadouts/Jobs/Civilian/musician.yml
Resources/Prototypes/Loadouts/Miscellaneous/instruments.yml [new file with mode: 0644]
Resources/Prototypes/Loadouts/loadout_groups.yml
Resources/Prototypes/Loadouts/role_loadouts.yml
Resources/Prototypes/Roles/Jobs/Civilian/musician.yml

index 28863268dfc6a37ba686132739d024b8ac615af7..a107ee24f8404f54cf03e9389fe49c04c74310f9 100644 (file)
@@ -2,6 +2,7 @@
 loadout-group-trinkets = Trinkets
 loadout-group-glasses = Glasses
 loadout-group-backpack = Backpack
+loadout-group-instruments = Instruments
 
 # Command
 loadout-group-captain-head = Captain head
index c26da03628eae5b36f2de457ec795ff392cd3189..486ff25d47c7252de00f88a09fcc0d5d008c1e80 100644 (file)
@@ -6,4 +6,4 @@
 - type: startingGear
   id: MusicianWintercoat
   equipment:
-    outerClothing: ClothingOuterWinterMusician
\ No newline at end of file
+    outerClothing: ClothingOuterWinterMusician
diff --git a/Resources/Prototypes/Loadouts/Miscellaneous/instruments.yml b/Resources/Prototypes/Loadouts/Miscellaneous/instruments.yml
new file mode 100644 (file)
index 0000000..5b7e461
--- /dev/null
@@ -0,0 +1,280 @@
+# Instruments
+- type: loadout
+  id: Glockenspiel
+  equipment: Glockenspiel
+
+- type: startingGear
+  id: Glockenspiel
+  storage:
+    back:
+    - GlockenspielInstrument
+
+- type: loadout
+  id: MusicBox
+  equipment: MusicBox
+
+- type: startingGear
+  id: MusicBox
+  storage:
+    back:
+    - MusicBoxInstrument
+
+- type: loadout
+  id: Xylophone
+  equipment: Xylophone
+
+- type: startingGear
+  id: Xylophone
+  storage:
+    back:
+    - XylophoneInstrument
+
+- type: loadout
+  id: Microphone
+  equipment: Microphone
+
+- type: startingGear
+  id: Microphone
+  storage:
+    back:
+    - MicrophoneInstrument
+
+- type: loadout
+  id: Synthesizer
+  equipment: Synthesizer
+
+- type: startingGear
+  id: Synthesizer
+  storage:
+    back:
+    - SynthesizerInstrument
+
+- type: loadout
+  id: Kalimba
+  equipment: Kalimba
+
+- type: startingGear
+  id: Kalimba
+  storage:
+    back:
+    - KalimbaInstrument
+
+- type: loadout
+  id: Woodblock
+  equipment: Woodblock
+
+- type: startingGear
+  id: Woodblock
+  storage:
+    back:
+    - WoodblockInstrument
+
+- type: loadout
+  id: ElectricGuitar
+  equipment: ElectricGuitar
+
+- type: startingGear
+  id: ElectricGuitar
+  storage:
+    back:
+    - ElectricGuitarInstrument
+
+- type: loadout
+  id: BassGuitar
+  equipment: BassGuitar
+
+- type: startingGear
+  id: BassGuitar
+  storage:
+    back:
+    - BassGuitarInstrument
+
+- type: loadout
+  id: RockGuitar
+  equipment: RockGuitar
+
+- type: startingGear
+  id: RockGuitar
+  storage:
+    back:
+    - RockGuitarInstrument
+
+- type: loadout
+  id: AcousticGuitar
+  equipment: AcousticGuitar
+
+- type: startingGear
+  id: AcousticGuitar
+  storage:
+    back:
+    - AcousticGuitarInstrument
+
+- type: loadout
+  id: Banjo
+  equipment: Banjo
+
+- type: startingGear
+  id: Banjo
+  storage:
+    back:
+    - BanjoInstrument
+
+- type: loadout
+  id: Violin
+  equipment: Violin
+
+- type: startingGear
+  id: Violin
+  storage:
+    back:
+    - ViolinInstrument
+
+- type: loadout
+  id: Viola
+  equipment: Viola
+
+- type: startingGear
+  id: Viola
+  storage:
+    back:
+    - ViolaInstrument
+
+- type: loadout
+  id: Cello
+  equipment: Cello
+
+- type: startingGear
+  id: Cello
+  storage:
+    back:
+    - CelloInstrument
+
+- type: loadout
+  id: Trumpet
+  equipment: Trumpet
+
+- type: startingGear
+  id: Trumpet
+  storage:
+    back:
+    - TrumpetInstrument
+
+- type: loadout
+  id: Trombone
+  equipment: Trombone
+
+- type: startingGear
+  id: Trombone
+  storage:
+    back:
+    - TromboneInstrument
+
+- type: loadout
+  id: FrenchHorn
+  equipment: FrenchHorn
+
+- type: startingGear
+  id: FrenchHorn
+  storage:
+    back:
+    - FrenchHornInstrument
+
+- type: loadout
+  id: Euphonium
+  equipment: Euphonium
+
+- type: startingGear
+  id: Euphonium
+  storage:
+    back:
+    - EuphoniumInstrument
+
+- type: loadout
+  id: Saxophone
+  equipment: Saxophone
+
+- type: startingGear
+  id: Saxophone
+  storage:
+    back:
+    - SaxophoneInstrument
+
+- type: loadout
+  id: Accordion
+  equipment: Accordion
+
+- type: startingGear
+  id: Accordion
+  storage:
+    back:
+    - AccordionInstrument
+
+- type: loadout
+  id: Harmonica
+  equipment: Harmonica
+
+- type: startingGear
+  id: Harmonica
+  storage:
+    back:
+    - HarmonicaInstrument
+
+- type: loadout
+  id: Clarinet
+  equipment: Clarinet
+
+- type: startingGear
+  id: Clarinet
+  storage:
+    back:
+    - ClarinetInstrument
+
+- type: loadout
+  id: Flute
+  equipment: Flute
+
+- type: startingGear
+  id: Flute
+  storage:
+    back:
+    - FluteInstrument
+
+- type: loadout
+  id: Recorder
+  equipment: Recorder
+
+- type: startingGear
+  id: Recorder
+  storage:
+    back:
+    - RecorderInstrument
+
+- type: loadout
+  id: PanFlute
+  equipment: PanFlute
+
+- type: startingGear
+  id: PanFlute
+  storage:
+    back:
+    - PanFluteInstrument
+
+- type: loadout
+  id: Ocarina
+  equipment: Ocarina
+
+- type: startingGear
+  id: Ocarina
+  storage:
+    back:
+    - OcarinaInstrument
+
+- type: loadout
+  id: Bagpipe
+  equipment: Bagpipe
+
+- type: startingGear
+  id: Bagpipe
+  storage:
+    back:
+    - BagpipeInstrument
index 0fab367fc90e54609403e19ce80cbe9244c373b5..cc0aefb69c156818c4426d1ca91e8b169ea058b1 100644 (file)
   loadouts:
   - MusicianWintercoat
 
+- type: loadoutGroup
+  id: Instruments
+  name: loadout-group-instruments
+  minLimit: 0
+  maxLimit: 2
+  loadouts:
+  - Glockenspiel
+  - MusicBox
+  - Xylophone
+  - Microphone
+  - Synthesizer
+  - Kalimba
+  - Woodblock
+  - ElectricGuitar
+  - BassGuitar
+  - RockGuitar
+  - AcousticGuitar
+  - Banjo
+  - Violin
+  - Viola
+  - Cello
+  - Trumpet
+  - Trombone
+  - FrenchHorn
+  - Euphonium
+  - Saxophone
+  - Accordion
+  - Harmonica
+  - Clarinet
+  - Flute
+  - Recorder
+  - PanFlute
+  - Ocarina
+  - Bagpipe
+
 # Cargo
 - type: loadoutGroup
   id: QuartermasterHead
index 4ff2775dfc1d9454ebec54fd0de3da1076a38d7c..0e80113ce3f77bcd92d0a5aa5d5e320591fc9093 100644 (file)
   - MusicianOuterClothing
   - Glasses
   - Trinkets
+  - Instruments
 
 # Cargo
 - type: roleLoadout
index 4b508c907d78948f438417d2b46db4bfdf3260f5..58335ba52dd4599b268290dcc35de04bcde19d6f 100644 (file)
@@ -25,5 +25,3 @@
   storage:
     back:
     - BoxSurvival
-    - AcousticGuitarInstrument
-    - SaxophoneInstrument
\ No newline at end of file