Files
KashargulandGitHub 5926589c16 removes var/ inside all procs (#19450)
* removes var/ inside all procs

* .

* ugh
2026-05-05 10:55:17 +02:00

16 lines
637 B
Plaintext

/obj/belly/proc/put_in_egg(atom/movable/M, message=0)
var/mob/living/carbon/human/O = owner
var/egg_path = /obj/structure/closet/secure_closet/egg
var/egg_name = "odd egg"
if(O.vore_egg_type in GLOB.tf_vore_egg_types)
egg_path = GLOB.tf_vore_egg_types[O.vore_egg_type]
egg_name = "[O.vore_egg_type] egg"
var/obj/structure/closet/secure_closet/egg/egg = new egg_path(src)
M.forceMove(egg)
egg.name = egg_name
if(message)
to_chat(M, span_vnotice("You lose sensation of your body, feeling only the warmth around you as you're encased in an egg."))
to_chat(O, span_vnotice("Your body shifts as you encase [M] in an egg."))