Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes the headslug part of the golden slime pool #1701

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions code/modules/antagonists/changeling/powers/absorb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,14 @@


var/datum/antagonist/changeling/target_ling = target.mind.has_antag_datum(/datum/antagonist/changeling)
var/datum/antagonist/changeling/target_xenobioling = target.mind.has_antag_datum(/datum/antagonist/changeling/xenobio)
if(target_ling)//If the target was a changeling, suck out their extra juice and objective points!
to_chat(owner, span_boldnotice("[target] was one of us. We have absorbed their power."))

// Gain half of their genetic points.
var/genetic_points_to_add = round(target_ling.total_genetic_points / 2)

Check failure on line 116 in code/modules/antagonists/changeling/powers/absorb.dm

View workflow job for this annotation

GitHub Actions / Run Linters

got '{', expected one of: operator, field access, as, 'in', ',', ';'
if(!target_xenobioling)

Check failure on line 117 in code/modules/antagonists/changeling/powers/absorb.dm

View workflow job for this annotation

GitHub Actions / Run Linters

inconsistent multiple indentation: 2 > 1
changeling.geneticpoints += 2
changeling.genetic_points += genetic_points_to_add
changeling.total_genetic_points += genetic_points_to_add

Expand Down
1 change: 1 addition & 0 deletions code/modules/mob/living/basic/space_fauna/headslug.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
obj_damage = 0
environment_smash = ENVIRONMENT_SMASH_NONE
speak_emote = list("squeaks")
gold_core_spawnable = HOSTILE_SPAWN

ai_controller = /datum/ai_controller/basic_controller/headslug

Expand Down
Loading