mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 01:52:29 +00:00
Updating to new dev antagonist code.
This commit is contained in:
@@ -11,6 +11,11 @@ var/datum/antagonist/xenos/xenomorphs
|
||||
welcome_text = "Hiss! You are a larval alien. Hide and bide your time until you are ready to evolve."
|
||||
antaghud_indicator = "hudalien"
|
||||
|
||||
faction_role_text = "Xenomorph Thrall"
|
||||
faction_descriptor = "Hive"
|
||||
faction_welcome = "Your will is ripped away as your humanity merges with the xenomorph overmind. You are now \
|
||||
a thrall to the queen and her brood. Obey their instructions without question. Serve the hive."
|
||||
|
||||
hard_cap = 5
|
||||
hard_cap_round = 8
|
||||
initial_spawn_req = 4
|
||||
|
||||
@@ -248,14 +248,14 @@ mob/living/carbon/human/proc/xeno_infest(mob/living/carbon/human/M as mob in ovi
|
||||
if(!do_after(src, 150))
|
||||
return
|
||||
|
||||
if(!check_alien_ability(500,1,"egg sac"))
|
||||
return
|
||||
|
||||
if(!M.Adjacent(src))
|
||||
if(!M || !M.Adjacent(src))
|
||||
src << "<span class='warning'>They are too far away.</span>"
|
||||
return
|
||||
|
||||
if(!M || M.species.get_bodytype() == "Xenomorph" || !isnull(M.internal_organs_by_name["hive node"]) || !affecting || (affecting.status & ORGAN_ROBOT))
|
||||
if(M.species.get_bodytype() == "Xenomorph" || !isnull(M.internal_organs_by_name["hive node"]) || !affecting || (affecting.status & ORGAN_ROBOT))
|
||||
return
|
||||
|
||||
if(!check_alien_ability(500,1,"egg sac"))
|
||||
return
|
||||
|
||||
src.visible_message("<span class='danger'>\The [src] regurgitates something into \the [M]'s torso!</span>")
|
||||
|
||||
@@ -64,8 +64,6 @@
|
||||
if(owner && ishuman(owner))
|
||||
var/mob/living/carbon/human/H = owner
|
||||
H.add_language("Hivemind")
|
||||
if(H.mind)
|
||||
if(H.mind && H.species.get_bodytype() != "Xenomorph")
|
||||
H << "<span class='alium'>You feel a sense of pressure as a vast intelligence meshes with your thoughts...</span>"
|
||||
if(H.species.get_bodytype() != "Xenomorph" && xenomorphs.add_antagonist_mind(H.mind,1))
|
||||
H << "Your will is ripped away as your humanity merges with the xenomorph hive. You are now a thrall to the queen and her brood. \
|
||||
Obey their instructions without question. Serve the hive."
|
||||
xenomorphs.add_antagonist_mind(H.mind,1, xenomorphs.faction_role_text, xenomorphs.faction_welcome)
|
||||
|
||||
Reference in New Issue
Block a user