Add initial work
[viable-idea.git] / src / viable-idea.inf
1 ! Copyright (C) 2022 Jason Self <j@jxself.org>
2 !
3 ! This file is free software: you may copy, redistribute and/or
4 ! modify it under the terms of the GNU Affero General Public License
5 ! as published by the Free Software Foundation, either version 3 of
6 ! the License, or (at your option) any later version.
7 !
8 ! This file is distributed in the hope that it will be useful, but
9 ! WITHOUT ANY WARRANTY; without even the implied warranty of
10 ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 ! Affero General Public License for more details.
12 !
13 ! You should have received a copy of the GNU Affero General Public
14 ! License along with this file. If not, see https://gnu.org/licenses/
15 !
16 ! SPDX-License-Identifer: AGPL-3.0-or-later
17 Array UUID_ARRAY string "UUID://A4A45920-391C-44DA-BD15-54CD82CAF7AD//";
18 #Ifdef UUID_ARRAY;
19 #Endif;
20 Constant Story "A Viable Idea (Working title)";
21 Constant Headline 
22     "^A work of interactive fiction.
23     ^Ongoing development: https://jxself.org/git/?p=viable-idea.git
24     ^Send bugs, feedback, and contributions by email to j@@64jxself.org.
25     ^IFID A4A45920-391C-44DA-BD15-54CD82CAF7AD
26     ^Copyright (C) Various Contributors
27     ^You can change and share this game under the terms of the GNU 
28     Affero General Public License as published by the Free Software 
29     Foundation (FSF), either version 3 of the License, or (at your 
30     option) any later version published by the FSF. See the GNU Affero 
31     General Public License for more details.^^You should have received 
32     a copy of this game's source code along with a copy of the GNU 
33     Affero General Public License so that you can know your rights. 
34     If not, contact the place you got it from.^^";
35 Include "parser";
36 Include "verblib";
37 Release 0;
38 Serial "221208";
39
40 Object  study "Study"
41   with  description 
42             "You're in the study: A large, rectangular-shaped room. 
43             The walls are painted a pale blue color and the floor is 
44             covered in a light gray carpet. There's a large window on 
45             one wall, letting in natural light and providing a view 
46             of the surrounding trees. A desk and chair are in the 
47             corner of the room, a cozy armchair and small table 
48             are near the window. The room feels calm and peaceful, and 
49             you can hear a soft hum in the background.",
50         before [;
51           Listen:
52             print_ret 
53                 "A low, steady hum can be heard in the background. 
54                 It's not too loud or disruptive, and adds a touch of 
55                 white noise to the space.";
56         ],
57   has   light;
58
59 Object  lightgraycarpet "light gray carpet" study
60   with  name 'light' 'gray' 'grey' 'carpet',
61   with  description 
62             "The light gray carpet is a neutral, calming color that 
63             blends well with the pale blue walls. It is made of soft, 
64             plush material and is in good condition, with no visible 
65             stains or tears. It adds a touch of warmth and coziness to 
66             the room.",
67   has   scenery;
68
69 Object  largewindow "large window" study
70   with  name 'large' 'window',
71   with  description 
72             "The large window is a rectangular shape and takes up 
73             most of the wall. It has white frames and panes of clear 
74             glass that allow natural light to pour into the room. The 
75             view through the window is of the surrounding trees, 
76             adding a touch of greenery to the space. The window 
77             provides a connection to the outside world and helps to 
78             create a sense of openness and airiness in the room.",
79         before [;
80           Open:
81             print_ret "The window isn't the type that can be opened.";
82         ],
83   has   scenery;
84
85 Object  trees "trees" study
86   with  name 'tree' 'trees',
87   with  description 
88             "The trees outside the window are tall and full, 
89             providing a green, leafy canopy. The trees provide some 
90             privacy for the room, and their presence adds a sense of 
91             connection to the natural world.",
92   has   scenery pluralname;
93
94 Object  desk "dark wooden desk" study
95   with  name 'dark' 'wooden' 'desk',
96   with  description 
97             "The dark wooden desk has a traditional, sturdy design. 
98             It has a rectangular shape, four legs and a smooth, 
99             polished surface with a few scratches and scuffs from 
100             use. The desk provides a functional workspace and adds a 
101             touch of warmth and sophistication to the room.",
102         before [;
103           Take, Pull, Push, PushDir, Turn:
104             print_ret 
105                 "You struggle, but it does not budge. You'll need to 
106                 find a different way to accomplish that.";
107         ],
108   has   scenery;
109
110 Object  chair "upholstered office chair" study
111   with  name 'upholstered' 'office' 'chair',
112   with  description 
113             "The chair is a comfortable, upholstered office chair 
114             with a high back and armrests. It is made of black leather 
115             and has a sleek, modern design. It adds a touch of 
116             elegance and professionalism to the desk area.",
117         before [;
118           Take, Pull, Push, PushDir, Turn:
119             print_ret 
120                 "You struggle, but it does not budge. You'll need to 
121                 find a different way to accomplish that.";
122         ],
123   has   scenery;
124
125 Object  "armchair" study
126   with  name 'arm' 'chair' 'armchair',
127   with  description 
128             "The armchair is a comfortable, upholstered chair with a 
129             high back and padded armrests. It is made of a soft, blue 
130             fabric that matches with the walls. It adds a touch of 
131             warmth and relaxation to the room and provides a 
132             comfortable spot to unwind and relax.",
133         before [;
134           Take, Pull, Push, PushDir, Turn:
135             print_ret 
136                 "You struggle, but it does not budge. You'll need to 
137                 find a different way to accomplish that.";
138         ],
139   has   scenery;
140
141 Object  smalltable "small table" study
142   with  name 'small' 'table',
143   with  description 
144             "The small table is a simple, rectangular-shaped table 
145             with a smooth, wooden surface. It's the perfect size for 
146             holding a cup of tea or a snack and is placed near the 
147             armchair for convenience. The table has a few scratches 
148             and scuff marks from use, but is in good condition 
149             overall.",
150   has   scenery;
151
152 [ Initialise;
153     Location = study;
154 ];
155
156 Include "grammar";