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

[Prime-Only] Add: Prime Event outfits&clothes #1647

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions modular_ss220/prime_only/_prime.dme
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
#include "code/anakonda.dm"
#include "code/cattleprod.dm"
#include "code/clothing/under.dm"
#include "code/clothing/suits.dm"
#include "code/clothing/head.dm"
#include "code/clothing/mask.dm"
#include "code/megafauna.dm"
#include "code/objects.dm"
#include "code/outfit.dm"
#include "code/tts_seeds.dm"
#include "code/vending.dm"
#include "code/crematorium.dm"
#include "code/shuttle_gib.dm"
#include "code/spells.dm"
27 changes: 27 additions & 0 deletions modular_ss220/prime_only/code/clothing/head.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// MARK: Heads

/obj/item/clothing/head/beret/centcom/officer/blueshield_chef
name = "берет начальника подразделения ''Синий Щит''"
desc = "Отличительный берет начальника локальным подразделением ''Синий Щит''. Выполнен в традиционных для компании цветах."
icon = 'modular_ss220/prime_only/icons/object/head.dmi'
icon_override = 'modular_ss220/prime_only/icons/mob/head.dmi'
icon_state = "blueshield_chef_beret"

/obj/item/clothing/head/helmet/space/hardsuit/midnight_suit
konushi marked this conversation as resolved.
Show resolved Hide resolved
name = "\improper шлем"
desc = "Шлем костюма Миднайта."
icon = 'modular_ss220/prime_only/icons/object/head.dmi'
icon_override = 'modular_ss220/prime_only/icons/mob/head.dmi'
icon_state = "hardsuit0-midnightsuit"
item_state = "hardsuit0-midnightsuit"
item_color = "midnightsuit"
slowdown = 0
armor = list(MELEE = 115, BULLET = 115, LASER = 65, ENERGY = 40, BOMB = 200, RAD = INFINITY, FIRE = INFINITY, ACID = INFINITY)

/obj/item/clothing/head/soft/midnight_cap
name = "чёрно-красная кепка"
desc = "Обычная кепка чёрно-красной расцветки. Круто!"
icon = 'modular_ss220/prime_only/icons/object/head.dmi'
icon_override = 'modular_ss220/prime_only/icons/mob/head.dmi'
icon_state = "midnightsoft"
item_color = "midnight"
6 changes: 6 additions & 0 deletions modular_ss220/prime_only/code/clothing/mask.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/obj/item/clothing/mask/breath/breathscarf/midnight
name = "красный шарф с системой дыхания"
desc = "Стильный и инновационный шарф красного цвета, который служит дыхательной маской в экстремальных ситуациях."
icon = 'modular_ss220/prime_only/icons/object/mask.dmi'
icon_override = 'modular_ss220/prime_only/icons/mob/mask.dmi'
icon_state = "midnightscarf"
87 changes: 87 additions & 0 deletions modular_ss220/prime_only/code/clothing/suits.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
// MARK: Coats

/obj/item/clothing/suit/midnight_coat
name = "потрёпанное пальто"
desc = "Чёрное пальто с меховым воротником, подкладка которого подшита плотным слоем дюраткани. На внутренней стороне имеется нашивка в виде букв ''M.B.'', вплетенных в символ звезды."
icon = 'modular_ss220/prime_only/icons/object/suits.dmi'
icon_state = "midnight_coat"
konushi marked this conversation as resolved.
Show resolved Hide resolved
icon_override = 'modular_ss220/prime_only/icons/mob/suits.dmi'
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS
cold_protection = UPPER_TORSO|LOWER_TORSO|ARMS
armor = list(MELEE = 15, BULLET = 5, LASER = 5, ENERGY = 5, BOMB = 0, RAD = 0, FIRE = 10, ACID = 5)
allowed = list(/obj/item/gun, /obj/item/flashlight, /obj/item/tank/internals, /obj/item/melee/baton, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/restraints/handcuffs, /obj/item/dualsaber)
sprite_sheets = list(
"Kidan" = 'modular_ss220/prime_only/icons/mob/species/kidan/suits/suits.dmi',
"Vox" = 'modular_ss220/prime_only/icons/mob/species/vox/suits/suits.dmi',
"Drask" = 'modular_ss220/prime_only/icons/mob/species/drask/suits/suits.dmi',
)
var/datum/action/item_action/chameleon/stealth/stealth_action

/datum/action/item_action/chameleon/stealth
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

При использовании расстегивается/застегивается пальто

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно еще с пальто в руке использовать

name = "стелс-режим"
button_overlay_icon_state = "mech_lights_off"
var/stealth_alpha = 75
var/equiped = 0

/datum/action/item_action/chameleon/stealth/Grant(mob/M)
..()

