Skip to content

Commit

Permalink
gee
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffiestFloof committed Nov 2, 2023
1 parent de6bed1 commit b78b2b2
Show file tree
Hide file tree
Showing 57 changed files with 337 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@
- id: HoloprojectorSecurity
- id: BookSecretDocuments
- id: BoxPDASecurity # Delta-V
- id: WeaponMultiphaseEnergyGun # DeltaV - HoS Energy Gun

- type: entity
id: LockerHeadOfSecurityFilled
Expand Down Expand Up @@ -348,3 +349,4 @@
- id: HoloprojectorSecurity
- id: BookSecretDocuments
- id: BoxPDASecurity # Delta-V
- id: WeaponMultiphaseEnergyGun # DeltaV - HoS Energy Gun
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
- type: entity
name: x-01 multiphase energy gun
parent: BaseWeaponBatterySmall
id: WeaponMultiphaseEnergyGun
description: This is an expensive, modern recreation of an antique laser gun. This gun has several unique firemodes, but lacks the ability to recharge over time.
components:
- type: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Battery/multiphase_energygun.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mode-kill # Todo: have the mode and magazine change according to firemode
- state: mag-kill-unshaded-4
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Clothing
sprite: DeltaV/Objects/Weapons/Guns/Battery/multiphase_energygun.rsi
- type: Gun
soundGunshot:
path: /Audio/DeltaV/Weapons/Guns/Gunshots/laser.ogg
soundEmpty:
path: /Audio/DeltaV/Weapons/Guns/Empty/dry_fire.ogg
- type: Battery
maxCharge: 2000
startingCharge: 2000
- type: ProjectileBatteryAmmoProvider
proto: BulletMultiphaseDisabler
fireCost: 100
- type: BatteryWeaponFireModes
fireModes:
- proto: BulletMultiphaseDisabler # 20 shots of disabler
fireCost: 100
- proto: BulletMultiphaseLaser # 10 shots of lethal
fireCost: 200
- type: MagazineVisuals
magState: mag
steps: 5
zeroVisible: true
- type: Appearance
- type: Tag
tags:
- HighRiskItem
- Sidearm
- type: StaticPrice
price: 750
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- type: entity
id: BulletImpactEffectRedDisabler
noSpawn: true
components:
- type: TimedDespawn
lifetime: 0.2
- type: Sprite
drawdepth: Effects
layers:
- shader: unshaded
map: ["enum.EffectLayers.Unshaded"]
sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi
state: impact_laser_greyscale
color: red
- type: EffectVisuals
- type: Tag
tags:
- HideContextMenu
14 changes: 14 additions & 0 deletions Resources/Prototypes/DeltaV/Objectives/traitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,17 @@
- type: StealCondition
prototype: BookIanDossier
# owner: job-name-hop

- type: entity # Head of Security steal objective.
noSpawn: true
parent: BaseTraitorStealObjective
id: HoSGunStealObjective
components:
- type: Objective
# hos will mostly be using that gun to stop you from stealing it
difficulty: 3
- type: NotJobRequirement
job: HeadOfSecurity
- type: StealCondition
prototype: WeaponMultiphaseEnergyGun
owner: job-name-hos
Original file line number Diff line number Diff line change
Expand Up @@ -791,3 +791,59 @@
- Impassable
- HighImpassable
- type: GrapplingProjectile

# DeltaV projectiles
# For whatever magical reason I cannot put those in the DeltaV folders without having errors.

# Duplicate just to change the name. The code of firemode look at the prototype name and I'd rather not change code
- type: entity
name: disable
id: BulletMultiphaseDisabler
parent: BulletDisabler
noSpawn: true
components:
- type: Reflective
reflective:
- Energy

# Because Hitscan lasers aren't fun to shoot in my opinion, we give the HoS pistol a special lethal laser that moves
- type: entity
name: lethal
id: BulletMultiphaseLaser
parent: BaseBullet
noSpawn: true
components:
- type: Reflective
reflective:
- Energy
- type: FlyBySound
sound:
collection: EnergyMiss
params:
volume: 5
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi
layers:
- state: omnilaser_greyscale
shader: unshaded
color: red
- type: Ammo
- type: Physics
- type: Fixtures
fixtures:
projectile:
shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
hard: false
mask:
- Opaque
fly-by: *flybyfixture
- type: Projectile
impactEffect: BulletImpactEffectRedDisabler
damage:
types:
Heat: 20
soundHit:
collection: MeatLaserImpact
soundForce: true
1 change: 1 addition & 0 deletions Resources/Prototypes/Objectives/objectiveGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
SecretDocumentsStealObjective: 0.5
LOLuckyBillStealObjective: 0.5 # DeltaV - LO steal objective, see Resources/Prototypes/DeltaV/Objectives/traitor.yml
HoPBookIanDossierStealObjective: 1 # DeltaV - HoP steal objective, see Resources/Prototypes/DeltaV/Objectives/traitor.yml
HoSGunStealObjective: 0.5

