diff --git a/modular_bandastation/clothing/_clothing.dm b/modular_bandastation/clothing/_clothing.dm new file mode 100644 index 0000000000000..a02cb36a176f8 --- /dev/null +++ b/modular_bandastation/clothing/_clothing.dm @@ -0,0 +1,4 @@ +/datum/modpack/clothing + name = "Одежда" + desc = "Всё для модного приговора." + author = "Aylong220, Yata9arasu" diff --git a/modular_bandastation/clothing/_clothing.dme b/modular_bandastation/clothing/_clothing.dme new file mode 100644 index 0000000000000..bb8fc17d7ffa6 --- /dev/null +++ b/modular_bandastation/clothing/_clothing.dme @@ -0,0 +1,5 @@ +#include "_clothing.dm" +#include "code/accessories.dm" +#include "code/gloves.dm" +#include "code/mask.dm" +#include "code/shoes.dm" diff --git a/modular_bandastation/clothing/code/accessories.dm b/modular_bandastation/clothing/code/accessories.dm new file mode 100644 index 0000000000000..17bb0d090a27d --- /dev/null +++ b/modular_bandastation/clothing/code/accessories.dm @@ -0,0 +1,6 @@ +/obj/item/clothing/suit/apron/chef/red + name = "красный фартук" + icon = 'modular_bandastation/clothing/icons/object/accessories.dmi' + worn_icon = 'modular_bandastation/clothing/icons/mob/accessories.dmi' + icon_state = "apron_red" + worn_icon_state = "apron_red" diff --git a/modular_bandastation/clothing/code/gloves.dm b/modular_bandastation/clothing/code/gloves.dm new file mode 100644 index 0000000000000..e94e07595aee0 --- /dev/null +++ b/modular_bandastation/clothing/code/gloves.dm @@ -0,0 +1,6 @@ +/obj/item/clothing/gloves/fingerless/biker_gloves + name = "байкерские перчатки" + desc = "Обычные черные перчатки с черепом." + icon = 'modular_bandastation/clothing/icons/object/gloves.dmi' + worn_icon = 'modular_bandastation/clothing/icons/mob/gloves.dmi' + icon_state = "bike_gloves" diff --git a/modular_bandastation/clothing/code/mask.dm b/modular_bandastation/clothing/code/mask.dm new file mode 100644 index 0000000000000..88d45f77fff67 --- /dev/null +++ b/modular_bandastation/clothing/code/mask.dm @@ -0,0 +1,13 @@ +/obj/item/clothing/mask/breath/red_gas + name = "ПРС-1" + desc = "Стильная дыхательная маска в виде противогаза, не скрывает лицо." + icon = 'modular_bandastation/clothing/icons/object/masks.dmi' + worn_icon = 'modular_bandastation/clothing/icons/mob/masks.dmi' + icon_state = "red_gas" + +/obj/item/clothing/mask/breath/breathscarf + name = "шарф с системой дыхания" + desc = "Стильный и инновационный шарф, который служит дыхательной маской в экстремальных ситуациях." + icon = 'modular_bandastation/clothing/icons/object/masks.dmi' + worn_icon = 'modular_bandastation/clothing/icons/mob/masks.dmi' + icon_state = "breathscarf" diff --git a/modular_bandastation/clothing/code/shoes.dm b/modular_bandastation/clothing/code/shoes.dm new file mode 100644 index 0000000000000..b1aef20e511ef --- /dev/null +++ b/modular_bandastation/clothing/code/shoes.dm @@ -0,0 +1,64 @@ +/datum/action/item_action/change_color + name = "Change color" + +/obj/item/clothing/shoes/black/neon + name = "неоновые кросовки" + desc = "Пара чёрных кросовок с светодиодными вставками." + icon = 'modular_bandastation/clothing/icons/object/shoes.dmi' + worn_icon = 'modular_bandastation/clothing/icons/mob/shoes.dmi' + icon_state = "neon" + lefthand_file = 'modular_bandastation/clothing/icons/inhands/left_hand.dmi' + righthand_file = 'modular_bandastation/clothing/icons/inhands/right_hand.dmi' + actions_types = list(/datum/action/item_action/toggle_light, /datum/action/item_action/change_color) + color = null + var/glow_active = FALSE + var/brightness_on = 2 + +/obj/item/clothing/shoes/black/neon/attack_self(mob/living/user) + var/choice = tgui_input_list(user, "Что вы хотите сделать?", "Неоновые кросовки", list("Переключить подсветку", "Сменить цвет")) + switch(choice) + if("Переключить подсветку") + turn_glow() + if("Сменить цвет") + change_color() + +/obj/item/clothing/shoes/black/neon/update_icon_state() + . = ..() + +/obj/item/clothing/shoes/black/neon/proc/turn_glow() + if(!glow_active) + set_light(brightness_on) + var/mutable_appearance/neon_overlay = mutable_appearance('modular_bandastation/clothing/icons/mob/shoes.dmi',"neon_overlay") + neon_overlay.color = color + add_overlay(neon_overlay) + glow_active = TRUE + else + set_light(0) + cut_overlays() + glow_active = FALSE + update_icon_state() + +/obj/item/clothing/shoes/black/neon/proc/change_color(mob/living/user as mob) + var/temp = input(usr, "Пожалуйста, выберите цвет.", "Цвет кросовок") as color + color = temp + light_color = temp + update_icon_state() + +/obj/item/clothing/shoes/black/neon/ui_action_click(mob/user, actiontype) + if(istype(actiontype, /datum/action/item_action/change_color)) + change_color() + else if(istype(actiontype, /datum/action/item_action/toggle_light)) + turn_glow() + +/obj/item/clothing/shoes/shark + name = "акульи тапочки" + desc = "Эти тапочки сделаны из акульей кожи, или нет?" + icon = 'modular_bandastation/clothing/icons/object/shoes.dmi' + worn_icon = 'modular_bandastation/clothing/icons/mob/shoes.dmi' + icon_state = "shark" + lefthand_file = 'modular_bandastation/clothing/icons/inhands/left_hand.dmi' + righthand_file = 'modular_bandastation/clothing/icons/inhands/right_hand.dmi' + +/obj/item/clothing/shoes/shark/light + name = "светло-голубые акульи тапочки" + icon_state = "shark_light" diff --git a/modular_bandastation/clothing/icons/inhands/left_hand.dmi b/modular_bandastation/clothing/icons/inhands/left_hand.dmi new file mode 100644 index 0000000000000..eb22914427d5e Binary files /dev/null and b/modular_bandastation/clothing/icons/inhands/left_hand.dmi differ diff --git a/modular_bandastation/clothing/icons/inhands/right_hand.dmi b/modular_bandastation/clothing/icons/inhands/right_hand.dmi new file mode 100644 index 0000000000000..8427cd3c86025 Binary files /dev/null and b/modular_bandastation/clothing/icons/inhands/right_hand.dmi differ diff --git a/modular_bandastation/clothing/icons/mob/accessories.dmi b/modular_bandastation/clothing/icons/mob/accessories.dmi new file mode 100644 index 0000000000000..1012e226c4bcc Binary files /dev/null and b/modular_bandastation/clothing/icons/mob/accessories.dmi differ diff --git a/modular_bandastation/clothing/icons/mob/gloves.dmi b/modular_bandastation/clothing/icons/mob/gloves.dmi new file mode 100644 index 0000000000000..4b4a10fbf5d7f Binary files /dev/null and b/modular_bandastation/clothing/icons/mob/gloves.dmi differ diff --git a/modular_bandastation/clothing/icons/mob/masks.dmi b/modular_bandastation/clothing/icons/mob/masks.dmi new file mode 100644 index 0000000000000..2362205420f41 Binary files /dev/null and b/modular_bandastation/clothing/icons/mob/masks.dmi differ diff --git a/modular_bandastation/clothing/icons/mob/shoes.dmi b/modular_bandastation/clothing/icons/mob/shoes.dmi new file mode 100644 index 0000000000000..1bf793fcc9728 Binary files /dev/null and b/modular_bandastation/clothing/icons/mob/shoes.dmi differ diff --git a/modular_bandastation/clothing/icons/object/accessories.dmi b/modular_bandastation/clothing/icons/object/accessories.dmi new file mode 100644 index 0000000000000..d8f4f4e753847 Binary files /dev/null and b/modular_bandastation/clothing/icons/object/accessories.dmi differ diff --git a/modular_bandastation/clothing/icons/object/gloves.dmi b/modular_bandastation/clothing/icons/object/gloves.dmi new file mode 100644 index 0000000000000..6ddabb5d73270 Binary files /dev/null and b/modular_bandastation/clothing/icons/object/gloves.dmi differ diff --git a/modular_bandastation/clothing/icons/object/masks.dmi b/modular_bandastation/clothing/icons/object/masks.dmi new file mode 100644 index 0000000000000..9c82cc1ce0665 Binary files /dev/null and b/modular_bandastation/clothing/icons/object/masks.dmi differ diff --git a/modular_bandastation/clothing/icons/object/shoes.dmi b/modular_bandastation/clothing/icons/object/shoes.dmi new file mode 100644 index 0000000000000..f90f83b59f655 Binary files /dev/null and b/modular_bandastation/clothing/icons/object/shoes.dmi differ diff --git a/modular_bandastation/modular_bandastation.dme b/modular_bandastation/modular_bandastation.dme index 3aadf7b8ca3aa..34ce56dab3fb7 100644 --- a/modular_bandastation/modular_bandastation.dme +++ b/modular_bandastation/modular_bandastation.dme @@ -12,6 +12,7 @@ #include "autohiss/_autohiss.dme" #include "balance/_balance.dme" #include "barsigns/_barsigns.dme" +#include "clothing/_clothing.dme" #include "communication/_communication.dme" //#include "crawl_speed/_crawl_speed.dme" // Fixing floored melee brawl, or first steps to remove RP speed #include "cyrillic_fixes/_cyrillic_fixes.dme"