diff --git a/aurorastation.dme b/aurorastation.dme index e835075e320..3cfeef7dbce 100644 --- a/aurorastation.dme +++ b/aurorastation.dme @@ -2102,6 +2102,7 @@ #include "code\modules\mob\living\simple_animal\hostile\krampus.dm" #include "code\modules\mob\living\simple_animal\hostile\mimic.dm" #include "code\modules\mob\living\simple_animal\hostile\moghesfauna.dm" +#include "code\modules\mob\living\simple_animal\hostile\morph.dm" #include "code\modules\mob\living\simple_animal\hostile\phoron_worm.dm" #include "code\modules\mob\living\simple_animal\hostile\pirate.dm" #include "code\modules\mob\living\simple_animal\hostile\pra.dm" diff --git a/code/__defines/color.dm b/code/__defines/color.dm index 522b3fffbfc..9f4e671dc7a 100644 --- a/code/__defines/color.dm +++ b/code/__defines/color.dm @@ -91,7 +91,7 @@ #define COLOR_OIL "#030303" #define COLOR_ASH "#615C5B" #define COLOR_SNOW "#9CADAD" -#define COLOR_LING_HIVEMIND "#94582e" +#define COLOR_LING_HIVEMIND "#583012" // Blood colors diff --git a/code/game/gamemodes/changeling/helpers/_store.dm b/code/game/gamemodes/changeling/helpers/_store.dm index 4aa63b2050b..7268650bf2f 100644 --- a/code/game/gamemodes/changeling/helpers/_store.dm +++ b/code/game/gamemodes/changeling/helpers/_store.dm @@ -1,5 +1,3 @@ -// READ: Don't use the apostrophe in name or desc. Causes script errors. - var/list/powers = typesof(/datum/power/changeling) - /datum/power/changeling //needed for the badmin verb for now var/list/datum/power/changeling/powerinstances = list() @@ -88,6 +86,12 @@ var/list/datum/power/changeling/powerinstances = list() genomecost = 0 verbpath = /mob/proc/changeling_eject_hivemind +/datum/power/changeling/hivemind_morph + name = "Hivemind Release Morph" + desc = "We release a hivemind member as a morph at the cost of a limb. They will be able to crawl inside vents and disguise themselves as objects." + genomecost = 2 + verbpath = /mob/living/carbon/human/proc/changeling_release_morph + //Stings and sting accessorries //Rest in pieces, unfat sting. - Geeves @@ -211,6 +215,7 @@ var/list/datum/power/changeling/powerinstances = list() // Modularchangling, totally stolen from the new player panel. YAYY //I'm too afraid to touch this, you win this time, oldcode - Geeves +// After an HTML course, I finally conquered this. Convert into VueUi eventually. - Geeves /datum/changeling/proc/EvolutionMenu()//The new one set category = "Changeling" set desc = "Buy new abilities with the genomes we obtained." @@ -233,38 +238,34 @@ var/list/datum/power/changeling/powerinstances = list() var locked_tabs = new Array(); - function updateSearch(){ + function updateSearch() { var filter_text = document.getElementById('filter'); var filter = filter_text.value.toLowerCase(); - if(complete_list != null && complete_list != ""){ + if(complete_list != null && complete_list != "") { var mtbl = document.getElementById("maintable_data_archive"); mtbl.innerHTML = complete_list; } - if(filter.value == ""){ + if(filter.value == "") { return; - }else{ - + } else { var maintable_data = document.getElementById('maintable_data'); var ltr = maintable_data.getElementsByTagName("tr"); for ( var i = 0; i < ltr.length; ++i ) { - try{ + try { var tr = ltr\[i\]; - if(tr.getAttribute("id").indexOf("data") != 0){ + if(tr.getAttribute("id").indexOf("data") != 0) { continue; } var ltd = tr.getElementsByTagName("td"); var td = ltd\[0\]; var lsearch = td.getElementsByTagName("b"); var search = lsearch\[0\]; - //var inner_span = li.getElementsByTagName("span")\[1\] //Should only ever contain one element. - //document.write("
"+search.innerText+"
"+filter+"
"+search.innerText.indexOf(filter))
- if ( search.innerText.toLowerCase().indexOf(filter) == -1 )
- {
+ if ( search.innerText.toLowerCase().indexOf(filter) == -1 ) {
//document.write("a");
//ltr.removeChild(tr);
td.innerHTML = "";
@@ -283,29 +284,24 @@ var/list/datum/power/changeling/powerinstances = list()
}
function expand(id,name,desc,helptext,power,ownsthis){
-
clearAll();
var span = document.getElementById(id);
body = "
| "; - body += " | ";
+ body += ""+desc+" "; - body += ""+desc+" " + if(helptext) { + body += ""+helptext+" "; + } - body += ""+helptext+" " - - if(!ownsthis) - { - body += "Evolve" + if(!ownsthis) { + body += "Evolve"; } body += " | "; - body += " |