🚧 Adding items
This commit is contained in:
		
					parent
					
						
							
								64381da786
							
						
					
				
			
			
				commit
				
					
						7ea3d64c82
					
				
			
		
					 4 changed files with 24 additions and 3 deletions
				
			
		
							
								
								
									
										15
									
								
								Classes.inf
									
										
									
									
									
								
							
							
						
						
									
										15
									
								
								Classes.inf
									
										
									
									
									
								
							|  | @ -6,3 +6,18 @@ Class Set | ||||||
|         default: print_ret "You can't do that with ", (the) self, "."; |         default: print_ret "You can't do that with ", (the) self, "."; | ||||||
|     ], |     ], | ||||||
|     has scenery; |     has scenery; | ||||||
|  | 
 | ||||||
|  | Class Decoration | ||||||
|  |     with before [; | ||||||
|  |         Take,Pull,Push,PushDir: | ||||||
|  |             print_ret "You can't do that with ", (the) self, "."; | ||||||
|  |     ], | ||||||
|  |     has static; | ||||||
|  | 
 | ||||||
|  | Class Furniture | ||||||
|  |     class Decoration, | ||||||
|  |     with before [; | ||||||
|  |         Take,Pull,Push,PushDir: | ||||||
|  |             print_ret (the) self, " is too heavy for that."; | ||||||
|  |     ], | ||||||
|  |     has supporter; | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								Items.inf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								Items.inf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | ||||||
|  | Decoration poster "Starfleet recruitment poster" bunk | ||||||
|  |     with name 'poster' 'recruitment', | ||||||
|  |         description "A poster is attached to the roof of your bunk.^ | ||||||
|  |           This poster is what inspired you to join Starfleet."; | ||||||
|  | @ -1,3 +1,4 @@ | ||||||
|  | ! @todo fix "You stand" when in bunk | ||||||
| Room lower_decks "Lower Decks Corridor" | Room lower_decks "Lower Decks Corridor" | ||||||
|     with description "You stand in a lower decks corridor. |     with description "You stand in a lower decks corridor. | ||||||
|                       This corridor contains several bunks |                       This corridor contains several bunks | ||||||
|  | @ -5,8 +6,8 @@ Room lower_decks "Lower Decks Corridor" | ||||||
|                       sleep."; |                       sleep."; | ||||||
| 
 | 
 | ||||||
| ! @todo fix "in the Your bunk" | ! @todo fix "in the Your bunk" | ||||||
| Object bunk "Your bunk" lower_decks | Room bunk "Your bunk" lower_decks | ||||||
|     with name "bunk" "bunks", |     with name 'bunk' 'bunks', | ||||||
|       description "Your bunk is like every other bunk on the lower decks.^ |       description "Your bunk is like every other bunk on the lower decks.^ | ||||||
|            It's barely big enough to fit you. But it's home." |            It's barely big enough to fit you. But it's home." | ||||||
|     has enterable container openable; |     has enterable container openable; | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ Include "VerbLib"; | ||||||
| Include "Globals.inf"; | Include "Globals.inf"; | ||||||
| Include "Classes.inf"; | Include "Classes.inf"; | ||||||
| Include "Rooms.inf"; | Include "Rooms.inf"; | ||||||
|  | Include "Items.inf"; | ||||||
| 
 | 
 | ||||||
| [ Initialise ; | [ Initialise ; | ||||||
|     location = bunk; |     location = bunk; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue