Files
CHOMPStation2/code/modules/client/preference_setup/loadout/loadout_smoking.dm
2024-09-30 21:36:41 +02:00

54 lines
1.6 KiB
Plaintext

/datum/gear/pipe
display_name = "pipe"
path = /obj/item/clothing/mask/smokable/pipe
/datum/gear/pipe/New()
..()
var/list/pipes = list()
for(var/pipe_style in typesof(/obj/item/clothing/mask/smokable/pipe))
var/obj/item/clothing/mask/smokable/pipe/pipe = pipe_style
pipes[initial(pipe.name)] = pipe
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(pipes))
/datum/gear/matchbook
display_name = "matchbook"
path = /obj/item/storage/box/matches
/datum/gear/lighter
display_name = "cheap lighter"
path = /obj/item/flame/lighter
/datum/gear/lighter/zippo
display_name = "Zippo selection"
path = /obj/item/flame/lighter/zippo
/datum/gear/lighter/zippo/New()
..()
var/list/zippos = list()
for(var/zippo in typesof(/obj/item/flame/lighter/zippo))
if(zippo in typesof(/obj/item/flame/lighter/zippo/fluff)) //VOREStation addition
continue //VOREStation addition
var/obj/item/flame/lighter/zippo/zippo_type = zippo
zippos[initial(zippo_type.name)] = zippo_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(zippos))
/datum/gear/ashtray
display_name = "ashtray, plastic"
path = /obj/item/material/ashtray/plastic
/datum/gear/cigar
display_name = "cigar"
path = /obj/item/clothing/mask/smokable/cigarette/cigar
/datum/gear/cigarettes
display_name = "cigarette selection"
path = /obj/item/storage/fancy/cigarettes
/datum/gear/cigarettes/New()
..()
var/list/cigarettes = list()
for(var/obj/item/storage/fancy/cigarettes/cigarette_brand as anything in (typesof(/obj/item/storage/fancy/cigarettes)))
cigarettes[initial(cigarette_brand.name)] = cigarette_brand
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(cigarettes))