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

Ремап медбея, техов медбея, библиотеки бокса #10374

Closed
Show file tree
Hide file tree
Changes from 77 commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
b41cbc6
1
DarthSidiousPalpatine Nov 14, 2021
215fcc7
1
DarthSidiousPalpatine Nov 14, 2021
073557e
Почти доделал
DarthSidiousPalpatine Nov 15, 2021
adee00b
Готово
DarthSidiousPalpatine Nov 15, 2021
411a26b
удалил лишнее сохранение
DarthSidiousPalpatine Nov 15, 2021
43d939e
Voila!
DarthSidiousPalpatine Nov 15, 2021
0426467
Переделал доступ в палаты
DarthSidiousPalpatine Nov 15, 2021
aa0fa39
Переделал трубы
DarthSidiousPalpatine Nov 15, 2021
c9a43cd
лишняя труба
DarthSidiousPalpatine Nov 15, 2021
5f9071e
Убрал дубликаты АПЦ, поправил зоны.
DarthSidiousPalpatine Nov 15, 2021
0ce26b9
Развернул компуктер в первой хирургии
DarthSidiousPalpatine Nov 15, 2021
8852b1f
Улучшения
DarthSidiousPalpatine Nov 15, 2021
f9af537
Клинер в химию
DarthSidiousPalpatine Nov 15, 2021
08064c0
Исправления part.2
DarthSidiousPalpatine Nov 15, 2021
bc13403
Исправления part.3
DarthSidiousPalpatine Nov 15, 2021
c9d3217
Добавил затемняющиеся окна в общую палату.
DarthSidiousPalpatine Nov 15, 2021
4ef6747
небольшие изменения
DarthSidiousPalpatine Nov 15, 2021
c0f0fad
Ещё немного исправлений.
DarthSidiousPalpatine Nov 15, 2021
3b702a4
Изменения
DarthSidiousPalpatine Nov 15, 2021
96b56d5
Подвинул техи
DarthSidiousPalpatine Nov 16, 2021
796776e
убрал лишнее
DarthSidiousPalpatine Nov 16, 2021
c165947
убрал хирургию
DarthSidiousPalpatine Nov 16, 2021
846a0d7
Опять добавил хирургию
DarthSidiousPalpatine Nov 16, 2021
2b1313f
Курилка в техах меда
DarthSidiousPalpatine Nov 16, 2021
7835601
Изменения
DarthSidiousPalpatine Nov 16, 2021
dc650db
Провод
DarthSidiousPalpatine Nov 16, 2021
b37c90b
Чуть переставил настенную машинерию
DarthSidiousPalpatine Nov 16, 2021
caf92c2
ещё немного исправлений. Убрал случайный мусор.
DarthSidiousPalpatine Nov 16, 2021
dba43b3
Небольшие перестановочки
DarthSidiousPalpatine Nov 16, 2021
442f484
ещё немного изменений
DarthSidiousPalpatine Nov 16, 2021
c22af04
стенка
DarthSidiousPalpatine Nov 16, 2021
a26dfa2
Ещё немного изменений
DarthSidiousPalpatine Nov 16, 2021
2c26e5e
Update boxstation.dmm
DarthSidiousPalpatine Nov 16, 2021
2909b5f
ещё немного изменений расположения
DarthSidiousPalpatine Nov 16, 2021
f01c74f
Update boxstation.dmm
DarthSidiousPalpatine Nov 16, 2021
9438092
Update boxstation.dmm
DarthSidiousPalpatine Nov 16, 2021
ddde79e
Update boxstation.dmm
DarthSidiousPalpatine Nov 16, 2021
2f5a0cd
Update boxstation.dmm
DarthSidiousPalpatine Nov 16, 2021
9dcc274
Update boxstation.dmm
DarthSidiousPalpatine Nov 16, 2021
a29aca3
Update boxstation.dmm
DarthSidiousPalpatine Nov 16, 2021
41ce494
Крио работает, отстаньте
DarthSidiousPalpatine Nov 16, 2021
fd24798
Ещё больше улучшений
DarthSidiousPalpatine Nov 16, 2021
903d1c0
Update boxstation.dmm
DarthSidiousPalpatine Nov 16, 2021
e1cc015
Update boxstation.dmm
DarthSidiousPalpatine Nov 16, 2021
83b87d0
Merge branch 'master' into Medbay_Remap
DarthSidiousPalpatine Nov 17, 2021
7acfbc7
Update boxstation.dmm
DarthSidiousPalpatine Nov 17, 2021
380a46a
изменение
DarthSidiousPalpatine Nov 18, 2021
6aa77dc
Update boxstation.dmm
DarthSidiousPalpatine Nov 18, 2021
2afdbba
Update boxstation.dmm
DarthSidiousPalpatine Nov 18, 2021
114c108
Update boxstation.dmm
DarthSidiousPalpatine Nov 18, 2021
06979ea
Update boxstation.dmm
DarthSidiousPalpatine Nov 18, 2021
0713c4e
Добавил фотокопир
DarthSidiousPalpatine Nov 22, 2021
fe10abe
немного изменений.
DarthSidiousPalpatine Nov 23, 2021
a337a68
Изменил химию
DarthSidiousPalpatine Nov 23, 2021
23f03b9
Update boxstation.dmm
DarthSidiousPalpatine Nov 23, 2021
7326915
Медбей поглощает атмосию!
DarthSidiousPalpatine Nov 23, 2021
1107f15
Update boxstation.dmm
DarthSidiousPalpatine Nov 23, 2021
6fe7daa
Merge branch 'master' into Medbay_Remap
DarthSidiousPalpatine Apr 28, 2022
f103c2b
спрайты
DarthSidiousPalpatine Apr 28, 2022
12ec2db
Update boxstation.dmm
DarthSidiousPalpatine Apr 29, 2022
05852c4
тст
DarthSidiousPalpatine Apr 30, 2022
776cc11
Merge remote-tracking branch 'upstream/master' into Medbay_Remap
DarthSidiousPalpatine Nov 10, 2022
6fce913
Update objects.dmi
DarthSidiousPalpatine Nov 10, 2022
17a19c5
Update boxstation.dmm
DarthSidiousPalpatine Nov 10, 2022
f5b286d
Update boxstation.dmm
DarthSidiousPalpatine Nov 11, 2022
fe0d8c6
хехехеееее
DarthSidiousPalpatine Nov 13, 2022
9b29465
Update boxstation.dmm
DarthSidiousPalpatine Nov 13, 2022
f385c2b
Update boxstation.dmm
DarthSidiousPalpatine Nov 13, 2022
75ce79f
Update boxstation.dmm
DarthSidiousPalpatine Nov 14, 2022
b7b2014
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
9e8d77a
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
9f7b9a5
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
dcdf2bb
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
aa78086
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
447429f
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
68d260b
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
9f16228
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
5c62fdb
Быстрофикс
DarthSidiousPalpatine Nov 15, 2022
5e2178b
Пофиксил всякое
DarthSidiousPalpatine Nov 15, 2022
3fe31bf
Merge remote-tracking branch 'upstream/master' into Medbay_Remap
DarthSidiousPalpatine Nov 15, 2022
680fa94
Update contraband.dmi
DarthSidiousPalpatine Nov 15, 2022
1bb9735
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
becab63
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
301cb55
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
8d1ca9e
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
2d2ee49
Update boxstation.dmm
DarthSidiousPalpatine Nov 15, 2022
31db740
Update chairs.dm
DarthSidiousPalpatine Nov 15, 2022
cd0e946
Merge remote-tracking branch 'upstream/master' into Medbay_Remap
DarthSidiousPalpatine Nov 17, 2022
65bab89
Update boxstation.dmm
DarthSidiousPalpatine Nov 18, 2022
183d086
Быстрый фикс всего.
DarthSidiousPalpatine Nov 23, 2022
41eec35
Update boxstation.dmm
DarthSidiousPalpatine Nov 23, 2022
18948f6
Update boxstation.dmm
DarthSidiousPalpatine Nov 24, 2022
6394da8
Merge remote-tracking branch 'upstream/master' into Medbay_Remap
DarthSidiousPalpatine Nov 24, 2022
9b1c492
Update boxstation.dmm
DarthSidiousPalpatine Nov 24, 2022
00f7ce0
Merge remote-tracking branch 'upstream/master' into Medbay_Remap
DarthSidiousPalpatine Dec 2, 2022
28a4825
Update boxstation.dmm
DarthSidiousPalpatine Dec 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
35 changes: 35 additions & 0 deletions code/game/area/station_areas.dm
Expand Up @@ -452,10 +452,21 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
icon_state = "medbay2"
sound_environment = SOUND_AREA_STATION_HALLWAY

