mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 17:41:56 +00:00
Modular PDA tweaks and bugfixes (#10440)
rscadd: "Handheld modular computers now use flashlights as a light source. They may be turned on/off via a button in the PC header, and have their brightness adjusted in Hardware Configuration."
tweak: Message notifications should be much larger.
tweak: "Chat messages are now logged to the NTNet Monitoring program."
bugfix: "IDs are now unregistered from computers when the computer is destroyed."
bugfix: "Fix Eject Battery having a global view range."
bugfix: "Chat Clients are no longer set to 'silent' by default."
backend: "Added a new slider component for VueUIs."
Closes #10439
This commit is contained in:
@@ -110,6 +110,9 @@
|
||||
else if(tesla_link == H)
|
||||
tesla_link = null
|
||||
found = TRUE
|
||||
else if(flashlight == H)
|
||||
flashlight = null
|
||||
found = TRUE
|
||||
else if(personal_ai == H)
|
||||
if(user)
|
||||
to_chat(user, SPAN_NOTICE("You remove \the [H] from \the [src]."))
|
||||
@@ -156,6 +159,8 @@
|
||||
return personal_ai
|
||||
if(tesla_link && (initial(tesla_link.name) == name))
|
||||
return tesla_link
|
||||
if(flashlight && initial(flashlight.name) == name)
|
||||
return flashlight
|
||||
return null
|
||||
|
||||
// Returns list of all components
|
||||
@@ -181,4 +186,6 @@
|
||||
all_components.Add(personal_ai)
|
||||
if(tesla_link)
|
||||
all_components.Add(tesla_link)
|
||||
if(flashlight)
|
||||
all_components.Add(flashlight)
|
||||
return all_components
|
||||
Reference in New Issue
Block a user