From 64218bfcab424a51c045d75eaf8bcc2210ebd274 Mon Sep 17 00:00:00 2001 From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Sat, 27 Apr 2024 22:04:52 +0300 Subject: [PATCH] Coffin (#118) * coffin * eng --- .../_CP14/_PROTO/entities/structures.ftl | 8 +++-- .../Structures/Storage/Crates/coffin.yml | 33 ++++++++++++++++++ .../Storage/Crates/coffin.rsi/base.png | Bin 0 -> 568 bytes .../Storage/Crates/coffin.rsi/bounty.png | Bin 0 -> 628 bytes .../Crates/coffin.rsi/captains_paper.png | Bin 0 -> 628 bytes .../Storage/Crates/coffin.rsi/closed.png | Bin 0 -> 568 bytes .../Storage/Crates/coffin.rsi/invoice.png | Bin 0 -> 543 bytes .../Storage/Crates/coffin.rsi/meta.json | 32 +++++++++++++++++ .../Storage/Crates/coffin.rsi/open.png | Bin 0 -> 844 bytes .../Storage/Crates/coffin.rsi/paper.png | Bin 0 -> 624 bytes 10 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 Resources/Prototypes/_CP14/Entities/Structures/Storage/Crates/coffin.yml create mode 100644 Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/base.png create mode 100644 Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/bounty.png create mode 100644 Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/captains_paper.png create mode 100644 Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/closed.png create mode 100644 Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/invoice.png create mode 100644 Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/meta.json create mode 100644 Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/open.png create mode 100644 Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/paper.png diff --git a/Resources/Locale/ru-RU/_CP14/_PROTO/entities/structures.ftl b/Resources/Locale/ru-RU/_CP14/_PROTO/entities/structures.ftl index a545cfbf8f..9549c62627 100644 --- a/Resources/Locale/ru-RU/_CP14/_PROTO/entities/structures.ftl +++ b/Resources/Locale/ru-RU/_CP14/_PROTO/entities/structures.ftl @@ -56,5 +56,9 @@ ent-CP14CardboardWall = стена из картона .desc = Тонкая, непрочная стена из бумаги и картона. Пользуется популярностью в теплых странах. # Sharpening stone -ent-CP14BaseSharpeningStoneStructure = стационарный точильный камень - .desc = прочный, долговечный точильный камень, способный затачивать оружие без особого вреда для него. \ No newline at end of file +ent-CPBaseSharpeningStoneStructure = стационарный точильный камень + .desc = прочный, долговечный точильный камень, способный затачивать оружие без особого вреда для него. + +# Storage +ent-CP14CrateCoffin = гроб + .desc = Удобный и красивый гроб, чтобы с удобствами дождаться своего воскрешения. diff --git a/Resources/Prototypes/_CP14/Entities/Structures/Storage/Crates/coffin.yml b/Resources/Prototypes/_CP14/Entities/Structures/Storage/Crates/coffin.yml new file mode 100644 index 0000000000..829d0a61ea --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Structures/Storage/Crates/coffin.yml @@ -0,0 +1,33 @@ +- type: entity + parent: CrateGeneric + id: CP14CrateCoffin + name: coffin + description: A comfortable and nice looking coffin to comfortably await your resurrection. + components: + - type: Sprite + sprite: _CP14/Structures/Storage/Crates/coffin.rsi + layers: + - state: base + - state: closed + map: ["enum.StorageVisualLayers.Door"] + - state: paper + map: ["enum.PaperLabelVisuals.Layer"] + - type: Icon + sprite: _CP14/Structures/Storage/Crates/coffin.rsi + state: base + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 15 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: WoodDestroy + - !type:SpawnEntitiesBehavior + spawn: + MaterialWoodPlank1: + min: 1 + max: 4 + - !type:DoActsBehavior + acts: [ "Destruction" ] diff --git a/Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/base.png b/Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/base.png new file mode 100644 index 0000000000000000000000000000000000000000..f102700098e7812fce54eef4c950f2414e25b7e8 GIT binary patch literal 568 zcmV-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ftU9gYyF8{V?8L2A+x9LxAydIq4?ev^?i%#gKRr89A_&ZB~x?bO~o&Rr< z{gyw>mpjtG&StSO0Y(64fk$L90|U1Z2s2)~TlWVj81Cuf7!u*0oFKuvSkXX=2_JDl z@qkC?-+QW4|8IPG|JG%{Ejx9lSTHQPu4*iPw8QqY`s5UqqkIZiol34VGR#=a@gex4 RG!xJY22WQ%mvv4FO#tn?=&S$$ literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/meta.json b/Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/meta.json new file mode 100644 index 0000000000..8b0436bc5c --- /dev/null +++ b/Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/meta.json @@ -0,0 +1,32 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "CrystallPunk14, modified by TheShuEd", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "base" + }, + { + "name": "open" + }, + { + "name": "closed" + }, + { + "name": "paper" + }, + { + "name": "bounty" + }, + { + "name": "captains_paper" + }, + { + "name": "invoice" + } + ] +} diff --git a/Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/open.png b/Resources/Textures/_CP14/Structures/Storage/Crates/coffin.rsi/open.png new file mode 100644 index 0000000000000000000000000000000000000000..f185ba0cb3c57e9fd533cad7cc751b2293c3026a GIT binary patch literal 844 zcmV-S1GD^zP)Px&21!IgR9JzB0&$O%_RuA+G9#WA-7^~rT;TW4np zrnKDJ8r6*zN+sfVz3&7+(P$(90Eo>8`S^9S4*Q=2DqCE(wdcPt9iC4I#Q{{JqBZI*-ouUTa~?l9tl*jOZ(vqy_VMBUiYK=gKrTBI zizfyTk0|=(_|lc6-R&U~o^kmA;qx}%E^9$Jz_0Tg9$ZaE5l;+Dy0~n6L`5NQ%xyAA z`FqU^z@ADrNxV=cEZ(tBSe_?>qyQ93r2+m)ew)gZbctl4*#DeuUz8%(fB^A zlxVCqyaIB0$0@O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