mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-25 16:54:50 +00:00
113 lines
3.5 KiB
Plaintext
113 lines
3.5 KiB
Plaintext
/*
|
|
* Crowbar
|
|
*/
|
|
/obj/item/tool/crowbar
|
|
name = "crowbar"
|
|
desc = "Used to remove floors and to pry open doors."
|
|
icon = 'icons/obj/tools.dmi'
|
|
icon_state = "crowbar"
|
|
slot_flags = SLOT_BELT
|
|
force = 6
|
|
throwforce = 7
|
|
pry = 1
|
|
item_state = "crowbar"
|
|
w_class = ITEMSIZE_SMALL
|
|
origin_tech = list(TECH_ENGINEERING = 1)
|
|
matter = list(MAT_STEEL = 50)
|
|
attack_verb = list("attacked", "bashed", "battered", "bludgeoned", "whacked")
|
|
usesound = 'sound/items/crowbar.ogg'
|
|
drop_sound = 'sound/items/drop/crowbar.ogg'
|
|
pickup_sound = 'sound/items/pickup/crowbar.ogg'
|
|
toolspeed = 1
|
|
tool_qualities = list(TOOL_CROWBAR)
|
|
|
|
/obj/item/tool/crowbar/red
|
|
icon = 'icons/obj/tools.dmi'
|
|
icon_state = "red_crowbar"
|
|
item_state = "crowbar_red"
|
|
force = 10 //CHOMPedit
|
|
|
|
/obj/item/tool/crowbar/old
|
|
icon = 'icons/obj/tools.dmi'
|
|
icon_state = "old_crowbar"
|
|
item_state = "crowbar"
|
|
|
|
/datum/category_item/catalogue/anomalous/precursor_a/alien_crowbar
|
|
name = "Precursor Alpha Object - Hard Light Pry Tool"
|
|
desc = "An object which bears striking resemblence to the common crowbar. \
|
|
It appears to also serve a similar purpose, being used for prying. Unlike \
|
|
a crowbar, however, this object is made of some form of 'hard light'.\
|
|
<br><br>\
|
|
There is a visible switch on the base of the tool, which controls the \
|
|
hard light side of the tool. When the switch is used, the shape of \
|
|
the tool changes, with the hard light moving and making a prying motion. \
|
|
This allows the user to pry something with no physical effort beyond keeping \
|
|
the tool aligned while in use."
|
|
value = CATALOGUER_REWARD_EASY
|
|
|
|
/obj/item/tool/crowbar/alien
|
|
name = "alien crowbar"
|
|
desc = "A hard-light crowbar. It appears to pry by itself, without any effort required."
|
|
catalogue_data = list(/datum/category_item/catalogue/anomalous/precursor_a/alien_crowbar)
|
|
icon = 'icons/obj/abductor.dmi'
|
|
usesound = 'sound/weapons/sonic_jackhammer.ogg'
|
|
icon_state = "crowbar"
|
|
toolspeed = 0.1
|
|
origin_tech = list(TECH_COMBAT = 4, TECH_ENGINEERING = 4)
|
|
|
|
/obj/item/tool/crowbar/hybrid
|
|
name = "strange crowbar"
|
|
desc = "A crowbar whose head seems to phase in and out of view."
|
|
catalogue_data = list(/datum/category_item/catalogue/anomalous/precursor_a/alien_crowbar)
|
|
icon_state = "hybcrowbar"
|
|
usesound = 'sound/weapons/sonic_jackhammer.ogg'
|
|
toolspeed = 0.4
|
|
origin_tech = list(TECH_COMBAT = 4, TECH_ENGINEERING = 3)
|
|
reach = 2
|
|
|
|
/obj/item/tool/crowbar/cyborg
|
|
name = "hydraulic crowbar"
|
|
desc = "A hydraulic prying tool, compact but powerful. Designed to replace crowbars in industrial synthetics."
|
|
usesound = 'sound/items/jaws_pry.ogg'
|
|
force = 10
|
|
toolspeed = 0.5
|
|
|
|
/obj/item/tool/crowbar/power
|
|
name = "power pryer"
|
|
desc = "You shouldn't see this."
|
|
usesound = 'sound/items/jaws_pry.ogg'
|
|
force = 15
|
|
toolspeed = 0.25
|
|
|
|
/*
|
|
* Prybar
|
|
*/
|
|
|
|
/obj/item/tool/prybar
|
|
name = "pry bar"
|
|
desc = "A steel bar with a wedge, designed specifically for opening unpowered doors in an emergency. It comes in a variety of configurations - collect them all!"
|
|
icon = 'icons/obj/tools_vr.dmi'
|
|
icon_state = "prybar"
|
|
item_state = "crowbar"
|
|
slot_flags = SLOT_BELT
|
|
force = 4
|
|
throwforce = 5
|
|
pry = 1
|
|
w_class = ITEMSIZE_SMALL
|
|
origin_tech = list(TECH_ENGINEERING = 1)
|
|
matter = list(MAT_STEEL = 30)
|
|
attack_verb = list("whapped", "smacked", "swatted", "thwacked", "hit")
|
|
usesound = 'sound/items/crowbar.ogg'
|
|
toolspeed = 1
|
|
var/random_color = TRUE
|
|
|
|
/obj/item/tool/prybar/red
|
|
icon_state = "prybar_red"
|
|
item_state = "crowbar_red"
|
|
random_color = FALSE
|
|
|
|
/obj/item/tool/prybar/New()
|
|
if(random_color)
|
|
icon_state = "prybar[pick("","_green","_aubergine","_blue")]"
|
|
. = ..()
|