Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Hampters plushes and donator wallets port #440

Merged
merged 14 commits into from
Jul 23, 2024
2 changes: 2 additions & 0 deletions modular_bandastation/objects/_objects.dme
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "_objects.dm"

#include "code/wallets.dm"
#include "code/hampters.dm"
#include "code/papershredder.dm"
#include "code/material_pouch.dm"
#include "code/structures/posters.dm"
87 changes: 87 additions & 0 deletions modular_bandastation/objects/code/hampters.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
// Хамптер
/obj/item/toy/plush/hampter
name = "хамптер"
desc = "Просто плюшевый хамптер. Самый обычный."
icon = 'modular_bandastation/objects/icons/hampter.dmi'
icon_state = "hampter"
lefthand_file = 'modular_bandastation/objects/icons/inhands/hampter_lefthand.dmi'
righthand_file = 'modular_bandastation/objects/icons/inhands/hampter_righthand.dmi'
inhand_icon_state = "hampter"
worn_icon = 'modular_bandastation/objects/icons/inhead/head.dmi'
worn_icon_state = "hampter"
slot_flags = ITEM_SLOT_HEAD
w_class = WEIGHT_CLASS_TINY
var/cooldown = 0

// Действия при взаимодействии с включенным комбат модом
/obj/item/toy/plush/hampter/attack_self(mob/living/carbon/human/user)
if(cooldown < world.time - 10)
. = ..()
if(user.combat_mode == TRUE)
new /obj/effect/decal/cleanable/blood(get_turf(user))
user.visible_message(span_warning("[user] раздавливает хамптера в своей руке!"), span_warning("Вы раздавливаете хамптера в своей руке, и от него остаётся лужа крови!"))
Chorden523 marked this conversation as resolved.
Show resolved Hide resolved
qdel(src)

// Подвиды
/obj/item/toy/plush/hampter/assistant
name = "хамптер ассистент"
desc = "Плюшевый хамптер ассистент. Зачем ему изольки?"
icon_state = "hampter_ass"
inhand_icon_state = "hampter_ass"
worn_icon_state = "hampter_ass"

/obj/item/toy/plush/hampter/security
name = "хамптер офицер"
desc = "Плюшевый хамптер офицер службы безопасности. У него станбатон!"
icon_state = "hampter_sec"
inhand_icon_state = "hampter_sec"
worn_icon_state = "hampter_sec"

/obj/item/toy/plush/hampter/medical
name = "хамптер врач"
desc = "Плюшевый хамптер врач. Тащите дефибриллятор!"
icon_state = "hampter_med"
inhand_icon_state = "hampter_med"
worn_icon_state = "hampter_med"

/obj/item/toy/plush/hampter/janitor
name = "хамптер уборщик"
desc = "Плюшевый хамптер уборщик. Переключись на шаг."
icon_state = "hampter_jan"
inhand_icon_state = "hampter_jan"
worn_icon_state = "hampter_jan"

/obj/item/toy/plush/hampter/old_captain
name = "хамптер старый капитан"
desc = "ПЛюшевый хамптер капитан в старой униформе. Это какой год?"
icon_state = "hampter_old-cap"
inhand_icon_state = "hampter_old-cap"
worn_icon_state = "hampter_old-cap"

/obj/item/toy/plush/hampter/captain
name = "хамптер капитан"
desc = "Плюшевый хамптер капитан. Где его запасная карта?"
icon_state = "hampter_cap"
inhand_icon_state = "hampter_cap"
worn_icon_state = "hampter_cap"

/obj/item/toy/plush/hampter/syndicate
name = "хамптер Синдиката"
desc = "Плюшевый хамптер агент Синдиката. Ваши активы пострадают."
icon_state = "hampter_sdy"
inhand_icon_state = "hampter_sdy"
worn_icon_state = "hampter_sdy"

