Skip to content

Commit

Permalink
Succesful heist (money resprite) (ParadiseSS13#25373)
Browse files Browse the repository at this point in the history
* first sprite check

* gooners-be-gone

* code

* time to see
  • Loading branch information
McRamon authored May 7, 2024
1 parent bb8888e commit 3a5d0a1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions code/game/objects/items/weapons/cash.dm
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/obj/item/stack/spacecash
name = "1 Credit"
desc = "Money money money."
icon = 'icons/goonstation/objects/money.dmi'
icon_state = "cashgreen"
icon = 'icons/obj/money.dmi'
icon_state = "cash"
hitsound = "swing_hit"
force = 1
throwforce = 1
Expand Down Expand Up @@ -38,18 +38,18 @@

/obj/item/stack/spacecash/update_icon_state()
name = "[amount] Credit[amount > 1 ? "s" : ""]"
if(amount >= 1 && amount < 10)
icon_state = "cashgreen"
else if(amount >= 10 && amount < 50)
icon_state = "spacecash"
else if(amount >= 50 && amount < 500)
icon_state = "cashblue"
if(amount >= 1 && amount < 50)
icon_state = "cash"
else if(amount >= 50 && amount < 100)
icon_state = "cash2"
else if(amount >= 100 && amount < 500)
icon_state = "cash3"
else if(amount >= 500 && amount < 1000)
icon_state = "cashindi"
else if(amount >= 1000 && amount <= 10000)
icon_state = "cashpurp"
icon_state = "cash4"
else if(amount >= 1000 && amount < 10000)
icon_state = "cash5"
else
icon_state = "cashrbow"
icon_state = "cash6"

/obj/item/stack/spacecash/c5
amount = 5
Expand Down
Binary file removed icons/goonstation/objects/money.dmi
Binary file not shown.
Binary file added icons/obj/money.dmi
Binary file not shown.

0 comments on commit 3a5d0a1

Please sign in to comment.