forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new highrisk to quartermaster (#1415)
* Add new highrisk to quartermaster * Add Steal objective * moved to SS220 * Fix meta * Add glass case * Some prototype and sprite changes * Sprite update and add to Qm locker * Some fixes * Some fixes 2 * Fix description
- Loading branch information
Showing
25 changed files
with
228 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- files: ["critical-hit.ogg"] | ||
license: "CC-BY-4.0" | ||
copyright: "Modified by kirus59 (Github), converted to OGG." | ||
source: "https://wiki.teamfortress.com/wiki/Category:Sound_cues" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ent-GlassCaseEtchedBrassKnuckles = стеклянный кейс | ||
.desc = Изготовлен на заказ для хранения ценных предметов. Крышка выполнена из закалённого стекла, а основание из дерева, выращенного на тропических планетах. Коробка украшена бархатной подушкой, чтобы предотвратить возможные царапины. | ||
.suffix = Гравированный кастет | ||
ent-GlassCaseEtchedBrassKnucklesFilled = стеклянный кейс | ||
.desc = { ent-GlassCase.desc } | ||
.suffix = Гравированный кастет, Заполненый |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ent-EtchedBrassKnuckles = гравированный кастет | ||
.desc = Гравированный кастет квартирмейстера, изготовленный по специальному заказу. Выдан в качестве средства борьбы с участившимися случаями краж личных вещей и материалов из отдела снабжения. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# © SS220, An EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt | ||
|
||
- type: entity | ||
parent: [BaseItem, BaseItemCabinet] | ||
id: GlassCaseEtchedBrassKnuckles | ||
name: glass case | ||
suffix: Etched brass knuckles | ||
description: Made to order for storing valuables. The lid is made of tempered glass, and the base is made of wood grown on tropical planets and decorated with a velvet pad to prevent possible scratches. | ||
components: | ||
- type: Item | ||
size: Large | ||
- type: Lock | ||
- type: LockVisuals | ||
- type: Sprite | ||
sprite: SS220/Misc/etched_brass_knuckles_case.rsi | ||
layers: | ||
- state: base | ||
map: ["enum.StorageVisualLayers.Base"] | ||
- state: brassknukles | ||
map: ["enum.ItemCabinetVisuals.Layer"] | ||
visible: true | ||
- state: closed | ||
map: ["enum.OpenableVisuals.Layer"] | ||
- state: locked | ||
shader: unshaded | ||
map: ["enum.LockVisualLayers.Lock"] | ||
- type: Appearance | ||
- type: ItemSlots | ||
slots: | ||
ItemCabinet: | ||
ejectOnInteract: true | ||
whitelist: | ||
tags: | ||
- EtchedBrassKnuckles | ||
ejectSound: /Audio/Machines/machine_switch.ogg | ||
- type: GenericVisualizer | ||
visuals: | ||
enum.ItemCabinetVisuals.ContainsItem: | ||
enum.ItemCabinetVisuals.Layer: | ||
True: { visible: true } | ||
False: { visible: false } | ||
enum.OpenableVisuals.Opened: | ||
enum.OpenableVisuals.Layer: | ||
True: { state: open } | ||
False: { state: closed } | ||
- type: Damageable | ||
damageContainer: Inorganic | ||
damageModifierSet: Glass | ||
- type: MeleeSound | ||
soundGroups: | ||
Brute: | ||
collection: GlassSmash | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 40 | ||
behaviors: | ||
- !type:EmptyAllContainersBehaviour | ||
- !type:PlaySoundBehavior | ||
sound: | ||
collection: WindowShatter | ||
- !type:SpawnEntitiesBehavior | ||
spawn: | ||
ShardGlassReinforced: | ||
min: 1 | ||
max: 2 | ||
MaterialWoodPlank1: | ||
min: 1 | ||
max: 2 | ||
- !type:DoActsBehavior | ||
acts: [ "Destruction" ] | ||
- type: StaticPrice | ||
price: 200 | ||
|
||
- type: entity | ||
parent: GlassCaseEtchedBrassKnuckles | ||
id: GlassCaseEtchedBrassKnucklesFilled | ||
name: glass case | ||
suffix: Etched brass knuckles, Filled | ||
components: | ||
- type: AccessReader | ||
access: [["Quartermaster"]] | ||
- type: ContainerFill | ||
containers: | ||
ItemCabinet: | ||
- EtchedBrassKnuckles |
43 changes: 43 additions & 0 deletions
43
Resources/Prototypes/SS220/Entities/Weapons/Melee/brass_knuckles.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# © SS220, An EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt | ||
|
||
#Quartermaster | ||
- type: entity | ||
name: brass knuckles | ||
parent: BaseItem | ||
id: EtchedBrassKnuckles | ||
description: кастет | ||
components: | ||
- type: Sprite | ||
sprite: SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi | ||
state: icon | ||
- type: Clothing | ||
sprite: SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi | ||
slots: [gloves] | ||
- type: Item | ||
size: Small | ||
storedRotation: -90 | ||
- type: MeleeWeapon | ||
autoAttack: true | ||
attackRate: 1 | ||
damage: | ||
types: | ||
Blunt: 10 | ||
Stamina: 28 | ||
soundHit: | ||
collection: GenericHit | ||
animation: WeaponArcFist | ||
mustBeEquippedToUse: true | ||
- type: WeaponRandom | ||
damageBonus: | ||
types: | ||
Blunt: 10 | ||
Stamina: 72 # 28 + 72 = 100 => куклу без стаминрезиста сразу ложит в стаминкрит | ||
randomDamageChance: 0.2 | ||
damageSound: /Audio/SS220/Weapons/brassKnukles/critical-hit.ogg | ||
- type: Tag | ||
tags: | ||
- EtchedBrassKnuckles | ||
- type: StaticPrice | ||
price: 1000 | ||
- type: StealTarget | ||
stealGroup: EtchedBrassKnuckles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# © SS220, An EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt | ||
|
||
- type: entity | ||
parent: BaseTraitorStealObjective | ||
id: EtchedBrassKnucklesStealObjective | ||
components: | ||
- type: NotJobRequirement | ||
job: Quartermaster | ||
- type: StealCondition | ||
stealGroup: EtchedBrassKnuckles | ||
owner: job-name-qm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+320 Bytes
Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+189 Bytes
Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/brassknukles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+298 Bytes
Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+387 Bytes
Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+167 Bytes
Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/locked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions
32
Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"version": 1, | ||
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt", | ||
"copyright": "Made by okroshka59 (Discord) for SS220, modified by Bomjojuk (Discord)", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "icon" | ||
}, | ||
{ | ||
"name": "base" | ||
}, | ||
{ | ||
"name": "open" | ||
}, | ||
{ | ||
"name": "closed" | ||
}, | ||
{ | ||
"name": "locked" | ||
}, | ||
{ | ||
"name": "unlocked" | ||
}, | ||
{ | ||
"name": "brassknukles" | ||
} | ||
] | ||
} |
Binary file added
BIN
+293 Bytes
Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+165 Bytes
Resources/Textures/SS220/Misc/etched_brass_knuckles_case.rsi/unlocked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+287 Bytes
...extures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/equipped-HAND.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+369 Bytes
Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+271 Bytes
.../Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+287 Bytes
...Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions
26
Resources/Textures/SS220/Objects/Weapons/Melee/etched_brass_knuckles.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Taken from https://github.com/ss220club/Paradise-SS220/blob/master/icons/obj/weapons/knuckleduster.dmi, modifided by okroshka59 (Discord) for SS220", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "icon" | ||
}, | ||
{ | ||
"name": "equipped-HAND", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-right", | ||
"directions": 4 | ||
} | ||
] | ||
} |