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

Добавлена возможность игры за споры блоба #2302

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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion code/game/gamemodes/blob/blob.dm
Expand Up @@ -27,7 +27,7 @@ var/list/blob_nodes = list()
var/blob_point_rate = 3

//var/blobwincount = 350 //default value
var/blobwincount = 500
var/blobwincount = 750

var/list/infected_crew = list()

Expand Down
9 changes: 9 additions & 0 deletions code/game/gamemodes/blob/blobs/factory.dm
Expand Up @@ -88,6 +88,15 @@
break
..()

/mob/living/simple_animal/hostile/blobspore/say(var/message)
return //No talking for you

/mob/living/simple_animal/hostile/blobspore/attack_ghost(mob/dead/observer/user)
if (!ckey)
ckey = user.ckey
qdel(user)
LoseTarget()
Copy link
Contributor Author

@StrikS StrikS Mar 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

как ты починишь то

Предусмотрено, спасибо, что тебе не пофиг.


/mob/living/simple_animal/hostile/blobspore/proc/Zombify(mob/living/carbon/human/H)
if(H.wear_suit)
var/obj/item/clothing/suit/armor/A = H.wear_suit
Expand Down
8 changes: 6 additions & 2 deletions code/game/gamemodes/blob/powers.dm
Expand Up @@ -231,6 +231,10 @@

for(var/mob/living/simple_animal/hostile/blobspore/BS in living_mob_list)
if(isturf(BS.loc) && get_dist(BS, T) <= 35)
BS.LoseTarget()
BS.Goto(pick(surrounding_turfs), BS.move_to_delay)
if (BS.ckey)
var/area/A = get_area(T)
to_chat(BS, "<span class='big'><span class = 'red'>Blob Overmind call you in [A.name]</span></span>")
else
BS.LoseTarget()
BS.Goto(pick(surrounding_turfs), BS.move_to_delay)
return