blob: 3218445aadbcecfefc75e2365720c66c1d0d9fb0 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001CONCEPT
2 driver hooks
3
4DESCRIPTION
5 To allow a greater flexibility of the muds, the gamedrivers
6 since 3.2.1 moved several once hardcoded 'underground'
7 activities from the driver into the mudlib. This includes for
8 example the differences between compat and native mode.
9
10 The hooks are set with the privileged efun set_driver_hook().
11 Some of the hooks are mandatory, some not. Most hooks accept
12 unbound lambda closures as values, some also lfun closures or
13 even strings.
14 The hooks are identified by an ordinal number, for which
15 symbolic names are defined in /sys/driverhooks.h.
16
17SEE ALSO
18 native(C), set_driver_hook(E)