mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-29 02:51:41 +00:00
[MIRROR] The curator's PDA now works in space [MDB IGNORE] (#16782)
* The curator's PDA now works in space (#70319) * The curator's PDA is now long-ranged The Curator's PDA is now long ranged and allows for it to be used while out in space. I recently removed the modular computer parts that allowed PDAs to be upgraded to connect to NTNet while on different Z-levels, so thought this would be a good replacement since Curators are a space exploration job, so being able to still talk to other players or use the newscaster app while away, is something I think would be beneficial. * The curator's PDA now works in space * Gives vanguard PDA long range as well Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Tastyfish <crazychris32@gmail.com>
This commit is contained in:
@@ -65,6 +65,8 @@ GLOBAL_LIST_EMPTY(TabletMessengers) // a list of all active messengers, similar
|
||||
var/allow_chunky = FALSE
|
||||
|
||||
var/honkamnt = 0 /// honk honk honk honk honk honkh onk honkhnoohnk
|
||||
///Whether the PDA can still use NTNet while out of NTNet's reach.
|
||||
var/long_ranged = FALSE
|
||||
|
||||
var/list/idle_threads // Idle programs on background. They still receive process calls but can't be interacted with.
|
||||
var/obj/physical = null // Object that represents our computer. It's used for Adjacent() and UI visibility checks.
|
||||
@@ -315,6 +317,9 @@ GLOBAL_LIST_EMPTY(TabletMessengers) // a list of all active messengers, similar
|
||||
else if(atom_integrity < max_integrity)
|
||||
. += span_warning("It is damaged.")
|
||||
|
||||
if(long_ranged)
|
||||
. += "It is upgraded with an experimental long-ranged network capabilities, picking up NTNet frequencies while further away."
|
||||
|
||||
var/obj/item/computer_hardware/card_slot/card_slot = all_components[MC_CARD]
|
||||
var/obj/item/computer_hardware/card_slot/card_slot2 = all_components[MC_CARD2]
|
||||
var/multiple_slots = istype(card_slot) && istype(card_slot2)
|
||||
@@ -610,7 +615,8 @@ GLOBAL_LIST_EMPTY(TabletMessengers) // a list of all active messengers, similar
|
||||
return NTNET_GOOD_SIGNAL
|
||||
else if(is_mining_level(current_turf.z))
|
||||
return NTNET_LOW_SIGNAL
|
||||
|
||||
else if(long_ranged)
|
||||
return NTNET_LOW_SIGNAL
|
||||
return NTNET_NO_SIGNAL
|
||||
|
||||
/obj/item/modular_computer/proc/add_log(text)
|
||||
|
||||
@@ -351,10 +351,12 @@
|
||||
|
||||
/obj/item/modular_computer/tablet/pda/curator
|
||||
name = "curator PDA"
|
||||
desc = "A small experimental microcomputer."
|
||||
greyscale_config = null
|
||||
greyscale_colors = null
|
||||
icon_state = "pda-library"
|
||||
inserted_item = /obj/item/pen/fountain
|
||||
long_ranged = TRUE
|
||||
default_applications = list(
|
||||
/datum/computer_file/program/newscaster,
|
||||
)
|
||||
@@ -394,3 +396,4 @@
|
||||
icon_state = "pda-clear"
|
||||
greyscale_config = null
|
||||
greyscale_colors = null
|
||||
long_ranged = TRUE
|
||||
|
||||
Reference in New Issue
Block a user