Skip to content

Commit

Permalink
reorg'd
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsar-Salat committed Apr 4, 2024
1 parent fb2cbd7 commit 2692d1e
Showing 1 changed file with 190 additions and 143 deletions.
333 changes: 190 additions & 143 deletions code/modules/vending/clothesmate.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//DON'T FORGET TO CHANGE THE REFILL SIZE IF YOU CHANGE THE MACHINE'S CONTENTS!
/obj/machinery/vending/clothing
name = "ClothesMate"
desc = "A vending machine for clothing."
Expand All @@ -7,149 +6,197 @@
product_slogans = "Dress for success!;Prepare to look swagalicious!;Look at all this swag!;Why leave style up to fate? Use the ClothesMate!"
vend_reply = "Thank you for using the ClothesMate!"
light_color = LIGHT_COLOR_GREEN
products = list(/obj/item/clothing/head/beanie = 3,
/obj/item/clothing/head/beanie/black = 3,
/obj/item/clothing/head/beanie/red = 3,
/obj/item/clothing/head/beanie/green = 3,
/obj/item/clothing/head/beanie/darkblue = 3,
/obj/item/clothing/head/beanie/purple = 3,
/obj/item/clothing/head/beanie/yellow = 3,
/obj/item/clothing/head/beanie/orange = 3,
/obj/item/clothing/head/beanie/cyan = 3,
/obj/item/clothing/head/beanie/christmas = 3,
/obj/item/clothing/head/beanie/striped = 3,
/obj/item/clothing/head/beanie/stripedred = 3,
/obj/item/clothing/head/beanie/stripedblue = 3,
/obj/item/clothing/head/beanie/stripedgreen = 3,
/obj/item/clothing/head/beanie/rasta = 3,
/obj/item/clothing/head/beret = 3,
/obj/item/clothing/head/beret/black = 3,
/obj/item/clothing/head/kippah = 3,
/obj/item/clothing/head/taqiyahred = 3,
/obj/item/clothing/gloves/fingerless = 2,
/obj/item/clothing/neck/scarf/pink = 3,
/obj/item/clothing/neck/scarf/red = 3,
/obj/item/clothing/neck/scarf/green = 3,
/obj/item/clothing/neck/scarf/darkblue = 3,
/obj/item/clothing/neck/scarf/purple = 3,
/obj/item/clothing/neck/scarf/yellow = 3,
/obj/item/clothing/neck/scarf/orange = 3,
/obj/item/clothing/neck/scarf/cyan = 3,
/obj/item/clothing/neck/scarf = 3,
/obj/item/clothing/neck/scarf/black = 3,
/obj/item/clothing/neck/scarf/zebra = 3,
/obj/item/clothing/neck/scarf/christmas = 3,
/obj/item/clothing/neck/stripedredscarf = 3,
/obj/item/clothing/neck/stripedbluescarf = 3,
/obj/item/clothing/neck/stripedgreenscarf = 3,
/obj/item/clothing/neck/tie/blue = 3,
/obj/item/clothing/neck/tie/red = 3,
/obj/item/clothing/neck/tie/black = 3,
/obj/item/clothing/neck/tie/horrible = 3,
/obj/item/storage/belt/fannypack = 3,
/obj/item/storage/belt/fannypack/blue = 3,
/obj/item/storage/belt/fannypack/red = 3,
/obj/item/clothing/ears/headphones = 2,
/obj/item/clothing/under/misc/overalls = 2,
/obj/item/clothing/under/pants/jeans = 2,
/obj/item/clothing/under/pants/classicjeans = 2,
/obj/item/clothing/under/pants/camo = 2,
/obj/item/clothing/under/pants/blackjeans = 2,
/obj/item/clothing/under/pants/khaki = 2,
/obj/item/clothing/under/pants/white = 2,
/obj/item/clothing/under/pants/red = 2,
/obj/item/clothing/under/pants/black = 2,
/obj/item/clothing/under/pants/tan = 2,
/obj/item/clothing/under/pants/track = 2,
/obj/item/clothing/suit/hooded/hoodie = 3,
/obj/item/clothing/suit/hooded/hoodie/blue = 3,
/obj/item/clothing/suit/hooded/hoodie/green = 3,
/obj/item/clothing/suit/hooded/hoodie/orange = 3,
/obj/item/clothing/suit/hooded/hoodie/pink = 3,
/obj/item/clothing/suit/hooded/hoodie/red = 3,
/obj/item/clothing/suit/hooded/hoodie/black = 3,
/obj/item/clothing/suit/hooded/hoodie/yellow = 3,
/obj/item/clothing/suit/hooded/hoodie/darkblue = 3,
/obj/item/clothing/suit/hooded/hoodie/teal = 3,
/obj/item/clothing/suit/hooded/hoodie/purple = 3,
/obj/item/clothing/shoes/winterboots = 3,
/obj/item/clothing/shoes/jackboots_replica = 3,
/obj/item/clothing/shoes/sneakers/black = 4,
/obj/item/clothing/shoes/sneakers/brown = 4,
/obj/item/clothing/shoes/sneakers/yellow = 4,
/obj/item/clothing/shoes/sneakers/green = 4,
/obj/item/clothing/shoes/sneakers/blue = 4,
/obj/item/clothing/shoes/sneakers/purple = 4,
/obj/item/clothing/shoes/sneakers/red = 4,
/obj/item/clothing/shoes/sneakers/orange = 4,
/obj/item/clothing/shoes/sneakers/white = 4,
/obj/item/clothing/head/wig/natural = 4,
/obj/item/clothing/under/dress/skirt/plaid = 2,
/obj/item/clothing/under/dress/skirt/plaid/blue = 2,
/obj/item/clothing/under/dress/skirt/plaid/green = 2,
/obj/item/clothing/under/dress/skirt/plaid/purple = 2,
/obj/item/clothing/under/dress/skirt = 2,
/obj/item/clothing/under/dress/skirt/blue = 2,
/obj/item/clothing/under/dress/skirt/red = 2,
/obj/item/clothing/under/dress/skirt/purple = 2,
/obj/item/clothing/suit/jacket = 2,
/obj/item/clothing/suit/jacket/puffer/vest = 2,
/obj/item/clothing/suit/jacket/puffer = 2,
/obj/item/clothing/suit/toggle/softshell = 2,
/obj/item/clothing/suit/jacket/letterman = 2,
/obj/item/clothing/suit/jacket/letterman_red = 2,
/obj/item/clothing/glasses/sunglasses = 2,
/obj/item/clothing/glasses/regular = 2,
/obj/item/clothing/glasses/regular/jamjar = 1,
/obj/item/clothing/glasses/regular/circle = 1,
/obj/item/clothing/glasses/sunglasses/circle_sunglasses = 1,
/obj/item/clothing/glasses/orange = 1,
/obj/item/clothing/glasses/red = 1,
/obj/item/clothing/under/suit/navy = 1,
/obj/item/clothing/under/suit/black_really = 1,
/obj/item/clothing/under/suit/burgundy = 1,
/obj/item/clothing/under/suit/charcoal = 1,
/obj/item/clothing/under/suit/white = 1,
/obj/item/clothing/under/suit/sl = 1,
/obj/item/clothing/accessory/waistcoat = 1,
/obj/item/clothing/head/that = 1,
/obj/item/clothing/head/fedora = 1,
/obj/item/clothing/glasses/monocle = 1,
/obj/item/clothing/head/sombrero = 1,
/obj/item/clothing/suit/poncho = 1,
/obj/item/clothing/head/cowboy = 1,
/obj/item/clothing/under/costume/kilt = 1,
/obj/item/clothing/under/dress/sundress = 1,
/obj/item/clothing/under/dress/striped = 1,
/obj/item/clothing/under/dress/sailor = 1,
/obj/item/clothing/under/dress/redeveninggown = 1,
/obj/item/clothing/under/dress/blacktango = 1,
/obj/item/clothing/suit/ianshirt = 1,
/obj/item/clothing/suit/hooded/wintercoat/old = 3,
/obj/item/clothing/suit/hooded/wintercoat/white = 3,
/obj/item/clothing/shoes/laceup = 2,
/obj/item/clothing/shoes/sandal = 2,
/obj/item/clothing/suit/jacket/miljacket = 1,
/obj/item/clothing/suit/apron/purple_bartender = 2,
/obj/item/clothing/under/rank/civilian/bartender/purple = 2)
contraband = list(/obj/item/clothing/under/syndicate/tacticool = 1,
/obj/item/clothing/mask/balaclava = 1,
/obj/item/clothing/head/ushanka = 1,
/obj/item/clothing/under/costume/soviet = 1,
/obj/item/storage/belt/fannypack/black = 2,
/obj/item/clothing/suit/jacket/letterman_syndie = 1,
/obj/item/clothing/under/costume/jabroni = 1,
/obj/item/clothing/suit/vapeshirt = 1,
/obj/item/clothing/under/costume/geisha = 1)
premium = list(/obj/item/clothing/under/suit/checkered = 1,
/obj/item/clothing/suit/jacket/leather = 1,
/obj/item/clothing/suit/jacket/leather/overcoat = 1,
/obj/item/clothing/under/pants/mustangjeans = 1,
/obj/item/clothing/neck/necklace/dope = 3,
/obj/item/clothing/suit/jacket/letterman_nanotrasen = 1)
product_categories = list(
list(
"name" = "Head",
"icon" = "hat-cowboy",
"products" = list(
/obj/item/clothing/head/wig/natural = 4,
/obj/item/clothing/head/beanie = 3,
/obj/item/clothing/head/beanie/black = 3,
/obj/item/clothing/head/beanie/red = 3,
/obj/item/clothing/head/beanie/green = 3,
/obj/item/clothing/head/beanie/darkblue = 3,
/obj/item/clothing/head/beanie/purple = 3,
/obj/item/clothing/head/beanie/yellow = 3,
/obj/item/clothing/head/beanie/orange = 3,
/obj/item/clothing/head/beanie/cyan = 3,
/obj/item/clothing/head/beanie/christmas = 3,
/obj/item/clothing/head/beanie/striped = 3,
/obj/item/clothing/head/beanie/stripedred = 3,
/obj/item/clothing/head/beanie/stripedblue = 3,
/obj/item/clothing/head/beanie/stripedgreen = 3,
/obj/item/clothing/head/beanie/rasta = 3,
/obj/item/clothing/head/beret = 3,
/obj/item/clothing/head/beret/black = 3,
/obj/item/clothing/neck/scarf/pink = 3,
/obj/item/clothing/neck/scarf/red = 3,
/obj/item/clothing/neck/scarf/green = 3,
/obj/item/clothing/neck/scarf/darkblue = 3,
/obj/item/clothing/neck/scarf/purple = 3,
/obj/item/clothing/neck/scarf/yellow = 3,
/obj/item/clothing/neck/scarf/orange = 3,
/obj/item/clothing/neck/scarf/cyan = 3,
/obj/item/clothing/neck/scarf = 3,
/obj/item/clothing/neck/scarf/black = 3,
/obj/item/clothing/neck/scarf/zebra = 3,
/obj/item/clothing/neck/scarf/christmas = 3,
/obj/item/clothing/neck/stripedredscarf = 3,
/obj/item/clothing/neck/stripedbluescarf = 3,
/obj/item/clothing/neck/stripedgreenscarf = 3,
/obj/item/clothing/neck/tie/blue = 3,
/obj/item/clothing/neck/tie/red = 3,
/obj/item/clothing/neck/tie/black = 3,
/obj/item/clothing/neck/tie/horrible = 3,
/obj/item/clothing/head/kippah = 3,
/obj/item/clothing/head/taqiyahred = 3,
/obj/item/clothing/head/that = 1,
/obj/item/clothing/head/fedora = 1,
/obj/item/clothing/head/cowboy = 1,
/obj/item/clothing/head/sombrero = 1,

),
),

list(
"name" = "Accessories",
"icon" = "glasses",
"products" = list(
/obj/item/clothing/accessory/waistcoat = 1,
/obj/item/clothing/glasses/regular = 2,
/obj/item/clothing/glasses/regular/jamjar = 1,
/obj/item/clothing/glasses/regular/circle = 1,
/obj/item/clothing/glasses/sunglasses = 2,
/obj/item/clothing/glasses/sunglasses/circle_sunglasses = 1,
/obj/item/clothing/glasses/orange = 1,
/obj/item/clothing/glasses/red = 1,
/obj/item/clothing/gloves/fingerless = 2,
/obj/item/storage/belt/fannypack = 3,
/obj/item/storage/belt/fannypack/blue = 3,
/obj/item/storage/belt/fannypack/red = 3,
),
),

list(
"name" = "Under",
"icon" = "shirt",
"products" = list(
/obj/item/clothing/under/pants/jeans = 2,
/obj/item/clothing/under/pants/classicjeans = 2,
/obj/item/clothing/under/pants/blackjeans = 2,
/obj/item/clothing/under/pants/khaki = 2,
/obj/item/clothing/under/pants/white = 2,
/obj/item/clothing/under/pants/red = 2,
/obj/item/clothing/under/pants/black = 2,
/obj/item/clothing/under/pants/tan = 2,
/obj/item/clothing/under/dress/sundress = 1,
/obj/item/clothing/under/dress/blacktango = 1,
/obj/item/clothing/under/dress/redeveninggown = 1,
/obj/item/clothing/under/dress/skirt/plaid = 2,
/obj/item/clothing/under/dress/skirt/plaid/blue = 2,
/obj/item/clothing/under/dress/skirt/plaid/green = 2,
/obj/item/clothing/under/dress/skirt/plaid/purple = 2,
/obj/item/clothing/under/dress/skirt = 2,
/obj/item/clothing/under/dress/skirt/blue = 2,
/obj/item/clothing/under/dress/skirt/red = 2,
/obj/item/clothing/under/dress/skirt/purple = 2,
/obj/item/clothing/under/misc/overalls = 2,
/obj/item/clothing/under/pants/camo = 2,
/obj/item/clothing/under/pants/track = 2,
/obj/item/clothing/under/costume/kilt = 1,
/obj/item/clothing/under/dress/striped = 1,
/obj/item/clothing/under/dress/sailor = 1,
),
),

list(
"name" = "Suits & Skirts",
"icon" = "vest",
"products" = list(
/obj/item/clothing/suit/hooded/wintercoat/old = 3,
/obj/item/clothing/suit/hooded/wintercoat/white = 3,
/obj/item/clothing/under/suit/navy = 1,
/obj/item/clothing/under/suit/black_really = 1,
/obj/item/clothing/under/suit/burgundy = 1,
/obj/item/clothing/under/suit/charcoal = 1,
/obj/item/clothing/under/suit/white = 1,
/obj/item/clothing/under/suit/sl = 1,
/obj/item/clothing/suit/jacket = 2,
/obj/item/clothing/suit/jacket/puffer/vest = 2,
/obj/item/clothing/suit/jacket/puffer = 2,
/obj/item/clothing/suit/toggle/softshell = 2,
/obj/item/clothing/suit/jacket/letterman = 2,
/obj/item/clothing/suit/jacket/letterman_red = 2,
/obj/item/clothing/suit/poncho = 1,
/obj/item/clothing/suit/jacket/miljacket = 1,
/obj/item/clothing/suit/hooded/hoodie = 3,
/obj/item/clothing/suit/hooded/hoodie/blue = 3,
/obj/item/clothing/suit/hooded/hoodie/green = 3,
/obj/item/clothing/suit/hooded/hoodie/orange = 3,
/obj/item/clothing/suit/hooded/hoodie/pink = 3,
/obj/item/clothing/suit/hooded/hoodie/red = 3,
/obj/item/clothing/suit/hooded/hoodie/black = 3,
/obj/item/clothing/suit/hooded/hoodie/yellow = 3,
/obj/item/clothing/suit/hooded/hoodie/darkblue = 3,
/obj/item/clothing/suit/hooded/hoodie/teal = 3,
/obj/item/clothing/suit/hooded/hoodie/purple = 3,
/obj/item/clothing/suit/ianshirt = 1,
),
),

list(
"name" = "Shoes",
"icon" = "socks",
"products" = list(
/obj/item/clothing/shoes/sneakers/black = 4,
/obj/item/clothing/shoes/sneakers/brown = 4,
/obj/item/clothing/shoes/sneakers/yellow = 4,
/obj/item/clothing/shoes/sneakers/green = 4,
/obj/item/clothing/shoes/sneakers/blue = 4,
/obj/item/clothing/shoes/sneakers/purple = 4,
/obj/item/clothing/shoes/sneakers/red = 4,
/obj/item/clothing/shoes/sneakers/orange = 4,
/obj/item/clothing/shoes/sneakers/white = 4,
/obj/item/clothing/shoes/sandal = 2,
/obj/item/clothing/shoes/laceup = 2,
/obj/item/clothing/shoes/winterboots = 3,
/obj/item/clothing/shoes/jackboots_replica = 3,
),
),

list(
"name" = "Special",
"icon" = "star",
"products" = list(
/obj/item/clothing/ears/headphones = 2,
/obj/item/clothing/glasses/monocle = 1,
/obj/item/clothing/suit/apron/purple_bartender = 2,
/obj/item/clothing/under/rank/civilian/bartender/purple = 2
),
)

contraband = list(
/obj/item/clothing/under/syndicate/tacticool = 1,
/obj/item/clothing/mask/balaclava = 1,
/obj/item/clothing/head/ushanka = 1,
/obj/item/clothing/under/costume/soviet = 1,
/obj/item/storage/belt/fannypack/black = 2,
/obj/item/clothing/suit/jacket/letterman_syndie = 1,
/obj/item/clothing/under/costume/jabroni = 1,
/obj/item/clothing/suit/vapeshirt = 1,
/obj/item/clothing/under/costume/geisha = 1
)
premium = list(
/obj/item/clothing/under/suit/checkered = 1,
/obj/item/clothing/suit/jacket/leather = 1,
/obj/item/clothing/suit/jacket/leather/overcoat = 1,
/obj/item/clothing/under/pants/mustangjeans = 1,
/obj/item/clothing/neck/necklace/dope = 3,
/obj/item/clothing/suit/jacket/letterman_nanotrasen = 1
)
refill_canister = /obj/item/vending_refill/clothing
default_price = 40
extra_price = 60
default_price = PAYCHECK_MEDIUM
extra_price = PAYCHECK_HARD
dept_req_for_free = NO_FREEBIES

/obj/item/vending_refill/clothing
Expand Down

0 comments on commit 2692d1e

Please sign in to comment.