Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Foenk authored Dec 6, 2023
2 parents 695d9ff + 6726275 commit 4512396
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/items/weapons/storage/wallets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
return
. += mutable_appearance(front_id.icon, front_id.icon_state)
. += front_id.overlays
. += mutable_appearance(icon, "wallet_overlay")
. += 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 @@ -79,7 +79,7 @@
MA.pixel_x = 11
MA.pixel_y = 1
. += MA
. += mutable_appearance(icon, "photo_overlay")
. += mutable_appearance(icon, "[photo_overlay]_overlay") // SS220 EDIT

/obj/item/storage/wallet/update_name(updates)
. = ..()
Expand Down
1 change: 1 addition & 0 deletions modular_ss220/clothing/_clothing.dme
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
#include "code/cloaks.dm"
#include "code/garment_bag.dm"
#include "code/hev_suit.dm"
#include "code/wallets.dm"
8 changes: 8 additions & 0 deletions modular_ss220/clothing/code/mask.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
/datum/outfit/job/chef
mask = /obj/item/clothing/mask/fakemoustache/chef

/obj/item/clothing/mask/breath/red_gas
name = "ПРС-1"
desc = "Стильная дыхательная маска в виде противогаза, не скрывает лицо."
icon = 'modular_ss220/clothing/icons/object/masks.dmi'
icon_state = "red_gas"
icon_override = 'modular_ss220/clothing/icons/mob/mask.dmi'
item_state = "red_gas"

/obj/item/clothing/mask/breath/breathscarf
name = "шарф с системой дыхания"
desc = "Стильный и инновационный шарф, который служит дыхательной маской в экстремальных ситуациях."
Expand Down
30 changes: 30 additions & 0 deletions modular_ss220/clothing/code/wallets.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/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"
storage_slots = 5

/datum/prize_item/wallet_USSP_1
name = "Настоящий кошелёк СССП!"
desc = "Красота"
typepath = /obj/item/storage/wallet/wallet_USSP_1
cost = 35

/obj/item/storage/wallet/wallet_USSP_2
name = "leather wallet USSP"
desc = "Говорят, такие кошельки в СССП носят исключительно для зажигалок."
icon = 'modular_ss220/clothing/icons/object/wallets.dmi'
icon_state = "wallet_USSP_2"
photo_overlay = "photo_USSP"
Binary file modified modular_ss220/clothing/icons/mob/mask.dmi
Binary file not shown.
Binary file modified modular_ss220/clothing/icons/object/masks.dmi
Binary file not shown.
Binary file added modular_ss220/clothing/icons/object/wallets.dmi
Binary file not shown.
20 changes: 20 additions & 0 deletions modular_ss220/loadout/code/donor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@
path = /obj/item/storage/wallet
cost = 12

/datum/gear/donor/Wallet_NT
display_name = "Бумажник NT"
path = /obj/item/storage/wallet/wallet_NT
cost = 12

/datum/gear/donor/Wallet_USSP
display_name = "Бумажник СССП"
path = /obj/item/storage/wallet/wallet_USSP_2
cost = 12

/datum/gear/donor/firefirstaid
display_name = "Набор первой медицинской помощи от премиальной страховки"
path = /obj/item/storage/firstaid/regular/donor
Expand Down Expand Up @@ -249,6 +259,16 @@
donator_tier = 4
cost = 4

/datum/gear/donor/breathscarf
display_name = "Шарф с системой дыхания"
path = /obj/item/clothing/mask/breath/breathscarf
cost = 2

/datum/gear/donor/red_gas
display_name = "ПРС-1"
path = /obj/item/clothing/mask/breath/red_gas
donator_tier = 2

/datum/gear/donor/id_decal_boykisser
display_name = "BoyKisser наклейка на карту"
path = /obj/item/id_skin/boykisser
Expand Down

0 comments on commit 4512396

Please sign in to comment.