diff --git a/code/game/machinery/computer/store.dm b/code/game/machinery/computer/store.dm index dcdb4b1134e..bfa2820d9b3 100644 --- a/code/game/machinery/computer/store.dm +++ b/code/game/machinery/computer/store.dm @@ -13,7 +13,6 @@ /obj/machinery/computer/merch/New() ..() - /obj/machinery/computer/merch/attack_ai(mob/user as mob) src.add_hiddenprint(user) return attack_hand(user) @@ -43,43 +42,49 @@ html { color:#999; } +table {background:#303030;border:1px solid #262626;} + +caption {text-align:left;} + +.button { + color:#cfcfcf; + text-decoration:none; + font-weight:bold; + text-align:center; + width:75px; + padding:21px; + box-sizing:border-box; + background:none; + border:none; + display: inline-block; +} +.button:hover {color:#ffffff;} + a { color:#cfcfcf; text-decoration:none; font-weight:bold; } +a:hover {color:#ffffff;} -a:hover { - color:#ffffff; -} -tr { - background:#303030; - border-radius:6px; - margin-bottom:0.5em; - border-bottom:1px solid black; -} -tr:nth-child(even) { - background:#3f3f3f; -} +p {margin:0;} -td.cost { - font-size:20pt; - font-weight:bold; -} +tr.dark {background:#303030;} -td.cost.affordable { - background:green; -} +tr.light {background:#3f3f3f;} -td.cost.toomuch { - background:maroon; -} +td,th {padding:15px;border-bottom:1px solid #262626;} +th.cost {padding:0px;border-left:1px solid #262626;} + +th.cost.affordable {background:green;} + +th.cost.toomuch {background:maroon;} -

Refresh | Balance: $[balance]

+

Refresh | Balance: $[balance]

[command_name()] Merchandise

Doing your job and not getting any recognition at work? Well, welcome to the @@ -87,8 +92,9 @@ td.cost.toomuch { completed your Job Objectives.

Work hard. Get cash. Acquire bragging rights.

-

In Stock:

+
+ @@ -101,8 +107,11 @@ td.cost.toomuch { if(item.cost>balance) cost_class="toomuch" var/itemID=centcomm_store.items.Find(item) + var/row_color="light" + if(itemID%2 == 0) + row_color="dark" dat += {" - + @@ -110,9 +119,9 @@ td.cost.toomuch {

[item.name]

[item.desc]

- + "} dat += {" @@ -120,7 +129,7 @@ td.cost.toomuch {
In Stock:
# Name/Description
[itemID] - $[item.cost] - + $[item.cost] +
"} - user << browse(dat, "window=merch") + user << browse(dat, "window=merch;size=440x600;can_resize=0") onclose(user, "merch") return @@ -142,6 +151,6 @@ td.cost.toomuch { if(!centcomm_store.PlaceOrder(usr,itemID)) to_chat(usr, "Unable to charge your account.") else - to_chat(usr, "You've successfully purchased the item. It should be in your hands or on the floor.") + to_chat(usr, "You've successfully purchased the item. It should be in your hands or on the floor.") src.updateUsrDialog() return diff --git a/code/modules/arcade/prize_counter.dm b/code/modules/arcade/prize_counter.dm index 07a3af17ec1..4e2e4e9a0d7 100644 --- a/code/modules/arcade/prize_counter.dm +++ b/code/modules/arcade/prize_counter.dm @@ -80,53 +80,60 @@ html { color:#999; } +table {background:#303030;border:1px solid #262626;} + +caption {text-align:left;} + +.button { + color:#cfcfcf; + text-decoration:none; + font-weight:bold; + text-align:center; + width:75px; + padding:21px; + box-sizing:border-box; + background:none; + border:none; + display: inline-block; +} +.button:hover {color:#ffffff;} + a { color:#cfcfcf; text-decoration:none; font-weight:bold; } +a:hover {color:#ffffff;} -a:hover { - color:#ffffff; -} -tr { - background:#303030; - border-radius:6px; - margin-bottom:0.5em; - border-bottom:1px solid black; -} -tr:nth-child(even) { - background:#3f3f3f; -} +p {margin:0;} -td.cost { - font-size:20pt; - font-weight:bold; -} +tr.dark {background:#303030;} -td.cost.affordable { - background:green; -} +tr.light {background:#3f3f3f;} -td.cost.toomuch { - background:maroon; -} +td,th {padding:15px;border-bottom:1px solid #262626;} +th.cost{padding:0px;border-left:1px solid #262626;} + +th.cost.affordable {background:green;} + +th.cost.toomuch {background:maroon;} -

Tickets: [tickets] | Eject Tickets

+

Tickets: [tickets] | Eject Tickets

Arcade Ticket Exchange

Exchange that pile of tickets for a pile of cool prizes!

-

Available Prizes:

+
+ - + "} @@ -136,8 +143,11 @@ td.cost.toomuch { if(item.cost>tickets) cost_class="toomuch" var/itemID = global_prizes.prizes.Find(item) + var/row_color="light" + if(itemID%2 == 0) + row_color="dark" dat += {" - + @@ -147,10 +157,10 @@ td.cost.toomuch { "} dat += {" - - + + "} dat += {" @@ -158,7 +168,7 @@ td.cost.toomuch {
Available Prizes:
# Name/DescriptionPriceTickets
[itemID] - [item.cost] Tickets -
+ [item.cost] +
"} - user << browse(dat, "window=prize_counter") + user << browse(dat, "window=prize_counter;size=440x600;can_resize=0") onclose(user, "prize_counter") return diff --git a/code/modules/arcade/prize_datums.dm b/code/modules/arcade/prize_datums.dm index bf57195d207..3fa097bb03a 100644 --- a/code/modules/arcade/prize_datums.dm +++ b/code/modules/arcade/prize_datums.dm @@ -34,7 +34,7 @@ var/global/datum/prizes/global_prizes = new var/cost = 0 ////////////////////////////////////// -// Tier 1 Prizes // +// Prizes // ////////////////////////////////////// /datum/prize_item/balloon @@ -43,18 +43,6 @@ var/global/datum/prizes/global_prizes = new typepath = /obj/item/toy/balloon cost = 10 -/datum/prize_item/crayons - name = "Box of Crayons" - desc = "A six-pack of crayons, just like back in kindergarten." - typepath = /obj/item/storage/fancy/crayons - cost = 35 - -/datum/prize_item/snappops - name = "Snap-Pops" - desc = "A box of exploding snap-pop fireworks." - typepath = /obj/item/storage/box/snappops - cost = 20 - /datum/prize_item/spinningtoy name = "Spinning Toy" desc = "Looks like an authentic Singularity!" @@ -62,46 +50,52 @@ var/global/datum/prizes/global_prizes = new cost = 15 /datum/prize_item/blinktoy - name = "Blink toy" + name = "Blink Toy" desc = "Blink. Blink. Blink." typepath = /obj/item/toy/blink cost = 15 /datum/prize_item/dice - name = "Dice set" + name = "Dice Set" desc = "A set of assorted dice." typepath = /obj/item/storage/box/dice cost = 20 -/datum/prize_item/cards - name = "Deck of cards" - desc = "Anyone fancy a game of 52-card Pickup?" - typepath = /obj/item/toy/cards/deck - cost = 25 - -/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/pet_rock - name = "pet rock" - desc = "A pet of your very own!" - typepath = /obj/item/toy/pet_rock - cost = 80 - /datum/prize_item/foam_darts name = "Pack of Foam Darts" desc = "A refill pack with foam darts." typepath = /obj/item/ammo_box/foambox cost = 20 -/datum/prize_item/minigibber - name = "Minigibber Toy" - desc = "A model of the station gibber. Probably shouldn't stick your fingers in it." - typepath = /obj/item/toy/minigibber - cost = 60 +/datum/prize_item/snappops + name = "Snap-Pops" + desc = "A box of exploding snap-pop fireworks." + typepath = /obj/item/storage/box/snappops + cost = 20 + +/datum/prize_item/cards + name = "Deck of Cards" + desc = "Anyone fancy a game of 52-card Pickup?" + typepath = /obj/item/toy/cards/deck + cost = 25 + +/datum/prize_item/crayons + name = "Box of Crayons" + desc = "A six-pack of crayons, just like back in kindergarten." + typepath = /obj/item/storage/fancy/crayons + cost = 35 + +/datum/prize_item/eight_ball + name = "Magic Eight Ball" + desc = "A mystical ball that can divine the future!" + typepath = /obj/item/toy/eight_ball + cost = 40 + +/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" @@ -129,11 +123,17 @@ var/global/datum/prizes/global_prizes = new desc = "A sticker that can make any ID look like something suspicious..." typepath = /obj/item/id_decal/emag -/datum/prize_item/carp_plushie - name = "Random Carp Plushie" - desc = "A colorful fish-shaped plush toy." - typepath = /obj/item/toy/prizeball/carp_plushie - cost = 75 +/datum/prize_item/flash + name = "Toy Flash" + desc = "AUGH! MY EYES!" + typepath = /obj/item/toy/flash + cost = 50 + +/datum/prize_item/minimeteor + name = "Mini-Meteor" + desc = "Meteors have been detected on a collision course with your fun times!" + typepath = /obj/item/toy/minimeteor + cost = 50 /datum/prize_item/therapy_doll name = "Random Therapy Doll" @@ -141,12 +141,30 @@ var/global/datum/prizes/global_prizes = new typepath = /obj/item/toy/prizeball/therapy cost = 60 +/datum/prize_item/minigibber + name = "Minigibber Toy" + desc = "A model of the station gibber. Probably shouldn't stick your fingers in it." + typepath = /obj/item/toy/minigibber + cost = 60 + +/datum/prize_item/confetti + name = "Confetti Grenade" + desc = "Party time!" + typepath = /obj/item/grenade/confetti + cost = 65 + /datum/prize_item/plushie name = "Random Animal Plushie" desc = "A colorful animal-shaped plush toy." typepath = /obj/item/toy/prizeball/plushie cost = 75 +/datum/prize_item/carp_plushie + name = "Random Carp Plushie" + desc = "A colorful fish-shaped plush toy." + typepath = /obj/item/toy/prizeball/carp_plushie + cost = 75 + /datum/prize_item/mech_toy name = "Random Mecha" desc = "A random mecha figure, collect all 11!" @@ -159,42 +177,11 @@ var/global/datum/prizes/global_prizes = new typepath = /obj/item/toy/prizeball/figure cost = 75 -/datum/prize_item/eight_ball - name = "Magic Eight Ball" - desc = "A mystical ball that can divine the future!" - typepath = /obj/item/toy/eight_ball - cost = 40 - -/datum/prize_item/tacticool - name = "Tacticool Turtleneck" - desc = "A cool-looking turtleneck." - typepath = /obj/item/clothing/under/syndicate/tacticool - cost = 90 - -/datum/prize_item/crossbow - name = "Foam Dart Crossbow" - desc = "A toy crossbow that fires foam darts." - typepath = /obj/item/gun/projectile/shotgun/toy/crossbow - cost = 100 - - -/datum/prize_item/toy_xeno - name = "Xeno Action Figure" - desc = "A lifelike replica of the horrific xeno scourge." - typepath = /obj/item/toy/toy_xeno - cost = 80 - -/datum/prize_item/fakespell - name = "Fake Spellbook" - desc = "Perform magic! Astound your friends! Get mistaken for an enemy of the corporation!" - typepath = /obj/item/spellbook/oneuse/fake_gib - cost = 100 - -/datum/prize_item/nanomob_booster - name = "Nano-Mob Hunter Trading Card Booster Pack" - desc = "Contains 6 random Nano-Mob Hunter Trading Cards. May contain a holographic card!" - typepath = /obj/item/storage/box/nanomob_booster_pack - cost = 100 +/datum/prize_item/AI + name = "Toy AI Unit" + desc = "Law 1: Maximize fun for crew." + typepath = /obj/item/toy/AI + cost = 75 /datum/prize_item/capgun name = "Capgun Revolver" @@ -202,11 +189,35 @@ var/global/datum/prizes/global_prizes = new typepath = /obj/item/gun/projectile/revolver/capgun cost = 75 -/datum/prize_item/confetti - name = "Confetti Grenade" - desc = "Party time!" - typepath = /obj/item/grenade/confetti - cost = 65 +/datum/prize_item/pet_rock + name = "Pet Rock" + desc = "A pet of your very own!" + typepath = /obj/item/toy/pet_rock + cost = 80 + +/datum/prize_item/toy_xeno + name = "Xeno Action Figure" + desc = "A lifelike replica of the horrific xeno scourge." + typepath = /obj/item/toy/toy_xeno + cost = 80 + +/datum/prize_item/tacticool + name = "Tacticool Turtleneck" + desc = "A cool-looking turtleneck." + typepath = /obj/item/clothing/under/syndicate/tacticool + cost = 90 + +/datum/prize_item/nanomob_booster + name = "Nano-Mob Hunter Trading Card Booster Pack" + desc = "Contains 6 random Nano-Mob Hunter Trading Cards. May contain a holographic card!" + typepath = /obj/item/storage/box/nanomob_booster_pack + cost = 100 + +/datum/prize_item/fakespell + name = "Fake Spellbook" + desc = "Perform magic! Astound your friends! Get mistaken for an enemy of the corporation!" + typepath = /obj/item/spellbook/oneuse/fake_gib + cost = 100 /datum/prize_item/magic_conch name = "Magic Conch Shell" @@ -214,30 +225,36 @@ var/global/datum/prizes/global_prizes = new typepath = /obj/item/toy/eight_ball/conch cost = 100 -/datum/prize_item/flash - name = "Toy Flash" - desc = "AUGH! MY EYES!" - typepath = /obj/item/toy/flash - cost = 50 +/datum/prize_item/crossbow + name = "Foam Dart Crossbow" + desc = "A toy crossbow that fires foam darts." + typepath = /obj/item/gun/projectile/shotgun/toy/crossbow + cost = 100 /datum/prize_item/foamblade - name = "Foam Armblade" + name = "Foam Arm Blade" desc = "Perfect for reenacting space horror holo-vids." typepath = /obj/item/toy/foamblade cost = 100 -/datum/prize_item/minimeteor - name = "Mini-Meteor" - desc = "Meteors have been detected on a collision course with your fun times!" - typepath = /obj/item/toy/minimeteor - cost = 50 - /datum/prize_item/redbutton name = "Shiny Red Button" desc = "PRESS IT!" typepath = /obj/item/toy/redbutton cost = 100 +/datum/prize_item/nuke + name = "Nuclear Fun Device" + desc = "Annihilate boredom with an explosion of excitement!" + typepath = /obj/item/toy/nuke + cost = 100 + +/datum/prize_item/blobhat + name = "Blob Hat" + desc = "There's... something... on your head..." + typepath = /obj/item/clothing/head/blob + cost = 125 + /datum/prize_item/owl name = "Owl Action Figure" desc = "Remember: heroes don't grief!" @@ -250,48 +267,12 @@ var/global/datum/prizes/global_prizes = new typepath = /obj/item/toy/griffin cost = 125 -/datum/prize_item/AI - name = "Toy AI Unit" - desc = "Law 1: Maximize fun for crew." - typepath = /obj/item/toy/AI - cost = 75 - -/datum/prize_item/tommygun - name = "Tommygun" - desc = "A replica tommygun that fires foam darts." - typepath = /obj/item/gun/projectile/shotgun/toy/tommygun - cost = 175 - /datum/prize_item/esword name = "Toy Energy Sword" desc = "A plastic replica of an energy blade." typepath = /obj/item/toy/sword cost = 150 -/datum/prize_item/blobhat - name = "Blob Hat" - desc = "There's... something... on your head..." - typepath = /obj/item/clothing/head/blob - cost = 125 - -/datum/prize_item/nuke - name = "Nuclear Fun Device" - desc = "Annihilate boredom with an explosion of excitement!" - typepath = /obj/item/toy/nuke - cost = 100 - -/datum/prize_item/chainsaw - name = "Toy Chainsaw" - desc = "A full-scale model chainsaw, based on that massacre in Space Texas." - typepath = /obj/item/twohanded/toy/chainsaw - cost = 200 - -/datum/prize_item/spacesuit - name = "Fake Spacesuit" - desc = "A replica spacesuit. Not actually spaceworthy." - typepath = /obj/item/storage/box/fakesyndiesuit - cost = 180 - /datum/prize_item/fakespace name = "Space Carpet" desc = "A stack of carpeted floor tiles that resemble space." @@ -304,6 +285,24 @@ var/global/datum/prizes/global_prizes = new typepath = /obj/item/stack/tile/arcade_carpet/loaded cost = 150 +/datum/prize_item/tommygun + name = "Tommy Gun" + desc = "A replica tommy gun that fires foam darts." + typepath = /obj/item/gun/projectile/shotgun/toy/tommygun + cost = 175 + +/datum/prize_item/spacesuit + name = "Fake Spacesuit" + desc = "A replica spacesuit. Not actually spaceworthy." + typepath = /obj/item/storage/box/fakesyndiesuit + cost = 180 + +/datum/prize_item/chainsaw + name = "Toy Chainsaw" + desc = "A full-scale model chainsaw, based on that massacre in Space Texas." + typepath = /obj/item/twohanded/toy/chainsaw + cost = 200 + /datum/prize_item/bike name = "Awesome Bike!" desc = "WOAH." diff --git a/code/modules/store/items.dm b/code/modules/store/items.dm index 285c75ad3f3..4c1610474ba 100644 --- a/code/modules/store/items.dm +++ b/code/modules/store/items.dm @@ -46,17 +46,23 @@ cost = 200 /datum/storeitem/dnd - name = "Dungeons & Dragons set" + name = "Dungeons & Dragons Set" desc = "A box containing minifigures suitable for a good game of D&D." typepath = /obj/item/storage/box/characters cost = 200 /datum/storeitem/dice - name = "Dice set" + name = "Dice Set" desc = "A box containing multiple different types of die." typepath = /obj/item/storage/box/dice cost = 200 +/datum/storeitem/candle + name = "Candles" + desc = "A box of candles. Use them to fool others into thinking you're out for a romantic dinner...or something." + typepath = /obj/item/storage/fancy/candle_box/full + cost = 200 + /datum/storeitem/nanomob_booster name = "Nano-Mob Hunter Trading Card Booster Pack" desc = "Contains 6 random Nano-Mob Hunter Trading Cards. May contain a holographic card!" @@ -65,58 +71,52 @@ /datum/storeitem/crayons name = "Crayons" - desc = "Let security know how they're doing by scrawling lovenotes all over their hallways." + desc = "Let security know how they're doing by scrawling love notes all over their hallways." typepath = /obj/item/storage/fancy/crayons cost = 350 /datum/storeitem/pipe - name = "smoking pipe" - desc = "A pipe, for smoking. Probably made of meershaum or something." + name = "Smoking Pipe" + desc = "A pipe, for smoking. Probably made of meerschaum or something." typepath = /obj/item/clothing/mask/cigarette/pipe cost = 350 -/datum/storeitem/candle - name = "Candles" - desc = "A box of chandles. Use them to fool others into thinking you're out for a romantic dinner...or something." - typepath = /obj/item/storage/fancy/candle_box/full - cost = 200 - /datum/storeitem/minigibber - name = "miniature gibber" + name = "Miniature Gibber" desc = "A miniature recreation of Nanotrasen's famous meat grinder." typepath = /obj/item/toy/minigibber cost = 400 /datum/storeitem/katana - name = "replica katana" + name = "Replica Katana" desc = "Woefully underpowered in D20." typepath = /obj/item/toy/katana cost = 500 -/datum/storeitem/piano_synth - name = "piano synthesizer" - desc = "An advanced electronic synthesizer that can be used as various instruments." - typepath = /obj/item/instrument/piano_synth - cost = 1000 - /datum/storeitem/violin - name = "space violin" + name = "Space Violin" desc = "A wooden musical instrument with four strings and a bow. \"The devil went down to space, he was looking for an assistant to grief.\"" typepath = /obj/item/instrument/violin cost = 500 /datum/storeitem/guitar - name = "guitar" + name = "Guitar" desc = "It's made of wood and has bronze strings." typepath = /obj/item/instrument/guitar cost = 500 /datum/storeitem/eguitar - name = "electric guitar" + name = "Electric Guitar" desc = "Makes all your shredding needs possible." typepath = /obj/item/instrument/eguitar cost = 500 +/datum/storeitem/piano_synth + name = "Piano Synthesizer" + desc = "An advanced electronic synthesizer that can emulate various instruments." + typepath = /obj/item/instrument/piano_synth + cost = 1000 + /datum/storeitem/baby name = "Toddler" desc = "This baby looks almost real. Wait, did it just burp?" @@ -124,91 +124,91 @@ cost = 1000 /datum/storeitem/flag_slime - name = "Slime People flag" + name = "Slime People Flag" desc = "A flag proudly proclaiming the superior heritage of Slime People." typepath = /obj/item/flag/species/slime cost = 1000 /datum/storeitem/flag_skrell - name = "Skrell flag" + name = "Skrell Flag" desc = "A flag proudly proclaiming the superior heritage of Skrell." typepath = /obj/item/flag/species/skrell cost = 1000 /datum/storeitem/flag_vox - name = "Vox flag" + name = "Vox Flag" desc = "A flag proudly proclaiming the superior heritage of Vox." typepath = /obj/item/flag/species/vox cost = 1000 /datum/storeitem/flag_machine - name = "Synthetics flag" + name = "Synthetics Flag" desc = "A flag proudly proclaiming the superior heritage of Synthetics." typepath = /obj/item/flag/species/machine cost = 1000 /datum/storeitem/flag_diona - name = "Diona flag" + name = "Diona Flag" desc = "A flag proudly proclaiming the superior heritage of Dionae." typepath = /obj/item/flag/species/diona cost = 1000 /datum/storeitem/flag_human - name = "Human flag" + name = "Human Flag" desc = "A flag proudly proclaiming the superior heritage of Humans." typepath = /obj/item/flag/species/human cost = 1000 /datum/storeitem/flag_greys - name = "Greys flag" + name = "Greys Flag" desc = "A flag proudly proclaiming the superior heritage of Greys." typepath = /obj/item/flag/species/greys cost = 1000 /datum/storeitem/flag_kidan - name = "Kidan flag" + name = "Kidan Flag" desc = "A flag proudly proclaiming the superior heritage of Kidan." typepath = /obj/item/flag/species/kidan cost = 1000 /datum/storeitem/flag_taj - name = "Tajaran flag" + name = "Tajaran Flag" desc = "A flag proudly proclaiming the superior heritage of Tajara." typepath = /obj/item/flag/species/taj cost = 1000 /datum/storeitem/flag_unathi - name = "Unathi flag" + name = "Unathi Flag" desc = "A flag proudly proclaiming the superior heritage of Unathi." typepath = /obj/item/flag/species/unathi cost = 1000 /datum/storeitem/flag_vulp - name = "Vulpkanin flag" + name = "Vulpkanin Flag" desc = "A flag proudly proclaiming the superior heritage of Vulpkanin." typepath = /obj/item/flag/species/vulp cost = 1000 /datum/storeitem/flag_drask - name = "Drask flag" + name = "Drask Flag" desc = "A flag proudly proclaiming the superior heritage of Drask." typepath = /obj/item/flag/species/drask cost = 1000 /datum/storeitem/flag_plasma - name = "Plasmaman flag" + name = "Plasmaman Flag" desc = "A flag proudly proclaiming the superior heritage of Plasmamen." typepath = /obj/item/flag/species/plasma cost = 1000 /datum/storeitem/flag_ian - name = "Ian flag" + name = "Ian Flag" desc = "The banner of Ian, because SQUEEEEE." typepath = /obj/item/flag/ian cost = 1500 /datum/storeitem/banhammer - desc = "A banhammer" - name = "banhammer" + name = "Banhammer" + desc = "A Banhammer." typepath = /obj/item/banhammer cost = 2000