mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Xenoflora expansion take2
This commit is contained in:
@@ -84,6 +84,11 @@ obj/item/weapon/chainsaw/afterattack(atom/A as mob|obj|turf|area, mob/user as mo
|
||||
else if(istype(A,/obj/effect/plant))
|
||||
var/obj/effect/plant/P = A
|
||||
qdel(P) //Plant isn't surviving that. At all
|
||||
else if(istype(A,/obj/machinery/portable_atmospherics/hydroponics))
|
||||
var/obj/machinery/portable_atmospherics/hydroponics/Hyd = A
|
||||
if(Hyd.seed && !Hyd.dead)
|
||||
to_chat(user, "<span class='notice'>You shred the plant.</span>")
|
||||
Hyd.die()
|
||||
if (istype(A, /obj/structure/reagent_dispensers/fueltank) && get_dist(src,A) <= 1)
|
||||
to_chat(user, "<span class='notice'>You begin filling the tank on the chainsaw.</span>")
|
||||
if(do_after(usr, 15))
|
||||
|
||||
@@ -28,3 +28,23 @@
|
||||
else
|
||||
starts_with += /obj/item/clothing/suit/storage/apron/overalls
|
||||
return ..()
|
||||
|
||||
/obj/structure/closet/secure_closet/hydroponics/sci
|
||||
name = "xenoflorist's locker"
|
||||
req_access = list(access_xenobiology)
|
||||
icon_state = "scihydrosecure1"
|
||||
icon_closed = "scihydrosecure"
|
||||
icon_locked = "scihydrosecure1"
|
||||
icon_opened = "scihydrosecureopen"
|
||||
icon_broken = "scihydrosecurebroken"
|
||||
icon_off = "scihydrosecureoff"
|
||||
|
||||
/obj/structure/closet/secure_closet/hydroponics/sci/Initialize()
|
||||
starts_with += /obj/item/clothing/head/bio_hood/scientist
|
||||
starts_with += /obj/item/clothing/suit/bio_suit/scientist
|
||||
starts_with += /obj/item/clothing/mask/gas/clear
|
||||
|
||||
if(prob(1))
|
||||
starts_with += /obj/item/weapon/chainsaw
|
||||
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user