Merge pull request #1 from RobRichards1997/Span_classes_for_erro

Span classes
This commit is contained in:
Matevž Baloh
2014-01-07 13:18:57 -08:00
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -161,11 +161,11 @@
r.client.screen += r.throw_icon //"store" icon
if(!r.module)
usr << "\red No module selected"
usr << "<span class='danger'>No module selected</span>"
return
if(!r.module.modules)
usr << "\red Selected module has no modules to select"
usr << "<span class='danger'>Selected module has no modules to select</span>"
return
if(!r.robot_modules_background)
@@ -43,7 +43,7 @@
if(!(locate(O) in src.module.modules) && O != src.module.emag)
return
if(activated(O))
src << "Already activated"
src << "<span class='notice'>Already activated</span>"
return
if(!module_state_1)
module_state_1 = O
@@ -67,7 +67,7 @@
if(istype(module_state_3,/obj/item/borg/sight))
sight_mode |= module_state_3:sight_mode
else
src << "You need to disable a module first!"
src << "<span class='notice'>You need to disable a module first!</span>"
/mob/living/silicon/robot/proc/uneq_active()
uneq_module(module_active)