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

[Port] Smoke Implant / Имплант Дыма #79

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
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 }
Spatison marked this conversation as resolved.
Show resolved Hide resolved
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:
Spatison marked this conversation as resolved.
Show resolved Hide resolved
- 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
Loading