… | |
… | |
103 | 4 => 'southeast', |
103 | 4 => 'southeast', |
104 | 5 => 'south', |
104 | 5 => 'south', |
105 | 6 => 'southwest', |
105 | 6 => 'southwest', |
106 | 7 => 'west', |
106 | 7 => 'west', |
107 | 8 => 'northwest' |
107 | 8 => 'northwest' |
|
|
108 | }, |
|
|
109 | event_type => { |
|
|
110 | 0 => 'none', |
|
|
111 | 1 => 'apply', |
|
|
112 | 2 => 'attack', |
|
|
113 | 3 => 'death', |
|
|
114 | 4 => 'drop', |
|
|
115 | 5 => 'pickup', |
|
|
116 | 6 => 'say', |
|
|
117 | 7 => 'stop', |
|
|
118 | 8 => 'time', |
|
|
119 | 9 => 'throw', |
|
|
120 | 10 => 'trigger', |
|
|
121 | 11 => 'close', |
|
|
122 | 12 => 'timer', |
|
|
123 | 28 => 'move' |
108 | }, |
124 | }, |
109 | mood => { |
125 | mood => { |
110 | 0 => 'furious', |
126 | 0 => 'furious', |
111 | 1 => 'angry', |
127 | 1 => 'angry', |
112 | 2 => 'calm', |
128 | 2 => 'calm', |
… | |
… | |
1946 | ignore => [ |
1962 | ignore => [ |
1947 | $IGNORE_LIST{system_object} |
1963 | $IGNORE_LIST{system_object} |
1948 | ], |
1964 | ], |
1949 | name => 'Duplicator', |
1965 | name => 'Duplicator', |
1950 | use => 'I hope it is clear that one must be very cautious when inserting a duplicator anywhere with <multiply factor> greater than one. It is designed to be used for betting mechanisms only (bet -> win/loose). It is <b>not acceptable</b> to allow duplication of anything other than coins, gold and jewels. Besides, it is very important that the chance to loose the input matches the chance to earn winnings.<br> A duplicator with <multiply factor> 3 for example should have a loosing rate of 2/3 = 67%.' |
1966 | use => 'I hope it is clear that one must be very cautious when inserting a duplicator anywhere with <multiply factor> greater than one. It is designed to be used for betting mechanisms only (bet -> win/loose). It is <b>not acceptable</b> to allow duplication of anything other than coins, gold and jewels. Besides, it is very important that the chance to loose the input matches the chance to earn winnings.<br> A duplicator with <multiply factor> 3 for example should have a loosing rate of 2/3 = 67%.' |
|
|
1967 | }, |
|
|
1968 | 'Event Connector' => { |
|
|
1969 | attr => [ |
|
|
1970 | [ |
|
|
1971 | 'subtype', |
|
|
1972 | { |
|
|
1973 | desc => 'The type of event that triggers a notify to the plug-in.', |
|
|
1974 | name => 'event type', |
|
|
1975 | type => 'list', |
|
|
1976 | value => $LIST{event_type} |
|
|
1977 | } |
|
|
1978 | ], |
|
|
1979 | [ |
|
|
1980 | 'title', |
|
|
1981 | { |
|
|
1982 | desc => 'The name of the plug-in that should be notified of the event, e.g. "cfpython" for python and "perl" for the Crossfire-Perl plug-in.', |
|
|
1983 | name => 'plug-in', |
|
|
1984 | type => 'text' |
|
|
1985 | } |
|
|
1986 | ], |
|
|
1987 | [ |
|
|
1988 | 'slaying', |
|
|
1989 | { |
|
|
1990 | desc => 'The name of the extension to invoke (for python, this is the path to a script, for perl this is the name of a extension package without the ".ext" extension.', |
|
|
1991 | name => 'extension', |
|
|
1992 | type => 'text' |
|
|
1993 | } |
|
|
1994 | ], |
|
|
1995 | [ |
|
|
1996 | 'name', |
|
|
1997 | { |
|
|
1998 | desc => 'A string that is passed unaltered to the extension above. Often used to pass options to the extension that alter its behaviour.', |
|
|
1999 | name => 'options', |
|
|
2000 | type => 'text' |
|
|
2001 | } |
|
|
2002 | ] |
|
|
2003 | ], |
|
|
2004 | desc => 'Event connectors link specific events that happen to objects to a crossfire plug-in.', |
|
|
2005 | name => 'Event Connector' |
1951 | }, |
2006 | }, |
1952 | Exit => { |
2007 | Exit => { |
1953 | attr => [ |
2008 | attr => [ |
1954 | [ |
2009 | [ |
1955 | 'slaying', |
2010 | 'slaying', |
… | |
… | |
6956 | 109 => $TYPE{'Wand & Staff'}, |
7011 | 109 => $TYPE{'Wand & Staff'}, |
6957 | 110 => $TYPE{Ability}, |
7012 | 110 => $TYPE{Ability}, |
6958 | 111 => $TYPE{Scroll}, |
7013 | 111 => $TYPE{Scroll}, |
6959 | 112 => $TYPE{Director}, |
7014 | 112 => $TYPE{Director}, |
6960 | 113 => $TYPE{Girdle}, |
7015 | 113 => $TYPE{Girdle}, |
|
|
7016 | 116 => $TYPE{'Event Connector'}, |
6961 | 122 => $TYPE{Container}, |
7017 | 122 => $TYPE{Container}, |
6962 | 130 => $TYPE{'Skill Scroll'}, |
7018 | 130 => $TYPE{'Skill Scroll'}, |
6963 | 138 => $TYPE{Swamp}, |
7019 | 138 => $TYPE{Swamp}, |
6964 | 154 => $TYPE{Rune}, |
7020 | 154 => $TYPE{Rune}, |
6965 | 155 => $TYPE{Trap}, |
7021 | 155 => $TYPE{Trap}, |