/obj/item/toy/plush/hampter/deadsquad
name = "хамптер Дедсквада"
desc = "Плюшевый хамптер Отряда Смерти. Все контракты расторгнуты."
icon_state = "hampter_ded"
inhand_icon_state = "hampter_ded"
worn_icon_state = "hampter_ded"

/obj/item/toy/plush/hampter/ert
name = "хамптер ОБР"
desc = "Плюшевый хамптер ОБР. Доложите о ситуации на станции."
icon_state = "hampter_ert"
inhand_icon_state = "hampter_ert"
worn_icon_state = "hampter_ert"
61 changes: 61 additions & 0 deletions modular_bandastation/objects/code/wallets.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/obj/item/storage/wallet/wallet_NT
Chorden523 marked this conversation as resolved.
Show resolved Hide resolved
name = "leather wallet NT"
desc = "Ваш кошелек настолько шикарен, что с ним вы выглядите просто потрясающе."
icon = 'modular_bandastation/objects/icons/wallets.dmi'
icon_state = "wallet_NT"
worn_icon = 'modular_bandastation/objects/icons/onbody/id.dmi'
worn_icon_state = "wallet_NT"
overlay_icon_state = "wallet_NT_overlay"

/obj/item/storage/wallet/wallet_NT/update_label()
Chorden523 marked this conversation as resolved.
Show resolved Hide resolved
if(front_id)
name = "[src::name] displaying [front_id]"
return
name = src::name

/obj/item/storage/wallet/wallet_USSP_1
Chorden523 marked this conversation as resolved.
Show resolved Hide resolved
name = "leather USSP wallet"
desc = "Говорят, такие кошельки в СССП носят исключительно для зажигалок."
icon = 'modular_bandastation/objects/icons/wallets.dmi'
icon_state = "wallet_USSP_1"
worn_icon = 'modular_bandastation/objects/icons/onbody/id.dmi'
worn_icon_state = "wallet_USSP_1"
overlay_icon_state = "wallet_USSP_1_overlay"

/obj/item/storage/wallet/wallet_USSP_1/update_label()
if(front_id)
name = "[src::name] displaying [front_id]"
return
name = src::name

/obj/item/storage/wallet/wallet_USSP_2
Chorden523 marked this conversation as resolved.
Show resolved Hide resolved
name = "leather USSP wallet"
desc = "Говорят, такие кошельки в СССП носят исключительно для зажигалок."
icon = 'modular_bandastation/objects/icons/wallets.dmi'
icon_state = "wallet_USSP_2"
worn_icon = 'modular_bandastation/objects/icons/onbody/id.dmi'
worn_icon_state = "wallet_USSP_2"
overlay_icon_state = "wallet_USSP_2_overlay"

/obj/item/storage/wallet/wallet_USSP_2/update_label()
if(front_id)
name = "[src::name] displaying [front_id]"
return
name = src::name

/obj/item/storage/wallet/wallet_wyci
Chorden523 marked this conversation as resolved.
Show resolved Hide resolved
name = "W.Y.C.I. wallet"
desc = "Кошелек, законодателя моды WYCI,\
украшен золотой пуговицей cшит позолочеными и платиновыми нитями, сверх прочный.\
И сверх модный. И сверх дорогой. И сшит по принципу WYCI."
icon = 'modular_bandastation/objects/icons/wallets.dmi'
icon_state = "wallet_wyci"
worn_icon = 'modular_bandastation/objects/icons/onbody/id.dmi'
worn_icon_state = "wallet_wyci"
overlay_icon_state = "wallet_wyci_overlay"

/obj/item/storage/wallet/wallet_wyci/update_label()
if(front_id)
name = "[src::name] displaying [front_id]"
return
name = src::name
Binary file added modular_bandastation/objects/icons/hampter.dmi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added modular_bandastation/objects/icons/onbody/id.dmi
Binary file not shown.
Binary file added modular_bandastation/objects/icons/wallets.dmi
Binary file not shown.
Loading