mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[MIRROR] Add new Wallets! station trait (#6704)
* Add new Wallets! station trait * Update wallets.dm Co-authored-by: coiax <yellowbounder@gmail.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
co-authored by
coiax
Gandalf
parent
4eb10be816
commit
fb5576ee8f
@@ -37,6 +37,7 @@
|
||||
/obj/item/photo,
|
||||
/obj/item/reagent_containers/dropper,
|
||||
/obj/item/reagent_containers/syringe,
|
||||
/obj/item/reagent_containers/pill,
|
||||
/obj/item/screwdriver,
|
||||
/obj/item/stamp),
|
||||
list(/obj/item/screwdriver/power))
|
||||
@@ -101,6 +102,7 @@
|
||||
cached_flat_icon = null
|
||||
if(!front_id)
|
||||
return
|
||||
COMPILE_OVERLAYS(front_id)
|
||||
. += mutable_appearance(front_id.icon, front_id.icon_state)
|
||||
. += front_id.overlays
|
||||
. += mutable_appearance(icon, "wallet_overlay")
|
||||
@@ -156,9 +158,12 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/storage/wallet/random
|
||||
icon_state = "random_wallet"
|
||||
icon_state = "random_wallet" // for mapping purposes
|
||||
|
||||
/obj/item/storage/wallet/random/PopulateContents()
|
||||
new /obj/item/holochip(src, rand(5,30))
|
||||
/obj/item/storage/wallet/random/Initialize()
|
||||
. = ..()
|
||||
icon_state = "wallet"
|
||||
|
||||
/obj/item/storage/wallet/random/PopulateContents()
|
||||
new /obj/item/holochip(src, rand(5, 30))
|
||||
new /obj/effect/spawner/lootdrop/wallet_loot(src)
|
||||
|
||||
Reference in New Issue
Block a user