Src, Spans, and Chainsaws

Cleans up some src and src.loc in the toys, arcade, and prize counter
files

Replaces some text macros with proper spans

Removes the attack proc from the toy chainsaw, preventing them from
making sounds on hit.
- Still makes the revving sound when you wield them
This commit is contained in:
FalseIncarnate
2016-02-15 02:32:29 -05:00
parent 0015eac2c8
commit f44602ab79
3 changed files with 150 additions and 162 deletions
+3 -3
View File
@@ -176,7 +176,7 @@ td.cost.toomuch {
if(..())
return 1
src.add_fingerprint(usr)
add_fingerprint(usr)
if(href_list["eject"])
print_tickets()
@@ -200,9 +200,9 @@ td.cost.toomuch {
if(!tickets)
return
if(tickets >= 9999)
new /obj/item/stack/tickets(src.loc, 9999) //max stack size
new /obj/item/stack/tickets(get_turf(src), 9999) //max stack size
tickets -= 9999
print_tickets()
else
new /obj/item/stack/tickets(src.loc, tickets)
new /obj/item/stack/tickets(get_turf(src), tickets)
tickets = 0