Files
ArcaneMusicandGitHub 283fdd5290 Adds the E-2 Earthcracker, a traitor tool for premeditated sabotage. (#95731)
## About The Pull Request

Adds a new traitor item, the E-2 Earthcracker. The Earthcracker is a
handheld sabotage device that you can deploy onto the ground in order to
deliberately create a weakpoint on that location.

As a recap, weakpoints can be exploited with a sufficiently large enough
explosive in order to create a chain of cracked turfs from it's
location, randomly breaking floors and walls, as well as attempting to
create new weakpoints that will allow for more of the hull to break
down. Weakpoints, if discovered, can be welded to taped up to repair
them using sticky tape.

The earthcracker creates a longer, and larger weakpoint than the kind
that spawn naturally. However, to use this subtly, you'll need to hide
the weakpoint created, as well as clear away the spent earthcracker by
using a wrench.

Practical use is: Get the earthcracker, use in hand to arm/anchor onto a
turf (Can be unwrenched at this point), activate with an empty hand to
begin the cracking process, then wrench away, and you have a well
hidden, high power sabotage device.

Two variants are available in-game: The E-2 Earthcracker which can be
obtained from the traitor uplink at 2TC each, and the E-1 Earthcracker
which can be purchased on the black market. The E-1 variant spawns
normal run-of-the-mill weakpoints as opposed to the E-2, with a 30%
availability from the back market, at a cost of 200-600 credits.


![earthcraking](https://github.com/user-attachments/assets/0ab3a5af-f6c3-4096-b59a-7a1b44a01700)


## Why It's Good For The Game

I'll be frank, I don't think we necessarily need *more* tools to cause
havoc, but I wanted to expand the weakpoint framework a bit and this
idea came to mind. The Earthcracker fits in the same category as C4, but
without a signifigant amount of the control that comes from C4 and
absolutely from X4. This stands to cause more damage across the hull,
with the ability to keep expanding the crack. For that reason, I think I
may have underpriced this in terms of TC, but I'm up for discussion on
if it needs to go up to a 3-5 range.

In an ideal world, this could be used for making booby traps, such as
planting an earthcracker in an area like escape or a larger department,
and then triggering the weakpoint when the right people are around, even
through something like a detomatrix or a trigger on a grenade.

As an added reminder, weakpoints have a dedicated method to repair them
if discovered, that being welding them or hitting them with sticky tape
to repair them quickly, offering some counterplay.

I also added a lighter variant onto the black market as a fun, dubious
thing to have on the black market.

## Changelog
🆑
add: Adds the E-2 Earthcracker device as a purchasable traitor item for
2 TC. Use it to create potentially devastating weakpoints onto the
station!
/🆑
2026-05-07 06:13:55 +02:00

166 lines
5.9 KiB
Plaintext

/datum/market_item/weapon
category = "Weapons"
abstract_path = /datum/market_item/weapon
/datum/market_item/weapon/bear_trap
name = "Bear Trap"
desc = "Get the janitor back at his own game with this affordable prank kit."
item = /obj/item/restraints/legcuffs/beartrap
price_min = CARGO_CRATE_VALUE * 1.5
price_max = CARGO_CRATE_VALUE * 2.75
stock_max = 3
availability_prob = 40
/datum/market_item/weapon/shotgun_dart
name = "Box of XL Shotgun Darts"
desc = "These handy darts can be filled up with any chemical and be shot with a shotgun! \
Prank your friends by shooting them with laughter! \
Not recommended for commercial use."
item = /obj/item/storage/box/large_dart
price_min = CARGO_CRATE_VALUE * 1.375
price_max = CARGO_CRATE_VALUE * 2.875
stock_max = 4
availability_prob = 40
/datum/market_item/weapon/buckshot
name = "Box of Buckshot Shells"
desc = "It wasn't easy since buckshot is so heavily taxed nowadays, but we managed to find \
a large cache of it... somewhere. A word of caution, the stuff may be a tad old."
stock_max = 7
availability_prob = 35
item = /obj/effect/spawner/random/armory/buckshot/sketchy
price_min = CARGO_CRATE_VALUE * 1
price_max = CARGO_CRATE_VALUE * 3
/datum/market_item/weapon/strilka
name = "Ammobox of .310 Strilka"
desc = "Listen, .310 Strilka isn't exactly rare, but if you want it to come through \
any source that isn't the Third Soviet diehards, then you get what you get. \
Some of this is the good stuff. Some of it is surplus. We make no promises, okay?"
stock_max = 7
availability_prob = 35
item = /obj/effect/spawner/random/armory/strilka
price_min = CARGO_CRATE_VALUE
price_max = CARGO_CRATE_VALUE * 2
/datum/market_item/weapon/sks_kit
name = "Sakhno SKS semi-automatic rifle"
desc = "That's right baby, it's a SKS parts kit! Okay, not one of those ancient originals, but it \
may as well be ancient at this point. Just slap it together in some corner in maint and you've \
got yourself a fully constructed SKS! It doesn't even jam! Why the fuck did they make those Third \
Soviet soldiers use the Sakhno M2442 Army anyway? This thing is the shit! That means good. BUY IT."
item = /obj/item/weaponcrafting/gunkit/sks
price_min = CARGO_CRATE_VALUE * 1
price_max = CARGO_CRATE_VALUE * 3
stock_max = 5
availability_prob = 90
/datum/market_item/weapon/bone_spear
name = "Bone Spear"
desc = "Authentic tribal spear, made from real bones! A steal at any price, especially if you're a caveman."
item = /obj/item/spear/bonespear
price_min = CARGO_CRATE_VALUE
price_max = CARGO_CRATE_VALUE * 1.5
stock_max = 3
availability_prob = 60
/datum/market_item/weapon/chainsaw
name = "Chainsaw"
desc = "A lumberjack's best friend, perfect for cutting trees or limbs efficiently."
item = /obj/item/chainsaw
price_min = CARGO_CRATE_VALUE * 1.75
price_max = CARGO_CRATE_VALUE * 3
stock_max = 1
availability_prob = 35
/datum/market_item/weapon/switchblade
name = "Switchblade"
desc = "Tunnel Snakes rule!"
item = /obj/item/switchblade
price_min = CARGO_CRATE_VALUE * 1.25
price_max = CARGO_CRATE_VALUE * 1.75
stock_max = 3
availability_prob = 45
/datum/market_item/weapon/carpenter_hammer
name = "Carpenter hammer"
desc = "When you really want to look like a psycho..."
item = /obj/item/carpenter_hammer
price_min = CARGO_CRATE_VALUE * 1
price_max = CARGO_CRATE_VALUE * 1.25
stock_max = 2
availability_prob = 65
/datum/market_item/weapon/emp_grenade
name = "EMP Grenade"
desc = "Use this grenade for SHOCKING results!"
item = /obj/item/grenade/empgrenade
price_min = CARGO_CRATE_VALUE * 0.5
price_max = CARGO_CRATE_VALUE * 2
stock_max = 2
availability_prob = 50
/datum/market_item/weapon/fisher
name = "SC/FISHER Saboteur Handgun"
desc = "A self-recharging, compact pistol that disrupts lights, cameras, APCs, turrets and more, if only temporarily. Also usable in melee."
item = /obj/item/gun/energy/recharge/fisher
price_min = CARGO_CRATE_VALUE * 2
price_max = CARGO_CRATE_VALUE * 4
stock_max = 1
availability_prob = 75
/datum/market_item/weapon/dimensional_bomb
name = "Multi-Dimensional Bomb Core"
desc = "A special bomb core, one of a kind, for all your 'terraforming gone wrong' purposes."
item = /obj/item/bombcore/dimensional
price_min = CARGO_CRATE_VALUE * 40
price_max = CARGO_CRATE_VALUE * 50
stock_max = 1
availability_prob = 15
/datum/market_item/weapon/giant_wrench_parts
name = "Big Slappy parts"
desc = "Cheap illegal Big Slappy parts. The fastest and statistically most dangerous wrench."
item = /obj/item/weaponcrafting/giant_wrench
price_min = CARGO_CRATE_VALUE * 2
price_max = CARGO_CRATE_VALUE * 5
stock_max = 1
availability_prob = 25
/datum/market_item/weapon/liberator
name = "illegal 3D printer designs"
desc = "Designs for a dirt cheap 3D printable gun, well known for exploding in unfortunate assistants' hands."
item = /obj/item/disk/design_disk/liberator
price_min = CARGO_CRATE_VALUE * 2
price_max = CARGO_CRATE_VALUE * 5
stock_max = 1
availability_prob = 35
/datum/market_item/weapon/surplus_esword
name = "Pattern I 'Iaito' Energy Sword"
desc = "A mass-produced energy sword. It is functionally worse than a milspec energy sword commonly found amongst paramilitary organizations. \
But hey, better than nothing. Does have some power supply problems, but nothing that a bit of percussive maintenance can't fix."
item = /obj/item/melee/energy/sword/surplus
price_min = CARGO_CRATE_VALUE * 2
price_max = CARGO_CRATE_VALUE * 5
stock_max = 2
availability_prob = 80
/datum/market_item/weapon/earthcracker
name = "E-1 Earthcracker"
desc = "Surplus mining equipment from one of the many, nameless asteroid mining companies bought out by Nanotrasen in this sector.\
While they were decent enough at mining asteroids, these things really shine at leaving large cracks on station-class hulls when deployed these days."
item = /obj/item/earthcracker/small
price_min = CARGO_CRATE_VALUE
price_max = CARGO_CRATE_VALUE * 3
stock_max = 1
availability_prob = 30