Skip to content

Commit

Permalink
Кошели 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sivirus committed Dec 3, 2023
1 parent dfbdf11 commit 613330a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions code/game/objects/items/weapons/storage/wallets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
slot_flags = SLOT_FLAG_ID

var/obj/item/card/id/front_id = null
var/photo_overlay = "photo" //edit ss220

// allows for clicking of stuff on our person/on the ground to put in the wallet, so easy to stick your ID in your wallet
use_to_pickup = TRUE
Expand Down Expand Up @@ -70,7 +69,7 @@
return
. += mutable_appearance(front_id.icon, front_id.icon_state)
. += front_id.overlays
. += mutable_appearance(icon, "[icon_state]_overlay") //edit ss220
. += mutable_appearance(icon, "[icon_state]_overlay") // SS220 EDIT

// fuck yeah, ass photo in my wallet
var/obj/item/photo/photo = locate(/obj/item/photo) in contents
Expand All @@ -80,12 +79,12 @@
MA.pixel_x = 11
MA.pixel_y = 1
. += MA
. += mutable_appearance(icon, "[photo_overlay]_overlay") //edit ss220
. += mutable_appearance(icon, "[photo_overlay]_overlay") // SS220 EDIT

/obj/item/storage/wallet/update_name(updates)
. = ..()
if(front_id)
name = "[name] displaying [front_id]" //edit ss220
name = "[name] displaying [front_id]" // SS220 EDIT
else
name = initial(name)

Expand Down
4 changes: 2 additions & 2 deletions modular_ss220/clothing/code/wallets.dm
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/obj/item/storage/wallet
var/photo_overlay = "photo"
/obj/item/storage/wallet/wallet_NT
name = "leather wallet NT"
desc = "Ваш кошелек настолько шикарен, что с ним вы выглядите просто потрясающе."
icon = 'modular_ss220/clothing/icons/object/wallets.dmi'
icon_state = "wallet_NT"
photo_overlay = "photo_NT"


/obj/item/storage/wallet/wallet_USSP_1
name = "leather wallet USSP"
desc = "Говорят, такие кошельки в СССП носят исключительно для зажигалок."
icon = 'modular_ss220/clothing/icons/object/wallets.dmi'
icon_state = "wallet_USSP_1"
photo_overlay = "photo_USSP"


/obj/item/storage/wallet/wallet_USSP_2
name = "leather wallet USSP"
desc = "Говорят, такие кошельки в СССП носят исключительно для зажигалок."
Expand Down
Binary file modified modular_ss220/clothing/icons/object/wallets.dmi
Binary file not shown.

0 comments on commit 613330a

Please sign in to comment.