This commit is contained in:
Fermi
2019-04-23 23:05:40 +01:00
parent 492f3fde88
commit d4990d2823

View File

@@ -60,7 +60,7 @@
//datum/reagent/fermi/eigenstate/Initialize()
. = ..() //Needed!
//if(holder && holder.my_atom)
location_created = get_turf(holder) //Sets up coordinate of where it was created
location_created = get_turf(loc) //Sets up coordinate of where it was created
message_admins("Attempting to get creation location from init() [location_created]")
//..()
@@ -200,19 +200,15 @@
//var/mob/living/split_personality/owner
//var/mob/living/carbon/SM
/datum/reagent/fermi/SDGF/on_mob_add(mob/living/carbon/M)
src.candidates = pollGhostCandidates("Do you want to play as a clone of [M.name] and do you agree to respect their character and act in a similar manner to them? I swear to god if you diddle them I will be very disapointed in you. ", ROLE_SENTIENCE, null, ROLE_SENTIENCE, 300, POLL_IGNORE_SENTIENCE_POTION) // see poll_ignore.dm, should allow admins to ban greifers or bullies
message_admins("Attempting to poll")
/datum/reagent/fermi/SDGF/on_mob_life(mob/living/carbon/M) //Clones user, then puts a ghost in them! If that fails, makes a braindead clone.
//Setup clone
switch(current_cycle)
//if(0) //I'm not sure how pollCanditdates works, so I did this. Gives a chance for people to say yes.
// src.candidates = pollGhostCandidates("Do you want to play as a clone of [M.name] and do you agree to respect their character and act in a similar manner to them? I swear to god if you diddle them I will be very disapointed in you. ", ROLE_SENTIENCE, null, ROLE_SENTIENCE, 300, POLL_IGNORE_SENTIENCE_POTION) // see poll_ignore.dm, should allow admins to ban greifers or bullies
// message_admins("Attempting to poll")
if(0) //I'm not sure how pollCanditdates works, so I did this. Gives a chance for people to say yes.
src.candidates = pollGhostCandidates("Do you want to play as a clone of [M.name] and do you agree to respect their character and act in a similar manner to them? I swear to god if you diddle them I will be very disapointed in you. ", ROLE_SENTIENCE, null, ROLE_SENTIENCE, 300, POLL_IGNORE_SENTIENCE_POTION) // see poll_ignore.dm, should allow admins to ban greifers or bullies
message_admins("Attempting to poll")
if(15)
src.candidates = pollGhostCandidates("Do you want to play as a clone of [M.name] and do you agree to respect their character and act in a similar manner to them? I swear to god if you diddle them I will be very disapointed in you. ", ROLE_SENTIENCE, null, ROLE_SENTIENCE, 300, POLL_IGNORE_SENTIENCE_POTION) // see poll_ignore.dm, should allow admins to ban greifers or bullies
message_admins("Attempting to poll2")
if(10 to INFINITY)
message_admins("Number of candidates [LAZYLEN(src.candidates)]")
if(LAZYLEN(src.candidates) && src.playerClone == FALSE) //If there's candidates, clone the person and put them in there!
@@ -244,6 +240,9 @@
M.visible_message("[M] suddenly shudders, and splits into two identical twins!")
SM.copy_known_languages_from(M, FALSE)
src.playerClone = TRUE
M.next_move_modifier = 1
M.nutrition = 150
//BALANCE: should I make them a pacifist, or give them some cellular damage or weaknesses?
//after_success(user, SM)