a few last minute changes from TG
also changes His Grace from 25 to 10 requirments
This commit is contained in:
@@ -246,6 +246,17 @@
|
||||
if(total_cash >= threshold)
|
||||
break
|
||||
|
||||
if(AM.pulling)
|
||||
if(istype(AM.pulling, /obj/item/coin))
|
||||
var/obj/item/coin/C = AM.pulling
|
||||
total_cash += C.value
|
||||
counted_money += C
|
||||
|
||||
else if(istype(AM.pulling, /obj/item/stack/spacecash))
|
||||
var/obj/item/stack/spacecash/S = AM.pulling
|
||||
total_cash += S.value * S.amount
|
||||
counted_money += S
|
||||
|
||||
if(total_cash >= threshold)
|
||||
for(var/obj/I in counted_money)
|
||||
qdel(I)
|
||||
|
||||
Reference in New Issue
Block a user