mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Mind-preservation
transfers minds, rather than just keys, to ensure notes and such carry over to new chickens.
This commit is contained in:
@@ -194,9 +194,9 @@
|
||||
if(.)
|
||||
amount_grown += rand(1,2)
|
||||
if(amount_grown >= 100)
|
||||
var/mob/living/simple_animal/chicken/C = new /mob/living/simple_animal/chicken(src.loc)
|
||||
if(key)
|
||||
C.key = key
|
||||
var/mob/living/simple_animal/chicken/C = new /mob/living/simple_animal/chicken(loc)
|
||||
if(mind)
|
||||
mind.transfer_to(C)
|
||||
qdel(src)
|
||||
|
||||
var/const/MAX_CHICKENS = 50
|
||||
|
||||
Reference in New Issue
Block a user