Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a new cool shield to warden so he finally has something lol #34610

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- id: WeaponDisabler
- id: ClothingBeltSecurityFilled
- id: Flash
- id: WardenShield
- id: ClothingEyesGlassesSecurity
- id: ClothingHandsGlovesCombat
- id: ClothingShoesBootsJack
Expand All @@ -35,6 +36,7 @@
- id: WeaponDisabler
- id: ClothingBeltSecurityFilled
- id: Flash
- id: WardenShield
- id: ClothingEyesGlassesSecurity
- id: ClothingHandsGlovesCombat
- id: ClothingShoesBootsJack
Expand Down
118 changes: 118 additions & 0 deletions Resources/Prototypes/Entities/Objects/Shields/shields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -548,3 +548,121 @@
max: 2
- type: StaticPrice
price: 250

- type: entity
name: composite shield
parent: [BaseItem, BaseSecurityContraband]
id: WardenShield
description: A prototype shield, derived from an unknown pattern found within a derelict spacestation. Whilst not strong against any specfic damage, it provides general resistance across the board.
minthydra marked this conversation as resolved.
Show resolved Hide resolved
components:
- type: ItemToggle
soundActivate:
path: /Audio/Weapons/ebladeon.ogg
soundDeactivate:
path: /Audio/Weapons/ebladeoff.ogg
- type: ItemToggleActiveSound
activeSound:
path: /Audio/Weapons/ebladehum.ogg
minthydra marked this conversation as resolved.
Show resolved Hide resolved
- type: ItemToggleSize
activatedSize: Huge
- type: ComponentToggler
components:
- type: DisarmMalus
malus: 0.6
- type: Sprite
sprite: Objects/Weapons/Melee/wardenshield.rsi
layers:
- state: wardenshield-icon
- state: wardenshield-on
color: "#fad2d2"
visible: false
shader: unshaded
map: [ "shield" ]
- type: Item
size: Huge
sprite: Objects/Weapons/Melee/wardenshield.rsi
heldPrefix: wardenshield
- type: UseDelay
delay: 0.5
- type: ToggleableLightVisuals
spriteLayer: shield
inhandVisuals:
left:
- state: inhand-left-shield
shader: unshaded
right:
- state: inhand-right-shield
shader: unshaded
- type: PointLight
netsync: false
enabled: false
radius: 1.5
energy: 2
color: red
- type: ItemTogglePointLight
- type: Blocking
passiveBlockModifier:
coefficients:
Blunt: 0.8
Slash: 0.8
Piercing: 0.8
Heat: 0.8
activeBlockModifier:
coefficients:
Blunt: 0.7
Slash: 0.7
Piercing: 0.7
Heat: 0.7
flatReductions:
Heat: 1
Piercing: 1
Blunt: 1
Slash: 1
- type: Appearance
- type: Damageable
damageContainer: Shield
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
BrokenWardenShield:
min: 1
max: 1
- type: StaticPrice
price: 350

- type: entity
name: broken composite shield
parent: BaseItem
id: BrokenWardenShield
description: The gravity stabliser holding the shield togther is broken, but it may be repaired with a welder.
minthydra marked this conversation as resolved.
Show resolved Hide resolved
components:
- type: Sprite
sprite: Objects/Weapons/Melee/wardenshield.rsi
state: wardenshield-icon
- type: Item
sprite: Objects/Weapons/Melee/wardenshield.rsi
size: Huge
heldPrefix: wardenshield
- type: ToolRefinable
refineTime: 20
refineFuel: 50
refineResult:
- id: WardenShield


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need artmin review but atm it's a tad plain, I think. It's the Warden's special shield. It should have like, the Sec symbol painted on it or something.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cheers for the feedback so far i basically copied your description fluff since i liked it so much if you dont mind.
I may touch up the sprites if not someone else is more than welcome to!

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprite's made by minthydra",
minthydra marked this conversation as resolved.
Show resolved Hide resolved
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "wardenshield-icon"
},
{
"name": "wardenshield-inhand-right",
"directions": 4
},
{
"name": "wardenshield-inhand-left",
"directions": 4
},
{
"name": "wardenshield-on"
},
{
"name": "inhand-right-shield",
"directions": 4
},
{
"name": "inhand-left-shield",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading