Skip to content

Handy Dandy Quick Reference Guide to Everything

sleepinghungry edited this page Jan 14, 2017 · 7 revisions

Handy Dandy Quick Reference Guide to Everything

Locations and Connections

Items

Command to create a new item:

######      item_variable = location_variable.new_object("item name","item description")

Example:

      key = sidewalk.new_obejct("key","a small silver key")

Command to make an item required somewhere:

######      location_variable.make_required(item_variable)
######      connection_variable.make_required(item_variable)

Examples:

      office.make_required(key)
      office_door.make_required(key)

Command to make a new in-game command:

######      item_variable.add_phrase("command", Say("What the game says after you use the game command"))

Example:

      key.add_phrase("rub key", Say("This is not a magic lamp."))

BWX Game Engine pages

Python Pages

Step By Step Guides

Building Conditionals

Lectures

Explaining Conditionals

Assignments

I Am Thinking of a Number...

Clone this wiki locally