Coin can be inserted in ID cards now.
This commit is contained in:
@@ -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)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user