[Ready] [Modular] Messenger Belt Bag (#5249)

* What're the odds this'll work on the first try?

* Worn sprites added

* Errors galore!

* Never mind just needed to update byond I guess

* tick tock

* Byond uses index formatting, except when it doesn't!

* Spaceman indentation

* Update belt.dm

* glub glub

* Update belt.dm

* f i s h

* Update belt.dm

* Tested & redy

* Added white and leather variants

* Byond Autistic

* Just some mime shittery
This commit is contained in:
Weblure
2021-04-28 19:18:59 +12:00
committed by GitHub
parent 136a756ec5
commit 36ab08d342
6 changed files with 61 additions and 0 deletions
@@ -0,0 +1,44 @@
/*
* Messenger belt bag
*/
/obj/item/storage/belt/mailbelt
name = "Messenger Belt Bag"
desc = "A small bag with a belt, worn around the waist. It's just big enough to hold a small stack of letters. This one is postal blue, perfect for standing out!"
icon = 'modular_skyrat/modules/customization/icons/obj/clothing/belts.dmi'
icon_state = "mailbelt"
inhand_icon_state = "mailbelt"
worn_icon = 'modular_skyrat/modules/customization/icons/mob/clothing/belt.dmi'
worn_icon_state = "mailbelt"
equip_sound = 'sound/items/equip/toolbelt_equip.ogg'
/obj/item/storage/belt/mailbelt/ComponentInitialize()
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_items = 14
STR.display_numerical_stacking = TRUE
STR.set_holdable(list(
/obj/item/mail,
/obj/item/mail/envelope,
/obj/item/paper
))
/obj/item/storage/belt/mailbelt/white
name = "White Belt Bag"
desc = "A small bag with a belt, worn around the waist. It's just big enough to hold a small stack of letters. This one is a pearly white."
icon = 'modular_skyrat/modules/customization/icons/obj/clothing/belts.dmi'
icon_state = "mailbelt_white"
inhand_icon_state = "mailbelt_white"
worn_icon = 'modular_skyrat/modules/customization/icons/mob/clothing/belt.dmi'
worn_icon_state = "mailbelt_white"
equip_sound = 'sound/items/equip/toolbelt_equip.ogg'
/obj/item/storage/belt/mailbelt/leather
name = "Leather Belt Bag"
desc = "A small bag with a belt, worn around the waist. It's just big enough to hold a small stack of letters. This one is made out of a synthetic leather blend."
icon = 'modular_skyrat/modules/customization/icons/obj/clothing/belts.dmi'
icon_state = "mailbelt_leather"
inhand_icon_state = "mailbelt_leather"
worn_icon = 'modular_skyrat/modules/customization/icons/mob/clothing/belt.dmi'
worn_icon_state = "mailbelt_leather"
equip_sound = 'sound/items/equip/toolbelt_equip.ogg'
Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 B

@@ -2,6 +2,22 @@
category = LOADOUT_CATEGORY_BACKPACK
//MISC
/datum/loadout_item/backpack/mailbelt
name = "Messenger Belt Bag"
path = /obj/item/storage/belt/mailbelt
cost = 2
/datum/loadout_item/backpack/mailbelt_white
name = "White Belt Bag"
path = /obj/item/storage/belt/mailbelt/white
cost = 2
/datum/loadout_item/backpack/mailbelt_leather
name = "Leather Belt Bag"
path = /obj/item/storage/belt/mailbelt/leather
cost = 2
/datum/loadout_item/backpack/matches
name = "Matchbox"
path = /obj/item/storage/box/matches
+1
View File
@@ -3786,6 +3786,7 @@
#include "modular_skyrat\modules\customization\game\objects\items\instruments.dm"
#include "modular_skyrat\modules\customization\game\objects\items\plushes.dm"
#include "modular_skyrat\modules\customization\game\objects\items\devices\ttsdevice.dm"
#include "modular_skyrat\modules\customization\game\objects\items\storage\belt.dm"
#include "modular_skyrat\modules\customization\game\objects\items\storage\rings.dm"
#include "modular_skyrat\modules\customization\game\objects\items\tanks\n2_tanks.dm"
#include "modular_skyrat\modules\customization\modules\admin\donator_list.dm"