PanelDemo Help

PanelDemo is a companion program to my "Verb and Stat Panel Guide" BYONDscape article. It demonstrates a working model of many of the snippets provided in that article.

The Panels

Mob Stat Panel
The mob stat panel tab is labeled with the Mob's name. It shows the mob and basic data about the mob.
Inventory Stat Panel
Displays objs in the mob's inventory.
Command Stat Panel
Displays 3 clickable commands with icons.
Group Stat Panel
Only available if the player has a group, this panel displays all the group members.
Commands Verb Panel
A verb panel of basic commands.
Group Verb Panel
A verb panel of group related commands.
Item Verb Panel
A verb panel of item related commands.


Manipulating Objs

You may drag and drop objs within 2 tiles of your mob to move them around.
To pick up an obj, drop it on your mob, or on your Inventory stat panel. You may also use the get command.
To drop an obj, drag it from your Inventory stat panel to a space within two tiles of your mob. You may use the drop command to drop the item under your mob.

Containers

The sacks are special container objs. The red -- or + symbols to the left of the sack indicated wether it is open (--) or closed (+). When open, you can see the objs that are inside the sack. Click a sack in your inventory to open or close it.

When a sack is in your inventory, you may drop other objs on it to put the obj inside. Drag the obj to another obj or white space in the Inventory panel to remove it from the sack.


Grouping

You may create a group by using the invite command to invite another mob to join your group. Players are prompted to join the group, but NPCs will automatically accept.

If you have a group, you may view a summary of all group members in the "Group" stat panel. If you click on any mob in the group panel, you can display or hide that mob's statpanel. (You can not hide your own mob stat panel.)

You may leave a group by using the leave command.


Commands:

Basic Commands

advanced
Select advanced user mode, hiding all verb panels.
basic
Select basic user mode, hiding the default verbs panel but leaving the special verb panels (Group and Item).
beginner
Select beginner mode, showing all verb panels.
help
Display this help document and select beginner mode.
inventory
Jump to the "Inventory" stat panel
say
Say some text to the world.
tell
Tell a phrase to a specific mob in the world.
Group Commands
invite
Invite a mob to your group.
leave
Leave your current group.
Item Commands
get
Pick up an obj.
drop
Drop an obj.


Included DM code files:

PanelDemo.dm
Basic declarations. Icons assigned.
panelselect.dm
Defines verbs for selecting specific panels
verbpanelmodes.dm
Defines client verbs to disable/enable verb panels.
dragdrop.dm
Defines basic get/drop verbs, provides drag and drop obj functionality, creates the mouse drag icons.
containers.dm
"Inventory" stat panel and special code for objs that contain other objs.
fakeverbs.dm
"Commands" stat panel for clickable commands with icons.
grouppanel.dm
Grouping code, "Group" statpanel, and basic mob statpanel.