mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-05 23:21:53 +00:00
164 lines
4.9 KiB
Plaintext
164 lines
4.9 KiB
Plaintext
/obj/item/weapon/storage/belt
|
|
name = "belt"
|
|
desc = "Can hold various things."
|
|
icon = 'icons/obj/clothing/belts.dmi'
|
|
icon_state = "utilitybelt"
|
|
item_state = "utility"
|
|
flags = FPRINT | TABLEPASS
|
|
slot_flags = SLOT_BELT
|
|
attack_verb = list("whipped", "lashed", "disciplined")
|
|
|
|
|
|
/obj/item/weapon/storage/belt/proc/can_use()
|
|
if(!ismob(loc)) return 0
|
|
var/mob/M = loc
|
|
if(src in M.get_equipped_items())
|
|
return 1
|
|
else
|
|
return 0
|
|
|
|
|
|
/obj/item/weapon/storage/belt/MouseDrop(obj/over_object as obj, src_location, over_location)
|
|
var/mob/M = usr
|
|
if(!istype(over_object, /obj/screen))
|
|
return ..()
|
|
playsound(src.loc, "rustle", 50, 1, -5)
|
|
if (!M.restrained() && !M.stat && can_use())
|
|
switch(over_object.name)
|
|
if("r_hand")
|
|
M.u_equip(src)
|
|
M.put_in_r_hand(src)
|
|
if("l_hand")
|
|
M.u_equip(src)
|
|
M.put_in_l_hand(src)
|
|
src.add_fingerprint(usr)
|
|
return
|
|
|
|
|
|
|
|
/obj/item/weapon/storage/belt/utility
|
|
name = "tool-belt" //Carn: utility belt is nicer, but it bamboozles the text parsing.
|
|
desc = "Can hold various tools."
|
|
icon_state = "utilitybelt"
|
|
item_state = "utility"
|
|
can_hold = list(
|
|
"/obj/item/weapon/crowbar",
|
|
"/obj/item/weapon/screwdriver",
|
|
"/obj/item/weapon/weldingtool",
|
|
"/obj/item/weapon/wirecutters",
|
|
"/obj/item/weapon/wrench",
|
|
"/obj/item/device/multitool",
|
|
"/obj/item/device/flashlight",
|
|
"/obj/item/weapon/cable_coil",
|
|
"/obj/item/device/t_scanner",
|
|
"/obj/item/device/analyzer",
|
|
"/obj/item/taperoll/engineering")
|
|
|
|
|
|
/obj/item/weapon/storage/belt/utility/full/New()
|
|
..()
|
|
new /obj/item/weapon/screwdriver(src)
|
|
new /obj/item/weapon/wrench(src)
|
|
new /obj/item/weapon/weldingtool(src)
|
|
new /obj/item/weapon/crowbar(src)
|
|
new /obj/item/weapon/wirecutters(src)
|
|
new /obj/item/weapon/cable_coil(src,30,pick("red","yellow","orange"))
|
|
|
|
|
|
/obj/item/weapon/storage/belt/utility/atmostech/New()
|
|
..()
|
|
new /obj/item/weapon/screwdriver(src)
|
|
new /obj/item/weapon/wrench(src)
|
|
new /obj/item/weapon/weldingtool(src)
|
|
new /obj/item/weapon/crowbar(src)
|
|
new /obj/item/weapon/wirecutters(src)
|
|
new /obj/item/device/t_scanner(src)
|
|
|
|
|
|
|
|
/obj/item/weapon/storage/belt/medical
|
|
name = "medical belt"
|
|
desc = "Can hold various medical equipment."
|
|
icon_state = "medicalbelt"
|
|
item_state = "medical"
|
|
can_hold = list(
|
|
"/obj/item/device/healthanalyzer",
|
|
"/obj/item/weapon/dnainjector",
|
|
"/obj/item/weapon/reagent_containers/dropper",
|
|
"/obj/item/weapon/reagent_containers/glass/beaker",
|
|
"/obj/item/weapon/reagent_containers/glass/bottle",
|
|
"/obj/item/weapon/reagent_containers/pill",
|
|
"/obj/item/weapon/reagent_containers/syringe",
|
|
"/obj/item/weapon/reagent_containers/glass/dispenser",
|
|
"/obj/item/weapon/lighter/zippo",
|
|
"/obj/item/weapon/storage/fancy/cigarettes",
|
|
"/obj/item/weapon/storage/pill_bottle",
|
|
"/obj/item/stack/medical",
|
|
"/obj/item/device/flashlight/pen",
|
|
"/obj/item/clothing/mask/surgical",
|
|
"/obj/item/clothing/gloves/latex",
|
|
"/obj/item/weapon/reagent_containers/hypospray/autoinjector"
|
|
)
|
|
|
|
|
|
/obj/item/weapon/storage/belt/security
|
|
name = "security belt"
|
|
desc = "Can hold security gear like handcuffs and flashes."
|
|
icon_state = "securitybelt"
|
|
item_state = "security"//Could likely use a better one.
|
|
storage_slots = 7
|
|
max_w_class = 3
|
|
max_combined_w_class = 21
|
|
can_hold = list(
|
|
"/obj/item/weapon/grenade/flashbang",
|
|
"/obj/item/weapon/reagent_containers/spray/pepper",
|
|
"/obj/item/weapon/handcuffs",
|
|
"/obj/item/device/flash",
|
|
"/obj/item/clothing/glasses",
|
|
"/obj/item/ammo_casing/shotgun",
|
|
"/obj/item/ammo_box",
|
|
"/obj/item/weapon/reagent_containers/food/snacks/donut/normal",
|
|
"/obj/item/weapon/reagent_containers/food/snacks/donut/jelly",
|
|
"/obj/item/weapon/melee/baton",
|
|
"/obj/item/weapon/gun/energy/taser",
|
|
"/obj/item/weapon/lighter/zippo",
|
|
"/obj/item/weapon/cigpacket",
|
|
"/obj/item/clothing/glasses/hud/security",
|
|
"/obj/item/device/flashlight",
|
|
"/obj/item/device/pda",
|
|
"/obj/item/device/radio/headset",
|
|
"/obj/item/weapon/melee",
|
|
"/obj/item/taperoll/police",
|
|
"/obj/item/weapon/gun/energy/taser"
|
|
)
|
|
|
|
/obj/item/weapon/storage/belt/soulstone
|
|
name = "soul stone belt"
|
|
desc = "Designed for ease of access to the shards during a fight, as to not let a single enemy spirit slip away"
|
|
icon_state = "soulstonebelt"
|
|
item_state = "soulstonebelt"
|
|
storage_slots = 6
|
|
can_hold = list(
|
|
"/obj/item/device/soulstone"
|
|
)
|
|
|
|
/obj/item/weapon/storage/belt/soulstone/full/New()
|
|
..()
|
|
new /obj/item/device/soulstone(src)
|
|
new /obj/item/device/soulstone(src)
|
|
new /obj/item/device/soulstone(src)
|
|
new /obj/item/device/soulstone(src)
|
|
new /obj/item/device/soulstone(src)
|
|
new /obj/item/device/soulstone(src)
|
|
|
|
|
|
/obj/item/weapon/storage/belt/champion
|
|
name = "championship belt"
|
|
desc = "Proves to the world that you are the strongest!"
|
|
icon_state = "championbelt"
|
|
item_state = "champion"
|
|
storage_slots = 1
|
|
can_hold = list(
|
|
"/obj/item/clothing/mask/luchador"
|
|
)
|