mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 12:43:13 +00:00
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
27 lines
1.5 KiB
Plaintext
27 lines
1.5 KiB
Plaintext
/obj/structure/ghost_pod/manual/lost_drone/dogborg // name is just legacy now
|
|
remains_active = TRUE
|
|
|
|
/obj/structure/ghost_pod/manual/lost_drone/dogborg/create_occupant(var/mob/M)
|
|
var/response = tgui_alert(M, "What sort of laws do you wish to have as Lost Drone (they will still be random)", "Drone Type", list("Regular", "Vore"))
|
|
if(!(response == "Vore")) // No response somehow or Regular
|
|
return ..()
|
|
else
|
|
density = FALSE
|
|
var/mob/living/silicon/robot/lost/randomlaws/vore/R = new(get_turf(src))
|
|
R.adjustBruteLoss(rand(5, 30))
|
|
R.adjustFireLoss(rand(5, 10))
|
|
if(M.mind)
|
|
M.mind.transfer_to(R)
|
|
// Put this text here before ckey change so that their laws are shown below it, since borg login() shows it.
|
|
to_chat(M, span_notice("You are a " + span_bold("Lost Drone") + ", discovered inside the wreckage of your previous home. \
|
|
Something has reactivated you, with their intentions unknown to you, and yours unknown to them. They are a foreign entity, \
|
|
however they did free you from your pod..."))
|
|
to_chat(M, span_notice(span_bold("Be sure to examine your currently loaded lawset closely.") + " Remember, your \
|
|
definiton of 'the station' is where your pod is, and unless your laws say otherwise, the entity that released you \
|
|
from the pod is not a crewmember."))
|
|
R.ckey = M.ckey
|
|
visible_message(span_warning("As \the [src] opens, the eyes of the robot flicker as it is activated."))
|
|
log_and_message_admins("successfully opened \a [src] and got a Lost Drone.")
|
|
used = TRUE
|
|
return TRUE
|