mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user