… | |
… | |
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 | |
… | |
… | |
629 | =back |
629 | =back |
630 | |
630 | |
631 | =head3 B<CLOCK> - type 9 - Clocks |
631 | =head3 B<CLOCK> - type 9 - Clocks |
632 | |
632 | |
633 | This type of objects just display the time when being applied. |
633 | This type of objects just display the time when being applied. |
|
|
634 | |
|
|
635 | =head3 B<VEIN> - type 10 - item veins for mining |
|
|
636 | |
|
|
637 | Provides a place to apply to mining skill to. |
|
|
638 | |
|
|
639 | =item I<other_arch> <archname> |
|
|
640 | |
|
|
641 | The architecture to create on a successful mine. |
|
|
642 | |
|
|
643 | =item I<food> <number> |
|
|
644 | |
|
|
645 | The number of items to produce from this vein. |
|
|
646 | |
|
|
647 | =item I<ac> <percentage> |
|
|
648 | |
|
|
649 | The base chance of getting an item. |
|
|
650 | |
|
|
651 | =item I<race> <identifier> |
|
|
652 | |
|
|
653 | Race 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 | |
637 | This is a spell effect of a moving bolt. It moves straigt forward |
659 | This is a spell effect of a moving bolt. It moves straigt forward |
638 | through the map until something blocks it. |
660 | through the map until something blocks it. |
… | |
… | |
990 | =item I<other_arch> <string> |
1012 | =item I<other_arch> <string> |
991 | |
1013 | |
992 | If the inventory of the creator is empty new objects will be derived from the |
1014 | If the inventory of the creator is empty new objects will be derived from the |
993 | archetype named by <string>. |
1015 | archetype named by <string>. |
994 | |
1016 | |
995 | =item I<connected> <number> |
1017 | =item I<connected> <identifier> |
996 | |
1018 | |
997 | See generic object field description. |
1019 | See 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 | |
1011 | The type of weapon or ranged item compatible with this skill (For ranged |
1033 | The skill identifier used by other items, usually the skill name |
1012 | and combat attacks). |
|
|
1013 | |
1034 | |
1014 | =item skill, exp, dam, level |
1035 | =item I<level> <percentage> |
|
|
1036 | |
|
|
1037 | not used? |
|
|
1038 | |
|
|
1039 | =item I<exp> <number> |
|
|
1040 | |
|
|
1041 | Base amount of experience in a skill, for skills not starting at zero. |
|
|
1042 | |
|
|
1043 | =item I<expmul> <float> |
|
|
1044 | |
|
|
1045 | Experience 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 | |
1068 | If this field is set the inventory checker will search for an object which |
1099 | If this field is set the inventory checker will search for an object which |
1069 | has the archetype name that matches <string>. |
1100 | has the archetype name that matches <string>. |
1070 | |
1101 | |
1071 | =item I<connected> <connection id> |
1102 | =item I<connected> <identifier> |
1072 | |
1103 | |
1073 | This is the connection that will be activated. The connection is |
1104 | This 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, |
1075 | and it is 'released' when he leaves it. |
1106 | and it is 'released' when he leaves it. |
1076 | |
1107 | |
1077 | See also the description of the I<connected> field in the generic object field |
1108 | See also the description of the I<connected> field in the generic object |
1078 | section. |
1109 | field 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 | |
1119 | The archetype name of the objects that should be multiplied. |
1150 | The archetype name of the objects that should be multiplied. |
1120 | |
1151 | |
1121 | =item I<connected> <number> |
1152 | =item I<connected> <identifier> |
1122 | |
1153 | |
1123 | See generic object field description. |
1154 | See generic object field description. |
1124 | |
1155 | |
1125 | =back |
1156 | =back |
1126 | |
1157 | |
… | |
… | |
1144 | when the connection is activated. This field only has effect when the |
1175 | 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 |
1176 | 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 |
1177 | connection is deactivated, and I<maxsp> is 1 the hole will remain closed until the |
1147 | connection was triggered once. |
1178 | connection was triggered once. |
1148 | |
1179 | |
1149 | =item I<connected> <connection id> |
1180 | =item I<connected> <identifier> |
1150 | |
1181 | |
1151 | This is the connection id, which lets the hole opening or closing when |
1182 | 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 |
1183 | activated. The flags FLAG_ACTIVATE_ON_PUSH and FLAG_ACTIVATE_ON_RELEASE control |
1153 | at which connection state the object is activated. |
1184 | at which connection state the object is activated. |
1154 | |
1185 | |