/datum/action/item_action/chameleon/change/Remove(mob/M)
if(M && (M == owner))
M.alpha = initial(M.alpha)
LAZYREMOVE(M.actions, src)
..()

/datum/action/item_action/chameleon/stealth/Trigger(left_click)
. = ..()
set_stealth(owner)

/datum/action/item_action/chameleon/stealth/proc/set_stealth(mob/user)
if(user.alpha != stealth_alpha)
user.alpha = stealth_alpha
else
user.alpha = initial(user.alpha)

/obj/item/clothing/suit/midnight_coat/Initialize(mapload)
. = ..()
stealth_action = new(src)

/obj/item/clothing/suit/midnight_coat/Destroy()
QDEL_NULL(stealth_action)
return ..()

/obj/item/clothing/suit/midnight_coat/item_action_slot_check(slot, mob/user)
. = ..()
if(slot == ITEM_SLOT_OUTER_SUIT)
return TRUE
else
user.alpha = initial(user.alpha)

/obj/item/clothing/suit/browntrenchcoat/blueshield_chef
m-dzianishchyts marked this conversation as resolved.
Show resolved Hide resolved
name = "одеяния начальника подразделения \"Синий Щит\""
desc = "Мундир командиров локальных подразделений ''Синий Щит'' контролирующих работу сотрудников как с Административных Объектов Нанотрейзен, так и непосредственно на местах. \
Как правило, его носители имеют старшее офицерское звание как в организации ''Щитов'', так и во флоте компании."
icon = 'modular_ss220/prime_only/icons/object/suits.dmi'
icon_state = "blueshield_chef_coat_open"
icon_override = 'modular_ss220/prime_only/icons/mob/suits.dmi'
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS
cold_protection = UPPER_TORSO|LOWER_TORSO|ARMS
armor = list(MELEE = 200, BULLET = 200, LASER = 50, ENERGY = 50, BOMB = INFINITY, RAD = INFINITY, FIRE = INFINITY, ACID = INFINITY)
konushi marked this conversation as resolved.
Show resolved Hide resolved
allowed = list(/obj/item/gun, /obj/item/flashlight, /obj/item/tank/internals, /obj/item/melee/baton, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/restraints/handcuffs, /obj/item/dualsaber)
sprite_sheets = list(
"Kidan" = 'modular_ss220/prime_only/icons/mob/species/kidan/suits/suits.dmi',
"Vox" = 'modular_ss220/prime_only/icons/mob/species/vox/suits/suits.dmi',
"Drask" = 'modular_ss220/prime_only/icons/mob/species/drask/suits/suits.dmi',
)

// MARK: Hardsuit
/obj/item/clothing/suit/space/hardsuit/midnight_suit
name = "\improper модернизированный элитный экзоскелет"
desc = "Экзоскелет ударной группы синдиката, модернизированный по спецзаказу Миднайта Блэка."
icon = 'modular_ss220/prime_only/icons/object/suits.dmi'
icon_override = 'modular_ss220/prime_only/icons/mob/suits.dmi'
icon_state = "hardsuit-midnightsuit"
item_state = "hardsuit-midnightsuit"
armor = list(MELEE = 115, BULLET = 115, LASER = 65, ENERGY = 40, BOMB = 200, RAD = INFINITY, FIRE = INFINITY, ACID = INFINITY)
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/midnight_suit
species_restricted = list("Human") // Уточню на счет лока на расу
17 changes: 16 additions & 1 deletion modular_ss220/prime_only/code/clothing/under.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Explorer's outfits
// MARK: Under

/obj/item/clothing/under/rank/cargo/expedition_prime
name = "navy expedition uniform"
desc = "Экспедиционная форма военного образца с опознавательными знаками Нанотрейзен."
Expand Down Expand Up @@ -31,3 +32,17 @@
icon_state = "expedition_prime_grey"
item_state = "expedition_prime_grey"
item_color = "expedition_prime_grey"

/obj/item/clothing/under/midnight_under
name = "профессиональный тактический костюм"
konushi marked this conversation as resolved.
Show resolved Hide resolved
desc = "Костюм настоящих профессионалов. Лёгкий и практичный, обладает встроенной активной терморегуляционной системой и повышенной прочностью за счет вплетенных пластитановых волокон. \
Надевая его, вы чувстуете себя менее заметным."
icon = 'modular_ss220/prime_only/icons/object/under.dmi'
icon_state = "midnight_under"
item_state = "midnight_under"
item_color = "midnight_under"
sprite_sheets = list(
"Human" = 'modular_ss220/prime_only/icons/mob/under.dmi',
)
species_restricted = list("Human") // Уточню
armor = list(MELEE = 10, BULLET = 10, LASER = 5, ENERGY = 5, BOMB = 5, RAD = 0, FIRE = 5, ACID = 50)
Loading
Loading