beno turrets (#14516)

This commit is contained in:
T-Stalker
2023-03-10 10:25:33 -03:00
committed by GitHub
parent b0714ca45a
commit 645cc7888e
13 changed files with 155 additions and 4 deletions

Binary file not shown.

View File

@@ -1 +1,2 @@
alien_claw_flesh1, alien_claw_flesh2, alien_claw_flesh3 were taken from: https://gitlab.com/cmdevs/colonial-warfare/-/tree/dev/sound/weapons
alien_claw_flesh1, alien_claw_flesh2, alien_claw_flesh3 were taken from: https://gitlab.com/cmdevs/colonial-warfare/-/tree/dev/sound/weapons
alien_spitacid was taken from: https://github.com/tgstation/TerraGov-Marine-Corps/blob/233891d0e19a002d8307299bfe15206591172784/sound/voice/alien_spitacid.ogg

View File

@@ -490,3 +490,20 @@
damage:
types:
Piercing: 0
- type: entity
id: BulletAcid
name: acid spit
parent: BaseBullet
noSpawn: true
components:
- type: Projectile
damage:
groups:
Caustic: 5
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/xeno_toxic.rsi
layers:
- state: xeno_toxic
- type: Ammo
muzzleFlash: null

View File

@@ -8,7 +8,7 @@
- type: InteractionOutline
- type: Sprite
netsync: false
sprite: Objects/Weapons/Guns/turrets.rsi
sprite: Objects/Weapons/Guns/Turrets/turrets.rsi
drawdepth: WallMountedItems
layers:
- state: syndie_broken
@@ -27,7 +27,7 @@
ballistic-ammo: !type:Container
- type: Sprite
netsync: false
sprite: Objects/Weapons/Guns/turrets.rsi
sprite: Objects/Weapons/Guns/Turrets/turrets.rsi
drawdepth: WallMountedItems
layers:
- state: syndie_lethal
@@ -103,4 +103,58 @@
components:
- type: Faction
factions:
- SimpleHostile
- SimpleHostile
- type: entity
name: xeno turret
description: Shoots 9mm acid projectiles
parent: BaseWeaponTurret
id: WeaponTurretXeno
suffix: Xeno
components:
- type: Faction
factions:
- Xeno
- type: Sprite
netsync: false
sprite: Objects/Weapons/Guns/Turrets/xenoturret.rsi
noRot: true
layers:
- state: acid_turret
- type: BallisticAmmoProvider
proto: BulletAcid
capacity: 500
- type: Gun
fireRate: 1
selectedMode: FullAuto
soundGunshot: /Audio/Weapons/Xeno/alien_spitacid.ogg
- type: HTN
rootTask: TurretCompound
blackboard:
SoundTargetInLOS: !type:SoundPathSpecifier
path: /Audio/Animals/snake_hiss.ogg
- type: Damageable
damageContainer: Biological
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/gib1.ogg
- !type:SpawnEntitiesBehavior
spawn:
FoodMeatXeno:
min: 3
max: 5
- type: InteractionPopup
interactDelay: 1.0
successChance: 0.8
interactSuccessString: petting-success-generic
interactFailureString: petting-failure-generic
interactSuccessSound:
path: /Audio/Animals/snake_hiss.ogg

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-NC-4.0",
"copyright": "https://github.com/tgstation/TerraGov-Marine-Corps/blob/f90afeb849db243c8613dbc4defd040aff689b72/icons/obj/items/projectiles.dmi",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "xeno_toxic"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -0,0 +1,65 @@
{
"version": 1,
"license": "CC-BY-NC-4.0",
"copyright": "https://github.com/tgstation/TerraGov-Marine-Corps/blob/f90afeb849db243c8613dbc4defd040aff689b72/icons/Xeno/acidturret.dmi",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "acid_turret",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
}
]
}