VS: Conflict Resolution + VS Changes

Makes soft vendors work again
Conflict Resolution II
Fixes Shelter Capsule Vendor
Note to self remember quotations
Bad Lynx stop forgetting quotes!
This commit is contained in:
Unknown
2020-03-31 11:00:26 -04:00
committed by Aronai Sieyes
parent a23797182f
commit dca2e93209
9 changed files with 30 additions and 58 deletions

View File

@@ -4,7 +4,7 @@
/obj/machinery/vending
name = "Vendomat"
desc = "A generic vending machine."
icon = 'icons/obj/vending_vr.dmi' //VOREStation Edit - Eris vending machine sprites
icon = 'icons/obj/vending.dmi'
icon_state = "generic"
anchored = 1
density = 1
@@ -777,12 +777,7 @@
/obj/machinery/vending/cola
name = "Robust Softdrinks"
desc = "A softdrink vendor provided by Robust Industries, LLC."
<<<<<<< HEAD
icon_state = "Cola_Machine" //VOREStation Edit
icon_vend = "Cola_Machine-purchase" //VOREStation Edit
=======
icon_state = "Cola_Machine"
>>>>>>> 636062b... Merge pull request #6858 from VOREStation/pol-bayvend
product_slogans = "Robust Softdrinks: More robust than a toolbox to the head!"
product_ads = "Refreshing!;Hope you're thirsty!;Over 1 million drinks sold!;Thirsty? Why not cola?;Please, have a drink!;Drink up!;The best drinks in space."
products = list(/obj/item/weapon/reagent_containers/food/drinks/cans/cola = 10,/obj/item/weapon/reagent_containers/food/drinks/cans/space_mountain_wind = 10,
@@ -934,12 +929,7 @@
desc = "A plant nutrients vendor."
product_slogans = "Aren't you glad you don't have to fertilize the natural way?;Now with 50% less stink!;Plants are people too!"
product_ads = "We like plants!;Don't you want some?;The greenest thumbs ever.;We like big plants.;Soft soil..."
<<<<<<< HEAD
icon_state = "nutri"
//icon_deny = "nutri-deny" //VOREStation Removal - It doesn't even have an access list, when would it deny people?
=======
icon_state = "nutri_generic"
>>>>>>> 636062b... Merge pull request #6858 from VOREStation/pol-bayvend
products = list(/obj/item/weapon/reagent_containers/glass/bottle/eznutrient = 6,/obj/item/weapon/reagent_containers/glass/bottle/left4zed = 4,/obj/item/weapon/reagent_containers/glass/bottle/robustharvest = 3,/obj/item/weapon/plantspray/pests = 20,
/obj/item/weapon/reagent_containers/syringe = 5,/obj/item/weapon/reagent_containers/glass/beaker = 4,/obj/item/weapon/storage/bag/plants = 5)
premium = list(/obj/item/weapon/reagent_containers/glass/bottle/ammonia = 10,/obj/item/weapon/reagent_containers/glass/bottle/diethylamine = 5)

View File

@@ -27,6 +27,7 @@
name = "Dinnerware"
desc = "A kitchen and restaurant equipment vendor."
product_ads = "Mm, food stuffs!;Food and food accessories.;Get your plates!;You like forks?;I like forks.;Woo, utensils.;You don't really need these..."
icon = 'icons/obj/vending_vr.dmi'
icon_state = "dinnerware"
products = list(
/obj/item/weapon/tray = 8,
@@ -55,8 +56,7 @@
/obj/machinery/vending/food
name = "Food-O-Mat"
desc = "A technological marvel, supposedly able to cook or mix a large variety of food or drink."
icon_state = "boozeomat"
icon_deny = "boozeomat-deny"
icon_state = "hotfood"
products = list(/obj/item/weapon/tray = 8,
/obj/item/weapon/material/kitchen/utensil/fork = 6,
/obj/item/weapon/material/knife/plastic = 6,
@@ -89,8 +89,6 @@
/obj/machinery/vending/food/arojoan //Fluff vendor for the lewd houseboat.
name = "Custom Food-O-Mat"
desc = "Do you think Joan cooks? Of course not. Lazy squirrel!"
icon_state = "boozeomat"
icon_deny = "boozeomat-deny"
products = list(/obj/item/weapon/tray = 6,
/obj/item/weapon/material/kitchen/utensil/fork = 6,
/obj/item/weapon/material/knife/plastic = 6,
@@ -121,6 +119,7 @@
desc = "A self-defense equipment vending machine. When you need to take care of that clown."
product_slogans = "The best defense is good offense!;Buy for your whole family today!;Nobody can outsmart bullet!;God created man - Frozen Star made them EQUAL!;Nobody can outsmart bullet!;Stupidity can be cured! By LEAD.;Dead kids can't bully your children!"
product_ads = "Stunning!;Take justice in your own hands!;LEADearship!"
icon = 'icons/obj/vending_vr.dmi'
icon_state = "weapon"
products = list(/obj/item/device/flash = 6,/obj/item/weapon/reagent_containers/spray/pepper = 6, /obj/item/weapon/gun/projectile/olivaw = 5, /obj/item/weapon/gun/projectile/giskard = 5, /obj/item/ammo_magazine/mg/cl32/rubber = 20)
contraband = list(/obj/item/weapon/reagent_containers/food/snacks/syndicake = 6)
@@ -136,6 +135,7 @@
name = "Blood-Onator"
desc = "Freezer-vendor for storage and quick dispensing of blood packs"
product_ads = "The true life juice!;Vampire's choice!;Home-grown blood only!;Donate today, be saved tomorrow!;Approved by Zeng-Hu Pharmaceuticals Incorporated!; Curse you, Vey-Med artificial blood!"
icon = 'icons/obj/vending_vr.dmi'
icon_state = "blood"
idle_power_usage = 211
req_access = list(access_medical)
@@ -151,6 +151,7 @@
name = "Fingers and Toes"
desc = "A special vendor for gloves and shoes!"
product_ads = "Do you have fingers and toes? COVER THEM UP!;Show me your toes! Wait. NO DON'T! BUY NEW SHOES!;Don't leave prints, BUY SOME GLOVES!;Remember to check your shoes for micros! You don't have to let them out, but just check for them!;Fingers and Toes is not liable for micro entrapment or abuse under the feet of our patrons.!;This little piggy went WE WE WE all the way down to FINGERS AND TOES to pick up some sweet new gloves and shoes."
icon = 'icons/obj/vending_vr.dmi'
icon_state = "glovesnshoes"
products = list(/obj/item/clothing/gloves/evening = 5,
/obj/item/clothing/gloves/fingerless = 5,
@@ -278,7 +279,6 @@
desc = "A vendor using compressed matter cartridges to store large amounts of basic station uniforms."
product_ads = "Don't get caught naked!;Pick up your uniform!;Using compressed matter cartridges and VERY ETHICAL labor practices, we bring you the uniforms you need!;No uniform? No problem!;We've got your covered!;The Basics is not responsible for being crushed under the amount of things inside our machines. DO NOT VEND IN EXCESS!!"
icon_state = "loadout"
icon_vend = "loadout-purchase"
vend_delay = 16
products = list(/obj/item/device/pda = 50,
/obj/item/device/radio/headset = 50,
@@ -307,7 +307,6 @@
desc = "A special vendor for accessories."
product_ads = "Want shinies? We have the shinies.;Need that special something to complete your outfit? We have what you need!;Ditch that old dull dangly something you've got and pick up one of our shinies!;Bracelets, collars, scarfs rings and more! We have the fancy things you need!;Does your pet need a collar? We don't judge! Keep them in line with one of one of ours!;Top of the line materials! 'Hand crafted' goods!"
icon_state = "accessory"
icon_vend = "accessory-purchase"
vend_delay = 6
products = list(/obj/item/clothing/accessory = 5,
/obj/item/clothing/accessory/armband/med/color = 10,
@@ -537,7 +536,6 @@
desc = "A special vendor using compressed matter cartridges to store large amounts of clothing."
product_ads = "Tired of your grey jumpsuit? Spruce yourself up!;We have the outfit for you!;Don't let that grey jumpsuit get you down, get a ROBUST outfit right now!;Using compressed matter catridges and VERY ETHICAL labor practices to bring YOU the clothing you crave!;Are you sure you want to go to work in THAT?;All of our wares have a whole TWO pockets!"
icon_state = "clothing"
icon_vend = "clothing-purchase"
vend_delay = 16
products = list(/obj/item/clothing/under/bathrobe = 5,
/obj/item/clothing/under/dress/black_corset = 5,
@@ -881,7 +879,6 @@
desc = "A special vendor for devices and gadgets."
product_ads = "You can't RESIST our great deals!;Feeling disconnected? We have a gadget for you!;You know you have the capacity to buy our capacitors!;FILL THAT HOLE IN YOUR HEART WITH OUR PLASTIC DISTRACTIONS!!!;Devices for everyone! Chips Co.!;ROBUST INVENTORY, GREAT PRICES! ;DON'T FORGET THE oyPAD 13s PRO! ON SALE NOW, ONLY ONE THOUSAND THALERS!"
icon_state = "gadgets"
icon_vend = "gadgets-purchase"
vend_delay = 11
products = list(/obj/item/clothing/suit/circuitry = 1,
/obj/item/clothing/head/circuitry = 1,
@@ -961,7 +958,6 @@
desc = "A special vendor using compressed matter cartridges to store large amounts of overwear!"
product_ads = "Dress your best! It's what big D would want.;Overwear for all occasions!;Big D has what you need if what you need is some form of jacket!;Need a new hoodie? Bid D has you covered.;Big D says you need a new suit!;Big D smiles when he sees you in one of his coats!"
icon_state = "suit"
icon_vend = "suit-purchase"
vend_delay = 16
products = list(/obj/item/clothing/suit/storage/apron = 5,
/obj/item/clothing/suit/storage/flannel/aqua = 5,
@@ -1308,14 +1304,9 @@
/obj/item/seeds/whitebeetseed = 3,
/obj/item/seeds/wabback = 2)
//TFF 19/12/19 - Brig version of a Nutrimax
/obj/machinery/vending/hydronutrients/brig
name = "Brig NutriMax"
desc = "A plant nutrients vendor. Seems some items aren't included."
product_slogans = "Aren't you glad you don't have to fertilize the natural way?;Now with 50% less stink!;Plants are people too!"
product_ads = "We like plants!;Don't you want some?;The greenest thumbs ever.;We like big plants.;Soft soil..."
icon_state = "nutri"
icon_deny = "nutri-deny"
products = list(/obj/item/weapon/reagent_containers/glass/bottle/eznutrient = 6,/obj/item/weapon/reagent_containers/glass/bottle/left4zed = 4,/obj/item/weapon/reagent_containers/glass/bottle/robustharvest = 3,/obj/item/weapon/plantspray/pests = 20,
/obj/item/weapon/reagent_containers/glass/beaker = 4,/obj/item/weapon/storage/bag/plants = 5)
premium = list(/obj/item/weapon/reagent_containers/glass/bottle/ammonia = 10,/obj/item/weapon/reagent_containers/glass/bottle/diethylamine = 5)
@@ -1332,4 +1323,8 @@
/obj/machinery/vending/emergencyfood/filled
products = list(/obj/item/weapon/storage/box/wings/tray = 40)
contraband = list(/obj/item/weapon/storage/box/wings/tray = 20)
contraband = list(/obj/item/weapon/storage/box/wings/tray = 20)
/obj/machinery/vending/cola/soft
icon = 'icons/obj/vending_vr.dmi'
icon_state = "Cola_Machine"

View File

@@ -13,15 +13,8 @@
idle_power_usage = 5
active_power_usage = 100
flags = NOREACT
<<<<<<< HEAD
var/max_n_of_items = 999 // Sorry but the BYOND infinite loop detector doesn't look things over 1000. //VOREStation Edit - Non-global
//var/global/max_n_of_items = 999 // Sorry but the BYOND infinite loop detector doesn't look things over 1000.
var/icon_on = "smartfridge"
var/icon_off = "smartfridge-off"
var/icon_panel = "smartfridge-panel"
=======
var/global/max_n_of_items = 999 // Sorry but the BYOND infinite loop detector doesn't look things over 1000.
>>>>>>> 636062b... Merge pull request #6858 from VOREStation/pol-bayvend
var/list/item_records = list()
var/datum/stored_item/currently_vending = null //What we're putting out of the machine.
var/seconds_electrified = 0;
@@ -221,17 +214,18 @@
is_off = "-off"
// Fridge contents
switch(contents.len)
if(0)
add_overlay("empty[is_off]")
if(1 to 2)
add_overlay("[icon_contents]-1[is_off]")
if(3 to 5)
add_overlay("[icon_contents]-2[is_off]")
if(6 to 8)
add_overlay("[icon_contents]-3[is_off]")
else
add_overlay("[icon_contents]-4[is_off]")
if(contents) //VOREStation Edit - Some fridges do not have visible contents
switch(contents.len)
if(0)
add_overlay("empty[is_off]")
if(1 to 2)
add_overlay("[icon_contents]-1[is_off]")
if(3 to 5)
add_overlay("[icon_contents]-2[is_off]")
if(6 to 8)
add_overlay("[icon_contents]-3[is_off]")
else
add_overlay("[icon_contents]-4[is_off]")
// Fridge top
var/image/top = image(icon, "[icon_base]-top")

View File

@@ -222,9 +222,9 @@
name = "survival pod storage"
desc = "A heated storage unit."
icon_state = "donkvendor"
icon_base = "donkvendor"
icon_contents = null
icon = 'icons/obj/survival_pod_vend.dmi'
icon_on = "donkvendor"
icon_off = "donkvendor"
light_range = 5
light_power = 1.2
light_color = "#DDFFD3"

View File

@@ -6,8 +6,6 @@
icon = 'icons/obj/machines/ar_elements.dmi'
icon_state = "proj"
icon_vend = "beacon_yes"
icon_deny = "beacon_no"
products = list()
contraband = list()
@@ -98,7 +96,7 @@
var/mob/living/carbon/human/H = user
if(!H.nif || !H.nif.stat == NIF_WORKING)
to_chat(H, "<span class='warning'>[src] seems unable to connect to your NIF...</span>")
flick(icon_deny,entopic.my_image)
flick("[icon_state]-deny",entopic.my_image)
return FALSE
return ..()
@@ -126,7 +124,7 @@
if((href_list["vend"]) && (vend_ready) && (!currently_vending))
if((!allowed(usr)) && !emagged && scan_id) //For SECURE VENDING MACHINES YEAH
to_chat(usr, "<span class='warning'>Access denied.</span>") //Unless emagged of course
flick(icon_deny,entopic.my_image)
flick("[icon_state]-deny",entopic.my_image)
return
var/key = text2num(href_list["vend"])
@@ -143,7 +141,7 @@
var/list/usr_access = usr.GetAccess()
if(!has_access(soft_access, list(), usr_access) && !emagged)
to_chat(usr, "<span class='warning'>You aren't authorized to buy [initial(path.name)].</span>")
flick(icon_deny,entopic.my_image)
flick("[icon_state]-deny",entopic.my_image)
return
if(R.price <= 0)
@@ -174,7 +172,7 @@
var/mob/living/carbon/human/H = user
if((!allowed(usr)) && !emagged && scan_id && istype(H)) //For SECURE VENDING MACHINES YEAH
to_chat(usr, "<span class='warning'>Purchase not allowed.</span>") //Unless emagged of course
flick(icon_deny,entopic.my_image)
flick("[icon_state]-deny",entopic.my_image)
return
vend_ready = 0 //One thing at a time!!
status_message = "Installing..."
@@ -207,7 +205,7 @@
spawn(vend_delay)
R.amount--
new R.item_path(H.nif)
flick(icon_vend,entopic.my_image)
flick("[icon_state]-vend",entopic.my_image)
if(has_logs)
do_logging(R, user, 1)

View File

@@ -1,7 +1,5 @@
/obj/machinery/chemical_dispenser/xenoflora
name = "xenoflora chem dispenser"
icon = 'icons/obj/chemical_vr.dmi'
icon_state = "dispenser-small-green"
ui_title = "Xenoflora Chemical Dispenser"
dispense_reagents = list(
"water", "sugar", "ethanol", "radium", "ammonia", "diethylamine", "plantbgone", "mutagen", "calcium"
@@ -22,8 +20,6 @@
/obj/machinery/chemical_dispenser/biochemistry
name = "bioproduct dispenser"
icon = 'icons/obj/chemical_vr.dmi'
icon_state = "dispenser-small"
ui_title = "Bioproduct Dispenser"
dispense_reagents = list(
"nutriment", "protein", "milk"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

View File

@@ -330,7 +330,6 @@ var/global/list/latejoin_tram = list()
name = "Airlock NanoMed"
desc = "Wall-mounted Medical Equipment dispenser. This limited-use version dispenses antitoxins with mild painkillers for surface EVAs."
icon_state = "wallmed"
icon_deny = "wallmed-deny"
density = 0 //It is wall-mounted, and thus, not dense. --Superxpdude
products = list(/obj/item/weapon/reagent_containers/pill/airlock = 10,/obj/item/device/healthanalyzer = 1)
contraband = list(/obj/item/weapon/reagent_containers/pill/tox = 2)