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

Tad and layer fixes and changes. #52

Merged
merged 20 commits into from
Jul 29, 2024
Merged
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
32 changes: 16 additions & 16 deletions _maps/map_files/Talos/TGS_Talos.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -4344,7 +4344,7 @@
dir = 4
},
/obj/effect/decal/cleanable/liquid_fuel,
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 8
},
/turf/open/floor/mainship/metal/full,
Expand Down Expand Up @@ -8418,7 +8418,7 @@
/turf/open/floor/carpet,
/area/mainship/command/corporateliaison)
"eNx" = (
/obj/machinery/light/mainship/floor,
/obj/machinery/light/floor,
/turf/open/floor/mainship/orange{
dir = 1
},
Expand Down Expand Up @@ -15008,7 +15008,7 @@
/turf/closed/wall/mainship/alt,
/area/mainship/engineering/port_atmos)
"jeh" = (
/obj/machinery/light/mainship/floor,
/obj/machinery/light/floor,
/turf/open/floor/mainship/red{
dir = 1
},
Expand Down Expand Up @@ -17291,7 +17291,7 @@
dir = 8;
id = "supply_elevator_railing"
},
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 8;
pixel_x = null
},
Expand Down Expand Up @@ -19341,7 +19341,7 @@
dir = 1;
id = "supply_elevator_railing"
},
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 1;
pixel_x = null
},
Expand Down Expand Up @@ -20994,7 +20994,7 @@
dir = 8
},
/obj/structure/prop/mainship/hangar_stencil,
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 8
},
/turf/open/floor/mainship/metal/full,
Expand Down Expand Up @@ -21677,7 +21677,7 @@
},
/area/mainship/squads/alpha)
"mPy" = (
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 1
},
/turf/open/floor/mainship/blue,
Expand Down Expand Up @@ -23730,7 +23730,7 @@
dir = 4
},
/obj/effect/ai_node,
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 8
},
/turf/open/floor/mainship/metal/full,
Expand Down Expand Up @@ -24122,7 +24122,7 @@
/obj/effect/turf_decal/siding/dark{
dir = 4
},
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 4
},
/turf/open/floor/mainship/metal/full,
Expand Down Expand Up @@ -24943,7 +24943,7 @@
/turf/open/floor/plating,
/area/mainship/hull/upper_hull)
"oMw" = (
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 1
},
/turf/open/floor/mainship/emerald,
Expand Down Expand Up @@ -29465,7 +29465,7 @@
/obj/effect/turf_decal/warning_stripes/thin{
dir = 8
},
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 4
},
/turf/open/floor/mainship/metal/full,
Expand Down Expand Up @@ -30267,7 +30267,7 @@
dir = 2;
id = "supply_elevator_railing"
},
/obj/machinery/light/mainship/floor,
/obj/machinery/light/floor,
/turf/open/floor/prison/yellow{
dir = 1
},
Expand Down Expand Up @@ -33420,7 +33420,7 @@
/obj/machinery/door/poddoor/railing{
id = "supply_elevator_railing"
},
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 4;
pixel_x = null
},
Expand Down Expand Up @@ -36123,7 +36123,7 @@
/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer3{
dir = 8
},
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 1;
pixel_y = 4
},
Expand Down Expand Up @@ -38584,7 +38584,7 @@
/turf/open/floor/prison/marked,
/area/mainship/command/self_destruct)
"xjK" = (
/obj/machinery/light/mainship/floor,
/obj/machinery/light/floor,
/obj/structure/sign/semiotic/bathmens{
pixel_y = 24;
pixel_x = 8
Expand Down Expand Up @@ -40135,7 +40135,7 @@
/obj/effect/turf_decal/siding/dark{
dir = 8
},
/obj/machinery/light/mainship/floor{
/obj/machinery/light/floor{
dir = 8
},
/turf/open/floor/mainship/metal/full,
Expand Down
12 changes: 6 additions & 6 deletions _maps/shuttles/minidropship_combat_tad.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
/obj/structure/barricade/plasteel{
dir = 8
},
/obj/machinery/light{
dir = 1
/obj/machinery/light/floor{
dir = 8
},
/turf/open/floor/mainship/mono,
/area/shuttle/minidropship)
Expand Down Expand Up @@ -58,12 +58,12 @@
/turf/open/floor/mainship/mono,
/area/shuttle/minidropship)
"s" = (
/obj/machinery/light,
/obj/machinery/light/floor,
/turf/open/floor/plating/plating_catwalk,
/area/shuttle/minidropship)
"u" = (
/obj/machinery/light,
/obj/machinery/telecomms/relay/preset/telecomms/onboard/nondense,
/obj/machinery/light/floor,
/turf/open/floor/plating/plating_catwalk,
/area/shuttle/minidropship)
"v" = (
Expand Down Expand Up @@ -103,8 +103,8 @@
/obj/structure/barricade/plasteel{
dir = 4
},
/obj/machinery/light{
dir = 1
/obj/machinery/light/floor{
dir = 4
},
/turf/open/floor/mainship/mono,
/area/shuttle/minidropship)
Expand Down
6 changes: 4 additions & 2 deletions _maps/shuttles/minidropship_factorio.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
id = "minidropship_podlock"
},
/obj/machinery/light{
dir = 1
dir = 1;
pixel_y_offset = 0
},
/turf/open/floor/mainship/mono,
/area/shuttle/minidropship)
Expand Down Expand Up @@ -169,7 +170,8 @@
id = "minidropship_podlock"
},
/obj/machinery/light{
dir = 1
dir = 1;
pixel_y_offset = 0
},
/turf/open/floor/mainship/mono,
/area/shuttle/minidropship)
Expand Down
11 changes: 4 additions & 7 deletions _maps/shuttles/minidropship_standard.dmm
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
"a" = (
/obj/machinery/door_control{
dir = 1;
id = "minidropship_podlock";
name = "outer door-control"
},
/obj/structure/dropship_piece/tadpole/tadpole_nose/right{
dir = 1;
pixel_y = 32
Expand Down Expand Up @@ -184,7 +179,8 @@
id = "minidropship_podlock"
},
/obj/machinery/light{
dir = 1
dir = 1;
pixel_y_offset = 0
},
/obj/machinery/door/poddoor/shutters/transit/nonsmoothing,
/turf/open/floor/mainship/mono,
Expand Down Expand Up @@ -218,7 +214,8 @@
id = "minidropship_podlock"
},
/obj/machinery/light{
dir = 1
dir = 1;
pixel_y_offset = 0
},
/obj/machinery/door/poddoor/shutters/transit/nonsmoothing,
/turf/open/floor/mainship/mono,
Expand Down
23 changes: 15 additions & 8 deletions _maps/shuttles/minidropship_umbilical.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@
},
/turf/open/floor/plating/plating_catwalk,
/area/shuttle/minidropship)
"n" = (
/obj/structure/bed/chair/dropship/passenger{
dir = 4
},
/obj/effect/turf_decal/tile/transparent/dark_blue/full,
/turf/open/floor/mainship/mono,
/area/shuttle/minidropship)
"q" = (
/turf/open/floor/plating/plating_catwalk,
/area/shuttle/minidropship)
Expand All @@ -87,9 +94,8 @@
/turf/open/floor/mainship/floor,
/area/shuttle/minidropship)
"u" = (
/obj/effect/turf_decal/tile/transparent/dark_blue/full,
/obj/docking_port/mobile/marine_dropship/minidropship,
/turf/open/floor/mainship/mono,
/turf/open/floor/plating/plating_catwalk,
/area/shuttle/minidropship)
"v" = (
/obj/effect/attach_point/crew_weapon/minidropship,
Expand Down Expand Up @@ -143,7 +149,8 @@
/obj/structure/bed/chair/dropship/passenger{
dir = 8
},
/turf/open/floor/plating/plating_catwalk,
/obj/effect/turf_decal/tile/transparent/dark_blue/full,
/turf/open/floor/mainship/mono,
/area/shuttle/minidropship)
"J" = (
/obj/structure/bed/chair/dropship/passenger{
Expand Down Expand Up @@ -253,8 +260,8 @@ s
l
l
F
F
X
R
"}
(4,1,1) = {"
t
Expand All @@ -264,8 +271,8 @@ J
u
q
D
n
F
R
"}
(5,1,1) = {"
x
Expand All @@ -274,9 +281,9 @@ Z
q
v
q
q
C
F
F
"}
(6,1,1) = {"
E
Expand All @@ -286,8 +293,8 @@ S
e
I
j
I
F
N
"}
(7,1,1) = {"
P
Expand All @@ -297,6 +304,6 @@ a
a
a
F
F
f
N
"}
14 changes: 8 additions & 6 deletions code/game/objects/machinery/door_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@
icon_state = "doorctrl0"
desc = "A remote control-switch for a door."
power_channel = ENVIRON
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 2
active_power_usage = 4
var/id = null
var/range = 10
var/normaldoorcontrol = CONTROL_POD_DOORS
var/desiredstate = 0 // Zero is closed, 1 is open.
/// Zero is closed, 1 is open.
var/desiredstate = 0
var/specialfunctions = 1
var/directional = TRUE //if true we apply directional offsets, if not the door control is free floating
anchored = TRUE
/// if true we apply directional offsets, if not the door control is free floating
var/directional = TRUE
var/pressed = FALSE
use_power = IDLE_POWER_USE
idle_power_usage = 2
active_power_usage = 4

/obj/machinery/door_control/unmeltable
resistance_flags = RESIST_ALL
Expand Down
8 changes: 4 additions & 4 deletions code/game/objects/structures/crates_lockers/walllocker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
dir = ndir
switch(dir)
if(NORTH)
pixel_y = -32
pixel_y = -48
if(SOUTH)
pixel_y = 32
pixel_y = 16
if(EAST)
pixel_x = -32
pixel_x = -48
if(WEST)
pixel_x = 32
pixel_x = 16

/obj/structure/closet/walllocker/emerglocker //wall mounted emergency closet
name = "emergency locker"
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/structures/dropship_equipment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
name = "rear attach point"
base_category = DROPSHIP_CREW_WEAPON
density = FALSE
layer = BELOW_OBJ_LAYER

/obj/effect/attach_point/crew_weapon/dropship1
ship_tag = SHUTTLE_ALAMO
Expand Down
6 changes: 2 additions & 4 deletions code/game/objects/structures/window.dm
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
name = "reinforced window"
desc = "A glass window with a special rod matrice inside a wall frame. It looks rather strong. Might take a few good hits to shatter it."
icon = 'icons/obj/smooth_objects/ship_window.dmi'
icon_state = "window-reinforced"
icon_state = "ship_window-0"
basestate = "ship_window"
base_icon_state = "ship_window"
max_integrity = 100 //Was 600
Expand Down Expand Up @@ -483,11 +483,10 @@
/obj/structure/window/framed/mainship/hull
name = "hull window"
desc = "A glass window with a special rod matrice inside a wall frame. This one was made out of exotic materials to prevent hull breaches. No way to get through here."
//icon_state = "rwindow0_debug" //Uncomment to check hull in the map editor
icon_state = "ship_window_invincible"
damageable = FALSE
deconstructable = FALSE
resistance_flags = RESIST_ALL
icon_state = "window-invincible"
max_integrity = 1000000 //Failsafe, shouldn't matter

/obj/structure/window/framed/mainship/hull/canterbury //So we can wallsmooth properly.
Expand All @@ -505,7 +504,6 @@
desc = "A borosilicate glass window infused with kevlar fibres and mounted within a special shock-absorbing frame, this is gonna be seriously hard to break through."
max_integrity = 1000
deconstructable = FALSE
icon_state = "window-reinforced"

/obj/structure/window/framed/mainship/white
icon = 'icons/obj/smooth_objects/wwindow.dmi'
Expand Down
Loading
Loading