|
Appendix A: Approved Spell Numbers
70 Acid Blast
48 Alarm
97 Animate Dead
1 Armor
125 Attunement
127 Bear Totem
3 Bless
126 Boar Totem
4 Blindness
5 Burning Hands
6 Call Lightning
63 Cause Critical Wounds
105 Cause Disease
62 Cause Light Wounds
64 Cause Serious Wounds
82 Change Sex
7 Charm Person
8 Chill Touch
118 Cloak of Protection
10 Colour Spray
46 Comprehend
113 Confusion
57 Continual Light
11 Control Weather
12 Create Food
80 Create Spring
13 Create Water
14 Cure Blindness
15 Cure Critical Wounds
99 Cure Deafness
104 Cure Disease
16 Cure Light Wounds
139 Cure Mute
43 Cure Poison
61 Cure Serious Wounds
17 Curse
86 Darkness
52 Deafness
117 Detect Disease
18 Detect Evil
9 Detect Good
44 Detect Hidden
19 Detect Invisibility
20 Detect magic
21 Detect Poison
22 Dispel Evil
37 Dispel Good
59 Dispel Magic
23 Earthquake
24 Enchant Weapon
25 Energy Drain
72 Faerie Fire
73 Faerie Fog
106 Fear
26 Fireball
65 Flamestrike
56 Fly
83 Gate a Vampire
120 Give Health
121 Give Mana
122 Give Moves
134 Hailstorm
27 Harm
28 Heal
135 Hurricane
53 Identify
116 Immunity
55 Improved Identify
142 Improved Invisibility
77 Infravision
29 Invisibility
47 Jump
58 Know Alignment
30 Lightning Bolt
31 Locate Object
32 Magic Missile
131 Magic Stone
69 Mass Invisibility
95 Meteor Swarm
138 Mute
115 Onset of Disease
129 Owl Totem
74 Pass Door
100 Pass Without Trace
124 Phosphate
33 Poison
88 Portal
34 Protection from Evil
45 Protection from Good
108 Quiet
81 Refresh
35 Remove Curse
107 Remove Fear
119 Rift Souls
36 Sanctuary
67 Shield
51 Shocking Grasp
112 Silence
38 Sleep
123 Soul Sense
132 Spiritual Hammer
66 Stone Skin
39 Strength
40 Summon
140 Sunlight
137 Survey
2 Teleport
136 Thunderclap
98 Tongues
103 True Seeing
130 Unicorn Totem
85 Vampiric Touch
41 Ventriloquate
68 Weaken
128 Weasel Totem
49 Wizard Mark
42 Word of Recall
133 Water Breathing
Appendix B: The Flag List
Mob Act Flags
| SENTINEL |
2 |
Stays in one room |
| SCAVENGER |
4 |
Picks up objects |
| PLANT |
8 |
Mob is a Plant |
| AGGRESSIVE |
32 |
Attacks PC's |
| STAY AREA |
64 |
Won't leave area |
| WIMPY |
128 |
Flees when hurt |
| TRAIN |
512 |
Can train PC's |
| PRACTICE |
1024 |
Can practice PC's |
| SUPER WIMPY |
2048 |
Flees when hit |
| ASSIST SAME |
4096 |
Will assist same type of creature |
| ASSIST |
8192 |
Chance to assist all types |
| ASSIST ALWAYS |
16384 |
Will always assist all types |
| SWIM |
32768 |
Mob swims |
| WATERONLY |
65536 |
Mob can only be in water |
| NO CORPSE |
048576 |
Mob doesn't leave a corpse i.e. for ghosts |
| FIREPROOF |
8388608 |
Mob aided not hurt by fire |
| INTELLIGENT |
16777216 |
Animal/Plant can pray during hunt (*must be approved*) |
Mob Affect Flags
| BLIND |
1 |
| INVISIBLE |
2 |
| DETECT EVIL |
4 |
| DETECT INVIS |
8 |
| DETECT MAGIC |
16 |
| DETECT HIDDEN |
32 |
| DETECT GOOD |
64 |
| SANCTUARY |
128 |
| FAERIE FIRE |
256 |
| INFRARED |
512 |
| CURSE |
1024 |
| NOSTEAL |
2048 |
| POISON |
4096 |
| PROTECT FROM EVIL |
8192 |
| PROTECT FROM GOOD |
16384 |
| SNEAK |
32768 |
| HIDE |
65536 |
| SLEEP |
131072 |
| CHARM |
262144 |
| FLYING |
524288 |
| PASS DOOR |
1048576 |
| NOTRACE |
2097152 |
| NOSLEEP |
4194304 |
| NOSUMMON |
8388608 |
| NOCHARM |
16777216 |
| ANTI-MAGIC |
33554432 (Not Implemented) |
| INVULNERABLE |
67108864 (Not Implemented) |
| IMPROVED INVIS |
134217728 |
| FIRESHIELD |
268435456 (Not Implemented) |
Weapon Damage Types
| HIT |
0 |
BLUNT |
| SLICE |
1 |
SHARP |
| STAB |
2 |
SHARP |
| SLASH |
3 |
SHARP |
| WHIP |
4 |
BLUNT |
| CLAW |
5 |
SHARP |
| BLAST |
6 |
BLUNT |
| POUND |
7 |
BLUNT |
| CRUSH |
8 |
BLUNT |
| STRIKE |
9 |
BLUNT |
| BITE |
10 |
SHARP |
| PIERCE (BACKSTABS) |
11 |
SHARP |
| SMITE |
12 |
BLUNT |
Item Extra Flags
| GLOW |
1 |
| HUM |
2 |
| DARK |
4 |
| LOCK |
8 |
| EVIL |
16 |
| INVIS |
32 |
| MAGIC |
64 |
| NODROP |
128 |
| BLESS |
256 |
| ANTI-GOOD |
512 |
| ANTI-EVIL |
1024 |
| ANTI-NEUTRAL |
2048 |
| NOREMOVE |
4096 |
| INVENTORY |
8192 |
| GOOD |
32768 |
| USE COST |
2097152 |
| ANTI-UNALIGN |
33554432 |
| NEUTRAL |
268435456 |
| NO HOARD |
536870912 |
Item Wear Flags
| TAKE-ABLE |
1 |
| WORN AS FINGER |
2 |
| WORN AS NECK |
4 |
| WORN AS BODY |
8 |
| WORN AS HEAD |
16 |
| WORN AS LEGS |
32 |
| WORN AS FEET |
64 |
| WORN AS HANDS |
128 |
| WORN AS ARMS |
256 |
| WORN AS SHIELD |
512 |
| WORN AS ABOUT |
1024 |
| WORN AS WAIST |
2048 |
| WORN AS WRIST |
4096 |
| WORN AS WIELD |
8192 |
| WORN AS HOLD |
16384 |
| WORN AS DECORATION |
32768 |
The Applies for Items
| NONE |
0 |
|
| STR |
1 |
|
| DEX |
2 |
|
| INT |
3 |
|
| WIS |
4 |
|
| CON |
5 |
|
| SEX |
6 |
* Needs Special Approval |
| CLASS |
7 |
* Needs Special Approval |
| AGE |
9 |
|
| HEIGHT |
10 |
|
| WEIGHT |
11 |
|
| MANA |
12 |
|
| HIT |
13 |
|
| MOVE |
14 |
|
| GOLD |
15 |
|
| AC |
17 |
|
| HITROLL |
18 |
|
| DAMROLL |
19 |
|
| SAVE V PARALYSIS |
20 |
|
| SAVE V ROD |
21 |
|
| SAVE V PETRIFY |
22 |
|
| SAVE V BREATH |
23 |
|
| SAVE V SPELL |
24 |
|
| CHARISMA |
25 |
|
| LUCK |
26 |
|
| NOSTEAL |
27 |
* Needs Special Approval |
| NOSLEEP |
28 |
* Needs Special Approval |
| NOSUMMON |
29 |
* Needs Special Approval |
| NOCHARM |
30 |
* Needs Special Approval |
| NOSEXCHANGE |
31 |
* Needs Special Approval |
| TRUESEE |
32 |
* Needs Special Approval |
| NOINFO |
33 |
* Needs Special Approval |
| WATERBREATH |
34 |
* Needs Special Approval |
| DAMAGE ABSORPTION |
41 |
|
| MAGICAL RESISTANCE |
43 |
|
Container Value1 Flags
| CLOSEABLE |
1 |
| PICKPROOF |
2 |
| CLOSED |
4 |
| LOCKED |
8 |
Room Flags
| DARK |
1 |
Can't see w/o light |
| NO SLEEP |
2 |
Can't sleep in the room |
| NO MOB |
4 |
Mobs don't wander in, but they can leave or pop in room |
| INDOORS |
8 |
Cannot Fly unless FLY OK is set. Cannot see sky. |
| FOGGY |
32 |
Can't see reliably |
| FIRE |
64 |
Affect currently unimplemented |
| LAVA |
128 |
Affect currently unimplemented |
| PRIVATE |
512 |
Two occupants only. Cannot portal TO room and cannot be summoned FROM room. Cannot Fly unless FLY OK is set. |
| PEACEFUL |
1024 |
Saferoom |
| SOLITARY |
2048 |
Single occupant only and cannot portal TO room and cannot be summoned FROM room. Cannot Fly unless FLY OK is set. |
| NO RECALL |
8192 |
Cannot recall or teleport FROM room |
| NO STEAL |
16384 |
Cannot steal in room |
| NOTRANS |
32768 |
Cannot portal or bad recall TO room and you cannot summon TO or FROM the room |
| NO SPELL |
65536 |
Cannot cast in room |
| SEAFLOOR |
131072 |
Effect uncertain |
| NO FLY |
262144 |
Cannot fly in room. Redundant in some cases. |
| HOLY GROUND |
524288 |
Unimplemented |
| FLY OK |
1048576 |
Can fly in room. Redundant in some cases. |
Area-wide Flags
| AREA IS NATURAL |
0 (DEFAULT) |
| AREA IS MANMADE |
1 |
| AREA IS A CITY |
2 |
| AREA IS A FOREST |
4 |
Directions
| NORTH |
0 |
| EAST |
1 |
| SOUTH |
2 |
| WEST |
3 |
| UP |
4 |
| DOWN |
5 |
Room/Terrain Types
| INSIDE |
0 |
|
| CITY |
1 |
|
| FIELD |
2 |
|
| FOREST |
3 |
|
| HILLS |
4 |
|
| MOUNTAIN |
5 |
|
| WATER SWIM |
6 |
|
| WATER NOSWIM |
7 |
|
| UNDERWATER |
8 |
<= Cannot fly here. |
| AIR |
9 |
|
| DESERT |
10 |
|
Wear Locations for RESETS
| LIGHT |
0 |
| LEFT FINGER |
1 |
| RIGHT FINGER |
2 |
| NECK 1 |
3 |
| NECK 2 |
4 |
| BODY |
5 |
| HEAD |
6 |
| LEGS |
7 |
| FEET |
8 |
| HANDS |
9 |
| ARMS |
10 |
| SHIELD |
11 |
| ABOUT BODY |
12 |
| WAIST |
13 |
| LEFT WRIST |
14 |
| RIGHT WRIST |
15 |
| WIELD |
16 |
| HOLD |
17 |
| DECORATION |
18 |
Races by Numbers - Used in TFC Shop Blocks
| NON-RACIAL |
-1 |
| HUMAN |
0 |
| DWARF |
1 |
| ELF |
2 |
| GNOME |
3 |
| HALFELF |
4 |
| HALFLING |
5 |
| AARAKOCRA |
6 |
| GIANT |
7 |
| MINOTAUR |
8 |
| OGRE |
9 |
Race Languages KNOWN By Mob
| COMMON |
1 |
| DWARVEN |
2 |
| ELVEN |
4 |
| GNOMISH |
8 |
| HALFLING |
16 |
| AARAKOCRA |
32 |
| GIANT |
64 |
| MINOTAUR |
128 |
| OGRE |
256 |
| THORAS |
512 |
| GOBLIN |
1024 |
| DROW |
2048 |
| KOBOLD |
4096 |
| ORC |
8192 |
| TROLL |
16384 |
| GOD |
32768 |
Race Language Mob Prefers SPEAKING
| COMMON |
1 |
| DWARVEN |
2 |
| ELVEN |
4 |
| GNOMISH |
8 |
| HALFLING |
16 |
| AARAKOCRA |
32 |
| GIANT |
64 |
| MINOTAUR |
128 |
| OGRE |
256 |
| THORAS |
512 |
| GOBLIN |
1024 |
| DROW |
2048 |
| KOBOLD |
4096 |
| ORC |
8192 |
| TROLL |
16384 |
| GOD |
65535 |
Drink Types
| Water |
0 |
clear |
| Beer |
1 |
amber |
| Wine |
2 |
rose |
| Ale |
3 |
brown |
| Darkale |
4 |
dark |
| Whisky |
5 |
golden |
| Lemonade |
6 |
pink |
| Firebreather |
7 |
boiling |
| Local Specialty |
8 |
everclear |
| Slime |
9 |
green |
| Milk |
10 |
white |
| Tea |
11 |
tan |
| Coffee |
12 |
black |
Do Not Use |
| Blood |
13 |
red |
| Saltwater |
14 |
clear |
| Mead |
15 |
thick golden |
| Dew |
16 |
clear yellow |
Do Not Use |
Appendix C: Item Types Value Specifications
LIGHT
1
Value0:
0
Value1:
0
Value2:
number of hours worth of light, -1 = infinite, 0 = dead
Value3:
0
SCROLL
2
Value0:
spell level
Value1:
spell number or 0
Value2:
spell number or 0
Value3:
spell number or 0
WAND
3
Value0:
spell level
Value1:
maximum charges
Value2:
remaining charges
Value3:
spell number
STAFF
4
Value0:
spell level
Value1:
maximum charges
Value2:
remaining charges
Value3:
spell number
WEAPON
5
Value0:
0
Value1:
minimum damage
Value2:
maximum damage
Value3:
weapon damage type, see flag listing for values
WEAPON ANIMAL 6
Value0:
0
Value1:
minimum damage
Value2:
maximum damage
Value3:
weapon damage type, see flag listing for values
FETISH
7
Value0:
spell level
Value1:
maximum charges
Value2:
remaining charges
Value3:
spell number
TREASURE
8
Value0:
0
Value1:
0
Value2:
0
Value3:
0
ARMOR
9
Value0:
AC rating
Value1:
0
Value2:
0
Value3:
0
POTION
10
Value0:
spell level
Value1:
spell number or 0
Value2:
spell number or 0
Value3:
spell number or 0
PET FOOD
11 <= requires *Special Permission*
Value0:
hours worth of food value if eaten
Value1:
0
Value2:
0
Value3:
0 = non-poisonous, non-zero = poison
FURNITURE 12
Value0:
0
Value1:
0
Value2:
0
Value3:
0
TRASH
13
Value0:
0
Value1:
0
Value2:
0
Value3:
0
ARMOR ANIMAL 14
Value0:
AC rating
Value1:
0
Value2:
0
Value3:
0
CONTAINER 15
Value0:
weight container can hold, INCLUDING its OWN weight
Value1:
container flags
Value2:
container key vnum or 0
Value3:
0
DRINK CONTAINER 17
Value0:
capacity of container
Value1:
amount left in container
Value2:
the liquid type in the container, get the number from the flag list
Value3:
0 = non-poisonous, non-zero = poison
KEY
18
Value0:
0
Value1:
0
Value2:
0
Value3:
0
FOOD
19
Value0:
hours worth of food value if eaten
Value1:
0
Value2:
0
Value3:
0 = non-poisonous, non-zero = poison
MONEY
20
Value0:
value/worth rated by number of coins
Value1:
0
Value2:
0
Value3:
0
BOAT
22
Value0:
0
Value1:
0
Value2:
0
Value3:
0
FOUNTAIN
25
Value0:
0
Value1:
0 or a liquid type
Value2:
0 or a spell level
Value3:
0 or a spell number
PILL
26
Value0:
spell level
Value1:
spell number or 0
Value2:
spell number or 0
Value3:
spell number or 0
DECORATION 27
Value0:
0
Value1:
0
Value2:
0
Value3:
0
RING
29
Value0:
spell level
Value1:
maximum charges
Value2:
remaining charges
Value3:
spell number
JEWELRY
30
Value0:
0
Value1:
0
Value2:
0
Value3:
0
RELIC
33
Value0:
spell level
Value1:
maximum charges
Value2:
remaining charges
Value3:
spell number
Appendix D: Special Functions
Special Functions for Doors (Triggers)
The Allow Triggers
| spec_short_fall |
does light damage |
| spec_cavein |
does light damage |
| spec_shut_door |
requires a door of name "door" in the room |
| spec_medium_fall |
-10% current hp |
| spec_long_fall |
takes player to 1 hp and requires landing room peaceful (SAFE) |
| spec_rapids |
chance of loss of boat and hp loss |
| spec_crack_head |
hit head on lowobject - hp loss |
| spec_splash |
drop off a rope/ledge into a pool with a SPLASH |
The Prevent Triggers
| spec_shaman_only |
allows only shamans through door |
| spec_mage_only |
allows only mages through door |
| spec_cleric_only |
allows only cleric classes through door |
| spec_thief_only |
allows only thieves through door |
| spec_good_only |
allows only good players through the door |
| spec_evil_only |
allows only evil players through the door |
| spec_neutral_only |
allows only neutral players through the door |
| spec_mudschool_newbies |
allows only those level 1 - 4 through the door |
| spec_warrior_only |
allows only warrior AND ranger classes through door |
| spec_warrior_only2 |
allows only warriors through the door |
| spec_ranger_only |
allows only rangers through the door |
| spec_fallin_north |
if north's down is open you may fall in |
| spec_fallin_south |
if south's down is open you may fall in |
| spec_fallin_west |
if west's down is open you may fall in |
| spec_fallin_east |
if east's down is open you may fall in |
Special Functions for Rooms (Rspecs)
| spec_mildgas |
1 point of damage on each combat tick via choking fumes |
| spec_gas_chamber |
does light damage oneach combat tick via choking fumes |
| spec_current_east |
river current east - fly/wateronly chars not affected |
| spec_current_south |
river current south - fly/wateronly chars not affected |
| spec_current_west |
river current west - fly/wateronly chars not affected |
| spec_current_north |
river current north - fly/wateronly chars not affected |
| spec_current_up |
river currentup - fly/wateronly chars not affected |
| spec_current_down |
river current down - fly/wateronly chars not affected |
| spec_waterfall_east |
river sweeps east over falls - landing room must be peaceful |
| spec_waterfall_west |
river sweeps west over falls - landing room must be peaceful |
| spec_waterfall_south |
river sweeps south over falls - landing room must be peaceful |
| spec_waterfall_north |
river sweeps north over falls - landing room must be peaceful |
| spec_fork_se |
river current goes south or east - fly/wateronly chars not affected |
| spec_fork_sw |
river current goes south or west - fly/wateronly chars not affected |
| spec_fork_nw |
river current goes north or west - fly/wateronly chars not affected |
| spec_fork_ne |
river current goes north or east - fly/wateronly chars not affected |
| spec_rapids_south |
river sweeps into rapids south may crush boat fly not affected |
| spec_rapids_east |
river sweeps into rapids east may crush boat fly not affected |
| spec_rapids_north |
river sweeps into rapids north may crush boat fly not affected |
| spec_rapids_west |
river sweeps into rapids west may crush boat fly not affected |
| spec_aircurrent_east |
currents like river currents but in air.flying chars affected |
| spec_aircurrent_west |
|
| spec_aircurrent_north |
|
| spec_aircurrent_south |
|
| spec_aircurrent_up |
|
| spec_aircurrent_down |
|
| spec_airfork_ne |
|
| spec_airfork_se |
|
| spec_airfork_nw |
|
| spec_airfork_sw |
|
| spec_oceancurrent_east |
currents like river currents but in the ocean/seas |
| spec_oceancurrent_west |
|
| spec_oceancurrent_north |
|
| spec_oceancurrent_south |
|
| spec_oceancurrent_up |
|
| spec_oceancurrent_down |
|
| spec_oceanfork_ne |
|
| spec_oceanfork_se |
|
| spec_oceanfork_nw |
|
| spec_oceanfork_sw |
|
| spec_tide_ew |
ocean/sea tide moves east and west |
| spec_tide_ns |
ocean/sea tide moves north and south |
| spec_holy_ground |
trips effects for descreatingholy ground |
| spec_seal_exits |
closes any open e s n w doors in the room |
| spec_wind_tunnel |
blows inventory items off a char onto the ground |
| spec_fire_bath |
a gout of flame randomly blasts the room |
| spec_steam_bath |
a blast of steam randomly fills the room |
| spec_lava_lake |
flares randomly explodes off a lava pool |
| spec_freefall_one |
assumes there is a down exit in a midair room and drops the person there |
| spec_fallin |
assumes there is a hole down and drops the person through it |
| spec_break_low |
too much weight and a door 3 type on the door will break open - 400 |
| spec_break_medium |
too much weight and a door 3 type on the door will break open - 800 |
| spec_break_high |
too much weight and a door 3 type on the door will break open - 1200 |
Special Functions for Mobs (Specials)
| spec_howl |
mob howls randomly |
| spec_breath_any |
mob uses any of the breath weapons |
| spec_breath_acid |
mob exhales a cloud of acid as a breath weapon |
| spec_breath_fire |
mob exhales fire as a breath weapon |
| spec_breath_frost |
mob exhales a blast of icy air as a breath weapon |
| spec_breath_gas |
mob exhales acloud of gas as a breath weapon |
| spec_breath_lightning |
mob exhales electrical bolts as a breath weapon |
| spec_cast_undead |
spell pack of cleric/mage spells |
| spec_fido |
eats corpses, attacks sleeping players |
| spec_guard |
jumps in a fight attacking evil |
| spec_janitor |
makes a mobile scavenger (Don't use, no point) |
| spec_poison |
mobs bites player to try and poison them |
| spec_thief |
mob acts like a thief and steals from players |
| spec_cast_mage |
spell pack of mage spells |
| spec_cast_cleric |
spell pack of cleric spells |
| spec_cast_shaman |
spell pack of shaman spells |
| spec_sleeping_dragon |
dragons sleep with 40% chance of waking if player is in the room; when
fighting dragons have acid breath |
| spec_demon_lord |
nasty set of spells for a high level demon lord |
| spec_demon |
set of spells for a high level demon |
| spec_guardian_demon |
set of spells for a guardian demon |
| spec_fire_demon |
all fire spells + firebreath |
| spec_shadow_demon |
blindness, other isolation spells |
| spec_storm_demon |
spells of weather |
| spec_mind_affects |
confusion, fear, etc |
| spec_corrosion |
spells of corrosion: acids and poison, etc |
| spec_pestilence |
disease, poison, curse, etc |
| spec_mage_protector |
if you fight by one they jump into "Save Their Master" and then fight
as spec_cast_mage |
| spec_fight_dirty |
mobs fight with all the dirty tricks in the book |
| spec_poison_sting |
the mob tries to sting you with a poison stinger |
| spec_one_spell |
the mob casts the single spell given it in its mobile record |
| spec_gargoyle |
mob screams then attacks a player |
Back to the area writer's guide page.
|