-
Notifications
You must be signed in to change notification settings - Fork 524
/
Copy pathbelt.dm
688 lines (636 loc) · 21.5 KB
/
belt.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
/obj/item/storage/belt
name = "belt"
desc = "Can hold various things."
icon = 'icons/obj/clothing/belts.dmi'
icon_state = "utilitybelt"
item_state = "utility"
force = 2
storage_slots = 7
max_w_class = WEIGHT_CLASS_NORMAL
max_storage_space = DEFAULT_BACKPACK_STORAGE
slot_flags = SLOT_BELT
attack_verb = list("whipped", "lashed", "disciplined")
drop_sound = 'sound/items/drop/toolbelt.ogg'
pickup_sound = 'sound/items/pickup/toolbelt.ogg'
var/flipped = FALSE
var/show_above_suit = FALSE
var/content_overlays = FALSE //If this is true, the belt will gain overlays based on what it's holding
/obj/item/storage/belt/proc/update_clothing_icon()
if(ismob(src.loc))
var/mob/M = src.loc
M.update_inv_belt()
/obj/item/storage/belt/update_icon()
ClearOverlays()
if(content_overlays)
for(var/obj/item/I in contents)
AddOverlays(I.get_belt_overlay())
..()
/obj/item/storage/belt/build_additional_parts(H, mob_icon, slot)
var/image/I = ..()
if(!I)
I = image(null)
for(var/obj/item/i in contents)
var/c_state
var/c_icon
if(i.contained_sprite)
c_state = "[UNDERSCORE_OR_NULL(i.icon_species_tag)][i.item_state][WORN_BELT]"
c_icon = icon_override || icon
else
c_icon = INV_BELT_DEF_ICON
c_state = i.item_state || i.icon_state
var/image/belt_item_image = image(c_icon, c_state)
belt_item_image.color = i.color
belt_item_image.appearance_flags = RESET_ALPHA
I.AddOverlays(belt_item_image)
return I
/obj/item/storage/belt/verb/toggle_layer()
set name = "Switch Belt Layer"
set category = "Object"
set src in usr
if(show_above_suit == -1)
to_chat(usr, SPAN_NOTICE("\The [src] cannot be worn above your suit!"))
return
show_above_suit = !show_above_suit
update_clothing_icon()
/obj/item/storage/belt/Initialize()
. = ..()
update_flip_verb()
/obj/item/storage/belt/fill()
. = ..()
update_icon()
/obj/item/storage/belt/proc/update_flip_verb()
if(("[initial(icon_state)]_flip") in icon_states(icon)) // Check for whether it has a flipped icon. Prevents invisible sprites.
verbs += /obj/item/storage/belt/proc/flipbelt
/obj/item/storage/belt/proc/flipbelt(mob/user, var/self = TRUE)
set category = "Object"
set name = "Flip Belt"
set src in usr
if(self)
if(use_check_and_message(user))
return
else
if(use_check_and_message(user, self ? USE_ALLOW_NON_ADJACENT : 0))
return
flipped = !flipped
icon_state = "[initial(icon_state)][flipped ? "_flip" : ""]"
item_state = "[initial(item_state)][flipped ? "_flip" : ""]"
to_chat(usr, SPAN_NOTICE("You change \the [src] to be [src.flipped ? "behind" : "in front of"] you."))
update_clothing_icon()
/obj/item/storage/belt/utility
name = "tool belt"
desc = "A sturdy belt for holding various tools and equipment."
icon_state = "utilitybelt"
item_state = "utility"
equip_sound = 'sound/items/equip/toolbelt.ogg'
can_hold = list(
/obj/item/crowbar,
/obj/item/screwdriver,
/obj/item/weldingtool,
/obj/item/wirecutters,
/obj/item/wrench,
/obj/item/hammer,
/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/material/minihoe,
/obj/item/material/hatchet,
/obj/item/device/analyzer/plant_analyzer,
/obj/item/extinguisher/mini,
/obj/item/pipewrench,
/obj/item/powerdrill,
/obj/item/device/radio,
/obj/item/device/debugger,
/obj/item/device/eftpos,
/obj/item/tape_roll,
/obj/item/device/geiger
)
content_overlays = TRUE
/obj/item/storage/belt/utility/ce
icon_state = "utilitybelt_ce"
item_state = "utility_ce"
starts_with = list(
/obj/item/weldingtool/largetank = 1, // industrial welding tool
/obj/item/crowbar = 1,
/obj/item/wirecutters/toolbelt = 1,
/obj/item/stack/cable_coil/random = 1,
/obj/item/powerdrill = 1
)
/obj/item/storage/belt/utility/full
starts_with = list(
/obj/item/screwdriver = 1,
/obj/item/wrench = 1,
/obj/item/weldingtool = 1,
/obj/item/crowbar = 1,
/obj/item/wirecutters/toolbelt = 1,
/obj/item/stack/cable_coil/random = 1,
/obj/item/hammer = 1
)
/obj/item/storage/belt/utility/very_full
starts_with = list(
/obj/item/weldingtool/largetank = 1,
/obj/item/crowbar = 1,
/obj/item/wirecutters/toolbelt = 1,
/obj/item/stack/cable_coil/random = 1,
/obj/item/powerdrill = 1,
/obj/item/device/multitool = 1,
/obj/item/device/radio = 1
)
/obj/item/storage/belt/utility/atmostech
starts_with = list(
/obj/item/screwdriver = 1,
/obj/item/wrench = 1,
/obj/item/weldingtool = 1,
/obj/item/crowbar = 1,
/obj/item/wirecutters = 1,
/obj/item/device/t_scanner = 1
)
/obj/item/storage/belt/utility/alt
desc = "A sturdy belt for holding various tools. This one eschews pouches for tight loops to hold your tools."
icon_state = "utilitybelt_alt"
item_state = "utility_alt"
/obj/item/storage/belt/medical
name = "medical belt"
desc = "Can hold various medical equipment."
icon_state = "medicalbelt"
item_state = "medical"
can_hold = list(
/obj/item/device/breath_analyzer,
/obj/item/device/healthanalyzer,
/obj/item/dnainjector,
/obj/item/reagent_containers/dropper,
/obj/item/reagent_containers/glass/beaker,
/obj/item/reagent_containers/glass/bottle,
/obj/item/reagent_containers/pill,
/obj/item/reagent_containers/syringe,
/obj/item/reagent_containers/inhaler,
/obj/item/reagent_containers/personal_inhaler_cartridge,
/obj/item/personal_inhaler,
/obj/item/flame/lighter/zippo,
/obj/item/storage/box/fancy/cigarettes,
/obj/item/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/reagent_containers/hypospray,
/obj/item/clothing/glasses/hud/health,
/obj/item/crowbar,
/obj/item/device/flashlight,
/obj/item/extinguisher/mini,
/obj/item/device/radio,
/obj/item/taperoll/medical,
/obj/item/storage/box/fancy/med_pouch
)
/obj/item/storage/belt/medical/full
starts_with = list(
/obj/item/reagent_containers/hypospray = 1,
/obj/item/reagent_containers/glass/bottle/inaprovaline = 1,
/obj/item/reagent_containers/glass/bottle/antitoxin = 1,
/obj/item/reagent_containers/glass/bottle/dexalin_plus = 1,
/obj/item/reagent_containers/glass/bottle/butazoline = 1,
/obj/item/reagent_containers/glass/bottle/dermaline = 1,
/obj/item/reagent_containers/glass/bottle/perconol = 1,
/obj/item/device/flashlight/pen = 1,
/obj/item/storage/box/fancy/med_pouch/trauma = 1,
)
/obj/item/storage/belt/medical/full/inaprov
starts_with = list(
/obj/item/device/healthanalyzer = 1,
/obj/item/reagent_containers/hypospray/autoinjector/inaprovaline = 2,
/obj/item/storage/pill_bottle/inaprovaline = 1,
/obj/item/clothing/gloves/latex = 1,
/obj/item/device/flashlight/pen = 1,
/obj/item/storage/box/fancy/med_pouch/trauma = 1,
)
/obj/item/storage/belt/medical/paramedic
name = "paramedic utility belt"
desc = "A sturdy black webbing belt with attached pouches."
icon_state = "emsbelt"
item_state = "emsbelt"
/obj/item/storage/belt/medical/paramedic/full
starts_with = list(
/obj/item/reagent_containers/hypospray = 1,
/obj/item/reagent_containers/glass/bottle/inaprovaline = 1,
/obj/item/reagent_containers/glass/bottle/butazoline = 1,
/obj/item/reagent_containers/glass/bottle/dermaline = 1,
/obj/item/reagent_containers/glass/bottle/perconol = 1,
/obj/item/crowbar/red = 1,
/obj/item/extinguisher/mini = 1,
)
/obj/item/storage/belt/medical/paramedic/combat
name = "tactical medical belt"
desc = "A sturdy black webbing belt with attached pouches. This one is designed for medical professionals who expect to enter conflict zones on the daily. It has increased storage and utility."
storage_slots = 9
max_storage_space = DEFAULT_BACKPACK_STORAGE
can_hold = list(
/obj/item/device/breath_analyzer,
/obj/item/device/healthanalyzer,
/obj/item/dnainjector,
/obj/item/reagent_containers/dropper,
/obj/item/reagent_containers/glass/beaker,
/obj/item/reagent_containers/glass/bottle,
/obj/item/reagent_containers/pill,
/obj/item/reagent_containers/syringe,
/obj/item/reagent_containers/inhaler,
/obj/item/reagent_containers/personal_inhaler_cartridge,
/obj/item/personal_inhaler,
/obj/item/flame/lighter/zippo,
/obj/item/storage/box/fancy/cigarettes,
/obj/item/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/reagent_containers/hypospray,
/obj/item/clothing/glasses/hud/health,
/obj/item/crowbar,
/obj/item/device/flashlight,
/obj/item/extinguisher/mini,
/obj/item/device/radio,
/obj/item/taperoll/medical,
/obj/item/handcuffs,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_magazine,
/obj/item/device/flash,
/obj/item/device/flashlight/maglight,
/obj/item/device/flashlight/flare,
/obj/item/material/knife,
/obj/item/stack/telecrystal,
/obj/item/melee/baton,
/obj/item/shield/riot/tact,
/obj/item/grenade,
/obj/item/reagent_containers/blood
)
/obj/item/storage/belt/medical/paramedic/combat/full
starts_with = list(
/obj/item/reagent_containers/hypospray/cmo = 1,
/obj/item/reagent_containers/glass/bottle/inaprovaline = 1,
/obj/item/reagent_containers/glass/bottle/antitoxin = 1,
/obj/item/reagent_containers/glass/bottle/dexalin_plus = 1,
/obj/item/reagent_containers/glass/bottle/butazoline = 1,
/obj/item/reagent_containers/glass/bottle/dermaline = 1,
/obj/item/reagent_containers/glass/bottle/perconol = 1,
/obj/item/reagent_containers/glass/bottle/thetamycin = 1
)
/obj/item/storage/belt/security
name = "security belt"
desc = "Can hold security gear like handcuffs and flashes."
icon_state = "securitybelt"
item_state = "security"
can_hold = list(
/obj/item/grenade,
/obj/item/reagent_containers/spray/pepper,
/obj/item/handcuffs,
/obj/item/device/flash,
/obj/item/clothing/glasses,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_magazine,
/obj/item/reagent_containers/food/snacks/donut, // kek
/obj/item/melee/baton,
/obj/item/gun/energy/taser,
/obj/item/flame/lighter,
/obj/item/clothing/glasses/hud/security,
/obj/item/device/flashlight/maglight,
/obj/item/device/flashlight/flare,
/obj/item/modular_computer/handheld,
/obj/item/device/radio/headset,
/obj/item/device/hailer,
/obj/item/device/megaphone,
/obj/item/melee,
/obj/item/crowbar,
/obj/item/gun/projectile/sec,
/obj/item/gun/energy/disruptorpistol,
/obj/item/taperoll/police,
/obj/item/material/knife/trench,
/obj/item/shield/energy,
/obj/item/shield/riot/tact,
/obj/item/device/holowarrant,
/obj/item/device/taperecorder,
/obj/item/device/radio,
/obj/item/device/laser_pointer,
/obj/item/device/camera,
/obj/item/clipboard,
)
content_overlays = TRUE
/obj/item/storage/belt/security/full
starts_with = list(
/obj/item/melee/baton/loaded = 1,
/obj/item/reagent_containers/spray/pepper = 1,
/obj/item/handcuffs = 2,
/obj/item/device/flash = 1,
/obj/item/device/holowarrant = 1
)
/obj/item/storage/belt/security/full/alt
starts_with = list(
/obj/item/melee/baton/loaded = 1,
/obj/item/reagent_containers/spray/pepper = 1,
/obj/item/handcuffs = 2,
/obj/item/device/flash = 1,
/obj/item/gun/energy/taser = 1,
)
/obj/item/storage/belt/security/full/disruptor
starts_with = list(
/obj/item/melee/baton/loaded = 1,
/obj/item/reagent_containers/spray/pepper = 1,
/obj/item/handcuffs = 2,
/obj/item/device/flash = 1,
/obj/item/gun/energy/disruptorpistol = 1,
/obj/item/device/flashlight/flare = 1,
)
/obj/item/storage/belt/security/full/pistol45
starts_with = list(
/obj/item/melee/baton/loaded = 1,
/obj/item/reagent_containers/spray/pepper = 1,
/obj/item/handcuffs = 1,
/obj/item/device/flash = 1,
/obj/item/gun/projectile/sec = 1,
/obj/item/ammo_magazine/c45m/rubber = 2,
)
/obj/item/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/storage/belt/soulstone/full
starts_with = list(/obj/item/device/soulstone = 6)
/obj/item/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/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 = WEIGHT_CLASS_NORMAL
max_storage_space = DEFAULT_BACKPACK_STORAGE
/obj/item/storage/belt/military
name = "military belt"
desc = "A lightweight, quick to use, military belt. Designed to be comfortably worn even during lengthy military operations."
icon_state = "militarybelt"
item_state = "militarybelt"
storage_slots = 9 //same as a combat belt now
max_w_class = WEIGHT_CLASS_NORMAL
max_storage_space = DEFAULT_BACKPACK_STORAGE
can_hold = list(
/obj/item/grenade,
/obj/item/handcuffs,
/obj/item/device/flash,
/obj/item/clothing/glasses,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_magazine,
/obj/item/melee/baton,
/obj/item/device/flashlight,
/obj/item/modular_computer/handheld,
/obj/item/device/radio/headset,
/obj/item/melee,
/obj/item/shield/energy,
/obj/item/pinpointer,
/obj/item/plastique,
/obj/item/gun/projectile/pistol,
/obj/item/gun/projectile/silenced,
/obj/item/gun/energy/crossbow,
/obj/item/material/knife/trench,
/obj/item/ammo_casing/a145,
/obj/item/device/radio/uplink,
/obj/item/card/emag,
/obj/item/device/multitool/hacktool,
/obj/item/reagent_containers/hypospray/combat,
/obj/item/stack/telecrystal,
/obj/item/device/radio,
/obj/item/shield/riot/tact,
/obj/item/material/knife/tacknife
)
/obj/item/storage/belt/military/syndicate
desc = "A red military belt designed to be used by boarding parties and SWAT teams."
icon_state = "militarybelt_syndie"
item_state = "militarybelt_syndie"
/obj/item/storage/belt/custodial
name = "custodial belt"
desc = "A utility belt designed for custodial use."
desc_extended = "A custodial belt is similar to most utility belts, but designed with pockets and attachment points that can hold common custodial tools."
icon_state = "custodialbelt"
item_state = "custodialbelt"
storage_slots = 12
w_class = WEIGHT_CLASS_NORMAL
max_w_class = WEIGHT_CLASS_NORMAL
can_hold = list(
/obj/item/crowbar,
/obj/item/screwdriver,
/obj/item/wrench,
/obj/item/device/flashlight,
/obj/item/extinguisher/mini,
/obj/item/device/radio,
/obj/item/clothing/gloves,
/obj/item/clothing/glasses,
/obj/item/reagent_containers/spray,
/obj/item/grenade/chem_grenade,
/obj/item/device/lightreplacer,
/obj/item/soap,
/obj/item/storage/bag/trash,
/obj/item/reagent_containers/glass/rag,
/obj/item/gun/energy/mousegun,
/obj/item/device/gps,
/obj/item/taperoll/custodial
)
/obj/item/storage/belt/mining
name = "explorer's belt"
desc = "A versatile chest rig, cherished by miners and hunters alike."
icon_state = "explorer"
item_state = "explorer"
storage_slots = 9
w_class = WEIGHT_CLASS_BULKY
max_w_class = WEIGHT_CLASS_BULKY //Pickaxes are big.
can_hold = list(
/obj/item/crowbar,
/obj/item/screwdriver,
/obj/item/weldingtool,
/obj/item/wirecutters,
/obj/item/wrench,
/obj/item/powerdrill,
/obj/item/resonator,
/obj/item/oreportal,
/obj/item/oremagnet,
/obj/item/plastique/seismic,
/obj/item/extraction_pack,
/obj/item/ore_radar,
/obj/item/device/flashlight,
/obj/item/stack/cable_coil,
/obj/item/stack/flag,
/obj/item/device/wormhole_jaunter,
/obj/item/device/analyzer,
/obj/item/extinguisher/mini,
/obj/item/device/radio,
/obj/item/clothing/gloves,
/obj/item/clothing/glasses/material,
/obj/item/pickaxe,
/obj/item/shovel,
/obj/item/stack/material/animalhide,
/obj/item/flame/lighter,
/obj/item/storage/box/fancy/cigarettes,
/obj/item/reagent_containers/food/drinks/bottle,
/obj/item/stack/medical,
/obj/item/reagent_containers/hypospray,
/obj/item/device/gps,
/obj/item/storage/bag/ore,
/obj/item/reagent_containers/pill,
/obj/item/storage/pill_bottle,
/obj/item/ore,
/obj/item/reagent_containers/food/drinks,
/obj/item/storage/bag/plants,
/obj/item/warp_core,
/obj/item/extraction_pack,
/obj/item/rfd/mining,
/obj/item/gun/custom_ka,
/obj/item/device/orbital_dropper,
/obj/item/ore_detector,
/obj/item/device/spaceflare,
/obj/item/cell
)
/obj/item/storage/belt/mining/full
starts_with = list(
/obj/item/crowbar = 1,
/obj/item/pickaxe = 1,
/obj/item/shovel = 1,
/obj/item/device/analyzer = 1,
/obj/item/stack/flag/red = 1,
/obj/item/ore_radar = 1,
/obj/item/storage/bag/ore = 1,
)
/obj/item/storage/belt/hydro
name = "hydrobelt"
desc = "A utility belt to store and provide easy access to your floral utilities."
icon_state = "growbelt"
item_state = "growbelt"
storage_slots = 9
w_class = WEIGHT_CLASS_NORMAL
max_w_class = WEIGHT_CLASS_BULKY
can_hold = list(
/obj/item/reagent_containers/glass,
/obj/item/grenade/chem_grenade, //weed killer grenades mostly, or water-pottassium if you grow the bannanas!
/obj/item/bee_smoker, //will this ever get used? Probally not.
/obj/item/plantspray/pests,
/obj/item/storage/bag/plants,
/obj/item/reagent_containers/food/snacks/grown,
/obj/item/seeds,
/obj/item/grown,
/obj/item/material/minihoe,
/obj/item/material/hatchet,
/obj/item/wirecutters,
/obj/item/reagent_containers/spray, //includes if you ever wish to get a spraybottle full of other chemicals, Like water
/obj/item/device/analyzer/plant_analyzer,
/obj/item/clothing/gloves/botanic_leather,
/obj/item/device/radio
)
/obj/item/storage/belt/ninja //credits to BurgerBB
name = "advanced combat belt"
desc = "A very robust belt that can hold various specialized gear such as swords, grenades, shurikens, and food rations."
icon_state = "securitybelt"
item_state = "security"
storage_slots = 9
max_w_class = WEIGHT_CLASS_BULKY
max_storage_space = DEFAULT_BACKPACK_STORAGE
can_hold = list(
/obj/item/grenade,
/obj/item/handcuffs,
/obj/item/device/flash,
/obj/item/device/paicard,
/obj/item/clothing/glasses,
/obj/item/ammo_casing/shotgun,
/obj/item/ammo_magazine,
/obj/item/melee/baton,
/obj/item/device/flashlight,
/obj/item/modular_computer/handheld,
/obj/item/device/radio/headset,
/obj/item/melee,
/obj/item/crowbar,
/obj/item/screwdriver,
/obj/item/shield/energy,
/obj/item/pinpointer,
/obj/item/plastique,
/obj/item/gun/projectile/pistol,
/obj/item/gun/energy/crossbow,
/obj/item/ammo_casing/a145,
/obj/item/device/radio/uplink,
/obj/item/card/emag,
/obj/item/device/multitool/hacktool,
/obj/item/reagent_containers,
/obj/item/stack/telecrystal,
/obj/item/material/sword,
/obj/item/material/star,
/obj/item/device/radio
)
/obj/item/storage/belt/fannypack
name = "fannypack"
desc = "A dorky fannypack for keeping small items in."
icon = 'icons/clothing/belts/fannypacks.dmi'
icon_state = "fannypack"
item_state = "fannypack"
max_w_class = WEIGHT_CLASS_SMALL
contained_sprite = TRUE
storage_slots = null
max_storage_space = 8
/obj/item/storage/belt/fannypack/recolorable
icon_state = "fannypack_colorable"
item_state = "fannypack_colorable"
/obj/item/storage/belt/fannypack/recolorable/random/Initialize()
. = ..()
color = get_random_colour(TRUE)
/obj/item/storage/belt/fannypack/component
name = "component pouch"
desc = "A dorky fannypack for keeping small items in. Also stores magickal components!"
starts_with = list(/obj/item/toy/snappop/syndi = 3, /obj/item/reagent_containers/glass/beaker/vial/random/toxin = 2, /obj/item/storage/pill_bottle/dice = 1)
max_storage_space = DEFAULT_BOX_STORAGE
/obj/item/storage/belt/shumaila_buckle
name = "hammer buckle belt"
desc = "A leather belt adorned by a hammer shaped buckle, worn by priesthood and worshippers of Shumaila."
icon = 'icons/obj/tajara_items.dmi'
icon_state = "hammerbelt"
item_state = "hammerbelt"
contained_sprite = TRUE
storage_slots = 1
max_w_class = WEIGHT_CLASS_SMALL
desc_extended = "Shumaila is the sister of Mata'ke and the goddess of fortification, chastity, and building. She is the head of the town watch and the architect for all of the \
Holy Village's most important buildings. When Mata'ke's original hunting party had done battle with the King of Rraknarr, her beloved was killed in the fighting. Ever since then \
she has resolved to be eternally chaste in dedication to him. She is an M'sai who is depicted wearing modest dresses and carrying a hammer on a belt. She is not known for having \
much combat prowess despite her position as head of the town watch but is a capable commander for defensive tactics."
/obj/item/storage/belt/generic
name = "belt"
desc = "Only useful for holding up your pants." // Useless belt is useless.
icon = 'icons/obj/item/clothing/belts/generic_belts.dmi'
icon_state = "belt"
item_state = "belt"
contained_sprite = TRUE
storage_slots = 1
max_w_class = WEIGHT_CLASS_TINY
/obj/item/storage/belt/generic/thin
name = "thin elastic belt"
icon_state = "thin_belt"
item_state = "thin_belt"
/obj/item/storage/belt/generic/thick
name = "wide waist belt"
icon_state = "thick_belt"
item_state = "thick_belt"
/obj/item/storage/belt/generic/buckle
name = "buckle belt"
desc = "A belt secured by a large golden buckle."
icon_state = "belt_b"
item_state = "belt_b"
build_from_parts = TRUE
worn_overlay = "buckle"