mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-10 00:27:04 +01:00
12f0ec568f
* adds the antenna power to genetics it gives you an innate radio * adds paranoia and mind reader * foil hat interaction, sprites, tweaks * upstream change never webedit, kids * fixes conflict-fixing error
27 lines
798 B
Plaintext
27 lines
798 B
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/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
|