ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/pod/objects.pod
(Generate patch)

Comparing deliantra/server/pod/objects.pod (file contents):
Revision 1.35 by root, Fri Mar 26 18:57:59 2010 UTC vs.
Revision 1.38 by root, Mon Apr 5 16:24:59 2010 UTC

142 142
143This means: the lower I<speed> is (but still above MIN_ACTIVE_SPEED) 143This means: the lower I<speed> is (but still above MIN_ACTIVE_SPEED)
144the more seldom the object is processed. And the higher I<speed> is 144the more seldom the object is processed. And the higher I<speed> is
145the more often the object is processed. 145the more often the object is processed.
146 146
147=item I<connected> <number> 147=item I<connected> <identifier>
148 148
149When this field is set the object will be linked to a connection with the 149When this field is set the object will be linked to a connection with the
150id <number>. What happens when the connection is 'activated' depends on the 150same <identifier>. What happens when the connection is 'activated' depends on the
151type of the object. 151type of the object.
152 152
153FLAG_ACTIVATE_ON_PUSH and FLAG_ACTIVATE_ON_RELEASE they will control 153FLAG_ACTIVATE_ON_PUSH and FLAG_ACTIVATE_ON_RELEASE they will control
154when to activate the object, see description of these below for further details. 154when to activate the object, see description of these below for further details.
155 155
629=back 629=back
630 630
631=head3 B<CLOCK> - type 9 - Clocks 631=head3 B<CLOCK> - type 9 - Clocks
632 632
633This type of objects just display the time when being applied. 633This type of objects just display the time when being applied.
634
635=head3 B<VEIN> - type 10 - item veins for mining
636
637Provides a place to apply to mining skill to.
638
639=item I<other_arch> <archname>
640
641The architecture to create on a successful mine.
642
643=item I<food> <number>
644
645The number of items to produce from this vein.
646
647=item I<ac> <percentage>
648
649The base chance of getting an item.
650
651=item I<race> <identifier>
652
653Race of required extraction tools.
654
655=back
634 656
635=head3 B<LIGHTNING> - type 12 - Lightnings (DEPRECATED: see B<SPELL_EFFECT> subtype SP_BOLT) 657=head3 B<LIGHTNING> - type 12 - Lightnings (DEPRECATED: see B<SPELL_EFFECT> subtype SP_BOLT)
636 658
637This is a spell effect of a moving bolt. It moves straigt forward 659This is a spell effect of a moving bolt. It moves straigt forward
638through the map until something blocks it. 660through the map until something blocks it.
990=item I<other_arch> <string> 1012=item I<other_arch> <string>
991 1013
992If the inventory of the creator is empty new objects will be derived from the 1014If the inventory of the creator is empty new objects will be derived from the
993archetype named by <string>. 1015archetype named by <string>.
994 1016
995=item I<connected> <number> 1017=item I<connected> <identifier>
996 1018
997See generic object field description. 1019See generic object field description.
998 1020
999=back 1021=back
1000 1022
1004 1026
1005=over 4 1027=over 4
1006 1028
1007=item I<subtype> <skill number> 1029=item I<subtype> <skill number>
1008 1030
1009=item I<weapontype> <type of tool> 1031=item I<skill> <string>
1010 1032
1011The type of weapon or ranged item compatible with this skill (For ranged 1033The skill identifier used by other items, usually the skill name
1012and combat attacks).
1013 1034
1014=item skill, exp, dam, level 1035=item I<level> <percentage>
1036
1037not used?
1038
1039=item I<exp> <number>
1040
1041Base amount of experience in a skill, for skills not starting at zero.
1042
1043=item I<expmul> <float>
1044
1045Experience is multiplied by this factor.
1015 1046
1016=back 1047=back
1017 1048
1018=head3 B<DRINK> - type 54 - Drinkable stuff 1049=head3 B<DRINK> - type 54 - Drinkable stuff
1019 1050
1066=item I<race> <string> 1097=item I<race> <string>
1067 1098
1068If this field is set the inventory checker will search for an object which 1099If this field is set the inventory checker will search for an object which
1069has the archetype name that matches <string>. 1100has the archetype name that matches <string>.
1070 1101
1071=item I<connected> <connection id> 1102=item I<connected> <identifier>
1072 1103
1073This is the connection that will be activated. The connection is 1104This is the connection that will be activated. The connection is
1074'pushed' when someone enters the space with the inventory checker, 1105'pushed' when someone enters the space with the inventory checker,
1075and it is 'released' when he leaves it. 1106and it is 'released' when he leaves it.
1076 1107
1077See also the description of the I<connected> field in the generic object field 1108See also the description of the I<connected> field in the generic object
1078section. 1109field section.
1079 1110
1080=back 1111=back
1081 1112
1082=head3 B<MOOD_FLOOR> - type 65 - change mood of monsters 1113=head3 B<MOOD_FLOOR> - type 65 - change mood of monsters
1083 1114
1116 1147
1117=item I<other_arch> <string> 1148=item I<other_arch> <string>
1118 1149
1119The archetype name of the objects that should be multiplied. 1150The archetype name of the objects that should be multiplied.
1120 1151
1121=item I<connected> <number> 1152=item I<connected> <identifier>
1122 1153
1123See generic object field description. 1154See generic object field description.
1124 1155
1125=back 1156=back
1126 1157
1144when the connection is activated. This field only has effect when the 1175when the connection is activated. This field only has effect when the
1145connection is triggered. So if you put a closed hole on a map, and the 1176connection is triggered. So if you put a closed hole on a map, and the
1146connection is deactivated, and I<maxsp> is 1 the hole will remain closed until the 1177connection is deactivated, and I<maxsp> is 1 the hole will remain closed until the
1147connection was triggered once. 1178connection was triggered once.
1148 1179
1149=item I<connected> <connection id> 1180=item I<connected> <identifier>
1150 1181
1151This is the connection id, which lets the hole opening or closing when 1182This is the connection id, which lets the hole opening or closing when
1152activated. The flags FLAG_ACTIVATE_ON_PUSH and FLAG_ACTIVATE_ON_RELEASE control 1183activated. The flags FLAG_ACTIVATE_ON_PUSH and FLAG_ACTIVATE_ON_RELEASE control
1153at which connection state the object is activated. 1184at which connection state the object is activated.
1154 1185

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines