Skip to content

Commit

Permalink
add: smoke implant
Browse files Browse the repository at this point in the history
  • Loading branch information
Spatison committed Oct 9, 2024
1 parent 4c2f775 commit 0c383ff
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Resources/Locale/en-US/_white/store/uplink-catalog.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ uplink-betrayal-knife-desc = Syndicate teleporter, when used, moves 3-8 meters f
uplink-ebow-name = Small energy crossbow
uplink-ebow-desc = A fairly quiet weapon that automatically reloads and stuns. It goes well with other types of weapons.
uplink-smoke-implant-name = Smoke implant
uplink-smoke-implant-desc = Releases a cloud of smoke when activated.
2 changes: 2 additions & 0 deletions Resources/Locale/ru-RU/_white/prototypes/actions/types.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-ActivateSmokeImplant = Выпустить облако дыма
.desc = Выпускает облако дыма вокруг вас.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-SmokeImplanter = { ent-BaseImplanter }
.desc = { ent-BaseImplanter.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-SmokeImplant = имплант дыма
.desc = Этот имплант выпускает облако дыма при активации.
3 changes: 3 additions & 0 deletions Resources/Locale/ru-RU/_white/store/uplink-catalog.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ uplink-experimental-syndicate-teleporter-desc = Телепортер синди
uplink-ebow-name = Маленький энергетический арбалет
uplink-ebow-desc = Довольно тихое оружие, которое автоматически перезаряжается и оглушает. Хорошо сочетается с другими видами оружия.
uplink-smoke-implant-name = Имплант дыма
uplink-smoke-implant-desc = Выпускает облако дыма при активации.
14 changes: 14 additions & 0 deletions Resources/Prototypes/_White/Actions/types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- type: entity
id: ActivateSmokeImplant
name: Release a cloud of smoke
description: Releases a cloud of smoke around you.
noSpawn: true
components:
- type: InstantAction
useDelay: 20
itemIconStyle: BigAction
priority: -20
icon:
sprite: Objects/Weapons/Grenades/smoke.rsi
state: icon
event: !type:ActivateImplantEvent
13 changes: 12 additions & 1 deletion Resources/Prototypes/_White/Catalog/uplink_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,15 @@
blacklist:
tags:
- NukeOpsUplink
saleLimit: 1
saleLimit: 1

- type: listing
id: UplinkSmokeImplanter
name: uplink-smoke-implant-name
description: uplink-smoke-implant-desc
icon: { sprite: /Textures/Objects/Weapons/Grenades/smoke.rsi, state: icon }
productEntity: SmokeImplanter
cost:
Telecrystal: 2
categories:
- UplinkImplants
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- type: entity
parent: BaseImplantOnlyImplanterSyndi
id: SmokeImplanter
suffix: smoke
components:
- type: Implanter
implant: SmokeImplant
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- type: entity
parent: BaseSubdermalImplant
id: SmokeImplant
name: smoke implant
description: This implant releases smoke cloud on activation.
noSpawn: true
components:
- type: SubdermalImplant
implantAction: ActivateSmokeImplant
- type: TriggerImplantAction
- type: SmokeOnTrigger
spreadAmount: 25
duration: 15
- type: SoundOnTrigger
sound: /Audio/Effects/smoke.ogg

0 comments on commit 0c383ff

Please sign in to comment.