mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
examine-code refactor (#44636)
* 1/4 done? maybe? * more * stuff * incremental stuff * stuff * stuff & things * mostly done but not yet * stuffing * stuffing 2: electric boogaloo * Git Commit and the Kingdom of the Crystal Skull * make it actually compile * found more stuff * fixes * fix AI laws appearing out of order * fix windows * should be the remaining stuff * this time for real * i guess it should compile too * fix sechuds
This commit is contained in:
committed by
AnturK
parent
5f414eb359
commit
8ddc9677c7
@@ -187,13 +187,13 @@
|
||||
return 1
|
||||
|
||||
/obj/item/modular_computer/examine(mob/user)
|
||||
..()
|
||||
. = ..()
|
||||
if(obj_integrity <= integrity_failure)
|
||||
to_chat(user, "<span class='danger'>It is heavily damaged!</span>")
|
||||
. += "<span class='danger'>It is heavily damaged!</span>"
|
||||
else if(obj_integrity < max_integrity)
|
||||
to_chat(user, "<span class='warning'>It is damaged.</span>")
|
||||
. += "<span class='warning'>It is damaged.</span>"
|
||||
|
||||
get_modular_computer_parts_examine(user)
|
||||
. += get_modular_computer_parts_examine(user)
|
||||
|
||||
/obj/item/modular_computer/update_icon()
|
||||
cut_overlays()
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
var/slowdown_open = TRUE
|
||||
|
||||
/obj/item/modular_computer/laptop/examine(mob/user)
|
||||
..()
|
||||
. = ..()
|
||||
if(screen_on)
|
||||
to_chat(user, "<span class='notice'>Alt-click to close it.</span>")
|
||||
. += "<span class='notice'>Alt-click to close it.</span>"
|
||||
|
||||
/obj/item/modular_computer/laptop/Initialize()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user