mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Feed and Facehug no longer use a menu and instead pick a random target in range.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
if(C!=src && !istype(C,/mob/living/carbon/slime) && Adjacent(C))
|
||||
choices += C
|
||||
|
||||
var/mob/living/carbon/M = input(src,"Who do you wish to feed on?") in null|choices
|
||||
var/mob/living/carbon/M = pick(choices)
|
||||
if(!M) return
|
||||
if(Adjacent(M))
|
||||
|
||||
|
||||
@@ -124,10 +124,10 @@ var/const/MAX_ACTIVE_TIME = 400
|
||||
|
||||
var/list/choices = list()
|
||||
for(var/mob/living/L in view(1,src))
|
||||
if(L.stat != 2 && src.Adjacent(L))
|
||||
if(L.stat != 2 && !istype(L,/mob/living/carbon/alien) && src.Adjacent(L))
|
||||
choices += L
|
||||
|
||||
var/mob/living/M = input(src,"Who do you wish to infest?") in null|choices
|
||||
var/mob/living/M = pick(choices)
|
||||
|
||||
if(!M || !src) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user