This commit is contained in:
Deity Link
2020-07-06 21:49:41 +02:00
parent 44a75b7a0d
commit c670055c56
4 changed files with 33 additions and 12 deletions

View File

@@ -14,10 +14,24 @@
seed.spread = 2 // So it will function properly as vines.
seed.potency = rand(potency_min, potency_max) // 70-100 potency will help guarantee a wide spread and powerful effects.
seed.maturation = rand(maturation_min, maturation_max)
seed.chems = list()
var/strength = rand(1,100)
if (strength > 20)
seed.hematophage = 1//suck blood off entangled individuals
if (strength > 50)
seed.chems[FORMIC_ACID] = list(rand(1,5),rand(5,10))//let's burn entangled individuals
if (strength > 70)
seed.carnivorous = 2//brutalize entangled individuals
if (strength > 80)
seed.ligneous = 1//and on top of that we're hard to cut
if (strength > 90)
seed.thorny = 1//ok now this is overkill
seed.stinging = 1
var/obj/effect/plantsegment/vine = new(T,seed,start_fully_mature = 1)
vine.process()
message_admins("<span class='notice'>Event: Spacevines spawned at [T.loc] <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>(JMP)</a></span>")
message_admins("<span class='notice'>Event: Spacevines ([strength]% Strength) spawned at [T.loc] <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>(JMP)</a></span>")
return
message_admins("<span class='notice'>Event: Spacevines failed to find a viable turf.</span>")

View File

@@ -1,16 +1,15 @@
/var/global/spacevines_spawned = 0
/datum/event/spacevine
/datum/event/spacevine/can_start()
if(spacevines_spawned)
return 15
return 0
return 20
/datum/event/spacevine/start()
//biomass is basically just a resprited version of space vines
if(prob(50))
spacevine_infestation()
else
biomass_infestation()
spacevines_spawned = 1
spacevine_infestation()
/datum/event/biomass
/datum/event/biomass/can_start()
return 15
/datum/event/biomass/start()
biomass_infestation()

View File

@@ -131,6 +131,14 @@
arbitrary_measurement_of_how_lush_I_am_right_now = max(1, arbitrary_measurement_of_how_lush_I_am_right_now)
color = null
if (seed.hematophage && seed.ligneous)
color = "#804040"
else if (seed.hematophage)
color = "#800000"
else if (seed.ligneous)
color = "#808080"
switch(arbitrary_measurement_of_how_lush_I_am_right_now)
if(1)
icon_state = "Light[rand(1,3)]"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB