Coin can be inserted in ID cards now.

This commit is contained in:
Ghommie
2020-04-25 14:22:49 +02:00
parent c93f028a97
commit fecf6cef2f
3 changed files with 8 additions and 3 deletions
+3 -1
View File
@@ -18,9 +18,11 @@
update_desc()
/obj/item/stack/spacecash/proc/update_desc()
var/total_worth = amount*value
var/total_worth = get_item_credit_value()
desc = "It's worth [total_worth] credit[( total_worth > 1 ) ? "s" : ""]"
/obj/item/stack/spacecash/get_item_credit_value()
return (amount*value)
/obj/item/stack/spacecash/merge(obj/item/stack/S)
. = ..()