mirror of
https://github.com/Skyrat-SS13/Skyrat-tg.git
synced 2026-07-19 20:04:03 +01:00
5721372edc
* lead pipe (#86040) ## About The Pull Request https://github.com/user-attachments/assets/209f8e0b-4202-4e06-8b6d-e5d1f659824b ## Why It's Good For The Game  ## Changelog 🆑 grungussuss sound: lead pipe has sound /🆑 * lead pipe --------- Co-authored-by: grungussuss <96586172+Sadboysuss@users.noreply.github.com>
50 lines
2.2 KiB
Plaintext
50 lines
2.2 KiB
Plaintext
//The items defined in this file are intended be scarce maintenance loot items some of these items are used as a non-renewable resource in crafting or ghetto chem.
|
|
//Exercise good judgement and don't add these to a lathe willy nilly.
|
|
|
|
//Saw-tier bulky & blunt weapon. A decent bone breaker. Source of lead reagent.
|
|
//Add lead material to this once implemented.
|
|
/obj/item/lead_pipe
|
|
name = "lead pipe"
|
|
icon = 'icons/obj/maintenance_loot.dmi'
|
|
icon_state = "lead_pipe"
|
|
inhand_icon_state = "lead_pipe"
|
|
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
|
|
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
|
|
//wow, lore
|
|
desc = "A hefty lead pipe.\nLead is an uncommon sight in this sector after being phased out due to employee health concerns. \
|
|
\nThose of a more cynical disposition have claimed that the NT lead ban is a scheme to prevent diversion to Syndicate ammunition factories."
|
|
force = 15
|
|
throwforce = 12
|
|
throw_range = 4
|
|
w_class = WEIGHT_CLASS_BULKY
|
|
wound_bonus = 20
|
|
demolition_mod = 1.25
|
|
grind_results = list(/datum/reagent/lead = 20)
|
|
pickup_sound = 'sound/items/lead_pipe_pickup.ogg'
|
|
drop_sound = 'sound/items/lead_pipe_drop.ogg'
|
|
hitsound = 'sound/items/lead_pipe_hit.ogg'
|
|
|
|
//A good battery early in the shift. Source of lead & sulfuric acid reagents.
|
|
//Add lead material to this once implemented.
|
|
/obj/item/stock_parts/power_store/cell/lead
|
|
name = "lead-acid battery"
|
|
desc = "A primitive battery. It is quite large and feels unexpectedly heavy."
|
|
icon = 'icons/obj/maintenance_loot.dmi'
|
|
icon_state = "lead_battery"
|
|
throwforce = 10
|
|
maxcharge = STANDARD_BATTERY_VALUE //decent max charge
|
|
chargerate = STANDARD_BATTERY_RATE * 0.3 //charging is about 70% less efficient than lithium batteries.
|
|
charge_light_type = null
|
|
connector_type = "leadacid"
|
|
rating = 2 //Kind of a mid-tier battery
|
|
w_class = WEIGHT_CLASS_NORMAL
|
|
grind_results = list(/datum/reagent/lead = 15, /datum/reagent/toxin/acid = 15, /datum/reagent/water = 20)
|
|
|
|
//starts partially discharged
|
|
/obj/item/stock_parts/power_store/cell/lead/Initialize(mapload)
|
|
AddElement(/datum/element/update_icon_blocker)
|
|
. = ..()
|
|
var/initial_percent = rand(20, 80) / 100
|
|
charge = initial_percent * maxcharge
|
|
ADD_TRAIT(src, TRAIT_FISHING_BAIT, INNATE_TRAIT)
|