fix some old user << (#16027)

This commit is contained in:
Kashargul
2024-06-06 05:19:13 +10:00
committed by GitHub
parent 3223f17203
commit 3d24e49996
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -529,9 +529,9 @@
if(ishuman(usr) || istype(usr, /mob/living/silicon/robot))
interval = tgui_input_number(usr, "Put the desired interval (1-1000)", "Set Interval", null, 1000, 1)
if(interval>1000 || interval<1)
usr << "<span class='notice'>Invalid interval.</span>"
to_chat(usr, span_notice("Invalid interval."))
return
usr << "<span class='notice'>You set the interval to [interval]</span>"
to_chat(usr, span_notice("You set the interval to [interval]"))
return
//
+3 -3
View File
@@ -17,7 +17,7 @@
else
playsound(loc, 'sound/items/polaroid2.ogg', 50, 1)
user << "<span class='info'>You insert [I] into [src].</span>"
to_chat(user, span_info("You insert [I] into [src]."))
spawn_casinochips(round(I:worth/5), src.loc)
src.attack_hand(user)
qdel(I)
@@ -29,7 +29,7 @@
else
playsound(loc, 'sound/items/polaroid2.ogg', 50, 1)
user << "<span class='info'>You insert [I] into [src].</span>"
to_chat(user, span_info("You insert [I] into [src]."))
spawn_money(round(I:worth*5), src.loc)
src.attack_hand(user)
qdel(I)
@@ -64,7 +64,7 @@
h_user.drop_from_inventory(src)
h_user.drop_from_inventory(SC)
h_user.put_in_hands(SC)
user << "<span class='notice'>You combine the casino chips to a stack of [SC.worth] casino credits.</span>"
to_chat(user, span_notice("You combine the casino chips to a stack of [SC.worth] casino credits."))
qdel(src)
/obj/item/weapon/spacecasinocash/update_icon()