From 63795f970702cd9e502d25f054806e713074b9b9 Mon Sep 17 00:00:00 2001 From: Astronaut <85165800+lAstronautl@users.noreply.github.com> Date: Tue, 15 Oct 2024 19:34:58 +0300 Subject: [PATCH] Portable artifact container (#381) * Nerf * Revert "Nerf" This reverts commit f9d2a58856e7183a6b4a61872efd45760f48285f. * update * up * update * Move everything to `Starshine` folder This is unique Starshine item, so no need to have more conflicts in the future. Probably should be PR'ed to original fork. * Weh * Forgor --------- Co-authored-by: MilenVolf --- .../xenoarchaeology/artifact_equipment.ftl | 3 +++ .../Starshine/Catalog/Cargo/cargo_science.yml | 9 +++++++ .../Xenoarchaeology/artifact_equipment.yml | 21 +++++++++++++++++ .../portable_artifact_container.rsi/icon.png | Bin 0 -> 375 bytes .../inhand-left.png | Bin 0 -> 339 bytes .../inhand-right.png | Bin 0 -> 344 bytes .../portable_artifact_container.rsi/meta.json | 22 ++++++++++++++++++ 7 files changed, 55 insertions(+) create mode 100644 Resources/Locale/ru-RU/starshine/ss14-ru/prototypes/entities/objects/specific/xenoarchaeology/artifact_equipment.ftl create mode 100644 Resources/Prototypes/Starshine/Catalog/Cargo/cargo_science.yml create mode 100644 Resources/Prototypes/Starshine/Entities/Objects/Specific/Xenoarchaeology/artifact_equipment.yml create mode 100644 Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/icon.png create mode 100644 Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/inhand-left.png create mode 100644 Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/inhand-right.png create mode 100644 Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/meta.json diff --git a/Resources/Locale/ru-RU/starshine/ss14-ru/prototypes/entities/objects/specific/xenoarchaeology/artifact_equipment.ftl b/Resources/Locale/ru-RU/starshine/ss14-ru/prototypes/entities/objects/specific/xenoarchaeology/artifact_equipment.ftl new file mode 100644 index 00000000000000..6b3f07a225eb52 --- /dev/null +++ b/Resources/Locale/ru-RU/starshine/ss14-ru/prototypes/entities/objects/specific/xenoarchaeology/artifact_equipment.ftl @@ -0,0 +1,3 @@ +ent-PortableArtifactContainer = портативный кейс для артефактов + .desc = Совершено новый, стильный и портативный, кейс для переноски опасных артефактов. С новыми технологиями NT, он теперь имеет мягкие ручки для удобной переноски! + .suffix = Артефакт diff --git a/Resources/Prototypes/Starshine/Catalog/Cargo/cargo_science.yml b/Resources/Prototypes/Starshine/Catalog/Cargo/cargo_science.yml new file mode 100644 index 00000000000000..2871dec8291973 --- /dev/null +++ b/Resources/Prototypes/Starshine/Catalog/Cargo/cargo_science.yml @@ -0,0 +1,9 @@ +- type: cargoProduct + id: PortableArtifactContainerCargo + icon: + sprite: Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi + state: icon + product: PortableArtifactContainer + cost: 500 + category: cargoproduct-category-name-science + group: market diff --git a/Resources/Prototypes/Starshine/Entities/Objects/Specific/Xenoarchaeology/artifact_equipment.yml b/Resources/Prototypes/Starshine/Entities/Objects/Specific/Xenoarchaeology/artifact_equipment.yml new file mode 100644 index 00000000000000..1e94a1d1518f37 --- /dev/null +++ b/Resources/Prototypes/Starshine/Entities/Objects/Specific/Xenoarchaeology/artifact_equipment.yml @@ -0,0 +1,21 @@ +- type: entity + name: portable artifact Container + parent: BriefcaseBrown + id: PortableArtifactContainer + description: A handy briefcase. + components: + - type: Sprite + sprite: Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi + state: icon + - type: SuppressArtifactContainer + - type: RadiationBlockingContainer + resistance: 5 + - type: Item + size: Huge + sprite: Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi + - type: Storage + maxItemSize: Huge + grid: + - 0,0,1,1 + storageOpenSound: + collection: WeaponCaseOpen diff --git a/Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/icon.png b/Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..e00983c1cfaf3e719a22bb3eeb567f6faf63af7a GIT binary patch literal 375 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^T<;+`&!ArY-_ zr>@UC6d=-WFBO+?l4pgNN|VWI2h+rgGil3a-kI!U)Z6HOqoPrdm#K3N)8>>#^OUA- z?^53VMP5Azs;m)0HC8=qD4+&>XzhHK4+6FFh-Gx_b`ikf4G^AJEeD#vK z;hWy|c}Js!dw5Hhe`miSQ}k0~wsY z(^hINYOIhH{^q2u^wCJHc~6@vd$@?2>{LXp49*V literal 0 HcmV?d00001 diff --git a/Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/inhand-left.png b/Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/inhand-left.png new file mode 100644 index 0000000000000000000000000000000000000000..848b93411b2991bd0bb39237df3f3c4d759f3ed1 GIT binary patch literal 339 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=jKx9jP7LeL$-D$|K6|=2hE&XX zd&`io$w9y&(4K=7z!7ah_oFOUHV%^SN43G zp5z&Kk%Tua$G&}M75Fc{&u`8 V@&MEwmx3pQSe~waF6*2UngFw9h^znr literal 0 HcmV?d00001 diff --git a/Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/inhand-right.png b/Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/inhand-right.png new file mode 100644 index 0000000000000000000000000000000000000000..ba7c6e7d23b13b287a672d25d702c2e12eb0674f GIT binary patch literal 344 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=jKx9jP7LeL$-D$|et5b#hE&XX zd&{1$$v~q0Vb+~Fdl;<@jf@PxbKG-Sf8@n6-h#5El#-zH4_FJFq?<2%TCV%CR!C?; z0L=gajYSb*>x{oFoL!w-w0V<-ep}0?gCz%}xCM@G;%auVRMwu~eL?+w z(JhaEiy782@A&qe^~E2q7DFEO`CLdh4mcOl@<5iz1Q^)ntXb%$qL)L zsQhE69`;<*4!9l9=k&(zc;!A>>;BRx)(ly;K?ACr>mdKI;Vst0F^e4UH||9 literal 0 HcmV?d00001 diff --git a/Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/meta.json b/Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/meta.json new file mode 100644 index 00000000000000..a65feb9b735577 --- /dev/null +++ b/Resources/Textures/Starshine/Objects/Storage/Briefcases/portable_artifact_container.rsi/meta.json @@ -0,0 +1,22 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Made by bebroboid (Discord)", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "inhand-left", + "directions": 4 + }, + { + "name": "inhand-right", + "directions": 4 + }, + { + "name": "icon" + } + ] +}