From 88791eec5c0cae8b42e65e69b4d4fcafd2ceceaf Mon Sep 17 00:00:00 2001 From: Ispil Date: Tue, 2 Jul 2013 19:14:10 -0700 Subject: [PATCH] Makes the Crew Manifest default on all PDAs, and removes the access_manifest variable from cartridges. Also moves the manifest function into the PDA code, instead of cartridge code. --- code/game/objects/items/devices/PDA/PDA.dm | 13 +++++++++---- code/game/objects/items/devices/PDA/cart.dm | 17 ----------------- 2 files changed, 9 insertions(+), 21 deletions(-) diff --git a/code/game/objects/items/devices/PDA/PDA.dm b/code/game/objects/items/devices/PDA/PDA.dm index 8e533cf37b2..33fc438c4ac 100755 --- a/code/game/objects/items/devices/PDA/PDA.dm +++ b/code/game/objects/items/devices/PDA/PDA.dm @@ -349,13 +349,12 @@ var/global/list/obj/item/device/pda/PDAs = list() dat += "" @@ -500,7 +499,12 @@ var/global/list/obj/item/device/pda/PDAs = list() dat += " " dat += "" - + if (41) //crew manifest + dat += "

Crew Manifest

" + dat += "Entries cannot be modified from this terminal.

" + if(data_core) + dat += data_core.get_manifest(1) // make it monochrome + dat += "
" else//Else it links to the cart menu proc. Although, it really uses menu hub 4--menu 4 doesn't really exist as it simply redirects to hub. dat += cart @@ -572,6 +576,8 @@ var/global/list/obj/item/device/pda/PDAs = list() mode = 0 if("chatroom") // chatroom hub mode = 5 + if("41") //Manifest + mode = 41 //MAIN FUNCTIONS=================================== @@ -700,7 +706,6 @@ var/global/list/obj/item/device/pda/PDAs = list() difficulty += P.cartridge.access_engine difficulty += P.cartridge.access_clown difficulty += P.cartridge.access_janitor - difficulty += P.cartridge.access_manifest * 2 else difficulty += 2 diff --git a/code/game/objects/items/devices/PDA/cart.dm b/code/game/objects/items/devices/PDA/cart.dm index 546b70f28e5..f0e3ee98f17 100644 --- a/code/game/objects/items/devices/PDA/cart.dm +++ b/code/game/objects/items/devices/PDA/cart.dm @@ -11,7 +11,6 @@ var/access_engine = 0 var/access_atmos = 0 var/access_medical = 0 - var/access_manifest = 1 // Make all jobs able to access the manifest var/access_clown = 0 var/access_mime = 0 var/access_janitor = 0 @@ -68,7 +67,6 @@ icon_state = "cart-s" access_security = 1 access_medical = 1 - access_manifest = 1 janitor @@ -132,13 +130,11 @@ head name = "Easy-Record DELUXE" icon_state = "cart-h" - access_manifest = 1 access_status_display = 1 hop name = "HumanResources9001" icon_state = "cart-h" - access_manifest = 1 access_status_display = 1 access_quartermaster = 1 access_janitor = 1 @@ -152,7 +148,6 @@ hos name = "R.O.B.U.S.T. DELUXE" icon_state = "cart-hos" - access_manifest = 1 access_status_display = 1 access_security = 1 @@ -164,7 +159,6 @@ ce name = "Power-On DELUXE" icon_state = "cart-ce" - access_manifest = 1 access_status_display = 1 access_engine = 1 access_atmos = 1 @@ -172,7 +166,6 @@ cmo name = "Med-U DELUXE" icon_state = "cart-cmo" - access_manifest = 1 access_status_display = 1 access_reagent_scanner = 1 access_medical = 1 @@ -180,7 +173,6 @@ rd name = "Signal Ace DELUXE" icon_state = "cart-rd" - access_manifest = 1 access_status_display = 1 access_reagent_scanner = 1 access_atmos = 1 @@ -194,7 +186,6 @@ name = "Value-PAK Cartridge" desc = "Now with 200% more value!" icon_state = "cart-c" - access_manifest = 1 access_engine = 1 access_security = 1 access_medical = 1 @@ -276,14 +267,6 @@ Code: [radio:code] + +
"} - if (41) //crew manifest - - menu = "

Crew Manifest

" - menu += "Entries cannot be modified from this terminal.

" - if(data_core) - menu += data_core.get_manifest(1) // make it monochrome - menu += "
" - if (42) //status displays menu = "

Station Status Display Interlink

"