29fe3a0b76
* getting somewhere * cleanup one * cleanup two * supermatter immunity > HADS * more fluff * proper return, compile * lint * lint 2 electric boogaloo * cobby happy * HADS * some more changes * i don't know why this file went rogue * final fixes, small name change, difficulty up (polish!) * skog help * EUREKAAAAAAAAAAAAAAAAAAA * chelp * reverts some regenerate limbs changes as they are no longer needed, fully integrates attach limb power * minor fuck before the big fuck * the big fuck ALMOST DONE, FINISHING TOUCHES NEEDED * the big fuck finale * teenie fuck ;) * line endings Co-authored-by: spookydonut <github@spooksoftware.com>
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
/datum/generecipe
|
|
var/required = "" //it hurts so bad but initial is not compatible with lists
|
|
var/result = null
|
|
|
|
/proc/get_mixed_mutation(mutation1, mutation2)
|
|
if(!mutation1 || !mutation2)
|
|
return FALSE
|
|
if(mutation1 == mutation2) //this could otherwise be bad
|
|
return FALSE
|
|
for(var/A in GLOB.mutation_recipes)
|
|
if(findtext(A, "[mutation1]") && findtext(A, "[mutation2]"))
|
|
return GLOB.mutation_recipes[A]
|
|
|
|
/* RECIPES */
|
|
|
|
/datum/generecipe/hulk
|
|
required = "/datum/mutation/human/strong; /datum/mutation/human/radioactive"
|
|
result = HULK
|
|
|
|
/datum/generecipe/x_ray
|
|
required = "/datum/mutation/human/thermal; /datum/mutation/human/radioactive"
|
|
result = XRAY
|
|
|
|
/datum/generecipe/mindread
|
|
required = "/datum/mutation/human/antenna; /datum/mutation/human/paranoia"
|
|
result = MINDREAD
|
|
|
|
/datum/generecipe/shock
|
|
required = "/datum/mutation/human/insulated; /datum/mutation/human/radioactive"
|
|
result = SHOCKTOUCH
|
|
|
|
/datum/generecipe/antiglow
|
|
required = "/datum/mutation/human/glow; /datum/mutation/human/void"
|
|
result = ANTIGLOWY
|
|
|
|
/datum/generecipe/tonguechem
|
|
required = "/datum/mutation/human/tongue_spike; /datum/mutation/human/stimmed"
|
|
result = TONGUESPIKECHEM
|
|
|
|
/datum/generecipe/martyrdom
|
|
required = "/datum/mutation/human/strong; /datum/mutation/human/stimmed"
|
|
result = MARTYRDOM
|