Files
vgstation13/code/datums/gamemode/objectives/invade.dm
ShiftyRail 8fed681165 Re-adds blob to the rotation [WiP] (#20915)
Re-adds blob to the rotation
2019-02-18 14:13:05 -03:00

18 lines
588 B
Plaintext

/datum/objective/invade
name = "Invade the station."
explanation_text = "We must grow and expand. Fill this station with our spores. Cover X station tiles."
var/target = 0
/datum/objective/invade/PostAppend()
var/datum/faction/blob_conglomerate/F = faction
if (!istype(F))
return FALSE
target = F.blobwincount
explanation_text = "We must grow and expand. Fill this station with our spores. Cover [target] station tiles."
return TRUE
/datum/objective/invade/IsFulfilled()
if (..())
return TRUE
else
return (target >= blobs)