… | |
… | |
142 | |
142 | |
143 | This means: the lower I<speed> is (but still above MIN_ACTIVE_SPEED) |
143 | This means: the lower I<speed> is (but still above MIN_ACTIVE_SPEED) |
144 | the more seldom the object is processed. And the higher I<speed> is |
144 | the more seldom the object is processed. And the higher I<speed> is |
145 | the more often the object is processed. |
145 | the more often the object is processed. |
146 | |
146 | |
147 | =item I<connected> <number> |
147 | =item I<connected> <identifier> |
148 | |
148 | |
149 | When this field is set the object will be linked to a connection with the |
149 | When this field is set the object will be linked to a connection with the |
150 | id <number>. What happens when the connection is 'activated' depends on the |
150 | same <identifier>. What happens when the connection is 'activated' depends on the |
151 | type of the object. |
151 | type of the object. |
152 | |
152 | |
153 | FLAG_ACTIVATE_ON_PUSH and FLAG_ACTIVATE_ON_RELEASE they will control |
153 | FLAG_ACTIVATE_ON_PUSH and FLAG_ACTIVATE_ON_RELEASE they will control |
154 | when to activate the object, see description of these below for further details. |
154 | when to activate the object, see description of these below for further details. |
155 | |
155 | |
… | |
… | |
990 | =item I<other_arch> <string> |
990 | =item I<other_arch> <string> |
991 | |
991 | |
992 | If the inventory of the creator is empty new objects will be derived from the |
992 | If the inventory of the creator is empty new objects will be derived from the |
993 | archetype named by <string>. |
993 | archetype named by <string>. |
994 | |
994 | |
995 | =item I<connected> <number> |
995 | =item I<connected> <identifier> |
996 | |
996 | |
997 | See generic object field description. |
997 | See generic object field description. |
998 | |
998 | |
999 | =back |
999 | =back |
1000 | |
1000 | |
… | |
… | |
1009 | =item I<weapontype> <type of tool> |
1009 | =item I<weapontype> <type of tool> |
1010 | |
1010 | |
1011 | The type of weapon or ranged item compatible with this skill (For ranged |
1011 | The type of weapon or ranged item compatible with this skill (For ranged |
1012 | and combat attacks). |
1012 | and combat attacks). |
1013 | |
1013 | |
1014 | =item skill, exp, dam, level |
1014 | =item I<skill> <string> |
|
|
1015 | |
|
|
1016 | The skill identifier used by other items, usually the skill name |
|
|
1017 | |
|
|
1018 | =item I<level> <percentage> |
|
|
1019 | |
|
|
1020 | not used? |
|
|
1021 | |
|
|
1022 | =item I<exp> <number> |
|
|
1023 | |
|
|
1024 | Base amount of experience in a skill, for skills not starting at zero. |
|
|
1025 | |
|
|
1026 | =item I<expmul> <float> |
|
|
1027 | |
|
|
1028 | Experience is multiplied by this factor. |
1015 | |
1029 | |
1016 | =back |
1030 | =back |
1017 | |
1031 | |
1018 | =head3 B<DRINK> - type 54 - Drinkable stuff |
1032 | =head3 B<DRINK> - type 54 - Drinkable stuff |
1019 | |
1033 | |
… | |
… | |
1066 | =item I<race> <string> |
1080 | =item I<race> <string> |
1067 | |
1081 | |
1068 | If this field is set the inventory checker will search for an object which |
1082 | If this field is set the inventory checker will search for an object which |
1069 | has the archetype name that matches <string>. |
1083 | has the archetype name that matches <string>. |
1070 | |
1084 | |
1071 | =item I<connected> <connection id> |
1085 | =item I<connected> <identifier> |
1072 | |
1086 | |
1073 | This is the connection that will be activated. The connection is |
1087 | This is the connection that will be activated. The connection is |
1074 | 'pushed' when someone enters the space with the inventory checker, |
1088 | 'pushed' when someone enters the space with the inventory checker, |
1075 | and it is 'released' when he leaves it. |
1089 | and it is 'released' when he leaves it. |
1076 | |
1090 | |
1077 | See also the description of the I<connected> field in the generic object field |
1091 | See also the description of the I<connected> field in the generic object |
1078 | section. |
1092 | field section. |
1079 | |
1093 | |
1080 | =back |
1094 | =back |
1081 | |
1095 | |
1082 | =head3 B<MOOD_FLOOR> - type 65 - change mood of monsters |
1096 | =head3 B<MOOD_FLOOR> - type 65 - change mood of monsters |
1083 | |
1097 | |
… | |
… | |
1116 | |
1130 | |
1117 | =item I<other_arch> <string> |
1131 | =item I<other_arch> <string> |
1118 | |
1132 | |
1119 | The archetype name of the objects that should be multiplied. |
1133 | The archetype name of the objects that should be multiplied. |
1120 | |
1134 | |
1121 | =item I<connected> <number> |
1135 | =item I<connected> <identifier> |
1122 | |
1136 | |
1123 | See generic object field description. |
1137 | See generic object field description. |
1124 | |
1138 | |
1125 | =back |
1139 | =back |
1126 | |
1140 | |
… | |
… | |
1144 | when the connection is activated. This field only has effect when the |
1158 | when the connection is activated. This field only has effect when the |
1145 | connection is triggered. So if you put a closed hole on a map, and the |
1159 | connection is triggered. So if you put a closed hole on a map, and the |
1146 | connection is deactivated, and I<maxsp> is 1 the hole will remain closed until the |
1160 | connection is deactivated, and I<maxsp> is 1 the hole will remain closed until the |
1147 | connection was triggered once. |
1161 | connection was triggered once. |
1148 | |
1162 | |
1149 | =item I<connected> <connection id> |
1163 | =item I<connected> <identifier> |
1150 | |
1164 | |
1151 | This is the connection id, which lets the hole opening or closing when |
1165 | This is the connection id, which lets the hole opening or closing when |
1152 | activated. The flags FLAG_ACTIVATE_ON_PUSH and FLAG_ACTIVATE_ON_RELEASE control |
1166 | activated. The flags FLAG_ACTIVATE_ON_PUSH and FLAG_ACTIVATE_ON_RELEASE control |
1153 | at which connection state the object is activated. |
1167 | at which connection state the object is activated. |
1154 | |
1168 | |