Skip to content

Commit

Permalink
Reduces the Raleigh's Hammer to Standard HE (#3841)
Browse files Browse the repository at this point in the history
## About The Pull Request

Replaces the Hammer Rocket Launcher on the Raleigh with Standard HE. 
Standard HE rockets still suffices against mechs.

## Why It's Good For The Game

Balancing adjustments.

## Changelog

:cl:
add: Hammer HEDP subtype.
add: New RPG scrawlings, by request of the original coder.
balance: Raleigh now only starts with an HE Hammer.
/:cl:

---------

Signed-off-by: firebudgy <[email protected]>
Co-authored-by: Mark Suckerberg <[email protected]>
  • Loading branch information
firebudgy and MarkSuckerberg authored Dec 3, 2024
1 parent 1657749 commit d2917fc
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
14 changes: 12 additions & 2 deletions code/modules/cargo/blackmarket/blackmarket_items/weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -404,14 +404,24 @@
stock_max = 2
availability_prob = 20


/datum/blackmarket_item/weapon/oneshot
name = "Hammer Launcher"
desc = "A one-shot solution to a myriad amount of problems, ranging from Exosuits to obnoxious neighbors. Contains one ready-to-fire 84mm HEDP rocket. "
desc = "A one-shot solution to a myriad amount of problems, ranging from Exosuits to obnoxious neighbors. Contains one ready-to-fire 84mm HE rocket. "
item = /obj/item/gun/ballistic/rocketlauncher/oneshot

price_min = 3000
price_max = 4500
stock_min = 1
stock_max = 5
availability_prob = 25

/datum/blackmarket_item/weapon/oneshot/hedp
name = "Hammer-DP Launcher"
desc = "A one-shot solution to a myriad amount of problems, ranging from Exosuits to obnoxious neighbors. Contains one ready-to-fire 84mm HEDP rocket. "
item = /obj/item/gun/ballistic/rocketlauncher/oneshot/hedp

price_min = 4000
price_max = 6000
stock_min = 1
stock_max = 5
availability_prob = 10
9 changes: 8 additions & 1 deletion code/modules/projectiles/guns/ballistic/launchers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,14 @@ GLOBAL_LIST_INIT(rpg_scrawlings, list(
"A drawing of the Rilena character 'T4L1' smoking a boof",
"\"Eat it corpo!\"",
"A Sarathi woman in a suggestive pose",
"\"Arm this!\""
"A masculine Sarathi shouldering a launcher",
"A Vox woman with a sledgehammer over their shoulder",
"A man in a floral patterned shirt and nothing else, drawn leaning against the rocket's tube",
"A crudely-drawn picture of a Gorlex Marauder exploding",
"A scratched-out link to some kind of website",
".:|:;",
"\"SPEAR TO THE SHOAL, FOR A FREE FRONTIER!\"",
"\"Arm this!\"",
))


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@

/obj/item/gun/ballistic/rocketlauncher/oneshot
name = "\improper Hammer"
desc = "A disposable rocket-propelled grenade launcher loaded with a HEDP shell."
desc = "A disposable rocket-propelled grenade launcher loaded with a standard HE shell."

icon = 'icons/obj/guns/manufacturer/frontier_import/48x32.dmi'
lefthand_file = 'icons/obj/guns/manufacturer/frontier_import/lefthand.dmi'
Expand Down Expand Up @@ -276,6 +276,15 @@

safety_multiplier = 0

/obj/item/gun/ballistic/rocketlauncher/oneshot/hedp
name = "\improper Hammer-DP"
desc = "A disposable rocket-propelled grenade launcher loaded with an HEDP shell for Direct Penetration of your target."

default_ammo_type = /obj/item/ammo_box/magazine/internal/rocketlauncher/oneshot/hedp
allowed_ammo_types = list(
/obj/item/ammo_box/magazine/internal/rocketlauncher/oneshot/hedp,
)

/obj/item/gun/ballistic/rocketlauncher/oneshot/Initialize()
. = ..()
if(prob(1))
Expand All @@ -287,6 +296,12 @@
. += span_warning("It has been spent, and is now useless.")

/obj/item/ammo_box/magazine/internal/rocketlauncher/oneshot
name = "oneshot rocket launcher magazine"
ammo_type = /obj/item/ammo_casing/caseless/rocket
caliber = "84mm"
max_ammo = 1

/obj/item/ammo_box/magazine/internal/rocketlauncher/oneshot/hedp
name = "oneshot rocket launcher magazine"
ammo_type = /obj/item/ammo_casing/caseless/rocket/hedp
caliber = "84mm"
Expand Down

0 comments on commit d2917fc

Please sign in to comment.