mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-10 17:32:59 +00:00
Conflicts: code/game/objects/items/devices/radio/headset.dm code/game/objects/items/weapons/shields.dm code/game/objects/items/weapons/storage/backpack.dm code/modules/clothing/head/helmet.dm code/modules/clothing/suits/miscellaneous.dm code/modules/clothing/under/accessories/accessory.dm code/modules/mob/new_player/sprite_accessories.dm icons/mob/back.dmi icons/mob/head.dmi icons/mob/mask.dmi icons/obj/clothing/hats.dmi polaris.dme
186 lines
5.7 KiB
Plaintext
186 lines
5.7 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"
|
|
slot_flags = SLOT_BELT
|
|
attack_verb = list("whipped", "lashed", "disciplined")
|
|
sprite_sheets = list("Resomi" = 'icons/mob/species/resomi/belt.dmi')
|
|
|
|
var/show_above_suit = 0
|
|
|
|
/obj/item/weapon/storage/belt/verb/toggle_layer()
|
|
set name = "Switch Belt Layer"
|
|
set category = "Object"
|
|
|
|
if(show_above_suit == -1)
|
|
usr << "<span class='notice'>\The [src] cannot be worn above your suit!</span>"
|
|
return
|
|
show_above_suit = !show_above_suit
|
|
update_icon()
|
|
|
|
/obj/item/weapon/storage/update_icon()
|
|
if (ismob(src.loc))
|
|
var/mob/M = src.loc
|
|
M.update_inv_belt()
|
|
|
|
|
|
/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/combitool,
|
|
/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/stack/cable_coil,
|
|
/obj/item/device/t_scanner,
|
|
/obj/item/device/analyzer,
|
|
/obj/item/taperoll/engineering,
|
|
/obj/item/device/robotanalyzer,
|
|
/obj/item/weapon/material/minihoe,
|
|
/obj/item/weapon/material/hatchet,
|
|
/obj/item/device/analyzer/plant_analyzer,
|
|
/obj/item/weapon/extinguisher/mini
|
|
)
|
|
|
|
|
|
/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/stack/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/flame/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/head/surgery,
|
|
/obj/item/clothing/gloves/latex,
|
|
/obj/item/weapon/reagent_containers/hypospray,
|
|
/obj/item/clothing/glasses/hud/health,
|
|
/obj/item/weapon/crowbar,
|
|
/obj/item/device/flashlight,
|
|
/obj/item/weapon/extinguisher/mini
|
|
)
|
|
|
|
/obj/item/weapon/storage/belt/medical/emt
|
|
name = "EMT utility belt"
|
|
desc = "A sturdy black webbing belt with attached pouches."
|
|
icon_state = "emsbelt"
|
|
item_state = "emsbelt"
|
|
|
|
/obj/item/weapon/storage/belt/security
|
|
name = "security belt"
|
|
desc = "Can hold security gear like handcuffs and flashes."
|
|
icon_state = "securitybelt"
|
|
item_state = "security"
|
|
storage_slots = 7
|
|
max_w_class = 3
|
|
max_storage_space = 28
|
|
can_hold = list(
|
|
/obj/item/weapon/grenade,
|
|
/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_magazine,
|
|
/obj/item/weapon/reagent_containers/food/snacks/donut/,
|
|
/obj/item/weapon/melee/baton,
|
|
/obj/item/weapon/gun/energy/taser,
|
|
/obj/item/weapon/flame/lighter,
|
|
/obj/item/clothing/glasses/hud/security,
|
|
/obj/item/device/flashlight,
|
|
/obj/item/device/pda,
|
|
/obj/item/device/radio/headset,
|
|
/obj/item/device/hailer,
|
|
/obj/item/device/megaphone,
|
|
/obj/item/weapon/melee,
|
|
/obj/item/weapon/gun/projectile/sec,
|
|
/obj/item/taperoll/police,
|
|
/obj/item/weapon/gun/projectile/colt/detective
|
|
)
|
|
|
|
/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"
|
|
)
|
|
|
|
/obj/item/weapon/storage/belt/security/tactical
|
|
name = "combat belt"
|
|
desc = "Can hold security gear like handcuffs and flashes, with more pouches for more storage."
|
|
icon_state = "swatbelt"
|
|
item_state = "swatbelt"
|
|
storage_slots = 9
|
|
max_w_class = 3
|
|
max_storage_space = 28
|
|
|
|
/obj/item/weapon/storage/belt/security/tactical/bandolier
|
|
name = "combat belt"
|
|
desc = "Can hold security gear like handcuffs and flashes, with more pouches for more storage."
|
|
icon_state = "bandolier"
|
|
item_state = "bandolier"
|