mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
-You can make newlines with PDA notes.
-Fixed a bug where if an Alien manages to pickup an item that they shouldn't and put it in their pocket then it won't be stuck remain stuck, being unable to pickup the item you placed in your pocket. It will now instead just drop it if it detects the item in your contents. -APC will auto-turn on equipment if there is enough power for a certain duration. I want to tweak this some more until I get the perfect balance. -Updated the changelog git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4141 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -32,7 +32,8 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
var/ttone = "beep" //The ringtone!
|
||||
var/honkamt = 0 //How many honks left when infected with honk.exe
|
||||
var/mimeamt = 0 //How many silence left when infected with mime.exe
|
||||
var/note = "Congratulations, your station has chosen the Thinktronic 5230 Personal Data Assistant!" //Current note in the notepad function.
|
||||
var/note = "" //Current note in the notepad function, without HTML.
|
||||
var/notehtml = "Congratulations, your station has chosen the Thinktronic 5230 Personal Data Assistant!" //Current note in the notepad function, with HTML.
|
||||
var/cart = "" //A place to stick cartridge menu information
|
||||
var/detonate = 1 // Can the PDA be blown up?
|
||||
|
||||
@@ -333,7 +334,7 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
dat += "<a href='byond://?src=\ref[src];choice=Lock'> Lock</a><br>"
|
||||
else
|
||||
dat += "<a href='byond://?src=\ref[src];choice=Edit'> Edit</a><br>"
|
||||
dat += note
|
||||
dat += notehtml
|
||||
|
||||
if (2)
|
||||
dat += "<h4><img src=pda_mail.png> SpaceMessenger V3.9.4</h4>"
|
||||
@@ -536,6 +537,7 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
if (in_range(src, U) && loc == U)
|
||||
n = copytext(adminscrub(n), 1, MAX_MESSAGE_LEN)
|
||||
if (mode == 1)
|
||||
notehtml = dd_replacetext(n, "\n", "<BR>")
|
||||
note = n
|
||||
else
|
||||
U << browse(null, "window=pda")
|
||||
|
||||
@@ -130,6 +130,8 @@
|
||||
var/mob/living/carbon/alien/A = user
|
||||
|
||||
if(!A.has_fine_manipulation || w_class >= 4)
|
||||
if(src in A.contents) // To stop Aliens having items stuck in their pockets
|
||||
A.drop_from_inventory(src)
|
||||
user << "Your claws aren't capable of such fine manipulation."
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user