/area/station/medical/staff_hallway
icon_state = "medbay2"

/area/station/medical/reception
name = "Medbay Reception"
icon_state = "medbay"

/area/station/medical/paramedic
name = "Paramedic Reception"
icon_state = "medbay"

/area/station/medical/reception_hall
name = "Medbay Reception hall"
icon_state = "medbay"

/area/station/medical/storage
name = "Medbay Storage"
icon_state = "medbay3"
Expand All @@ -472,6 +483,14 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
name = "Patient's Rooms"
icon_state = "patients"

/area/station/medical/hospital
name = "Hospital"
icon_state = "medbay2"

/area/station/medical/infectious_disease_ward
name = "Infectious disease ward"
icon_state = "virology"

/area/station/medical/patient_a
name = "Patient Room One"
icon_state = "patients"
Expand All @@ -480,6 +499,14 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
name = "Patient Room Two"
icon_state = "patients"

/area/station/medical/patient_c
name = "Patient Room Three"
icon_state = "patients"

/area/station/medical/patient_d
name = "Patient Room Four"
icon_state = "patients"

/area/station/medical/cmo
name = "Chief Medical Officer's office"
icon_state = "CMO"
Expand Down Expand Up @@ -516,6 +543,10 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
name = "Cryogenics"
icon_state = "cryo"

