mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
18 lines
588 B
Plaintext
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) |