mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
Made transformations between mobs with organs work better. Destroying a limb removes implants. Implants now go where you select. Fixed some runtimes and retardedness.
This commit is contained in:
+8
-2
@@ -312,7 +312,7 @@ datum/mind
|
||||
if(!def_value)//If it's a custom objective, it will be an empty string.
|
||||
def_value = "custom"
|
||||
|
||||
var/new_obj_type = input("Select objective type:", "Objective type", def_value) as null|anything in list("assassinate","decapitate", "debrain", "protect", "hijack", "escape", "survive", "steal", "download", "nuclear", "capture", "absorb", "custom")
|
||||
var/new_obj_type = input("Select objective type:", "Objective type", def_value) as null|anything in list("assassinate","decapitate", "debrain", "protection", "hijack", "escape", "survive", "steal", "download", "nuclear", "capture", "absorb", "custom")
|
||||
if (!new_obj_type) return
|
||||
|
||||
var/datum/objective/new_objective = null
|
||||
@@ -367,7 +367,13 @@ datum/mind
|
||||
new_objective.owner = src
|
||||
|
||||
if ("steal")
|
||||
new_objective = pick(GenerateTheft(assigned_role,src))
|
||||
var/list/possibilities = typesof(/datum/objective/steal) - /datum/objective/steal
|
||||
var/list/choices = list()
|
||||
for(var/datum/objective/steal/name in possibilities)
|
||||
choices[name.explanation_text] = name
|
||||
var/new_target = input("Select target:", "Objective target") as null|anything in choices
|
||||
if (!new_target) return
|
||||
new_objective = new choices[new_target]
|
||||
new_objective.owner = src
|
||||
|
||||
if("download","capture","absorb")
|
||||
|
||||
Reference in New Issue
Block a user