mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-17 12:20:09 +01:00
3083f0b730
* Adds a new ghost vis blocking area flag * . * . * . * . * ., * . * . * . * . * . * . * . * . * . * . * some more * add admin verbs to add and remove areas * .
40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
/obj/item/reagent_containers/food/snacks/grown/sif
|
|
var/seeds = 0
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/sif/Initialize(mapload, planttype) // Wild Sifplants have some seeds you can extract with a knife.
|
|
. = ..()
|
|
seeds = rand(1, 2)
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/sif/examine(mob/user)
|
|
. = ..()
|
|
if(seeds)
|
|
to_chat(user, span_notice("You can see [seeds] seed\s in \the [src]. You might be able to extract them with a sharp object."))
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/sif/attackby(var/obj/item/W, var/mob/living/user)
|
|
if(seed && W.sharp && seeds > 0)
|
|
var/take_seeds = min(seeds, rand(1,2))
|
|
seeds -= take_seeds
|
|
to_chat(user, span_notice("You stick \the [W] into \the [src] and lever out [take_seeds] seed\s."))
|
|
for(var/i = 1 to take_seeds)
|
|
new /obj/item/seeds(get_turf(src), seed.name)
|
|
return
|
|
. = ..()
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/sif/sifpod
|
|
plantname = PLANT_SIFBULB
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/sif/wabback
|
|
plantname = PLANT_WHITEWABBACK
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/sif/blackwabback
|
|
plantname = PLANT_BLACKWABBACK
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/sif/wildwabback
|
|
plantname = PLANT_WILDWABBACK
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/sif/eyebulbs
|
|
plantname = "eyebulbs"
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/sif/cavebulbs
|
|
plantname = "cavebulbs"
|