mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
* Hydroponics area re-arranged to require less running around. * Both Nettles and Death Nettles now can be used in a blender to extact their reagents. * Seeds Crates can now be ordered by the QM. Contains a packet of all the basic seeds available from the seed vendor. * Exotic Seeds Crates can now be ordered by the QM. Contains one packet of the following each: Egg Plant, Nettle, Fly Amanita Mycelium, Liberty Cap Mycelium, Plump Helmet Mycelium * "Egg Plant" added (not a typo). Eggs may not be used on Seed Extractor to make Egg Seeds (that would just be silly). The only way to get an Egg Plant is through mutating an Eggplant or an Exotic Seeds crate. * Plant-b-gone spray bottles now kill weeds and pests better then before. Also slightly less toxic. * Weed spray and Pest Spray both removed since they're redundant. * Potatos added. Can be used to make Fries (Potato + Processor), Cheesy Fries (Microwave: Fries + 1 cheese), Loaded Baked Potato (Microwave: 1 Potato + 1 Cheese) * Beaker I intended to add in previous update finally got added (in kitchen). * AI can no longer pick plants in hydroponics. The Cybernetic Horticulturalist Society has filed a complaint. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@499 316c924e-a436-60f5-8080-3fe189b3f50e
106 lines
3.6 KiB
Plaintext
106 lines
3.6 KiB
Plaintext
/obj/machinery/processor/attackby(var/obj/item/O as obj, var/mob/user as mob)
|
|
if(src.contents.len > 0)
|
|
user << "Something is already in the processing chamber."
|
|
return 0
|
|
else
|
|
if(istype(O, /obj/item/weapon/reagent_containers/food/snacks/grown/potato) || istype(O, /obj/item/weapon/reagent_containers/food/snacks/grown/wheat) || istype(O, /obj/item/weapon/reagent_containers/food/snacks/humanmeat) || istype(O, /obj/item/weapon/reagent_containers/food/snacks/monkeymeat))
|
|
user.drop_item()
|
|
O.loc = src
|
|
else if(istype(O,/obj/item/weapon/grab))
|
|
var/obj/item/weapon/grab/G = O
|
|
if(istype(G.affecting, /mob/living/carbon/alien/larva/metroid))
|
|
G.affecting.loc = src
|
|
user.drop_item()
|
|
else
|
|
user << "That probably won't blend."
|
|
return 0
|
|
|
|
|
|
|
|
/obj/machinery/processor/attack_hand(user as mob)
|
|
if(src.processing)
|
|
user << "The processor is in the process of processing."
|
|
return
|
|
for(var/obj/O in src.contents)
|
|
if(istype(O, /obj/item/weapon/reagent_containers/food/snacks/grown/wheat))
|
|
src.processing = 1
|
|
sleep(40)
|
|
playsound(src.loc, 'blender.ogg', 50, 1)
|
|
for(var/mob/V in viewers(src, null))
|
|
V.show_message(text("\blue [user] turns on \a [src]."))
|
|
del(O)
|
|
new /obj/item/weapon/reagent_containers/food/snacks/flour(src.loc)
|
|
src.processing = 0
|
|
return
|
|
|
|
if (istype(O, /obj/item/weapon/reagent_containers/food/snacks/monkeymeat))
|
|
src.processing = 1
|
|
sleep(40)
|
|
playsound(src.loc, 'blender.ogg', 50, 1)
|
|
for(var/mob/V in viewers(src, null))
|
|
V.show_message(text("\blue [user] turns on \a [src]."))
|
|
del(O)
|
|
new /obj/item/weapon/reagent_containers/food/snacks/faggot(src.loc)
|
|
src.processing = 0
|
|
return
|
|
|
|
if (istype(O, /obj/item/weapon/reagent_containers/food/snacks/humanmeat))
|
|
src.processing = 1
|
|
sleep(40)
|
|
playsound(src.loc, 'blender.ogg', 50, 1)
|
|
for(var/mob/V in viewers(src, null))
|
|
V.show_message(text("\blue [user] turns on \a [src]."))
|
|
del(O)
|
|
new /obj/item/weapon/reagent_containers/food/snacks/faggot(src.loc)
|
|
processing = 0
|
|
return
|
|
|
|
if (istype(O, /obj/item/weapon/reagent_containers/food/snacks/grown/potato))
|
|
src.processing = 1
|
|
sleep(40)
|
|
playsound(src.loc, 'blender.ogg', 50, 1)
|
|
for(var/mob/V in viewers(src, null))
|
|
V.show_message(text("\blue [user] turns on \a [src]."))
|
|
del(O)
|
|
new /obj/item/weapon/reagent_containers/food/snacks/fries(src.loc)
|
|
processing = 0
|
|
return
|
|
|
|
|
|
for(var/mob/O in src.contents)
|
|
if(istype(O, /mob/living/carbon/alien/larva/metroid))
|
|
src.processing = 1
|
|
sleep(40)
|
|
playsound(src.loc, 'blender.ogg', 50, 1)
|
|
for(var/mob/V in viewers(src, null))
|
|
V.show_message(text("\blue [user] turns on \a [src]."))
|
|
var/mob/dead/observer/newmob
|
|
if (O.client)
|
|
newmob = new/mob/dead/observer(O)
|
|
O:client:mob = newmob
|
|
newmob:client:eye = newmob
|
|
del(O)
|
|
new /obj/item/weapon/reagent_containers/food/drinks/jar(src.loc)
|
|
src.processing = 0
|
|
return
|
|
user << "There doesn't appear to be anything in the processing chamber."
|
|
/*
|
|
/obj/machinery/processor/attackby(obj/item/weapon/grab/G as obj, mob/user as mob)
|
|
if(istype(G.affecting, /mob/living/carbon/alien/larva/metroid))
|
|
sleep(40)
|
|
playsound(src.loc, 'blender.ogg', 50, 1)
|
|
for(var/mob/V in viewers(src, null))
|
|
V.show_message(text("\blue [user] turns on \a [src]."))
|
|
var/mob/dead/observer/newmob
|
|
if (G.affecting.client)
|
|
newmob = new/mob/dead/observer(G.affecting)
|
|
G.affecting:client:mob = newmob
|
|
newmob:client:eye = newmob
|
|
del(G.affecting)
|
|
del(G)
|
|
new /obj/item/weapon/reagent_containers/food/drinks/jar(src.loc)
|
|
*/
|
|
|
|
|
|
|