1 ! ==============================================================================
2 ! VERBLIB: Front end to standard verbs library.
4 ! Supplied for use with Inform 6 -- Release 6.12.1 -- Serial number 160605
6 ! Copyright Graham Nelson 1993-2004 and David Griffith 2012-2016
8 ! This file is free software: you can redistribute it and/or modify
9 ! it under the terms of the GNU Affero General Public License as
10 ! published by the Free Software Foundation, either version 3 of the
11 ! License, or (at your option) any later version.
13 ! This file is distributed in the hope that it will be useful, but
14 ! WITHOUT ANY WARRANTY; without even the implied warranty of
15 ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ! Affero General Public License for more details.
18 ! You should have received a copy of the GNU Affero General Public
19 ! License along with this program. If not, see
20 ! https://gnu.org/licenses/
22 ! In your game file, Include three library files in this order:
26 ! ==============================================================================
31 #Iffalse LIBRARY_STAGE >= AFTER_VERBLIB; ! if not already included
32 #Iftrue LIBRARY_STAGE == AFTER_PARSER; ! if okay to include it
34 ! ------------------------------------------------------------------------------
36 Default AMUSING_PROVIDED 1;
37 Default MAX_CARRIED 100;
39 Default NUMBER_TASKS 1;
40 Default OBJECT_SCORE 4;
42 Default SACK_OBJECT 0;
43 Default TASKS_PROVIDED 1;
46 Array task_scores -> 0 0 0 0;
49 Array task_done -> NUMBER_TASKS;
51 #Ifndef LibraryMessages;
52 Object LibraryMessages;
56 [ ObjectsSub; Objects1Sub(); ];
57 [ PlacesSub; Places1Sub(); ];
66 ! ==============================================================================
68 Undef LIBRARY_STAGE; Constant LIBRARY_STAGE = AFTER_VERBLIB;
70 #Ifnot; ! LIBRARY_STAGE < AFTER_VERBLIB but ~= AFTER_PARSER
71 ! (this shouldn't happen because if 'parser' isn't there, LIBRARY_STAGE isn't defined)
72 Message "Error: 'parser' needs to be correctly included before including 'verblib'. This will cause a big number of errors!";
75 #Ifnot; ! LIBRARY_STAGE >= AFTER_VERBLIB: already included
76 Message "Warning: 'verblib' included twice; ignoring second inclusion. (Ignore this if this is on purpose.)";
79 #Ifnot; ! LIBRARY_STAGE is not defined (likely, 'parser' hasn't been included)
80 Message "Error: 'parser' needs to be correctly included before including 'verblib'. This will cause a big number of errors!";
83 ! ==============================================================================