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

New weapon(?) - Medi-Beam #2196

Closed
wants to merge 23 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
1 change: 1 addition & 0 deletions Resources/Locale/en-US/deltav/research/technologies.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ research-technology-energy-gun-advance = Advanced Energy Manipulation
research-technology-advance-laser = Advanced Laser Manipulation
research-technology-robust-melee = Robust Melee
research-technology-syringe-gun = Syringe Gun
research-technology-biopulse-emitter = Bio-Pulse Emitter
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,38 @@
zeroVisible: true
- type: Appearance

- type: entity
parent: BaseWeaponBattery
id: WeaponHealGun
name: Medi-Beam
description: "A high-tech firearm that shoots specialized healing projectiles."
components:
- type: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Battery/heal_gun.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-unshaded-4
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Clothing
sprite: DeltaV/Objects/Weapons/Guns/Battery/heal_gun.rsi
- type: Gun
soundGunshot:
path: /Audio/DeltaV/Weapons/Guns/Gunshots/laser.ogg
soundEmpty:
path: /Audio/DeltaV/Weapons/Guns/Empty/dry_fire.ogg
selectedMode: SemiAuto
fireRate: 2
availableModes:
- SemiAuto
- type: Battery
maxCharge: 2000
startingCharge: 2000
- type: ProjectileBatteryAmmoProvider
proto: BulletHealLaser
fireCost: 100

- type: entity
parent: [ BaseWeaponBattery, BaseGunWieldable, BaseSecurityContraband ]
id: WeaponBeamCannon
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
- type: entity
parent: BaseBullet
id: BulletHealLaser
name: heal bolt
categories: [ HideSpawnMenu ]
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: mediumseagreen
- type: Ammo
- type: Physics
- type: Projectile
damage:
groups:
Brute: -15
Burn: -10
Airloss: -15
ignoreResistances: true

# Because Hitscan lasers aren't fun to shoot in my opinion, we give the HoS pistol a special lethal laser that moves
- type: entity
parent: BaseBullet
Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/DeltaV/Recipes/Lathes/medical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@
materials:
Plastic: 150
Steel: 50

- type: latheRecipe
parent: BaseWeaponRecipe
id: WeaponHealGun
result: WeaponHealGun
materials:
Plastic: 1000
Glass: 500
Steel: 750
Gold: 100
11 changes: 11 additions & 0 deletions Resources/Prototypes/DeltaV/Research/experimental.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- type: technology
id: BioPulseEmitter
name: research-technology-biopulse-emitter
icon:
sprite: DeltaV/Objects/Weapons/Guns/Battery/heal_gun.rsi
state: icon
discipline: Experimental
tier: 3
cost: 10000
recipeUnlocks:
- WeaponHealGun
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,7 @@
- ClothingOuterHardsuitSyndieReverseEngineered
- ClothingShoesBootsSecurityMagboots
- AdvancedTruncheon
- WeaponHealGun
- WeaponBeamCannon
# End DeltaV additions
- type: MaterialStorage
Expand Down Expand Up @@ -1025,6 +1026,7 @@
# Begin DeltaV additions
- LauncherSyringe
- MiniSyringe
- WeaponHealGun
# End DeltaV additions
- ChemicalPayload
- CryostasisBeaker
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from vgstation at https://github.com/vgstation-coders/vgstation13/commit/125c975f1b3bf9826b37029e9ab5a5f89e975a7e, backpack sprite by Peptide, backpack sling sprite edited by Boaz1111, wield sprites by RiceMar1244,Edited for DeltaV by Stop_Sign and bogus",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "mag-unshaded-0"
},
{
"name": "mag-unshaded-1"
},
{
"name": "mag-unshaded-2"
},
{
"name": "mag-unshaded-3"
},
{
"name": "mag-unshaded-4"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "0-inhand-left",
"directions": 4
},
{
"name": "0-inhand-right",
"directions": 4
},
{
"name": "25-inhand-left",
"directions": 4
},
{
"name": "25-inhand-right",
"directions": 4
},
{
"name": "50-inhand-left",
"directions": 4
},
{
"name": "50-inhand-right",
"directions": 4
},
{
"name": "75-inhand-left",
"directions": 4
},
{
"name": "75-inhand-right",
"directions": 4
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
}
]
}
Loading