Nerfs space vine pitcher plants

Also makes pitchers drop fruit on death, if they have a fruit.
This commit is contained in:
Darlantan
2020-10-25 23:43:20 -04:00
parent 4835643840
commit c9d60805b7
2 changed files with 8 additions and 6 deletions

View File

@@ -130,12 +130,10 @@
//CHOMPedit start: Pitcher plant spawning
if((seed.get_trait(TRAIT_POTENCY)) >= 70) //Random event spacevines have 70 potency minimum. Should guarantee this always triggers on spacevines.
var/mob/living/pitcher
if(seed.get_trait(TRAIT_CARNIVOROUS) && prob(10))
if(!seed.get_trait(TRAIT_CARNIVOROUS) && prob(2)) //Check for canivorous or this could call if prob(10) above fails.
pitcher = new /mob/living/simple_mob/vore/pitcher_plant(src.loc)
pitcher.nutrition = 0
if(!seed.get_trait(TRAIT_CARNIVOROUS) && prob(5)) //Check for canivorous or this could call if prob(10) above fails.
pitcher = new /mob/living/simple_mob/vore/pitcher_plant(src.loc)
pitcher.nutrition = 100
pitcher.nutrition = 0 //With 0 nutrition, vine-spawned pitchers should die after ~10 minutes
pitcher.adjustToxLoss(170) //Reduce health, 200 is excessive when a lot of these are spawning.
//CHOMPedit end
//see if anything is there

View File

@@ -141,8 +141,12 @@ GLOBAL_LIST_INIT(pitcher_plant_lure_messages, list(
/mob/living/simple_mob/vore/pitcher_plant/death()
anchored = 0
..()
anchored = 0
if(fruit)
new /obj/item/weapon/reagent_containers/food/snacks/pitcher_fruit(get_turf(src))
fruit = 0
/mob/living/simple_mob/vore/pitcher_plant/proc/grow_fruit() //This proc handles the pitcher turning nutrition into fruit (and new pitchers).