Skip to content

Commit

Permalink
Merge pull request #30 from chell4592/lantern-sprite
Browse files Browse the repository at this point in the history
Lantern sprite and charge
  • Loading branch information
SkaldetSkaeg authored Sep 18, 2024
2 parents 290efad + f3cb31b commit d284093
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 5 deletions.
18 changes: 13 additions & 5 deletions Resources/Prototypes/SS220/CultYogg/lantern.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,29 @@
description: description
components:
- type: Sprite
sprite: Objects/Tools/lantern.rsi # спрайта нет
sprite: SS220/Objects/CultYogg/lantern_cult.rsi
layers:
- state: lantern
- state: lantern-on
shader: unshaded
- type: Clothing
sprite: Objects/Tools/lantern.rsi
equippedPrefix: off
quickEquip: false
slots:
- Belt
- type: PointLight
radius: 3
energy: 2.5
color: "#FFC458"
- type: Flash
- type: UseDelay # не уходит в кулдаун после удара, фиксить кодом либо удалением компонента оружия
delay: 120
- type: LimitedCharges
maxCharges: 1
charges: 1
- type: AutoRecharge
rechargeDuration: 120
- type: MeleeWeapon
damage:
types:
Blunt: 0 # melee weapon to allow flashing individual targets
# - type: Appearance
- type: RoleItem # ломает анимацию подбора предмета
roleId: CultYogg
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"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 ci24v3n (Discord) for SS220",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "lantern"
},
{
"name": "lantern-on"
},
{
"name": "burnt"
},
{
"name": "flashing"
},
{
"name": "off-equipped-BELT",
"directions": 4
},
{
"name": "on-equipped-BELT",
"directions": 4
},
{
"name": "off-inhand-left",
"directions": 4
},
{
"name": "off-inhand-right",
"directions": 4
},
{
"name": "on-inhand-left",
"directions": 4
},
{
"name": "on-inhand-right",
"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
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.

0 comments on commit d284093

Please sign in to comment.