Virus is a cool element, but I think a few changes should be made.
1. It should erase decorations.
Go add some virus to Imperatus's District 2, and you'll see what I mean. Decorations block the appearance of viruses and confuse the player. Virus should erase decorations on contact. Magma should do this too.
2. Infecting EVERYTHING?
Virus as of now infects absolutely everything, including clone, black holes, white holes, and voids. Only diamond is safe. I don't think this is a good idea. Some materials should slow the spread down, or stop it outright.
3. Grey goo
There should be a second type of virus that acts more like grey goo. It should turn to a liquid form within a second or so, and not disappear after a while. It should melt and cool into bmtl, as to show that it's made of nanobots.
If these three things were added/changed, I feel as though Virus would be much better.
If you had done any research, you would have noticed this element has been in existence for well over 2 years in a mod.
While I can agree with the first and partially with the second, the third requires a Semi-brand new code base for several aspects of the element.
Virus should save the ctype of the element it infects.
struct Particle
{
int type;
int life, ctype;
float x, y, vx, vy;
float temp;
float pavg[2];
int flags;
int tmp;
int tmp2;
unsigned int dcolour;
/** Returns a list of properties, their type and offset within the structure that can be changed
by higher-level processes referring to them by name such as Lua or the property tool **/
static std::vector GetProperties();
struct Particle *subpart; // A sub-particle for advanced-ness
};
I know this isn't thread, VIRS shall have a gas state called, AIRB (Air Born Virus), which infects any gas or stickman.
What if infected stickmen's controls are reversed? It would make stickman games more interesting.