Skip to content

Commit

Permalink
Adjusts and re-adds 4 crank laser weapons
Browse files Browse the repository at this point in the history
Heavily overhauls how crank weapons feel.  They are now
- Low cell size (small mag)
- low recharge rate (often one shot per crank)
- low-ish stamina cost (you only stamcrit if going insane)
- very low accuracy
- very fast recharge rate

This makes a weapon that is a crapshoot on every trigger pull, has functionally unlimited ammo but can stamcrit you if you go too hard with and is ultimately outdone entirely by a normal firearm.  You trade all that inventory space for a coin flip if you hit at all, basically.
  • Loading branch information
Tk420634 committed Jan 12, 2025
1 parent 7079d9c commit 3a63009
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 16 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/living/simple_animal/simple_animal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ GLOBAL_LIST_EMPTY(playmob_cooldowns)

var/quit_stealing_my_bike = FALSE

var/bounty = 0


/mob/living/simple_animal/Initialize()
. = ..()
Expand Down
32 changes: 16 additions & 16 deletions code/modules/projectiles/guns/energy/laser_crank.dm
Original file line number Diff line number Diff line change
Expand Up @@ -317,17 +317,17 @@
crank_sound = list(
'sound/effects/dynamo_crank/dynamo_crank.mp3',
)
crank_power = 1000 // 5 cranks
crank_stamina_cost = 32 // 1/4th stamina
cranking_time = 4 SECONDS // slightly slower
crank_power = 200
crank_stamina_cost = 11
cranking_time = 1 SECONDS // slightly slower
init_recoil = LASER_CARBINE_RECOIL(1, 0.6)

/obj/item/stock_parts/cell/ammo/mfc/cranklasergun/tg/carbine
name = "integrated single charge cell"
desc = "An integrated single charge cell, typically used as fast discharge power bank for energy weapons."
icon = 'icons/fallout/objects/powercells.dmi'
icon_state = "mfc-full"
maxcharge = 5000
maxcharge = 2500

/obj/item/ammo_casing/energy/cranklasergun/tg/carbine
e_cost = 200 // 25 shots
Expand Down Expand Up @@ -421,9 +421,9 @@
inhand_icon_state = "laser"
w_class = WEIGHT_CLASS_SMALL
damage_multiplier = GUN_LESS_DAMAGE_T1
cranking_time = 1 SECONDS // It's kinda shit so...
crank_stamina_cost = 25 // 1/4th-ish stamina
crank_power = 2000 // 5 cranks
cranking_time = 1 SECONDS
crank_stamina_cost = 25
crank_power = 500
crank_sound = list(
'sound/effects/dynamo_crank/dynamo_crank.mp3',
)
Expand All @@ -436,7 +436,7 @@
desc = "An integrated single charge cell, typically used as fast discharge power bank for energy weapons."
icon = 'icons/fallout/objects/powercells.dmi'
icon_state = "mfc-full"
maxcharge = 10000 // So it can be put into a portable recharger
maxcharge = 5000

/obj/item/ammo_casing/energy/cranklasergun/tg/pistol
projectile_type = /obj/item/projectile/beam/laser/cranklasergun/tg/pistol
Expand All @@ -447,7 +447,7 @@
damage = 20
damage_list = list("15" = 25, "20" = 25, "25" = 25, "30" = 25)

// TG Laser Rifle: Basically just a better Carbine. More DPS, more capacity.
// TG Laser Rifle
/obj/item/gun/energy/laser/cranklasergun/tg/rifle
name = "laser rifle"
desc = "The Mark II laser rifle, produced by Trident Gammaworks, was the golden standard of energy weapons pre-collapse, but it rapidly lost popularity with the introduction of the Wattz 2000 and AER-9 rifles."
Expand All @@ -456,9 +456,9 @@
w_class = WEIGHT_CLASS_BULKY
cell_type = /obj/item/stock_parts/cell/ammo/mfc/cranklasergun/tg/rifle
ammo_type = list(/obj/item/ammo_casing/energy/cranklasergun/tg/rifle)
crank_power = 1000 // 5 cranks
crank_stamina_cost = 32 // 1/4th stamina
cranking_time = 4 SECONDS // slightly slower, same as carbine
crank_power = 300
crank_stamina_cost = 6
cranking_time = 0.7 SECONDS
can_flashlight = 1
crank_sound = list(
'sound/effects/dynamo_crank/dynamo_crank.mp3',
Expand All @@ -477,7 +477,7 @@
desc = "An integrated single charge cell, typically used as fast discharge power bank for energy weapons."
icon = 'icons/fallout/objects/powercells.dmi'
icon_state = "mfc-full"
maxcharge = 5000
maxcharge = 2000

/obj/item/ammo_casing/energy/cranklasergun/tg/rifle
projectile_type = /obj/item/projectile/beam/laser/cranklasergun/tg
Expand All @@ -491,9 +491,9 @@
weapon_weight = GUN_TWO_HAND_ONLY
cell_type = /obj/item/stock_parts/cell/ammo/mfc/cranklasergun/tg/rifle/heavy
ammo_type = list(/obj/item/ammo_casing/energy/cranklasergun/tg/rifle/heavy)
crank_power = 1250 // 4 cranks until full
crank_stamina_cost = 32 // 1/4th stamina
cranking_time = 6 SECONDS // Little slower, but it's stronger
crank_power = 270 // 4 cranks until full
crank_stamina_cost = 8 // 1/4th stamina
cranking_time = 0.8 SECONDS // Little slower, but it's stronger
crank_sound = list(
'sound/weapons/laserPump.ogg',
)
Expand Down
17 changes: 17 additions & 0 deletions modular_coyote/code/modules/znuguns/code/guns/zloadout.dm
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@
name = "Slingstaff"
path = /obj/item/gun/ballistic/revolver/sling/staff

/datum/gear/weapon/tier1/cranklaserpistol
name = "Worn Crank Laser Pistol"
path = /obj/item/gun/energy/laser/cranklasergun/tg/pistol


/////////////// TIER 2 ///////////////

/datum/gear/weapon/tier2/warden
Expand Down Expand Up @@ -283,6 +288,9 @@
name = "Makeshift Automatic Piperifle"
path = /obj/item/gun/ballistic/automatic/autopipe

/datum/gear/weapon/tier2/crankenergycarbine
name = "Worn Crank Energy Carbine"
path = /obj/item/gun/energy/laser/cranklasergun/tg/carbine

/////////////// TIER 3 ///////////////

Expand Down Expand Up @@ -354,6 +362,15 @@
name = "Pre-Fall Compound Bow"
path = /obj/item/gun/ballistic/bow/compoundbow/loadout

/datum/gear/weapon/tier3/crankenergyrifle
name = "Worn Crank Energy Rifle"
path = /obj/item/gun/energy/laser/cranklasergun/tg/rifle

/datum/gear/weapon/tier3/crankenergyrifle/heavy
name = "Worn Heavy Crank Energy Rifle"
path = /obj/item/gun/energy/laser/cranklasergun/tg/rifle/heavy


//MAGIC STUFF

/datum/gear/magic
Expand Down

0 comments on commit 3a63009

Please sign in to comment.