mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
fix some old user << (#16027)
This commit is contained in:
@@ -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
|
||||
|
||||
//
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user