Page 1 of 1

Race-specific eq

Posted: Sat Feb 28, 2004 7:20 pm
by Faustus
For anyone working on areas that doesn't already know, we have the code create equipment that can only be used by certain races. Do limit which races can use an item, add the following flags to the extras for the object:

anti-elf 268435456
anti-druid 536870912
anti-kender 1073741824
anti-dwarf 2147483648
anti-human 4294967296
anti-illithid 8589934592
anti-avian 17179869184
anti-demon 34359738368


If you want to limit multiple races from using something, just use more than one of those flags. For example, you could create an item useable only by dwarfs by adding the following to the extra flags:

268435456|536870912|1073741824|4294967296|8589934592|17179869184|34359738368



If you're using Alicia's builder program, you'll have to open up the area file in a text editor and add these flags by hand until he can add it into the program. Feel free to get in touch with me if you have trouble figuring out how to add info by hand...

Posted: Sun Feb 29, 2004 5:54 am
by Joysinger
awww... faustus, you're a doll! :D i loves it.

Posted: Sun Feb 29, 2004 10:00 am
by Faustus
Hey, thank Slart, he's the one who made this possible...

Posted: Sun Feb 29, 2004 12:35 pm
by Stars
Terribly, wonderfully, unequivocally AWESOME!

Posted: Sun Feb 29, 2004 12:42 pm
by Joysinger
well, i of course love slart just as much :) and the rest of you bunch! :)
*includes everyone in a gianthug*