modified room editor to add setlocation command. removed overridden getLocation(...) method from Room that made getLocation(...) equivalent to getParent for Room. removed parent field from Room and made the getParent(...) and setParent(...) methods mirror getLocation(...) and setLocation(...). adjusted ChatChanneler so that it properly checked channel restrictions against player access. added a new ChatChannel in the config file 'channels.txt', 'System' that is only allowed for permission level 4 (GOD). added shortname field to ChatChannel that is the first three letters of the channel name in lowercase. removed unnecessary mud.net.Client import from ChatChannel. added getShortName() method to ChatChannel. moved Point to mud.Utils. added a case in cmd(...) that handles any possible Command objects with command names that I haven't checked yet, added explicit permission checking. modified setEditor(...) method of mud.objects.Player to implicity set status to 'EDT', haven't removed the explicit setting before using setEditor(...) in other code yet. commented out unnecessary debug output (to System.out) in center(...) method in mud.Utils. added xterm color map and made xterm colors on the default. refactored code in cmd_set(...) method. modified help file viewing to not show first line. wrote help file for '@set'. changed method signatures for getting stuff from the database to not use clients. changed variable names in cmd_move(...) for clarity, it's a redundant command anyway. added 'SKY' to Terrain enum in Room. made Terrain enum in Room public. made DropCommand check to see whether the room's terrain is sky, and if so it drops the item to the ground... added 'canFly' field to Race and modified constructors accordingly. changed channel loading code to force all channels to lowercase names (because the name is used in a mapping of channel names to channel objects. tweaked output of colors from color maps to just include the names. removed '@exam' as alias of '@examine'. stripped excess code out of mud.Feats. moved distance(...) and square(...) methods to mud.Utils. added empty function declaration, canUse(...), for determining if the item can be used by a player. added an Attribute field to Item, also added getters and setters, then made the field protected. added wear(..) method to Player. changed Wearable, removed wear(...) function declaration. removed wear(...) method from Jewelry, since I changed the definition of the Wearable interface.renamed listToString(...) method in mud.Utils to listToStringArray(...) since that was more truthful. wrote listToString(...) method that returns a string and takes an Integer array. fixed various classes in mud.objects.items that need tweaking after I changed the Wearable interfaces. removed unnecessary code in section of ObjectLoader that loads Arrow(s). changed part of stack(...) method in Arrow to set the location of the Arrow being stacked to the dbref of the Arrow we are calling the stack method on. added stackItems() method to objectDB to make sure items that were stacked get stacked again. commented out suggesting of every other item you could have meant when using 'take' to pick something up off the -ground-. refined search(...) method in Pack. modified stack(...) method of Arrow again, this time to require name equivalence between Arrow objects in order to stack them. modified lock(...), unlock(...) methods of Chest to only directly lock, unlock when the key field is null. moved code for '@setlevel' out of the cmd(...) function and into it's own function. cleaned up cmd_setlevel(...), cmd_staff(...) a little. fixed truncate(...) in mud.Utils to be okay with all strings, not just those larger than the truncate length. added functions setDisplayColor(...) and getDisplayColor(...) to MUDServer to set the color to display object names in. added Pair class to mud.utils. changed second generic parameter of displayColors hashmap to a Pair of String. fixed direct calls to displayColors hashmap to use getDisplayColor(...). olc.txt moved from data\help to data\topics. modified 'ansi' command to process 'xterm' too and respond accordingly.
Merge branch 'master' of https://github.com/jnharton/mud-server