mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
[MIRROR] Resprites casino chips (#11738)
Co-authored-by: Jenny <ghosttehspychecka@gmail.com>
This commit is contained in:
committed by
GitHub
parent
0e057e99fb
commit
261ce7be44
@@ -51,8 +51,6 @@
|
||||
var/access = list()
|
||||
access = ACCESS_CRATE_CASH
|
||||
var/worth = 0
|
||||
icon_scale_x = 0.5
|
||||
icon_scale_y = 0.5
|
||||
|
||||
/obj/item/spacecasinocash/attackby(obj/item/W as obj, mob/user as mob)
|
||||
if(istype(W, /obj/item/spacecasinocash))
|
||||
@@ -85,14 +83,14 @@
|
||||
var/image/banknote = image('icons/obj/casino.dmi', "spacecasinocash[i]")
|
||||
var/matrix/M = matrix()
|
||||
M.Translate(rand(-6, 6), rand(-4, 8))
|
||||
M.Turn(pick(-45, -27.5, 0, 0, 0, 0, 0, 0, 0, 27.5, 45))
|
||||
M.Turn(pick(-45, 0, 0, 0, 0, 0, 0, 0, 45))
|
||||
banknote.transform = M
|
||||
src.overlays += banknote
|
||||
if(num == 0) // Less than one credit, let's just make it look like 1 for ease
|
||||
var/image/banknote = image('icons/obj/casino.dmi', "spacecasinocash1")
|
||||
var/matrix/M = matrix()
|
||||
M.Translate(rand(-6, 6), rand(-4, 8))
|
||||
M.Turn(pick(-45, -27.5, 0, 0, 0, 0, 0, 0, 0, 27.5, 45))
|
||||
M.Turn(pick(-45, 0, 0, 0, 0, 0, 0, 0, 45))
|
||||
banknote.transform = M
|
||||
src.overlays += banknote
|
||||
src.desc = "They are worth [worth] casino credits."
|
||||
@@ -217,8 +215,6 @@
|
||||
gender = PLURAL
|
||||
icon = 'icons/obj/casino.dmi'
|
||||
icon_state = "spacecasinocash1"
|
||||
icon_scale_x = 0.5
|
||||
icon_scale_y = 0.5
|
||||
opacity = 0
|
||||
density = 0
|
||||
anchored = 0.0
|
||||
@@ -262,14 +258,14 @@
|
||||
var/image/banknote = image('icons/obj/casino.dmi', "spacecasinocash[i]")
|
||||
var/matrix/M = matrix()
|
||||
M.Translate(rand(-6, 6), rand(-4, 8))
|
||||
M.Turn(pick(-45, -27.5, 0, 0, 0, 0, 0, 0, 0, 27.5, 45))
|
||||
//M.Turn(pick(-45, 0, 0, 0, 0, 0, 0, 0, 45))
|
||||
banknote.transform = M
|
||||
src.overlays += banknote
|
||||
if(num == 0) // Less than one credit, let's just make it look like 1 for ease
|
||||
var/image/banknote = image('icons/obj/casino.dmi', "spacecasinocash1")
|
||||
var/matrix/M = matrix()
|
||||
M.Translate(rand(-6, 6), rand(-4, 8))
|
||||
M.Turn(pick(-45, -27.5, 0, 0, 0, 0, 0, 0, 0, 27.5, 45))
|
||||
//M.Turn(pick(-45, 0, 0, 0, 0, 0, 0, 0, 45))
|
||||
banknote.transform = M
|
||||
src.overlays += banknote
|
||||
src.desc = "They are worth [worth] replica casino credits."
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 66 KiB |
Reference in New Issue
Block a user