mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
Fix indents, and more update icons
This commit is contained in:
@@ -169,6 +169,7 @@
|
||||
disconnect_from_network()
|
||||
if(2)
|
||||
to_chat(user, "<span class='warning'>\The [src] needs to be unwelded from the floor.</span>")
|
||||
update_icon() // VOREStation Add
|
||||
return
|
||||
|
||||
if(istype(W, /obj/item/weapon/weldingtool))
|
||||
@@ -205,6 +206,7 @@
|
||||
disconnect_from_network()
|
||||
else
|
||||
to_chat(user, "<span class='warning'>You need more welding fuel to complete this task.</span>")
|
||||
update_icon() // VOREStation Add
|
||||
return
|
||||
|
||||
if(istype(W, /obj/item/stack/material) && W.get_material_name() == DEFAULT_WALL_MATERIAL)
|
||||
@@ -233,6 +235,7 @@
|
||||
if(src.allowed(user))
|
||||
src.locked = !src.locked
|
||||
to_chat(user, "The controls are now [src.locked ? "locked." : "unlocked."]")
|
||||
update_icon() // VOREStation Add
|
||||
else
|
||||
to_chat(user, "<span class='warning'>Access denied.</span>")
|
||||
return
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/obj/machinery/power/emitter
|
||||
icon = 'icons/obj/singularity_vr.dmi' // New emitter sprite
|
||||
var/previous_state = 0
|
||||
icon = 'icons/obj/singularity_vr.dmi' // New emitter sprite
|
||||
var/previous_state = 0
|
||||
|
||||
/obj/machinery/power/emitter/Initialize()
|
||||
. = ..()
|
||||
previous_state = state
|
||||
. = ..()
|
||||
previous_state = state
|
||||
|
||||
/obj/machinery/power/emitter/update_icon()
|
||||
cut_overlays()
|
||||
|
||||
Reference in New Issue
Block a user