Race-specific eq

This is the place to discuss building questions, ideas, and suggestions.
Post Reply
User avatar
Faustus
Newbie
Posts: 58
Joined: Tue Jan 07, 2003 4:58 pm
Location: Milwaukee

Race-specific eq

Post 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...
User avatar
Joysinger
Avid Player
Posts: 159
Joined: Wed Jan 29, 2003 3:04 pm

Post by Joysinger »

awww... faustus, you're a doll! :D i loves it.
*Unicorn hoofprint sparkling from glittering faerie-dust*
User avatar
Faustus
Newbie
Posts: 58
Joined: Tue Jan 07, 2003 4:58 pm
Location: Milwaukee

Post by Faustus »

Hey, thank Slart, he's the one who made this possible...
User avatar
Stars
Mud Addict
Posts: 446
Joined: Tue Jan 07, 2003 10:10 am
Location: Earth

Post by Stars »

Terribly, wonderfully, unequivocally AWESOME!
The stars brightly shine upon our world, a constant reminder of our origin. We are stars.
User avatar
Joysinger
Avid Player
Posts: 159
Joined: Wed Jan 29, 2003 3:04 pm

Post by Joysinger »

well, i of course love slart just as much :) and the rest of you bunch! :)
*includes everyone in a gianthug*
*Unicorn hoofprint sparkling from glittering faerie-dust*
Post Reply