mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 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]
|
|
|
|
/datum/generecipe/shock
|
|
required = "/datum/mutation/human/insulated; /datum/mutation/human/radioactive"
|
|
result = SHOCKTOUCH
|
|
|
|
/datum/generecipe/mindread
|
|
required = "/datum/mutation/human/antenna; /datum/mutation/human/paranoia"
|
|
result = MINDREAD
|
|
|
|
/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/hulk
|
|
required = "/datum/mutation/human/strong; /datum/mutation/human/radioactive"
|
|
result = HULK
|