mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Removes AI and Charge parts from tablets, adds support for more later. (#70012)
* Removes recharger tablet parts Removes 'advanced' tablet subtypes that we used before PDAs were added, in some jobs. Replaces Roboticist's advanced tablet mail with a laptop Moves the notepad's note var from the tablet, to the note app Moves modular computer's defines into their own file Machine computers now directly use power from the machine they're in, while the rest uses power cells. Silicon tablets don't use power at all. Co-authored-by: san7890 <the@san7890.com> Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
co-authored by
san7890
Mothblocks
parent
c7f5bc49da
commit
ca229574f6
@@ -13,7 +13,7 @@
|
||||
..()
|
||||
uid = file_uid++
|
||||
|
||||
/datum/computer_file/Destroy()
|
||||
/datum/computer_file/Destroy(force)
|
||||
if(!holder)
|
||||
return ..()
|
||||
|
||||
@@ -37,3 +37,29 @@
|
||||
temp.filename = filename
|
||||
temp.filetype = filetype
|
||||
return temp
|
||||
|
||||
/**
|
||||
* Called when examining a modular computer
|
||||
* Args:
|
||||
* Source - The tablet that's being examined
|
||||
* User - Person examining the computer
|
||||
*
|
||||
* note: please replace this with signals when hdd's are removed and program's New() already has the tablet set.
|
||||
*/
|
||||
/datum/computer_file/proc/on_examine(obj/item/modular_computer/source, mob/user)
|
||||
return null
|
||||
|
||||
/// Called when someone tries to insert something one of your applications needs, like an Intellicard for AI restoration.
|
||||
/datum/computer_file/proc/try_insert(obj/item/attacking_item, mob/living/user)
|
||||
return FALSE
|
||||
|
||||
/**
|
||||
* Implement this when your program has an object that the user can eject.
|
||||
*
|
||||
* Examples include ejecting cells AI intellicards.
|
||||
* Arguments:
|
||||
* * user - The mob requesting the eject.
|
||||
* * forced - Whether we are forced to eject everything (usually by the app being deleted)
|
||||
*/
|
||||
/datum/computer_file/proc/try_eject(mob/living/user, forced = FALSE)
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user