to_chat()'

This commit is contained in:
davipatury
2017-02-19 22:28:05 -03:00
parent 295f35f29c
commit 6186350ba7
12 changed files with 53 additions and 53 deletions
@@ -3,11 +3,11 @@
return FALSE
if(H.w_class > max_hardware_size)
user << "<span class='warning'>This component is too large for \the [src]!</span>"
to_chat(user, "<span class='warning'>This component is too large for \the [src]!</span>")
return FALSE
if(all_components[H.device_type])
user << "<span class='warning'>This computer's hardware slot is already occupied by \the [all_components[H.device_type]].</span>"
to_chat(user, "<span class='warning'>This computer's hardware slot is already occupied by \the [all_components[H.device_type]].</span>")
return FALSE
return TRUE
@@ -23,7 +23,7 @@
all_components[H.device_type] = H
user << "<span class='notice'>You install \the [H] into \the [src].</span>"
to_chat(user, "<span class='notice'>You install \the [H] into \the [src].</span>")
H.holder = src
H.on_install(src, user)
@@ -35,7 +35,7 @@
all_components.Remove(H.device_type)
user << "<span class='notice'>You remove \the [H] from \the [src].</span>"
to_chat(user, "<span class='notice'>You remove \the [H] from \the [src].</span>")
H.forceMove(get_turf(src))
H.holder = null