/area/station/medical/therapist
name = "Therapist Cabinet"
icon_state = "medbay3"

/area/station/medical/genetics
name = "Genetics Lab"
icon_state = "genetics"
Expand Down Expand Up @@ -593,6 +624,10 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
name = "Security Checkpoint"
icon_state = "security"

/area/station/security/medbay_checkpoint
name = "Medbay Security Checkpoint"
icon_state = "security"

/area/station/security/vacantoffice
name = "Coworking"
icon_state = "security"
Expand Down
5 changes: 5 additions & 0 deletions code/game/objects/effects/decals/contraband.dm
Expand Up @@ -596,4 +596,9 @@
desc = "This informational poster teaches the viewer what carbon dioxide is."
icon_state = "poster35_legit"

/obj/structure/sign/poster/official/sivtsev
name = "Sivtsev's chart"
desc = "This is an eye chart that can be used to measure visual acuity.."
icon_state = "Sivtsev's chart"

#undef PLACE_SPEED
51 changes: 28 additions & 23 deletions code/game/objects/structures/crates_lockers/closets/fireaxe.dm
Expand Up @@ -13,17 +13,18 @@

integrity_failure = 0.5

var/obj/item/weapon/fireaxe/fireaxe
var/obj/item/weapon/axe
var/axe_type = /obj/item/weapon/fireaxe
var/localopened = FALSE // Setting this to keep it from behaviouring like a normal closet and obstructing movement in the map. -Agouri
var/hitstaken = 0
var/smashed = FALSE

/obj/structure/closet/fireaxecabinet/Destroy()
QDEL_NULL(fireaxe)
QDEL_NULL(axe)
return ..()

/obj/structure/closet/fireaxecabinet/PopulateContents()
fireaxe = new /obj/item/weapon/fireaxe(src)
axe = new axe_type(src)

