mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Updates wallets (#21531)
* wallet update wooo * didnt want to do that * undo accidental changes * i have a problem * i swear I can type comments well
This commit is contained in:
@@ -117,6 +117,12 @@ GLOBAL_DATUM_INIT(global_prizes, /datum/prizes, new())
|
||||
typepath = /obj/item/ammo_box/caps
|
||||
cost = 30
|
||||
|
||||
/datum/prize_item/wallet
|
||||
name = "Cheap Wallet"
|
||||
desc = "A cheap and big enough for standard issue ID cards."
|
||||
typepath = /obj/item/storage/wallet/cheap
|
||||
cost = 30
|
||||
|
||||
/datum/prize_item/crayons
|
||||
name = "Box of Crayons"
|
||||
desc = "A six-pack of crayons, just like back in kindergarten."
|
||||
@@ -141,12 +147,6 @@ GLOBAL_DATUM_INIT(global_prizes, /datum/prizes, new())
|
||||
typepath = /obj/item/deck/cards/tiny/doublecards
|
||||
cost = 50
|
||||
|
||||
/datum/prize_item/wallet
|
||||
name = "Colored Wallet"
|
||||
desc = "Brightly colored and big enough for standard issue ID cards."
|
||||
typepath = /obj/item/storage/wallet/color
|
||||
cost = 50
|
||||
|
||||
/datum/prize_item/id_sticker
|
||||
name = "Prisoner ID Sticker"
|
||||
desc = "A sticker that can make any ID look like a prisoner ID."
|
||||
|
||||
@@ -251,6 +251,11 @@
|
||||
S.handle_item_insertion(src)
|
||||
return 1
|
||||
|
||||
S = M.get_item_by_slot(slot_wear_id)
|
||||
if(istype(S) && S.can_be_inserted(src, 1)) //else we put in a wallet
|
||||
S.handle_item_insertion(src)
|
||||
return 1
|
||||
|
||||
S = M.get_item_by_slot(slot_belt)
|
||||
if(istype(S) && S.can_be_inserted(src, 1)) //else we put in belt
|
||||
S.handle_item_insertion(src)
|
||||
|
||||
Reference in New Issue
Block a user