- type: weightedRandom
id: TraitorObjectiveGroupKill
Expand Down
4 changes: 4 additions & 0 deletions Resources/ServerInfo/Guidebook/Antagonist/Traitors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
<Box>
<GuideEntityEmbed Entity="BookSecretDocuments" Caption="Secret Documents"/>
</Box>
- Steal the Head of Security's [color=#a4885c]X-01 MultiPhase Energy Gun[/color].
<Box>
<GuideEntityEmbed Entity="WeaponMultiphaseEnergyGun" Caption="Head of Security's X-01 MultiPhase Energy Gun"/>
</Box>
- Steal the Chief Engineer's [color=#a4885c]Advanced Magboots[/color].
<Box>
<GuideEntityEmbed Entity="ClothingShoesBootsMagAdv" Caption="Advanced Magboots"/>
Expand Down
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.
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.
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,197 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "taken from tg station at commit https://github.com/tgstation/tgstation/commit/8b7f8ba6a3327c7381967c550f185dffafd11a57",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "base-transparent"
},
{
"name": "mode-disable"
},
{
"name": "mode-kill"
},
{
"name": "mag-unshaded-0",
"delays": [
[
0.3,
0.3
]
]
},
{
"name": "mag-unshaded-1"
},
{
"name": "mag-unshaded-2"
},
{
"name": "mag-unshaded-3"
},
{
"name": "mag-unshaded-4"
},
{
"name": "mag-disable-unshaded-0",
"delays": [
[
0.3,
0.3
]
]
},
{
"name": "mag-disable-unshaded-1"
},
{
"name": "mag-disable-unshaded-2"
},
{
"name": "mag-disable-unshaded-3"
},
{
"name": "mag-disable-unshaded-4"
},
{
"name": "mag-kill-unshaded-0",
"delays": [
[
0.3,
0.3
]
]
},
{
"name": "mag-kill-unshaded-1"
},
{
"name": "mag-kill-unshaded-2"
},
{
"name": "mag-kill-unshaded-3"
},
{
"name": "mag-kill-unshaded-4"
},
{
"name": "inhand-left-disable-0",
"directions": 4
},
{
"name": "inhand-right-disable-0",
"directions": 4
},
{
"name": "inhand-left-disable-1",
"directions": 4
},
{
"name": "inhand-right-disable-1",
"directions": 4
},
{
"name": "inhand-left-disable-2",
"directions": 4
},
{
"name": "inhand-right-disable-2",
"directions": 4
},
{
"name": "inhand-left-disable-3",
"directions": 4
},
{
"name": "inhand-right-disable-3",
"directions": 4
},
{
"name": "inhand-left-disable-4",
"directions": 4
},
{
"name": "inhand-right-disable-4",
"directions": 4
},
{
"name": "inhand-left-kill-0",
"directions": 4
},
{
"name": "inhand-right-kill-0",
"directions": 4
},
{
"name": "inhand-left-kill-1",
"directions": 4
},
{
"name": "inhand-right-kill-1",
"directions": 4
},
{
"name": "inhand-left-kill-2",
"directions": 4
},
{
"name": "inhand-right-kill-2",
"directions": 4
},
{
"name": "inhand-left-kill-3",
"directions": 4
},
{
"name": "inhand-right-kill-3",
"directions": 4
},
{
"name": "inhand-left-kill-4",
"directions": 4
},
{
"name": "inhand-right-kill-4",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "inhand-left-disable",
"directions": 4
},
{
"name": "inhand-right-disable",
"directions": 4
},
{
"name": "inhand-left-kill",
"directions": 4
},
{
"name": "inhand-right-kill",
"directions": 4
},
{
"name": "equipped-BELT",
"directions": 4
}
]
}

0 comments on commit b78b2b2

Please sign in to comment.