/obj/structure/closet/fireaxecabinet/attackby(obj/item/O, mob/living/user) //Marker -Agouri
//..() //That's very useful, Erro
Expand All @@ -44,15 +45,15 @@
if(smashed || localopened)
if(localopened)
localopened = FALSE
icon_state = text("fireaxe[][][][]closing", !!fireaxe, localopened, hitstaken, smashed)
icon_state = text("fireaxe[][][][]closing", !!axe, localopened, hitstaken, smashed)
addtimer(CALLBACK(src, /atom.proc/update_icon), 10)
return
..()

else if (istype(O, /obj/item/weapon/fireaxe) && localopened)
if(!fireaxe)
else if (istype(O, axe_type) && localopened)
if(!axe)
user.drop_from_inventory(O, src)
fireaxe = O
axe = O
to_chat(user, "<span class='notice'>You place the fire axe back in the [src.name].</span>")
update_icon()
else
Expand All @@ -61,18 +62,18 @@
else
localopened = !localopened
if(localopened)
icon_state = text("fireaxe[][][][]opening", !!fireaxe, localopened, hitstaken, smashed)
icon_state = text("fireaxe[][][][]opening", !!axe, localopened, hitstaken, smashed)
addtimer(CALLBACK(src, /atom.proc/update_icon), 10)
else
icon_state = text("fireaxe[][][][]closing", !!fireaxe, localopened, hitstaken, smashed)
icon_state = text("fireaxe[][][][]closing", !!axe, localopened, hitstaken, smashed)
addtimer(CALLBACK(src, /atom.proc/update_icon), 10)
else
if(smashed)
return
if(ismultitool(O))
if(localopened)
localopened = FALSE
icon_state = text("fireaxe[][][][]closing", !!fireaxe, localopened, hitstaken, smashed)
icon_state = text("fireaxe[][][][]closing", !!axe, localopened, hitstaken, smashed)
addtimer(CALLBACK(src, /atom.proc/update_icon), 10)
else
to_chat(user, "<span class='warning'>Resetting circuitry...</span>")
Expand All @@ -83,10 +84,10 @@
else
localopened = !localopened
if(localopened)
icon_state = text("fireaxe[][][][]opening", !!fireaxe, localopened, hitstaken, smashed)
icon_state = text("fireaxe[][][][]opening", !!axe, localopened, hitstaken, smashed)
addtimer(CALLBACK(src, /atom.proc/update_icon), 10)
else
icon_state = text("fireaxe[][][][]closing", !!fireaxe, localopened, hitstaken, smashed)
icon_state = text("fireaxe[][][][]closing", !!axe, localopened, hitstaken, smashed)
addtimer(CALLBACK(src, /atom.proc/update_icon), 10)

/obj/structure/closet/fireaxecabinet/play_attack_sound(damage_amount, damage_type = BRUTE, damage_flag = 0)
Expand Down Expand Up @@ -124,9 +125,9 @@
if(flags & NODECONSTRUCT)
return ..()

if(fireaxe)
fireaxe.forceMove(loc)
fireaxe = null
if(axe)
axe.forceMove(loc)
axe = null
new /obj/item/stack/sheet/metal(loc, 2)
if(!smashed)
new /obj/item/weapon/shard(loc)
Expand All @@ -143,9 +144,9 @@
return

if(localopened)
if(fireaxe)
user.try_take(fireaxe, loc)
fireaxe = null
if(axe)
user.try_take(axe, loc)
axe = null
to_chat(user, "<span class='notice'>You take the fire axe from the [name].</span>")
add_fingerprint(user)
update_icon()
Expand All @@ -155,19 +156,19 @@
else
localopened = !localopened
if(localopened)
icon_state = text("fireaxe[][][][]opening", !!fireaxe, localopened, hitstaken, smashed)
icon_state = text("fireaxe[][][][]opening", !!axe, localopened, hitstaken, smashed)
addtimer(CALLBACK(src, /atom.proc/update_icon), 10)
else
icon_state = text("fireaxe[][][][]closing", !!fireaxe, localopened, hitstaken, smashed)
icon_state = text("fireaxe[][][][]closing", !!axe, localopened, hitstaken, smashed)
addtimer(CALLBACK(src, /atom.proc/update_icon), 10)

else
localopened = !localopened //I'm pretty sure we don't need an if(src.smashed) in here. In case I'm wrong and it fucks up teh cabinet, **MARKER**. -Agouri
if(localopened)
icon_state = text("fireaxe[][][][]opening", !!fireaxe, localopened, hitstaken, smashed)
icon_state = text("fireaxe[][][][]opening", !!axe, localopened, hitstaken, smashed)
addtimer(CALLBACK(src, /atom.proc/update_icon), 10)
else
src.icon_state = text("fireaxe[][][][]closing", !!fireaxe, localopened, hitstaken, smashed)
src.icon_state = text("fireaxe[][][][]closing", !!axe, localopened, hitstaken, smashed)
addtimer(CALLBACK(src, /atom.proc/update_icon), 10)

/obj/structure/closet/fireaxecabinet/attack_paw(mob/user)
Expand All @@ -184,10 +185,14 @@
to_chat(user, "<span class='notice'>Cabinet unlocked.</span>")

/obj/structure/closet/fireaxecabinet/update_icon() // Template: fireaxe[has fireaxe][is opened][hits taken][is smashed]. If you want the opening or closing animations, add "opening" or "closing" right after the numbers
icon_state = text("fireaxe[][][][]", !!fireaxe, localopened, hitstaken, smashed)
icon_state = text("fireaxe[][][][]", !!axe, localopened, hitstaken, smashed)

/obj/structure/closet/fireaxecabinet/open()
return

/obj/structure/closet/fireaxecabinet/close()
return


/obj/structure/closet/fireaxecabinet/hatchet
axe_type = /obj/item/weapon/hatchet
10 changes: 10 additions & 0 deletions code/game/objects/structures/signs/signs_departments.dm
Expand Up @@ -15,6 +15,16 @@
desc = "A sign labelling an area containing chemical equipment."
icon_state = "chemistry1"

/obj/structure/sign/departments/pharmacy
name = "PHARMACY"
desc = "A sign labelling a pharmacy."
icon_state = "pharmacy"

/obj/structure/sign/departments/morgue
name = "MORGUE"
desc = "A sign labelling a morgue."
icon_state = "morgue"

/obj/structure/sign/departments/botany
name = "HYDROPONICS"
desc = "A sign labelling an area as a place where plants are grown."
Expand Down
47 changes: 47 additions & 0 deletions code/game/objects/structures/stool_bed_chair_nest/chairs.dm
Expand Up @@ -533,3 +533,50 @@
/obj/structure/stool/bed/chair/office/dark
icon_state = "officechair_dark"
behind = "officechair_dark_behind"

/obj/structure/stool/bed/chair/weigher/floor
name = "Floor Weighter"
desc = "A device to measure weight."
icon = 'icons/obj/objects.dmi'
icon_state = "weigher"
name = "chair"
buckle_lying = FALSE // force people to sit up in chairs when buckled

/obj/structure/stool/bed/chair/weigher/floor/examine(mob/user)
if(buckled_mob)
if(ishuman(buckled_mob))
var/mob/living/carbon/human/H = buckled_mob
var/weight = 26.1
if(H.gender == MALE)
weight = 34.8
for(var/obj/item/organ/external/BP in H.bodyparts) // find a broken/destroyed limb
if(!BP.is_stump)
switch(BP.name)
if("head")
if(H.gender == MALE)
weight += 5.6
else
weight += 4.2
if("left arm")
if(H.gender == MALE)
weight += 3.92
else
weight += 2.94
if("right arm")
if(H.gender == MALE)
weight += 3.92
else
weight += 2.94
if("left leg")
if(H.gender == MALE)
weight += 15.84
else
weight += 11.88
if("right leg")
if(H.gender == MALE)
weight += 15.84
else
weight += 11.88
if(HAS_TRAIT(H, TRAIT_FAT))
weight *= 1.4
to_chat(user, "The [H]'s weight is [weight]kg, height is 1.8m")
Binary file modified icons/obj/contraband.dmi
Binary file not shown.
Binary file modified icons/obj/decals.dmi
Binary file not shown.
Binary file modified icons/obj/objects.dmi
Binary file not shown.