The Dream Maker Designer’s Guide to Worlds BYOND Dantom Cover illustration by Dan and layout by Pamela Ohsan ISBN 1-890661-17-1 Copyright c 2000 by Dantom All rights reserved Inquiries regarding this book may be directed via email to
[email protected]. Comments and corrections are welcome! Printed in the United States of America http://www.dantom.com Contents Foreword xi Preface xiii 1 Meet the Dream Maker 1 2 Navigating the Code Tree 9 2.1 Formatting Code . 10 2.2 Compilation Errors . 10 2.3 Paths in the Tree . 11 2.4 Code Comments . 11 3 Objects in the Tree 13 3.1 Object Properties . 14 3.1.1 Location . 15 3.1.2 Additional Mob Properties . 15 3.2 Assigning Variables . 16 3.2.1 Constant Values . 16 3.2.2 Constant Macros . 17 3.3 Putting It All Together . 18 4 Verbs 19 4.1 Defining a Verb . 19 4.2 Setting Verb Properties . 20 4.3 Verb Accessibility . 20 4.3.1 Explicit versus Implicit Source . 22 4.3.2 Default Accessibility . 22 4.3.3 Possible Access Settings . 23 4.4 Overriding Verbs . 24 4.5 Friendly Arguments . 25 4.5.1 Parameter Input Types . 25 4.6 Generating Output . 27 4.6.1 Variables in Text . 28 iii iv CONTENTS 4.7 Flexibility in Choice of the Source . 28 4.8 A Choice of Arguments . 30 4.9 Default Arguments . 31 4.10 anything inputtype.................................. 31 5 Variables 33 5.1 Global Variables . 33 5.2 Object Variables . 34 5.2.1 Defining An Object Variable .