Skip to content

Commit

Permalink
Modular Tablets: Converting PDAs to the NtOS System (tgstation#65755)
Browse files Browse the repository at this point in the history
Converts PDA functions and applications over to modular tablets and devices, namely the messaging function. HREF data code is quite honestly clunky and difficult to work with, as I've definitely experienced whilst working on this. By moving from this system over the easier to read (and frankly, easier to add to) TGUI system, you get cleaner looking and more user friendly UIs and a greater degree of standardization amongst other UIs.

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
  • Loading branch information
4 people authored Apr 20, 2022
1 parent ee7f0d0 commit cd1b891
Show file tree
Hide file tree
Showing 146 changed files with 2,734 additions and 3,322 deletions.
4 changes: 2 additions & 2 deletions _maps/RandomRuins/IceRuins/icemoon_surface_engioutpost.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -532,13 +532,13 @@
/turf/open/floor/plating,
/area/ruin/planetengi)
"cI" = (
/obj/item/pda/clear{
/obj/item/modular_computer/tablet/pda/clear{
note = "Chief's asked me to check on the machinery inside PDA. He's also worried about Build, but i'm sure Harry'll handle the construction. I just need to work on Internals. Fuck i'm hungry"
},
/turf/open/floor/iron,
/area/ruin/planetengi)
"cJ" = (
/obj/item/pda/engineering{
/obj/item/modular_computer/tablet/pda/engineering{
note = "To-do: Check on SM status. Get a pint at eat. Nag the research manager for RCDs."
},
/turf/open/floor/iron,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
dir = 8;
pixel_x = -24
},
/obj/item/pda/chameleon/broken{
/obj/item/modular_computer/tablet/pda/chameleon/broken{
pixel_x = 5;
pixel_y = 4
},
Expand Down
2 changes: 1 addition & 1 deletion _maps/RandomRuins/SpaceRuins/bigderelict1.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@
/area/ruin/space/has_grav/derelictoutpost/cargostorage)
"eC" = (
/obj/structure/closet/crate,
/obj/item/pda/clear,
/obj/item/modular_computer/tablet/pda/clear,
/obj/effect/turf_decal/delivery,
/turf/open/floor/iron,
/area/ruin/space/has_grav/derelictoutpost/cargostorage)
Expand Down
2 changes: 1 addition & 1 deletion _maps/RandomRuins/SpaceRuins/derelict7.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
/obj/effect/turf_decal/trimline/neutral/warning{
dir = 1
},
/obj/item/cartridge/signal,
/obj/item/computer_hardware/hard_drive/role/signal,
/turf/open/floor/iron/dark/side/airless{
dir = 1
},
Expand Down
2 changes: 1 addition & 1 deletion _maps/RandomRuins/SpaceRuins/forgottenship.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@
},
/obj/item/toy/nuke,
/obj/item/clothing/under/chameleon,
/obj/item/pda/chameleon,
/obj/item/modular_computer/tablet/pda/chameleon,
/obj/item/clothing/mask/chameleon,
/obj/item/card/id/advanced/chameleon,
/turf/open/floor/mineral/plastitanium,
Expand Down
18 changes: 8 additions & 10 deletions _maps/RandomZLevels/SnowCabin.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -959,12 +959,11 @@
/area/awaymission/cabin/snowforest/sovietsurface)
"dm" = (
/obj/structure/table/reinforced,
/obj/item/pda/syndicate{
background_color = "#0039A6";
default_cartridge = /obj/item/cartridge/virus/mime;
/obj/item/modular_computer/tablet/pda/syndicate{
default_disk = /obj/item/computer_hardware/hard_drive/role/virus/mime;
desc = "A portable microcomputer by Thinktronic Systems, LTD. Seems like it may have useful information on it.";
name = "soviet PDA";
note = "<b>TRANSLATED TO GALACTIC COMMON:</b><br>My partner has left to help those Nanotrasen fucks three days ago. They said that a distress signal came from down south and they had to check it out. How fucking long does it take to investigate a mining outpost? Either those Nanotrasen fuckers betrayed us or something really did go wrong. Either way, I'm leaving before this becomes an issue for me and anyone else here. That dumb idiot."
name = "soviet tablet";
note = "TRANSLATED TO GALACTIC COMMON: My partner has left to help those Nanotrasen fucks three days ago. They said that a distress signal came from down south and they had to check it out. How fucking long does it take to investigate a mining outpost? Either those Nanotrasen fuckers betrayed us or something really did go wrong. Either way, I'm leaving before this becomes an issue for me and anyone else here. That dumb idiot."
},
/turf/open/floor/plating/snowed/snow_cabin,
/area/awaymission/cabin/snowforest/sovietsurface)
Expand Down Expand Up @@ -3563,12 +3562,11 @@
/area/awaymission/cabin/caves)
"nb" = (
/obj/effect/turf_decal/weather/snow,
/obj/item/pda/syndicate{
background_color = "#0039A6";
default_cartridge = /obj/item/cartridge/virus/clown;
/obj/item/modular_computer/tablet/pda/syndicate{
default_disk = /obj/item/computer_hardware/hard_drive/role/virus/clown;
desc = "A portable microcomputer by Thinktronic Systems, LTD. Seems like it may have useful information on it.";
name = "soviet PDA";
note = "<b>TRANSLATED TO GALACTIC COMMON:</b><br>DO NOT GO SOUTH."
name = "soviet tablet";
note = "TRANSLATED TO GALACTIC COMMON: DO NOT GO SOUTH."
},
/obj/effect/decal/remains/human{
color = "#72e4fa"
Expand Down
7 changes: 2 additions & 5 deletions _maps/RandomZLevels/moonoutpost19.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -2893,11 +2893,8 @@
/area/awaymission/moonoutpost19/research)
"hr" = (
/obj/structure/table,
/obj/item/cartridge/signal/ordnance,
/obj/item/cartridge/signal/ordnance{
pixel_x = -4;
pixel_y = 2
},
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/machinery/firealarm/directional/north,
/turf/open/floor/iron/cafeteria{
dir = 5
Expand Down
7 changes: 2 additions & 5 deletions _maps/RandomZLevels/undergroundoutpost45.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -6061,11 +6061,8 @@
/area/awaymission/undergroundoutpost45/research)
"nk" = (
/obj/structure/table,
/obj/item/cartridge/signal/ordnance,
/obj/item/cartridge/signal/ordnance{
pixel_x = -4;
pixel_y = 2
},
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/effect/decal/cleanable/dirt,
/turf/open/floor/iron/cafeteria{
dir = 5;
Expand Down
64 changes: 15 additions & 49 deletions _maps/map_files/Deltastation/DeltaStation2.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -35034,15 +35034,9 @@
"hYe" = (
/obj/structure/table/glass,
/obj/item/folder/blue,
/obj/item/cartridge/medical{
pixel_x = -3
},
/obj/item/cartridge/medical{
pixel_x = 3
},
/obj/item/cartridge/chemistry{
pixel_y = 6
},
/obj/item/computer_hardware/hard_drive/role/medical,
/obj/item/computer_hardware/hard_drive/role/medical,
/obj/item/computer_hardware/hard_drive/role/chemistry,
/obj/effect/turf_decal/tile/blue{
dir = 4
},
Expand Down Expand Up @@ -56416,15 +56410,9 @@
/area/service/hydroponics)
"opa" = (
/obj/structure/table/reinforced,
/obj/item/cartridge/quartermaster{
pixel_x = -6
},
/obj/item/cartridge/quartermaster{
pixel_x = 6
},
/obj/item/cartridge/quartermaster{
pixel_y = 6
},
/obj/item/computer_hardware/hard_drive/role/quartermaster,
/obj/item/computer_hardware/hard_drive/role/quartermaster,
/obj/item/computer_hardware/hard_drive/role/quartermaster,
/obj/item/gps/mining,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/turf/open/floor/iron,
Expand Down Expand Up @@ -67582,31 +67570,15 @@
/turf/open/floor/iron,
/area/medical/medbay/central)
"rFD" = (
/obj/item/cartridge/atmos{
pixel_x = -2;
pixel_y = 8
},
/obj/item/cartridge/atmos{
pixel_x = -2;
pixel_y = 4
},
/obj/item/cartridge/atmos{
pixel_x = -2
},
/obj/item/computer_hardware/hard_drive/role/atmos,
/obj/item/computer_hardware/hard_drive/role/atmos,
/obj/item/computer_hardware/hard_drive/role/atmos,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/machinery/airalarm/directional/south,
/obj/effect/turf_decal/bot,
/obj/item/cartridge/engineering{
pixel_x = 6;
pixel_y = 8
},
/obj/item/cartridge/engineering{
pixel_x = 6;
pixel_y = 4
},
/obj/item/cartridge/engineering{
pixel_x = 6
},
/obj/item/computer_hardware/hard_drive/role/engineering,
/obj/item/computer_hardware/hard_drive/role/engineering,
/obj/item/computer_hardware/hard_drive/role/engineering,
/obj/structure/rack,
/turf/open/floor/iron/dark,
/area/command/heads_quarters/ce)
Expand Down Expand Up @@ -71629,15 +71601,9 @@
/area/command/heads_quarters/hop)
"sNs" = (
/obj/structure/table,
/obj/item/cartridge/signal/ordnance{
pixel_x = 6
},
/obj/item/cartridge/signal/ordnance{
pixel_x = -6
},
/obj/item/cartridge/signal/ordnance{
pixel_y = 6
},
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/machinery/camera/directional/east{
c_tag = "Science - Research Director's Office";
name = "science camera";
Expand Down
52 changes: 13 additions & 39 deletions _maps/map_files/IceBoxStation/IceBoxStation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -27314,15 +27314,9 @@
/area/service/library)
"mwr" = (
/obj/structure/table/glass,
/obj/item/cartridge/medical{
pixel_x = -3
},
/obj/item/cartridge/medical{
pixel_x = 3
},
/obj/item/cartridge/chemistry{
pixel_y = 6
},
/obj/item/computer_hardware/hard_drive/role/medical,
/obj/item/computer_hardware/hard_drive/role/medical,
/obj/item/computer_hardware/hard_drive/role/chemistry,
/obj/machinery/status_display/evac/directional/north,
/obj/effect/turf_decal/tile/blue/full,
/turf/open/floor/iron/dark,
Expand Down Expand Up @@ -32973,15 +32967,9 @@
},
/obj/structure/table,
/obj/item/coin/silver,
/obj/item/cartridge/quartermaster,
/obj/item/cartridge/quartermaster{
pixel_x = 6;
pixel_y = 5
},
/obj/item/cartridge/quartermaster{
pixel_x = -4;
pixel_y = 7
},
/obj/item/computer_hardware/hard_drive/role/quartermaster,
/obj/item/computer_hardware/hard_drive/role/quartermaster,
/obj/item/computer_hardware/hard_drive/role/quartermaster,
/obj/item/clipboard,
/turf/open/floor/iron,
/area/cargo/qm)
Expand Down Expand Up @@ -45303,18 +45291,10 @@
/area/command/meeting_room)
"vkB" = (
/obj/structure/table/reinforced,
/obj/item/cartridge/engineering{
pixel_x = 4;
pixel_y = 5
},
/obj/item/cartridge/engineering{
pixel_x = -3;
pixel_y = 2
},
/obj/item/cartridge/engineering{
pixel_x = 3
},
/obj/item/cartridge/atmos,
/obj/item/computer_hardware/hard_drive/role/engineering,
/obj/item/computer_hardware/hard_drive/role/engineering,
/obj/item/computer_hardware/hard_drive/role/engineering,
/obj/item/computer_hardware/hard_drive/role/atmos,
/obj/structure/disposalpipe/segment{
dir = 4
},
Expand Down Expand Up @@ -47744,15 +47724,9 @@
/area/maintenance/fore/lesser)
"wvC" = (
/obj/structure/table,
/obj/item/cartridge/signal/ordnance{
pixel_x = 4;
pixel_y = 6
},
/obj/item/cartridge/signal/ordnance{
pixel_x = -4;
pixel_y = 2
},
/obj/item/cartridge/signal/ordnance,
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/turf/open/floor/iron/cafeteria,
/area/command/heads_quarters/rd)
"wvQ" = (
Expand Down
2 changes: 1 addition & 1 deletion _maps/map_files/IceBoxStation/IcemoonUnderground_Above.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -4869,7 +4869,7 @@
"nZ" = (
/obj/structure/table/wood,
/obj/item/taperecorder,
/obj/item/cartridge/lawyer,
/obj/item/computer_hardware/hard_drive/role/lawyer,
/obj/machinery/computer/security/telescreen/prison{
pixel_y = 32
},
Expand Down
53 changes: 15 additions & 38 deletions _maps/map_files/KiloStation/KiloStation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -30304,9 +30304,9 @@
/obj/structure/table,
/obj/item/clipboard,
/obj/item/folder/yellow,
/obj/item/cartridge/quartermaster,
/obj/item/cartridge/quartermaster,
/obj/item/cartridge/quartermaster,
/obj/item/computer_hardware/hard_drive/role/quartermaster,
/obj/item/computer_hardware/hard_drive/role/quartermaster,
/obj/item/computer_hardware/hard_drive/role/quartermaster,
/obj/item/pen/fountain,
/turf/open/floor/carpet/orange,
/area/cargo/qm)
Expand Down Expand Up @@ -43160,14 +43160,10 @@
"jSV" = (
/obj/structure/table,
/obj/item/clipboard,
/obj/item/cartridge/roboticist{
pixel_x = -3
},
/obj/item/cartridge/signal/ordnance{
pixel_x = 6
},
/obj/item/cartridge/signal/ordnance,
/obj/item/cartridge/signal/ordnance,
/obj/item/computer_hardware/hard_drive/role/roboticist,
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/item/computer_hardware/hard_drive/role/signal/ordnance,
/obj/item/circuitboard/aicore{
pixel_y = 5
},
Expand Down Expand Up @@ -46608,21 +46604,10 @@
/obj/effect/turf_decal/tile/blue{
dir = 1
},
/obj/item/cartridge/medical{
pixel_x = 6;
pixel_y = 2
},
/obj/item/cartridge/medical{
pixel_x = 5;
pixel_y = 1
},
/obj/item/cartridge/medical{
pixel_x = 4
},
/obj/item/cartridge/chemistry{
pixel_x = -6;
pixel_y = 8
},
/obj/item/computer_hardware/hard_drive/role/medical,
/obj/item/computer_hardware/hard_drive/role/medical,
/obj/item/computer_hardware/hard_drive/role/medical,
/obj/item/computer_hardware/hard_drive/role/chemistry,
/obj/item/clothing/neck/stethoscope{
pixel_y = 5
},
Expand Down Expand Up @@ -60426,7 +60411,7 @@
pixel_x = 5
},
/obj/structure/table,
/obj/item/cartridge/lawyer,
/obj/item/computer_hardware/hard_drive/role/lawyer,
/obj/effect/turf_decal/bot,
/obj/structure/mirror/directional/north,
/turf/open/floor/iron/dark,
Expand Down Expand Up @@ -70880,17 +70865,9 @@
/obj/effect/turf_decal/tile/neutral{
dir = 8
},
/obj/item/cartridge/engineering{
pixel_x = 6;
pixel_y = 6
},
/obj/item/cartridge/engineering{
pixel_x = 8
},
/obj/item/cartridge/atmos{
pixel_x = -6;
pixel_y = 4
},
/obj/item/computer_hardware/hard_drive/role/engineering,
/obj/item/computer_hardware/hard_drive/role/engineering,
/obj/item/computer_hardware/hard_drive/role/atmos,
/obj/item/folder,
/obj/item/stamp/ce,
/turf/open/floor/iron/dark,
Expand Down
Loading

0 comments on commit cd1b891

Please sign in to comment.