From f12140cbaabc6ff43062d22f400311718b3775c6 Mon Sep 17 00:00:00 2001 From: FireFoxPhoenix Date: Mon, 2 Sep 2024 15:01:01 +1000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BB=D0=B5=D0=B5=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Добавлен плеер и возможность купить его в МузВенде --- .../Entities/Objects/Devices/musicplayer.yml | 29 ++++++++++++++++++ .../Inventories/autotunevend.yml | 1 + .../Objects/Devices/mucicplayer.rsi/icon.png | Bin 0 -> 308 bytes .../Objects/Devices/mucicplayer.rsi/meta.json | 14 +++++++++ 4 files changed, 44 insertions(+) create mode 100644 Resources/Prototypes/Corvax/Entities/Objects/Devices/musicplayer.yml create mode 100644 Resources/Textures/Corvax/Objects/Devices/mucicplayer.rsi/icon.png create mode 100644 Resources/Textures/Corvax/Objects/Devices/mucicplayer.rsi/meta.json diff --git a/Resources/Prototypes/Corvax/Entities/Objects/Devices/musicplayer.yml b/Resources/Prototypes/Corvax/Entities/Objects/Devices/musicplayer.yml new file mode 100644 index 00000000000..2a2a47f4d87 --- /dev/null +++ b/Resources/Prototypes/Corvax/Entities/Objects/Devices/musicplayer.yml @@ -0,0 +1,29 @@ +- type: entity + id: MusicPlayer + name: Музыкальный плеер + parent: BaseItem + description: Это маленькое устройство, с кучей установленных песен, может обрадовать Вас даже в пустом космосе! + components: + - type: Sprite + sprite: /Textures/Corvax/Objects/Devices/mucicplayer.rsi + state: icon + scale: 1, 1 + - type: Appearance + - type: Item + size: Small + sprite: /Textures/Corvax/Objects/Devices/mucicplayer.rsi + - type: Clothing + quickEquip: true + slots: + - neck + - belt + - type: Jukebox + - type: UserInterface + interfaces: + enum.JukeboxUiKey.Key: + type: JukeboxBoundUserInterface + - type: ActivatableUI + key: enum.JukeboxUiKey.Key + - type: CargoSellBlacklist + - type: StaticPrice + price: 2500 \ No newline at end of file diff --git a/Resources/Prototypes/_NF/Catalog/VendingMachines/Inventories/autotunevend.yml b/Resources/Prototypes/_NF/Catalog/VendingMachines/Inventories/autotunevend.yml index ea441ad35d7..9440abba67e 100644 --- a/Resources/Prototypes/_NF/Catalog/VendingMachines/Inventories/autotunevend.yml +++ b/Resources/Prototypes/_NF/Catalog/VendingMachines/Inventories/autotunevend.yml @@ -78,6 +78,7 @@ BaseBoomBoxTapeRamseyGoodbye: 3 BaseBoomBoxTapeSamuelKimGunsForHire: 3 BaseBoomBoxTapeSigridEverybodyKnows: 3 + MusicPlayer: 5 contrabandInventory: # SeashellInstrument: 1 This is actully just static noises # ReverseCymbalsInstrument: 1 Sounds bad diff --git a/Resources/Textures/Corvax/Objects/Devices/mucicplayer.rsi/icon.png b/Resources/Textures/Corvax/Objects/Devices/mucicplayer.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..ce5aca4a27e953960fd787e26548addc98adadf5 GIT binary patch literal 308 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv#^NA%C&rs6b?Si}&H|6fVg?4j zBOuH;Rhv&5D5x0V6XFV_fnd%YwdCaFr%z=~fmc(}f;yjpN>rMjZi=+1M>^H$%pnA7cja# nulM;s