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

Добавлена Тритевая взрывчатка #53

Closed
wants to merge 7 commits into from
Closed
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/ru-RU/ADT/Catalog/store/uplink.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ uplink-ssmokegrenade-desc = Расплыет на определенную об

uplink-ssmokegrenade-bundle-name = Набор дымовых граната
uplink-ssmokegrenade-bundle-desc = Набор из 6 дымовых граната синдиката. Идеально подходят для вечеринки

uplink-tritiumgrenades-name = Тритиевая взрывчатка
uplink-tritiumgrenades-desc = Радиоактивная граната выпускающая газ при взрыве, хорошо подходит для уничтожение экипажа без защиты.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ ent-ADTSmokeGrenade = Дымовая граната

ent-ADTSSmokeGrenade = Дымовая граната синдиката
.desc = Вам определенно не стоит пытаться разобрать её самостоятельно. Вы чувствуете страх держа её в руках
.suffix = { "" }
.suffix = { "" }

ent-ADTTritiumGrenades = Тритиевая взрывчатка
.desc = Ядерная физика бывает крутой не только для тех, кто проспал пары..
.suffix = { "" }
19 changes: 17 additions & 2 deletions Resources/Prototypes/ADT/Catalog/uplink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
description: uplink-ssmokegrenade-desc
productEntity: ADTSSmokeGrenade
cost:
Telecrystal: 4
Telecrystal: 2
categories:
- UplinkExplosives

Expand All @@ -235,7 +235,7 @@
description: uplink-SmokeGrenadeBundle-desc
productEntity: ADTClothingBackpackDuffelSsmokeGrenade
cost:
Telecrystal: 18
Telecrystal: 8
categories:
- UplinkBundles
conditions:
Expand All @@ -247,3 +247,18 @@
blacklist:
components:
- SurplusBundle

- type: listing
id: ADTUplinkSyndieADTTritiumGrenades
name: uplink-tritiumgrenades-name
description: uplink-tritiumgrenades-desc
productEntity: ADTTritiumGrenades
cost:
Telecrystal: 6
categories:
- UplinkExplosives
conditions:
- !type:StoreWhitelistCondition
whitelist:
tags:
- NukeOpsUplink
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,69 @@
volume: 5
initialBeepDelay: 0
beepInterval: 2

- type: entity
name: TritiumGrenades
description: Tritium Grenades
parent: GrenadeBase
id: ADTTritiumGrenades
components:
- type: Sprite
sprite: ADT/Objects/Weapons/Grenades/tritiumgrenad/tritiumgrenades.rsi
- type: EmitSoundOnTrigger
sound:
path: "/Audio/Effects/falling.ogg"
- type: DeleteOnTrigger
- type: ExplodeOnTrigger
- type: Explosive
explosionType: Radioactive
totalIntensity: 150
intensitySlope: 1
maxIntensity: 100
- type: SpawnOnTrigger
proto: ADTTritiumGasSpawner
- type: Appearance
- type: TimerTriggerVisuals
primingSound:
path: /Audio/Effects/glass_break1.ogg

- type: entity
name: ADTGasSpawnerTritiumEffect
description: Gas Spawner Tritium
id: ADTTritiumGasSpawner
placement:
mode: SnapgridCenter
components:
- type: Sprite
sprite: ADT/Objects/Weapons/Grenades/tritiumgrenad/effect.rsi
- type: InteractionOutline
- type: Physics
canCollide: false
- type: Fixtures
- type: Transform
anchored: true
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 1000
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- type: Sprite
sprite: Structures/Piping/Atmospherics/miners.rsi
state: miner
- type: AtmosDevice
- type: GasMiner
maxExternalPressure: 300
spawnAmount: 200
spawnGas: Tritium
- type: TimedDespawn
lifetime: 0.5
- type: Tag
tags:
- HideContextMenu

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 @@
{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/b9982f69706135ceea703817586128b298cbf5e5", "states": [{"name": "broken", "directions": 1, "delays": [[0.5, 0.1, 0.3, 0.1]]}, {"name": "miner", "directions": 1, "delays": [[1.0]]}, {"name": "on", "directions": 1, "delays": [[0.1, 0.1, 0.1, 0.1]]}]}
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,17 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprited by Adventure Time unlumy (Discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "primed"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading