mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Applies latest requests
I _think_ these resolve what was left in the last PR. Been a while since I last did this Changes to be committed: modified: code/modules/mob/living/silicon/pai/software_modules.dm
This commit is contained in:
@@ -616,12 +616,12 @@
|
||||
id = "flashlight"
|
||||
|
||||
/datum/pai_software/flashlight/toggle(mob/living/silicon/pai/user)
|
||||
user.flashlight_on = !user.flashlight_on
|
||||
var/atom/movable/actual_location = istype(user.loc, /obj/item/paicard) ? user.loc : user
|
||||
if(user.flashlight_on)
|
||||
user.set_light(2)
|
||||
actual_location.set_light(2)
|
||||
user.card.set_light(2)
|
||||
return
|
||||
user.set_light(0)
|
||||
actual_location.set_light(2)
|
||||
user.card.set_light(0)
|
||||
|
||||
/datum/pai_software/flashlight/is_active(mob/living/silicon/pai/user)
|
||||
|
||||
Reference in New Issue
Block a user