mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Added hydroponics crates, graphics and crates themselves into the code.
Added Weed-B-Gone into crates at hydro, also Weed-B-Gone functionality. Changed map accordingly. Added weedbgone as a reagent and a recipe for it. Added new spray sound effects and updated/changed those that were used before for fire extinguisher, refueling/refilling, using cleaner and using weed-b-gone. Removed thumbs.db added by TLE as I saw it unnecessary. Added buzzing sound to be used later with Fly Amanitas. Changed some fertilizer graphics in chemical.dmi to be prettier. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@42 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -598,6 +598,37 @@ datum
|
||||
C:head.clean_blood()
|
||||
|
||||
|
||||
weedbgone
|
||||
name = "Weed-B-Gone"
|
||||
id = "weedbgone"
|
||||
description = "A harmful toxic mixture to kill plantlife. Do not ingest!"
|
||||
reagent_state = LIQUID
|
||||
/* Don't know if this is necessary.
|
||||
on_mob_life(var/mob/living/carbon/M)
|
||||
if(!M) M = holder.my_atom
|
||||
M:toxloss += 3.0
|
||||
..()
|
||||
return
|
||||
*/
|
||||
reaction_obj(var/obj/O, var/volume)
|
||||
if(istype(O,/obj/plant/vine/))
|
||||
O:life -= 25 // Kills vines nicely // Not tested as vines don't work in R41
|
||||
else if(istype(O,/obj/alien/weeds/))
|
||||
O:health -= 25 // Kills alien weeds pretty fast
|
||||
O:healthcheck()
|
||||
// Damage that is done to growing plants is separately
|
||||
// at code/game/machinery/hydroponics at obj/item/hydroponics
|
||||
|
||||
reaction_mob(var/mob/M, var/method=TOUCH, var/volume)
|
||||
src = null
|
||||
if(istype(M, /mob/living/carbon))
|
||||
if(!M.wear_mask) // If not wearing a mask
|
||||
M:toxloss += 2 // 4 toxic damage per application, doubled for some reason
|
||||
//if(prob(10))
|
||||
//M.make_dizzy(1) doesn't seem to do anything
|
||||
|
||||
|
||||
|
||||
space_cola
|
||||
name = "Cola"
|
||||
id = "cola"
|
||||
|
||||
@@ -387,4 +387,11 @@ datum
|
||||
id = "cleaner"
|
||||
result = "cleaner"
|
||||
required_reagents = list("ammonia" = 1, "water" = 1)
|
||||
result_amount = 1
|
||||
result_amount = 1
|
||||
|
||||
weedbgone
|
||||
name = "Weed-B-Gone"
|
||||
id = "weedbgone"
|
||||
result = "weedbgone"
|
||||
required_reagents = list("toxin" = 1, "water" = 4)
|
||||
result_amount = 5
|
||||
Reference in New Issue
Block a user