Page 1 of 1

How hard would it be to get rid of undead racial restriction

PostPosted: Tuesday, 10th May 2016, 23:01
by Reptisaurus
I don't know anything about coding AT ALL, but I play a lot of random characters, and every time I get "ghoul transmuter" or "mummy berserker" I just think "Well, this is going to be stupid and boring and not fun."

How hard would it be to change the source code to make those characters not stupid and not boring and fun, instead?

Re: How hard would it be to get rid of undead racial restric

PostPosted: Thursday, 12th May 2016, 07:15
by ontoclasm
it's super easy, you just find the line where it says int fun = 0 and change it to int fun = 255

(explain what you want changed, then maybe we can give you a real answer)

Re: How hard would it be to get rid of undead racial restric

PostPosted: Wednesday, 22nd June 2016, 17:46
by jeremygurr
It's not hard if you want to remove the "undead" quality of all species. Just look for:

  Code:
bool species_is_undead(species_type species)
{
    return species_undead_type(species) != US_ALIVE;
}


inside of species.cc

change it to something like this:

  Code:
bool species_is_undead(species_type species)
{
    return false;
}


if you want to change it for just one species, you can go to species-data.h, and find the species you want to change, then find the part that says "US_UNDEAD" and change it to "US_ALIVE".