Skip to content

Commit

Permalink
Turns laser techshells into scattershot shells (tgstation#40127)
Browse files Browse the repository at this point in the history
* Turns laser techshells into scattershot shells

* Changes projectile to 6 weak laser beams

* removes armor penetration from scattershot laser projectile
  • Loading branch information
81Denton authored and ShizCalev committed Sep 7, 2018
1 parent a0a413e commit 197efc0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions code/game/machinery/porta_turret/portable_turret.dm
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,8 @@
integrity_failure = 60
name = "Old Laser Turret"
desc = "A turret built with substandard parts and run down further with age. Still capable of delivering lethal lasers to the odd space carp, but not much else."
stun_projectile = /obj/item/projectile/beam/weak
lethal_projectile = /obj/item/projectile/beam/weak
stun_projectile = /obj/item/projectile/beam/weak/penetrator
lethal_projectile = /obj/item/projectile/beam/weak/penetrator
faction = list("neutral","silicon","turret")

////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion code/modules/crafting/recipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
subcategory = CAT_AMMO

/datum/crafting_recipe/laserslug
name = "Laser Slug Shell"
name = "Scatter Laser Shell"
result = /obj/item/ammo_casing/shotgun/laserslug
reqs = list(/obj/item/ammo_casing/shotgun/techshell = 1,
/obj/item/stock_parts/capacitor/adv = 1,
Expand Down
8 changes: 5 additions & 3 deletions code/modules/projectiles/ammunition/ballistic/shotgun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@
variance = 35

/obj/item/ammo_casing/shotgun/laserslug
name = "laser slug"
desc = "An advanced shotgun shell that uses a micro laser to replicate the effects of a laser weapon in a ballistic package."
name = "scatter laser shell"
desc = "An advanced shotgun shell that uses a micro laser to replicate the effects of a scatter laser weapon in a ballistic package."
icon_state = "lshell"
projectile_type = /obj/item/projectile/beam/laser
projectile_type = /obj/item/projectile/beam/weak
pellets = 6
variance = 35

/obj/item/ammo_casing/shotgun/techshell
name = "unloaded technological shell"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/projectiles/ammunition/caseless/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
firing_effect_type = /obj/effect/temp_visual/dir_setting/firing_effect/energy

/obj/item/ammo_casing/caseless/laser/gatling
projectile_type = /obj/item/projectile/beam/weak
projectile_type = /obj/item/projectile/beam/weak/penetrator
variance = 0.8
click_cooldown_override = 1
2 changes: 2 additions & 0 deletions code/modules/projectiles/projectile/beams.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@

/obj/item/projectile/beam/weak
damage = 15

/obj/item/projectile/beam/weak/penetrator
armour_penetration = 50

/obj/item/projectile/beam/practice
Expand Down

0 comments on commit 197efc0

Please sign in to comment.