X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=src%2Fobjects%2Fkitchen.inf;fp=src%2Fobjects%2Fkitchen.inf;h=0000000000000000000000000000000000000000;hb=57e7057cc7196914e3477ac73aaf73966c2195ac;hp=166d6424b291b625b4241f1433ac46b775ac7a42;hpb=322528eaf7ebd7f3373b1eed7a1d8c73fb741e3a;p=homeland.git diff --git a/src/objects/kitchen.inf b/src/objects/kitchen.inf deleted file mode 100644 index 166d642..0000000 --- a/src/objects/kitchen.inf +++ /dev/null @@ -1,148 +0,0 @@ -! Copyright (C) 2019 Jason Self -! -! This file is free software: you may copy, redistribute gand/or -! modify it under the terms of the GNU Affero General Public License -! as published by the Free Software Foundation, either version 3 of -! the License, or (at your option) any later version. -! -! This file is distributed in the hope that it will be useful, but -! WITHOUT ANY WARRANTY; without even the implied warranty of -! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -! Affero General Public License for more details. -! -! You should have received a copy of the GNU Affero General Public -! License along with this file. If not, see https://gnu.org/licenses/ - -Object kitchen "Kitchen" - with description - "You are in the kitchen and in front of the window that - looks out on to your neighbor's back yard. It's a small - simple kitchen, but adequately lit by natural light from - the outside. The walls are painted a buttery yellow and - broken up by celery green curtains on the windows, which - move slightly in a small breeze you cannot feel. The floor - is highly polished, having received a fresh coat - yesterday afternoon. The livingroom is to the east.", - n_to window, - cant_go "You walk smack into one of those buttery yellow - walls I described.", - e_to livingroom, - before [; - Go: - if (chair in player) { - print_ret "The chair is too awkward to do that while - you're carrying it."; - } - ], - has light; - -Object wall "wall" kitchen - with name 'yellow' 'wall' 'walls', - description [; - if (location == kitchen) - print - "The walls are painted a buttery yellow and - broken up by celery green curtains on the windows, - which move slightly in a small breeze you cannot - feel.^"; - else - print "You see nothing special about the walls.^"; - ], - found_in kitchen livingroom bedroom neighborkitchen neighborlivingroom, - has scenery; - -Object chair "chair" kitchen - with name 'chair' 'backrest' 'seat', - description - "It seems to be your average kitchen chair: Four chrome - legs and a backrest with a yellow seat that matches the - walls.", - before [; - Take: - move chair to player; - print_ret "As awkward as it is, you take the chair."; - ], - has scenery supporter enterable; - -Object table "table" kitchen - with name 'table' 'kitchen table' 'formica', - description - "It looks like something right out of the 1950s: Green - formica and chrome legs.", - before [; - Take, Pull, Push, PushDir, Turn: - print_ret (The) self, " is too heavy for that."; - ], - has scenery supporter enterable; - -Object newspaper "newspaper" table - with name 'newspaper' 'paper', - description - "It's your favorite newspaper: U.S. News And Grue Report, - which also airs on TV."; - -Object window "window" kitchen - with name 'window' 'windows', - description - "Framed by celery green curtains it seems almost large - enough to climb through.", - short_name [; - if (location == kitchen) - print "window to your neighbor's back yard"; - else - print "window to your kitchen"; - return true; - ], - found_in kitchen backyard, - door_dir [; - if (location == kitchen) - return n_to; - else - return s_to; - ], - door_to [; - if (location == kitchen) - return backyard; - else - return kitchen; - ], - before [; - Search: - if (curtains has open) { - print "You see your neighbor's backyard.^"; - return true; - } - else { - print "The curtains are closed, and you can't see - through them.^"; - return true; - } - Open: - if (window hasnt visited) { - score = score + 1; - give window visited; - } - Climb: - if (window hasnt visited) { - score = score + 1; - give window visited; - } - PlayerTo(backyard); - ], - has scenery door openable; - -Object curtains "curtains" kitchen - with name 'curtain' 'curtains' 'green curtains' 'celery' 'celery green' - 'celery green curtains', - description "Celery green in color, you see nothing special - about the curtains.", - before [; - Take, Pull, Push, PushDir: - print_ret "Don't you think they look nice where they are?"; - ], - has scenery open openable pluralname; - -Object legs "legs" kitchen - with name 'leg' 'legs', - found_in kitchen neighborkitchen, - has scenery; \ No newline at end of file