Skip to content

Commit

Permalink
[SPRITES] Syndicate suit storage units (ParadiseSS13#27405)
Browse files Browse the repository at this point in the history
* Mapping changes and code fixes

* Some minor sprite improvements

* Remove unused variables

* Updatepath renamed

---------

Co-authored-by: Adrer <[email protected]>
  • Loading branch information
Adrer and Adrer authored Nov 27, 2024
1 parent 324f145 commit 878477d
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 32 deletions.
4 changes: 2 additions & 2 deletions _maps/map_files/stations/boxstation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -45311,7 +45311,7 @@
name = "west bump";
pixel_x = -28
},
/obj/machinery/suit_storage_unit/ce/secure,
/obj/machinery/suit_storage_unit/industrial/ce/secure,
/turf/simulated/floor/plasteel{
dir = 10;
icon_state = "yellow"
Expand Down Expand Up @@ -50724,7 +50724,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/hardsuitstorage)
"dsK" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel,
/area/station/engineering/hardsuitstorage)
"dsL" = (
Expand Down
12 changes: 6 additions & 6 deletions _maps/map_files/stations/cerestation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -16121,7 +16121,7 @@
/area/station/engineering/atmos)
"bPz" = (
/obj/machinery/light,
/obj/machinery/suit_storage_unit/ce/secure,
/obj/machinery/suit_storage_unit/industrial/ce/secure,
/obj/machinery/computer/guestpass{
pixel_x = -28;
pixel_y = null
Expand Down Expand Up @@ -16705,21 +16705,21 @@
},
/area/station/engineering/smes)
"bRK" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel{
dir = 10;
icon_state = "darkyellow"
},
/area/station/engineering/smes)
"bRL" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/obj/machinery/light,
/turf/simulated/floor/plasteel{
icon_state = "darkyellow"
},
/area/station/engineering/smes)
"bRM" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel{
dir = 6;
icon_state = "darkyellow"
Expand Down Expand Up @@ -70773,7 +70773,7 @@
d2 = 8;
icon_state = "4-8"
},
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel{
icon_state = "darkyellow";
dir = 1
Expand Down Expand Up @@ -84635,7 +84635,7 @@
d2 = 2;
icon_state = "1-2"
},
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel{
icon_state = "darkyellow";
dir = 1
Expand Down
12 changes: 6 additions & 6 deletions _maps/map_files/stations/deltastation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -35019,7 +35019,7 @@
/area/station/hallway/primary/port/west)
"bWI" = (
/obj/machinery/alarm/directional/east,
/obj/machinery/suit_storage_unit/ce/secure,
/obj/machinery/suit_storage_unit/industrial/ce/secure,
/obj/effect/turf_decal/stripes/line{
dir = 10
},
Expand Down Expand Up @@ -43838,7 +43838,7 @@
},
/area/station/supply/expedition)
"cuY" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/obj/machinery/ai_status_display{
pixel_y = 32
},
Expand All @@ -43851,7 +43851,7 @@
/obj/machinery/light{
dir = 1
},
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/obj/item/radio/intercom{
name = "north bump";
pixel_y = 28
Expand All @@ -43860,7 +43860,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/hardsuitstorage)
"cva" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/obj/machinery/status_display{
pixel_y = 32
},
Expand Down Expand Up @@ -45472,7 +45472,7 @@
/obj/machinery/light{
dir = 8
},
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/obj/effect/decal/cleanable/cobweb,
/obj/effect/decal/cleanable/dirt,
/obj/effect/turf_decal/delivery/hollow,
Expand Down Expand Up @@ -48872,7 +48872,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/equipmentstorage)
"cIP" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/obj/effect/turf_decal/delivery/hollow,
/turf/simulated/floor/plasteel,
/area/station/engineering/equipmentstorage)
Expand Down
12 changes: 6 additions & 6 deletions _maps/map_files/stations/emeraldstation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -29417,7 +29417,7 @@
},
/area/station/science/toxins/mixing)
"fwd" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/obj/effect/turf_decal/stripes/line,
/turf/simulated/floor/plating,
/area/station/engineering/secure_storage)
Expand Down Expand Up @@ -61248,7 +61248,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"lsu" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "yellowcorner"
Expand Down Expand Up @@ -87592,7 +87592,7 @@
},
/area/station/hallway/secondary/entry)
"qla" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel{
dir = 9;
icon_state = "yellow"
Expand Down Expand Up @@ -104579,7 +104579,7 @@
/turf/simulated/floor/engine,
/area/station/engineering/atmos/asteroid_filtering)
"tod" = (
/obj/machinery/suit_storage_unit/ce/secure,
/obj/machinery/suit_storage_unit/industrial/ce/secure,
/turf/simulated/floor/plasteel{
dir = 5;
icon_state = "yellow"
Expand Down Expand Up @@ -107458,7 +107458,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft2)
"tRV" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel{
dir = 10;
icon_state = "yellow"
Expand Down Expand Up @@ -121797,7 +121797,7 @@
/turf/space,
/area/space)
"wyR" = (
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/obj/item/toy/figure/crew/engineer{
pixel_y = 17;
pixel_x = -9
Expand Down
8 changes: 4 additions & 4 deletions _maps/map_files/stations/metastation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@
/area/station/maintenance/fore)
"ajS" = (
/obj/effect/turf_decal/delivery/hollow,
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel,
/area/station/engineering/hardsuitstorage)
"akg" = (
Expand Down Expand Up @@ -1100,7 +1100,7 @@
c_tag = "Engineering - Storage"
},
/obj/effect/turf_decal/delivery/hollow,
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel,
/area/station/engineering/hardsuitstorage)
"akR" = (
Expand Down Expand Up @@ -6056,7 +6056,7 @@
/obj/machinery/computer/security/telescreen/entertainment{
pixel_y = -29
},
/obj/machinery/suit_storage_unit/ce/secure,
/obj/machinery/suit_storage_unit/industrial/ce/secure,
/turf/simulated/floor/plasteel{
icon_state = "darkgrey"
},
Expand Down Expand Up @@ -6491,7 +6491,7 @@
dir = 1
},
/obj/effect/turf_decal/delivery/hollow,
/obj/machinery/suit_storage_unit/engine/secure,
/obj/machinery/suit_storage_unit/industrial/engine/secure,
/turf/simulated/floor/plasteel,
/area/station/engineering/hardsuitstorage)
"aIA" = (
Expand Down
16 changes: 8 additions & 8 deletions code/game/machinery/suit_storage_unit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,30 +84,26 @@
/obj/machinery/suit_storage_unit/blueshield/secure
secure = TRUE

/obj/machinery/suit_storage_unit/engine
/obj/machinery/suit_storage_unit/industrial/engine
name = "engineering suit storage unit"
icon_state = "industrial"
base_icon_state = "industrial"
mask_type = /obj/item/clothing/mask/breath
boots_type = /obj/item/clothing/shoes/magboots
suit_type = /obj/item/mod/control/pre_equipped/engineering
req_access = list(ACCESS_ENGINE_EQUIP)
board_type = /obj/item/circuitboard/suit_storage_unit/industrial

/obj/machinery/suit_storage_unit/engine/secure
/obj/machinery/suit_storage_unit/industrial/engine/secure
secure = TRUE

/obj/machinery/suit_storage_unit/ce
/obj/machinery/suit_storage_unit/industrial/ce
name = "chief engineer's suit storage unit"
icon_state = "industrial"
base_icon_state = "industrial"
mask_type = /obj/item/clothing/mask/gas
boots_type = /obj/item/clothing/shoes/magboots/advance
suit_type = /obj/item/mod/control/pre_equipped/advanced
req_access = list(ACCESS_CE)
board_type = /obj/item/circuitboard/suit_storage_unit/industrial

/obj/machinery/suit_storage_unit/ce/secure
/obj/machinery/suit_storage_unit/industrial/ce/secure
secure = TRUE

/obj/machinery/suit_storage_unit/rd
Expand Down Expand Up @@ -193,6 +189,7 @@
mask_type = /obj/item/clothing/mask/gas/explorer
suit_type = /obj/item/mod/control/pre_equipped/standard/explorer
req_access = list(ACCESS_EXPEDITION)

/obj/machinery/suit_storage_unit/cmo
name = "chief medical officer's suit storage unit"
mask_type = /obj/item/clothing/mask/breath
Expand Down Expand Up @@ -230,6 +227,8 @@

/obj/machinery/suit_storage_unit/syndicate
name = "syndicate suit storage unit"
icon_state = "syndicate"
base_icon_state = "syndicate"
mask_type = /obj/item/clothing/mask/gas/syndicate
suit_type = /obj/item/mod/control/pre_equipped/nuclear
req_access = list(ACCESS_SYNDICATE)
Expand Down Expand Up @@ -306,6 +305,7 @@

if(state_open)
. += "[base_icon_state]_open"
. += "[base_icon_state]_lights_open"
if(suit)
. += "[base_icon_state]_suit"
if(helmet)
Expand Down
Binary file modified icons/obj/machines/suit_storage.dmi
Binary file not shown.
2 changes: 2 additions & 0 deletions tools/UpdatePaths/Scripts/27405_ssu_subtypes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/obj/machinery/suit_storage_unit/engine/@SUBTYPES : /obj/machinery/suit_storage_unit/industrial/engine/@SUBTYPES{@OLD}
/obj/machinery/suit_storage_unit/ce/@SUBTYPES : /obj/machinery/suit_storage_unit/industrial/ce/@SUBTYPES{@OLD}

0 comments on commit 878477d

Please sign in to comment.