Skip to content

Commit

Permalink
Add detective forensic gloves & sorting out objects module (#866)
Browse files Browse the repository at this point in the history
### Изменение
Добавил детективные перчатки, и +- отсортировал папку objects.

### Изображение

![image](https://github.com/user-attachments/assets/d112bb25-f5b6-4511-ac7a-e9b8d31c502e)
  • Loading branch information
dj-34 authored Dec 12, 2024
1 parent 85c64c5 commit 4a5133a
Show file tree
Hide file tree
Showing 67 changed files with 145 additions and 113 deletions.
4 changes: 4 additions & 0 deletions code/__DEFINES/obj_flags.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@
#define HEADINTERNALS (1<<16)
/// Prevents masks from getting adjusted from enabling internals
#define INTERNALS_ADJUST_EXEMPT (1<<17)
// BANDASTATION ADDITION - START
/// Does not leave fibers behind
#define FIBERLESS_GLOVES (1<<18)
// BANDASTATION ADDITION - END

/// Integrity defines for clothing (not flags but close enough)
#define CLOTHING_PRISTINE 0 // We have no damage on the clothing
Expand Down
3 changes: 3 additions & 0 deletions code/_globalvars/bitfields.dm
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ DEFINE_BITFIELD(clothing_flags, list(
"VOICEBOX_DISABLED" = VOICEBOX_DISABLED,
"VOICEBOX_TOGGLABLE" = VOICEBOX_TOGGLABLE,
"INTERNALS_ADJUST_EXEMPT" = INTERNALS_ADJUST_EXEMPT,
// BANDASTATION ADDITION - START
"FIBERLESS_GLOVES" = FIBERLESS_GLOVES,
// BANDASTATION ADDITION - END
))

DEFINE_BITFIELD(datum_flags, list(
Expand Down
4 changes: 4 additions & 0 deletions modular_bandastation/jobs/_jobs.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/datum/modpack/jobs
name = "Расширение и дополнение работ"
desc = "Добавляет новые работы, расширяет и изменяет имеющиеся."
author = "dj-34"
4 changes: 4 additions & 0 deletions modular_bandastation/jobs/_jobs.dme
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include "_jobs.dm"

#include "code/detective/detective.dm"
#include "code/detective/forensics.dm"
3 changes: 3 additions & 0 deletions modular_bandastation/jobs/code/detective/detective.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Outfit changes
/datum/outfit/job/detective
gloves = /obj/item/clothing/gloves/color/black/forensics // Override: /obj/item/clothing/gloves/color/black
5 changes: 5 additions & 0 deletions modular_bandastation/jobs/code/detective/forensics.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Check for fiberless flag to skip adding fibers
/datum/forensics/add_fibers(mob/living/carbon/human/suspect)
if(suspect.gloves?.clothing_flags & FIBERLESS_GLOVES)
return FALSE
. = ..()
1 change: 1 addition & 0 deletions modular_bandastation/modular_bandastation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "examine_panel/_examine_panel.dme"
#include "gunhud/_gunhud.dme"
#include "hair/_hair.dme"
#include "jobs/_jobs.dme"
#include "keybinding/_keybinding.dme"
#include "loadout/_loadout.dme"
#include "mapping/_mapping.dme"
Expand Down
48 changes: 22 additions & 26 deletions modular_bandastation/objects/_objects.dme
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
#include "_objects.dm"

#include "code/hampters.dm"
#include "code/material_pouch.dm"
#include "code/papershredder.dm"
#include "code/platform.dm"
#include "code/shuttles.dm"
#include "code/wallets.dm"

#include "code/clothing/eyes/eyes.dm"
#include "code/clothing/gloves/gloves.dm"
#include "code/clothing/head/hat.dm"
#include "code/clothing/head/soft_caps.dm"
#include "code/clothing/shoes/shoes.dm"
#include "code/clothing/suits/armor.dm"
#include "code/clothing/suits/cloaks.dm"
#include "code/clothing/suits/jacket.dm"
#include "code/clothing/suits/wintercoats.dm"
#include "code/clothing/under/jobs/centcom.dm"
#include "code/clothing/under/jobs/rnd.dm"

#include "code/consumables/drinks.dm"
#include "code/consumables/customer_data.dm"

#include "code/effects/turf_decal.dm"

#include "code/items/clothing/glasses/glasses.dm"
#include "code/items/clothing/gloves/gloves.dm"
#include "code/items/clothing/head/hat.dm"
#include "code/items/clothing/head/soft_caps.dm"
#include "code/items/clothing/shoes/shoes.dm"
#include "code/items/clothing/suits/armor.dm"
#include "code/items/clothing/suits/cloaks.dm"
#include "code/items/clothing/suits/jacket.dm"
#include "code/items/clothing/suits/wintercoats.dm"
#include "code/items/clothing/under/jobs/centcom.dm"
#include "code/items/clothing/under/jobs/research.dm"
#include "code/items/consumables/customer_data.dm"
#include "code/items/consumables/drinks.dm"
#include "code/items/weapons/melee/centcom/rapier.dm"
#include "code/items/weapons/ranged/energy/awaymission_gun.dm"
#include "code/items/banners.dm"
#include "code/items/hampters.dm"
#include "code/items/material_pouch.dm"
#include "code/items/wallets.dm"

#include "code/machinery/vending/vending.dm"
#include "code/machinery/papershredder.dm"
#include "code/machinery/photocopier.dm"

#include "code/structures/chairs.dm"
#include "code/structures/platform.dm"
#include "code/structures/posters.dm"
#include "code/structures/statues.dm"

#include "code/vending/vending.dm"

#include "code/weapons/ranged/awaymission_gun.dm"
#include "code/weapons/melee/centcom/rapier.dm"
#include "code/shuttles.dm"
16 changes: 0 additions & 16 deletions modular_bandastation/objects/code/clothing/gloves/gloves.dm

This file was deleted.

4 changes: 2 additions & 2 deletions modular_bandastation/objects/code/items/banners.dm
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// MARK: Banners
/obj/item/banner
icon = 'modular_bandastation/objects/icons/obj/items/banner.dmi'
lefthand_file = 'modular_bandastation/objects/icons/inhands/banners_lefthand.dmi'
righthand_file = 'modular_bandastation/objects/icons/inhands/banners_righthand.dmi'
lefthand_file = 'modular_bandastation/objects/icons/mob/inhands/banners_lefthand.dmi'
righthand_file = 'modular_bandastation/objects/icons/mob/inhands/banners_righthand.dmi'

/obj/item/banner/atmos
name = "atmosia banner"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// MARK: Eyes //

// CentCom
/obj/item/clothing/glasses/hud/security/sunglasses/soo
name = "special ops officer's HUDSunglasses"
Expand Down
30 changes: 30 additions & 0 deletions modular_bandastation/objects/code/items/clothing/gloves/gloves.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// CentCom
/obj/item/clothing/gloves/combat/centcom
name = "fleet officer's gloves"
desc = "Солидные перчатки офицеров Центрального Командования Нанотрейзен."
icon = 'modular_bandastation/aesthetics/clothing/centcom/icons/obj/clothing/gloves/gloves.dmi'
worn_icon = 'modular_bandastation/aesthetics/clothing/centcom/icons/mob/clothing/gloves/gloves.dmi'
lefthand_file = 'modular_bandastation/aesthetics/clothing/centcom/icons/inhands/clothing/gloves_lefthand.dmi'
righthand_file = 'modular_bandastation/aesthetics/clothing/centcom/icons/inhands/clothing/gloves_righthand.dmi'
icon_state = "centcom"
resistance_flags = INDESTRUCTIBLE | FIRE_PROOF | FREEZE_PROOF | UNACIDABLE | ACID_PROOF

/obj/item/clothing/gloves/combat/centcom/diplomat
desc = "Изящные и солидные перчатки офицеров Центрального Командования Нанотрейзен."
icon_state = "centcom_diplomat"

// Detective (forensics) gloves
/obj/item/clothing/gloves/color/black/forensics
name = "forensics gloves"
desc = "Эти высокотехнологичные перчатки не оставляют никаких следов на предметах, к которым прикасаются. Идеально подходят для того, чтобы оставить место преступления нетронутым... как до, так и после преступления."
icon = 'modular_bandastation/objects/icons/obj/clothing/gloves.dmi'
worn_icon = 'modular_bandastation/objects/icons/mob/clothing/gloves.dmi'
lefthand_file = 'modular_bandastation/objects/icons/mob/inhands/gloves_lefthand.dmi'
righthand_file = 'modular_bandastation/objects/icons/mob/inhands/gloves_righthand.dmi'
icon_state = "forensics"
clothing_flags = FIBERLESS_GLOVES

/obj/item/clothing/gloves/examine_tags(mob/user)
. = ..()
if(clothing_flags & FIBERLESS_GLOVES)
.["безволоконная"] = "Не оставляет волокна."
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/clothing/head/soft/roboticist_cap
icon = 'modular_bandastation/objects/icons/obj/clothing/head/hats.dmi'
worn_icon = 'modular_bandastation/objects/icons/mob/clothing/head/hats.dmi'
worn_icon = 'modular_bandastation/objects/icons/mob/clothing/head/cap.dmi'
name = "roboticist's cap"
desc = "Элегантная кепка в черных тонах с малиновым козырьком. Идеально дополняет рабочую форму, добавляя стиль. На бирке указано: 'Flameholdeir Industries'. С этой кепкой вы точно никогда не опоздаете."
icon_state = "robocap"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
name = "roboticist's coat"
desc = "Стильный плащ с принтом головы борга на спине. Идеален для тех, кто хочет выделиться и показать свою любовь к робототехнике. На бирке указано: 'Flameholdeir Industries'. Бережно обращайтесь с боргами, пока они не сделали из вас лампочку!"
icon_state = "robotics_coat"
icon = 'modular_bandastation/objects/icons/obj/clothing/suits/rnd.dmi'
worn_icon = 'modular_bandastation/objects/icons/mob/clothing/suits/rnd.dmi'
icon = 'modular_bandastation/objects/icons/obj/clothing/neck.dmi'
worn_icon = 'modular_bandastation/objects/icons/mob/clothing/neck.dmi'
inhand_icon_state = null
body_parts_covered = CHEST|GROIN|ARMS
hoodtype = /obj/item/clothing/head/hooded/roboticist_cloak

/obj/item/clothing/head/hooded/roboticist_cloak
name = "roboticist's hood"
icon = 'modular_bandastation/objects/icons/obj/clothing/head/rnd.dmi'
worn_icon = 'modular_bandastation/objects/icons/mob/clothing/head/rnd.dmi'
icon = 'modular_bandastation/objects/icons/obj/clothing/head/hood.dmi'
worn_icon = 'modular_bandastation/objects/icons/mob/clothing/head/hood.dmi'
icon_state = "robotics_hood"
body_parts_covered = HEAD
flags_inv = HIDEHAIR|HIDEEARS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
required_drink_type = /datum/reagent/consumable/kvass
name = "стакан кваса"
desc = "В стакане кристально чистая жидкость насыщенного темно-коричневого цвета, которая кажется почти янтарной при определенном угле освещения."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "kvass"

/datum/export/large/reagent_dispenser/kvass
Expand All @@ -33,7 +33,7 @@
/obj/structure/reagent_dispensers/kvasstank
name = "бочка кваса"
desc = "Ярко-желтая бочка с квасом, которая сразу привлекает внимание своим насыщенным цветом. Она выполнена в классическом стиле, из толстого, прочного металла с гладкой, блестящей поверхностью. Бочка имеет цилиндрическую форму, слегка расширяясь к середине и снова сужаясь к краям."
icon = 'modular_bandastation/objects/icons/chemical_tanks.dmi'
icon = 'modular_bandastation/objects/icons/obj/structures/chemical_tanks.dmi'
icon_state = "kvass"
reagent_id = /datum/reagent/consumable/kvass
openable = TRUE
Expand All @@ -50,7 +50,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/sambuka
name = "Glass of Sambuka"
desc = "Flying into space, many thought that they had grasped fate."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "sambuka"

/datum/reagent/consumable/ethanol/innocent_erp
Expand All @@ -67,7 +67,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/innocent_erp
name = "Innocent ERP"
desc = "Remember that big brother sees everything."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "innocent_erp"

/datum/chemical_reaction/drink/innocent_erp
Expand Down Expand Up @@ -97,7 +97,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/soundhand
name = "Саундхэнд"
desc = "Коктейль из нескольких алкогольных напитков с запахом ягод и легким слоем перца на стакане."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "soundhand"

/datum/chemical_reaction/drink/soundhand
Expand All @@ -121,7 +121,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/jagermeister
name = "Стакан Егермейстра"
desc = "Пьяный охотник прилетел из глубокого космоса и, похоже, нашел жертву."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "jagermeister"

/datum/reagent/consumable/ethanol/bluecuracao
Expand All @@ -136,7 +136,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/bluecuracao
name = "Стакан Блю Кюрасао"
desc = "Предохранитель готов, синева уже загорелась."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "bluecuracao"

/datum/reagent/consumable/ethanol/black_blood
Expand All @@ -158,7 +158,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/black_blood
name = "Черная Кровь"
desc = "Нужно пить быстрее, пока оно не начало сворачиваться."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "black_blood"

/datum/chemical_reaction/drink/black_blood
Expand All @@ -184,7 +184,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/pegu_club
name = "Клуб Пегу"
desc = "Это похоже на то, как группа джентльменов колонизирует ваш язык."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "pegu_club"

/datum/chemical_reaction/drink/pegu_club
Expand All @@ -209,7 +209,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/amnesia
name = "Звездная амнезия"
desc = "Это просто бутылка медицинского спирта?"
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "amnesia"

/datum/chemical_reaction/drink/amnesia
Expand All @@ -233,7 +233,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/silverhand
name = "Silverhand"
desc = "Wake the heck up, samurai. We have a station to burn."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "silverhand"

/datum/chemical_reaction/drink/silverhand
Expand All @@ -259,7 +259,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/oldfashion
name = "Old Fashion"
desc = "Ходят слухи, что этот коктейль самый старый, но, однако, это совсем другая история."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "oldfashion"

/datum/chemical_reaction/drink/oldfashion
Expand All @@ -285,7 +285,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/brandy_crusta
name = "Брэнди Круста"
desc = "Сахарная корочка может оказаться совсем не сладкой."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "brandy_crusta"

/datum/chemical_reaction/drink/brandy_crusta
Expand All @@ -310,7 +310,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/telegol
name = "Телеголь"
desc = "Многие до сих пор ломают голову над вопросом об этом коктейле. В любом случае, оно все еще существует... Или нет."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "telegol"

/datum/chemical_reaction/drink/telegol
Expand Down Expand Up @@ -339,7 +339,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/horse_neck
name = "Лошадиная Шея"
desc = "Будьте осторожны с вашими подковами."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "horse_neck"

/datum/chemical_reaction/drink/horse_neck
Expand Down Expand Up @@ -369,7 +369,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/vampiro
name = "Вампиро"
desc = "Ничего общего с вампирами не имеет, кроме цвета."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "vampiro"

/datum/chemical_reaction/drink/vampiro
Expand All @@ -393,7 +393,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/inabox
name = "Коробка"
desc = "Это... Просто коробка?"
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "inabox"

/datum/chemical_reaction/drink/inabox
Expand All @@ -420,7 +420,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/green_fairy
name = "Зеленая Фея"
desc = "Какой-то ненормальный зеленый цвет."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "green_fairy"

/datum/chemical_reaction/drink/green_fairy
Expand All @@ -446,7 +446,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/trans_siberian_express
name = "Транс-Сибирский Экспресс"
desc = "От Владивостока до белой горячки за один день."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "trans_siberian_express"

/datum/chemical_reaction/drink/trans_siberian_express
Expand Down Expand Up @@ -482,7 +482,7 @@
required_drink_type = /datum/reagent/consumable/ethanol/rainbow_sky
name = "Радужное Небо"
desc = "Напиток, переливающийся всеми цветами радуги с нотками галактики."
icon = 'modular_bandastation/objects/icons/drinks.dmi'
icon = 'modular_bandastation/objects/icons/obj/items/drinks.dmi'
icon_state = "rainbow_sky"

/datum/chemical_reaction/drink/rainbow_sky
Expand Down
Loading

0 comments on commit 4a5133a

Please sign in to comment.