Skip to content

Commit

Permalink
submodule begone
Browse files Browse the repository at this point in the history
  • Loading branch information
ErhardSteinhauer committed Aug 6, 2024
1 parent 8029ee6 commit 02ddd79
Show file tree
Hide file tree
Showing 17 changed files with 153 additions and 0 deletions.
83 changes: 83 additions & 0 deletions Resources/Prototypes/_NF/Entities/Objects/Weapons/Guns/turrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,89 @@
factions:
- HostileUniversally

# Meteor defense turret
- type: entity
parent:
- BaseWeaponTurretEnergyNF
id: WeaponTurretLaserDebrisDefenseDeployed
name: PDALT
description: |-
A Point Defence Automated Laser Turret (PDALT). A laser turret designed for protection of vessels from space debris. Use screwdriver to disassemble.
suffix: Frontier, Debris Defense
components:
- type: HTN
rootTask:
task: TurretCompound
blackboard:
RotateSpeed: !type:Single
9.423
SoundTargetInLOS: !type:SoundPathSpecifier
path: /Audio/Effects/double_beep.ogg
- type: Sprite
sprite: _NF/Objects/Weapons/Guns/Turrets/pdw.rsi
- type: Gun
fireRate: 12
minAngle: 1
maxAngle: 5
projectileSpeed: 70
soundGunshot:
path: /Audio/DeltaV/Weapons/Guns/Gunshots/laser.ogg
params:
variation: 0.125
soundEmpty:
path: /Audio/DeltaV/Weapons/Guns/Empty/dry_fire.ogg
- type: ProjectileBatteryAmmoProvider
proto: BulletEnergyGunLaser
fireCost: 10
- type: NpcFactionMember
factions:
- DebrisDefenseWeapon
- type: Construction
deconstructionTarget: null
graph: WeaponTurretLaserDebrisDefensePackingGraph
node: WeaponTurretLaserDebrisDefensePacked

- type: entity # folded turret
parent: BaseItem
id: WeaponTurretLaserDebrisDefensePacked
name: packed PDALT
description: |-
A disassembled and packed Point Defence Automated Laser Turret (PDALT).
suffix: NT, Packed
components:
- type: WeaponCaseInsertable
- type: MultiHandedItem
- type: SpawnAfterInteract
prototype: WeaponTurretLaserDebrisDefenseDeployed
doAfter: 5
removeOnInteract: true
- type: Sprite
sprite: _NF/Objects/Weapons/Guns/Turrets/pdw.rsi
state: packed
- type: Item
size: Ginormous
shape:
- 0,0,3,3
sprite: _NF/Objects/Weapons/Guns/Turrets/pdw.rsi

- type: constructionGraph # deconstruction graph
id: WeaponTurretLaserDebrisDefensePackingGraph
start: WeaponTurretLaserDebrisDefensePacked
graph:
- node: WeaponTurretLaserDebrisDefensePacked
entity: WeaponTurretLaserDebrisDefenseDeployed
edges:
- to: WeaponTurretLaserDebrisDefensePacked
completed:
- !type:SpawnPrototype
prototype: WeaponTurretLaserDebrisDefensePacked
amount: 1
- !type:EmptyAllContainers
- !type:DeleteEntity {}
steps:
- tool: Screwing
doAfter: 14

## Magazine fed, deployable NanoTrasen turret
- type: entity # deployed turret
parent:
Expand Down
11 changes: 11 additions & 0 deletions Resources/Prototypes/_NF/ai_factions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -465,3 +465,14 @@
- SiliconsExpeditionNF
- AberrantFleshExpeditionNF
- ContrabandClothing

# Space debris and meteors
- type: npcFaction
id: SpaceDebris

- type: npcFaction
id: DebrisDefenseWeapon
friendly:
- NanoTrasen
hostile:
- SpaceDebris
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.
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"version": 1,
"license": "CC-BY-NC-SA-4.0",
"copyright": "Sprites made by Stagnation (discord) for SS14 New Frontier",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "mag-0",
"delays":
[
[ 0.2, 0.2 ]
]
},
{
"name": "mag-1"
},
{
"name": "mag-2"
},
{
"name": "mag-3"
},
{
"name": "mag-4"
},
{
"name": "mag-5"
},
{
"name": "mag-6"
},
{
"name": "mag-7"
},
{
"name": "packed"
},
{
"name": "icon"
},
{
"name": "unshaded"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "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.

0 comments on commit 02ddd79

Please sign in to comment.