Tads 3 Tour Guide
Total Page:16
File Type:pdf, Size:1020Kb
TADS 3 TOUR GUIDE FOR TADS 3.1 Eric Eve Page 1 CONTENTS 1. Introduction ................................................................................................................................................................ 8 1.1. General Introduction ........................................................................................................................................... 8 1.2. The Sample Game .............................................................................................................................................. 9 1.3. Templates ........................................................................................................................................................... 9 1.4. Startup Code : gameMain ................................................................................................................................. 15 2. Rooms and Connectors ........................................................................................................................................... 18 2.1. Introduction ....................................................................................................................................................... 18 2.2. OutdoorRoom ................................................................................................................................................... 19 2.3. FakeConnector ................................................................................................................................................. 20 2.4. DeadEndConnector .......................................................................................................................................... 21 2.5. RoomConnector ................................................................................................................................................ 22 2.6. asExit ................................................................................................................................................................ 23 2.7. Enterable .......................................................................................................................................................... 23 2.8. Room ................................................................................................................................................................ 24 2.9. StairwayDown ................................................................................................................................................... 25 2.10. StairwayUp .................................................................................................................................................... 25 2.11. TravelWithMessage ...................................................................................................................................... 26 2.12. SecretDoor .................................................................................................................................................... 27 2.13. ThroughPassage ........................................................................................................................................... 28 2.14. DarkRoom ..................................................................................................................................................... 29 2.15. TravelMessage .............................................................................................................................................. 29 2.16. RoomAutoConnector..................................................................................................................................... 30 2.17. Door .............................................................................................................................................................. 30 2.18. BasicDoor ...................................................................................................................................................... 31 2.19. NoTravelMessage ......................................................................................................................................... 31 2.20. ExitOnlyPassage ........................................................................................................................................... 32 2.21. AutoClosingDoor ........................................................................................................................................... 32 2.22. OneWayRoomConnector .............................................................................................................................. 34 2.23. PathPassage ................................................................................................................................................. 34 2.24. Shipboard ...................................................................................................................................................... 36 2.25. FloorlessRoom .............................................................................................................................................. 38 2.26. Floorless ........................................................................................................................................................ 39 2.27. HiddenDoor ................................................................................................................................................... 39 2.28. EntryPortal .................................................................................................................................................... 40 2.29. ExitPortal ....................................................................................................................................................... 41 2.30. TravelBarrier ................................................................................................................................................. 41 2.31. AskConnector ................................................................................................................................................ 42 2.32. TravelConnector ............................................................................................................................................ 43 2.33. Room Methods and Properties ..................................................................................................................... 47 2.33.1. roomXxxxAction ..................................................................................................................................... 47 2.33.2. roomParts .............................................................................................................................................. 47 2.33.3. cannotGoThatWay ................................................................................................................................. 50 2.33.4. cannotGoThatWayInDark ...................................................................................................................... 51 2.33.5. roomDarkTravel ..................................................................................................................................... 51 2.33.6. enteringRoom ........................................................................................................................................ 52 2.33.7. inRoomName ......................................................................................................................................... 53 3. NonPortables ........................................................................................................................................................... 54 3.1. NonPortable Introduction .................................................................................................................................. 54 3.2. Fixture ............................................................................................................................................................... 55 3.3. CustomFixture .................................................................................................................................................. 55 3.4. Decoration ........................................................................................................................................................ 55 3.5. Distant ............................................................................................................................................................... 57 3.6. Unthing.............................................................................................................................................................. 58 3.7. Immovable ........................................................................................................................................................ 59 3.8. CustomImmovable ............................................................................................................................................ 60 3.9. Heavy ................................................................................................................................................................ 60 3.10. Component .................................................................................................................................................... 60 4. Things