Skip to content

Commit

Permalink
windows
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Feb 26, 2024
1 parent c3725ff commit 4456d6b
Show file tree
Hide file tree
Showing 12 changed files with 49 additions and 14 deletions.
28 changes: 28 additions & 0 deletions code/game/objects/structures/window.dm
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,34 @@
unacidable = TRUE
health = 1000000 //Failsafe, shouldn't matter

/obj/structure/window/framed/almayer/aicore
icon_state = "ai_rwindow0"
basestate = "ai_rwindow"
window_frame = /obj/structure/window_frame/almayer/aicore

/obj/structure/window/framed/almayer/aicore/hull
name = "hull window"
desc = "An ultra-reinforced window designed to keep research a secure area. This one was made out of exotic materials to prevent hull breaches. No way to get through here."
not_damageable = TRUE
not_deconstructable = TRUE
unslashable = TRUE
unacidable = TRUE
health = 1000000 //Failsafe, shouldn't matter

/obj/structure/window/framed/almayer/aicore/white
icon_state = "w_ai_rwindow0"
basestate = "w_ai_rwindow"
window_frame = /obj/structure/window_frame/almayer/aicore/white

/obj/structure/window/framed/almayer/aicore/white/hull
name = "hull window"
desc = "An ultra-reinforced window designed to keep research a secure area. This one was made out of exotic materials to prevent hull breaches. No way to get through here."
not_damageable = TRUE
not_deconstructable = TRUE
unslashable = TRUE
unacidable = TRUE
health = 1000000 //Failsafe, shouldn't matter

/obj/structure/window/framed/colony
name = "window"
icon_state = "col_window0"
Expand Down
10 changes: 10 additions & 0 deletions code/game/objects/structures/window_frame.dm
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,16 @@
basestate = "white_window"
window_type = /obj/structure/window/framed/almayer/white

/obj/structure/window_frame/almayer/aicore
icon_state = "ai_window0_frame"
basestate = "ai_window"
window_type = /obj/structure/window/framed/almayer/aicore

/obj/structure/window_frame/almayer/aicore/white
icon_state = "w_ai_window0_frame"
basestate = "w_ai_window"
window_type = /obj/structure/window/framed/almayer/aicore/white

/obj/structure/window_frame/almayer/requisitions/attackby(obj/item/W, mob/living/user)
if(istype(W, sheet_type))
to_chat(user, SPAN_WARNING("You can't repair this window."))
Expand Down
Binary file removed icons/aicore_tan/aiblastdoors_shutters.dmi
Binary file not shown.
Binary file removed icons/aicore_tan/aicore.dmi
Binary file not shown.
Binary file removed icons/aicore_tan/almayer_aicore.dmi
Binary file not shown.
Binary file removed icons/aicore_tan/almayer_aicore_white.dmi
Binary file not shown.
Binary file removed icons/aicore_white/aiblastdoors_shutters.dmi
Binary file not shown.
Binary file removed icons/aicore_white/aicore.dmi
Binary file not shown.
Binary file removed icons/aicore_white/almayer_aicore_white.dmi
Binary file not shown.
Binary file modified icons/turf/walls/window_frames.dmi
Binary file not shown.
Binary file modified icons/turf/walls/windows.dmi
Binary file not shown.
25 changes: 11 additions & 14 deletions maps/map_files/USS_Almayer/USS_Almayer.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -62225,9 +62225,6 @@
icon_state = "dark_sterile"
},
/area/almayer/engineering/upper_engineering/port)
"rna" = (
/turf/closed/wall/almayer/aicore,
/area/almayer/command/airoom)
"rng" = (
/turf/closed/wall/almayer,
/area/almayer/maint/hull/lower/l_m_p)
Expand Down Expand Up @@ -77296,7 +77293,7 @@
/turf/open/floor/plating/plating_catwalk,
/area/almayer/hallways/upper/stern_hallway)
"wnh" = (
/obj/structure/window/framed/almayer/white/hull,
/obj/structure/window/framed/almayer/aicore/hull,
/turf/open/floor/plating,
/area/almayer/command/airoom)
"wnw" = (
Expand Down Expand Up @@ -120951,7 +120948,7 @@ oJR
tFe
asD
xQV
gBO
qQS
aqU
aCZ
dgg
Expand Down Expand Up @@ -121761,7 +121758,7 @@ mLE
bUx
mLE
tmK
gBO
qQS
aug
avL
aqU
Expand Down Expand Up @@ -140286,8 +140283,8 @@ daz
daz
kfU
daz
rna
rna
ebN
ebN
lnS
uVv
yit
Expand Down Expand Up @@ -140490,8 +140487,8 @@ daz
daz
daz
sGZ
rna
rna
ebN
ebN
roH
ebN
ebN
Expand Down Expand Up @@ -141302,8 +141299,8 @@ daz
daz
daz
tHu
rna
rna
ebN
ebN
gXs
ebN
ebN
Expand Down Expand Up @@ -141504,8 +141501,8 @@ daz
daz
sTV
daz
rna
rna
ebN
ebN
gbg
uVv
yit
Expand Down

0 comments on commit 4456d6b

Please sign in to comment.