CMObject, Tickable, CMLibrary, GenericBuilder, java.lang.Cloneable, java.lang.Comparable<CMObject>public class CoffeeMaker extends StdLibrary implements GenericBuilder
GenericBuilder.GenItemBonusFakeStats, GenericBuilder.GenItemCode, GenericBuilder.GenMOBBonusFakeStats, GenericBuilder.GenMOBCode, GenericBuilder.GenPhysBonusFakeStatsidConverterisDebugging, name, serviceClient, tickStatusSTATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET| Constructor | Description | 
|---|---|
| CoffeeMaker() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | addAutoPropsToAreaIfNecessary(Area newArea) | Called when a new area enters the game in order to add any
 Automatic/Default properties to the area that are specified
 in the INI file. | 
| java.lang.String | addItemsFromXML(java.lang.String xmlBuffer,
               java.util.List<Item> addHere,
               Session S) | Given a String xml document containing a ITEMs tag, this will build a
 set of item objects and add them to the given list. | 
| java.lang.String | addItemsFromXML(java.util.List<XMLLibrary.XMLTag> xml,
               java.util.List<Item> addHere,
               Session S) | Given a pre-parsed xml document containing a ITEMs tag, this will build a
 set of item objects and add them to the given list. | 
| java.lang.String | addMOBsFromXML(java.lang.String xmlBuffer,
              java.util.List<MOB> addHere,
              Session S) | Given a string xml document containing a MOBS tag, this will build a
 set of mob objects and add them to the given list. | 
| java.lang.String | addMOBsFromXML(java.util.List<XMLLibrary.XMLTag> xml,
              java.util.List<MOB> addHere,
              Session S) | Given a pre-parsed xml document containing a MOBS tag, this will build a
 set of mob objects and add them to the given list. | 
| java.lang.String | addPlayersAndAccountsFromXML(java.lang.String xmlBuffer,
                            java.util.List<PlayerAccount> addAccounts,
                            java.util.List<MOB> addMobs,
                            Session S) | Creates player account objects and player character MOB objects from the
 given XML document. | 
| protected java.lang.String | addPlayersOnlyFromXML(java.util.List<XMLLibrary.XMLTag> mV,
                     java.util.List<MOB> addMobs,
                     Session S) | |
| Area | copyArea(Area A,
        java.lang.String newName,
        boolean savable) | This makes either a full database, or simple memory copy
 of the given area with the given new name | 
| protected void | doGenPropertiesCopy(Environmental fromE,
                   Environmental toE) | |
| java.lang.String | fillAreaAndCustomVectorFromXML(java.lang.String buf,
                              java.util.List<XMLLibrary.XMLTag> area,
                              java.util.List<CMObject> custom,
                              java.util.Map<java.lang.String,java.lang.String> externalFiles) | An xml helper function that merely parses the given xml document containing an AREA tag
 into its various content tags, and puts them into the given area list. | 
| java.lang.String | fillAreasVectorFromXML(java.lang.String buf,
                      java.util.List<java.util.List<XMLLibrary.XMLTag>> areas,
                      java.util.List<CMObject> custom,
                      java.util.Map<java.lang.String,java.lang.String> externalFiles) | An xml helper function that merely parses the given xml document containing an AREAS tag
 into its various AREA tags, and puts the contents into the given areas list. | 
| java.lang.String | fillCustomVectorFromXML(java.lang.String xml,
                       java.util.List<CMObject> custom,
                       java.util.Map<java.lang.String,java.lang.String> externalFiles) | Given a string xml document with CUSTOM tag containing generic races, classes, and
 external files and scripts, this method will recreate the appropriate objects to
 populate into the custom list, and separate file paths from their string contents
 into the externalFiles map. | 
| protected java.lang.String | fillCustomVectorFromXML(java.util.List<XMLLibrary.XMLTag> xml,
                       java.util.List<CMObject> custom,
                       java.util.Map<java.lang.String,java.lang.String> externalFiles) | |
| protected void | fillFileMap(Environmental E,
           java.util.List<java.lang.String> V,
           java.util.Map<java.lang.String,java.util.Set<Environmental>> H) | |
| void | fillFileMap(Environmental E,
           java.util.Map<java.lang.String,java.util.Set<Environmental>> H) | Attempts to fill the given map of script file paths to set of object that use the
 script. | 
| void | fillFileSet(Environmental E,
           java.util.Set<java.lang.String> H) | Attempts to fill the given set full of script file paths from the object
 given by recursively inspecting it for embedded scripts, digging into
 mob and store inventory and so forth. | 
| void | fillFileSet(java.util.List<java.lang.String> V,
           java.util.Set<java.lang.String> H) | |
| protected java.lang.String | fillRoomContentFromXML(Room newRoom,
                      java.util.List<XMLLibrary.XMLTag> xml) | |
| protected void | fixFillingRoomUnlinkedExits(Room newRoom,
                           Room R,
                           boolean andSave) | |
| java.lang.String | getAccountXML(PlayerAccount account,
             java.util.Set<CMObject> custom,
             java.util.Set<java.lang.String> files) | Given a player account, this will return an XML document of the account objects, as
 well as all characters contained in the account. | 
| java.util.List<java.lang.String> | getAllGenStats(Physical P) | Returns the list of basic generic state codes applicable
 to the given object. | 
| java.lang.String | getAnyGenStat(Physical P,
             java.lang.String stat) | Returns the value of the given stat on the given object,
 even if the object is not generic. | 
| java.lang.String | getAreaObjectXML(Area area,
                Session S,
                java.util.Set<CMObject> custom,
                java.util.Set<java.lang.String> files,
                boolean andRooms) | Generates an xml document of the given area, and optionally all of its rooms. | 
| java.lang.String | getAreaXML(Area area,
          Session S,
          java.util.Set<CMObject> custom,
          java.util.Set<java.lang.String> files,
          boolean andRooms) | Generates an xml document of the given area, and optionally all of its rooms. | 
| protected java.lang.String | getAreaXML(Area area,
          Session S,
          java.util.Set<CMObject> custom,
          java.util.Set<java.lang.String> files,
          boolean andRooms,
          boolean isInDB) | |
| java.lang.String | getCharStateStr(CharState E) | Given the CharState object, returns the encoded string
 representing the values in the object. | 
| java.lang.String | getCharStatsStr(CharStats E) | Given the CharStats object, returns the encoded string
 representing the values in the object. | 
| java.lang.String | getCodedSpellsOrBehaviors(PhysicalAgent I) | Returns all of the given effect Abilities on the given Affectable as a semicolon delimited
 string of Ability IDs. | 
| java.util.List<CMObject> | getCodedSpellsOrBehaviors(java.lang.String spellsOrBehavsList) | Parses the coded effects available from an ability parameter column and generates
 the Ability objects with any parameters of their own. | 
| java.lang.String | getEnvironmentalMiscTextXML(Environmental E,
                           boolean fromTop) | Gives an environmental object of a more basic sort, such as a mob or item,
 this will return the XML representation of that object. | 
| protected java.lang.String | getEnvPropertiesStr(Environmental E) | |
| protected java.lang.String | getExitXML(Exit exit) | |
| java.lang.String | getExtraEnvironmentalXML(Environmental E) | From the given Environmental, returns xml of certain object
  settings that come from the objects most basic interfaces,
 such as Physical, Economic, PhysicalAgent, extra bonus stats,
 and scripts. | 
| java.lang.String | getFactionXML(MOB mob,
             java.util.List<Pair<java.lang.String,java.lang.Integer>> lst) | Converts all the faction values and associations on the given
 mob or list into a complete xml doc for storage in the db. | 
| java.lang.String | getFinalStatName(java.lang.String stat) | Removes any qualifying prefixes from stat names, to
 reveal the underlying stat code. | 
| java.lang.String | getGenAbilityXML(Ability A) | Given an ability, including a generic one, this will construct
 an xml document representing the ability. | 
| protected java.lang.String | getGenEnvironmentalXML(Environmental E) | |
| int | getGenItemCodeNum(java.lang.String code) | Returns the ordinal of the given code in the basic
 genitem stat codes. | 
| java.lang.String | getGenItemStat(Item I,
              java.lang.String code) | Gets the value of a basic genitem stat, even if the mob given
 is not generic. | 
| protected java.lang.String | getGenMobAbilitiesXML(MOB M) | |
| int | getGenMobCodeNum(java.lang.String code) | Returns the ordinal of the given code in the basic
 genmob stat codes. | 
| protected java.lang.String | getGenMobInventoryXML(MOB M) | |
| java.lang.String | getGenMobStat(MOB M,
             java.lang.String code) | Gets the value of a basic genmob stat, even if the mob given
 is not generic. | 
| java.lang.String | getGenMOBTextUnpacked(MOB mob,
                     java.lang.String newText) | Confirms the length of a misc text XML document for a
 generic mob, and if it is stored in the DB, retreives it
 before returning the final misc text xml document. | 
| java.lang.String | getGenScriptsXML(PhysicalAgent E,
                boolean includeVars) | If the given PhysicalAgent contains any attached Scripts, this
 will bundle them up into an XML document and return them. | 
| java.lang.String | getItemXML(Item item) | Returns an xml document representing the given item, wrapped in a neat
 ITEM tag. | 
| java.lang.String | getMobXML(MOB mob) | Returns an xml document representing the given mob, wrapped in a neat
 MOB tag. | 
| protected java.lang.String | getOrdEnvironmentalXML(Environmental E) | |
| java.lang.String | getPhyStatsStr(PhyStats E) | Given the PhyStats object, returns the encoded string
 representing the values in the object. | 
| protected java.lang.String | getPlayerExtraInventory(MOB M) | |
| java.lang.String | getPlayerXML(MOB mob,
            java.util.Set<CMObject> custom,
            java.util.Set<java.lang.String> files) | Give a player/character mob, this will return an xml document of the mob object,
 as well as any items, etc contained therein. | 
| java.lang.String | getQuickName(java.lang.String classID,
            java.lang.String miscText) | Weird function. | 
| java.lang.String | getRoomItems(Room room,
            java.util.Map<java.lang.String,java.util.List<Item>> found,
            java.util.Set<java.lang.String> files,
            CMClass.CMObjectType type) | Given a database room, this function will grab its real contents from
 the database, and construct an xml document consisting of the unique
 items in the room. | 
| java.lang.String | getRoomMobs(Room room,
           java.util.Set<CMObject> custom,
           java.util.Set<java.lang.String> files,
           java.util.Map<java.lang.String,java.util.List<MOB>> found) | Given a database room, this function will grab its real contents from
 the database, and construct an xml document consisting of the unique
 mobs in the room. | 
| java.lang.String | getRoomXML(Room room,
          java.util.Set<CMObject> custom,
          java.util.Set<java.lang.String> files,
          boolean andContent) | Generates an xml document of the given room, and optionally all of its contents. | 
| protected java.lang.String | getRoomXML(Room room,
          java.util.Set<CMObject> custom,
          java.util.Set<java.lang.String> files,
          boolean andContent,
          boolean andIsInDB,
          boolean skipDoors) | |
| int | getSpecialEnvFlags(Environmental E) | Some object types (items and exits) still
 use a compressed numeric form for some of their
 properties. | 
| java.lang.String | getUniqueItemsXML(java.util.List<Item> items,
                 java.util.Map<java.lang.String,java.util.List<Item>> found,
                 java.util.Set<java.lang.String> files,
                 CMClass.CMObjectType type) | Given a list of item objects, this will return an xml document of the set of
 ITEMs, but only returning any unique item from the list, relegating dups
 to the give map. | 
| protected java.lang.String | getUniqueItemXML(Item item,
                CMClass.CMObjectType type,
                java.util.Map<java.lang.String,java.util.List<Item>> found,
                java.util.Set<java.lang.String> files) | |
| java.lang.String | getUniqueMobsXML(java.util.List<MOB> mobs,
                java.util.Set<CMObject> custom,
                java.util.Set<java.lang.String> files,
                java.util.Map<java.lang.String,java.util.List<MOB>> found) | Given a list of mob objects, this will return an xml document of the set of
 MOBs, but only returning any unique mobs from the list, relegating dups
 to the give map. | 
| java.lang.String | getUnknownNameFromXML(java.lang.String xml) | Given an xml document with a mob, item, or room, this will
 return the value of the first NAME or RDISP tag found herein. | 
| CMClass.CMObjectType | getUnknownTypeFromXML(java.lang.String xml) | Given an xml document that starts with a MOB, ITEM, AROOM, or
 EXIT tag, this will return the appropriate CMOBjectType | 
| java.lang.String | getUnknownXML(Environmental obj) | Given an item, mob, room, or exit, this will
 return the full XML document for that object. | 
| boolean | handleCatalogItem(Physical P,
                 java.util.List<XMLLibrary.XMLTag> buf,
                 boolean fromTop) | |
| java.lang.String | ID() | The CoffeeMud Java Class ID shared by all instances of
 this object. | 
| protected java.lang.String | identifier(Environmental E,
          Environmental parent) | |
| boolean | isAnyGenStat(Physical P,
            java.lang.String stat) | Returns whether the given string represents any of the
 "AnyGen" stat codes for the given type object, even if the
 object is not generic. | 
| protected void | logDiff(Environmental E1,
       Environmental E2) | |
| protected java.lang.String | logTextDiff(java.lang.String e1,
           java.lang.String e2) | |
| Ammunition | makeAmmunition(java.lang.String ammunitionType,
              int number) | Create a standard GenAmmunition Item, representing a bundle of ammo,
 of the give type and number. | 
| Room | makeNewRoomContent(Room room,
                  boolean makeLive) | Duplicates the contents of an official database room by
 reloading the room and its contents into a new room
 object. | 
| void | populateShops(ShopKeeper shopKeep,
             java.util.List<XMLLibrary.XMLTag> buf) | Given parsed xml tags, this method will extract the basic shop
 settings into the given ShopKeeper object, as well as populate
 the shop inventory itself from the given xml. | 
| protected void | possibleAddElectronicsManufacturers(Item I,
                                   java.util.Set<CMObject> custom) | |
| protected void | possibleAddElectronicsManufacturers(MOB M,
                                   java.util.Set<CMObject> custom) | |
| protected void | possiblyAddCustomAbility(MOB mob,
                        java.util.Set<CMObject> custom) | |
| protected void | possiblyAddCustomClass(MOB mob,
                      java.util.Set<CMObject> custom) | |
| protected void | possiblyAddCustomEffect(Physical P,
                       java.util.Set<CMObject> custom) | |
| protected void | possiblyAddCustomRace(MOB mob,
                     java.util.Set<CMObject> custom) | |
| protected void | recoverPhysical(Physical P) | |
| void | resetGenMOB(MOB mob,
           java.lang.String newText) | Given a mob and its generic misc text, this method
 will reset the mob with the given misc text values,
 and reset its hit points, mana, etc. | 
| void | setAnyGenStat(Physical P,
             java.lang.String stat,
             java.lang.String value) | Sets the value of the given stat on the given object,
 even if the object is not generic. | 
| void | setAnyGenStat(Physical P,
             java.lang.String stat,
             java.lang.String value,
             boolean supportPlusMinusPrefix) | Sets the value of the given stat on the given object,
 even if the object is not generic. | 
| void | setCharState(CharState E,
            java.lang.String props) | Sets the values in the given CharState object from the
 encoded string. | 
| void | setCharStats(CharStats E,
            java.lang.String props) | Sets the values in the given CharStats object from the
 encoded string. | 
| protected void | setEnvProperties(Environmental E,
                java.util.List<XMLLibrary.XMLTag> buf) | |
| void | setGenItemStat(Item I,
              java.lang.String code,
              java.lang.String val) | Sets the value of a basic genitem stat, even if the mob given
 is not generic. | 
| protected void | setGenMobAbilities(MOB M,
                  java.util.List<XMLLibrary.XMLTag> buf) | |
| protected void | setGenMobInventory(MOB M,
                  java.util.List<XMLLibrary.XMLTag> buf) | |
| void | setGenMobStat(MOB M,
             java.lang.String code,
             java.lang.String val) | Sets the value of a basic genmob stat, even if the mob given
 is not generic. | 
| protected void | setGenPropertiesFromXML(Environmental E,
                       java.util.List<XMLLibrary.XMLTag> buf) | |
| protected void | setOrdPropertiesFromXML(Environmental E,
                       java.util.List<XMLLibrary.XMLTag> V) | |
| void | setPhyStats(PhyStats E,
           java.lang.String props) | Sets the values in the given PhyStats object from the
 encoded string. | 
| protected void | setPlayerExtraInventory(MOB M,
                       java.util.List<XMLLibrary.XMLTag> buf) | |
| void | setSpecialEnvFlags(Environmental E,
                  int f) | Some object types (items and exits) still
 use a compressed numeric form for some of their
 properties. | 
| java.lang.String | unpackAbilitiesFromXml(java.lang.String xml,
                      java.util.List<Ability> ables) | Given an xml document containing one or more ABILITY tags, this will
 parse out the Ability objects, including generic types, and add them
 to the given list. | 
| protected java.lang.String | unpackAreaFromXML(java.lang.String buf,
                 Session S,
                 java.lang.String overrideAreaType,
                 boolean andRooms) | |
| java.lang.String | unpackAreaFromXML(java.util.List<XMLLibrary.XMLTag> aV,
                 Session S,
                 java.lang.String overrideAreaType,
                 boolean andRooms,
                 boolean savable) | Given a pre-parsed XML document containing an ACLAS tag, this method will unpack the given area
 into an area object, optionally complete with rooms, items, mobs, etc. | 
| Area | unpackAreaObjectFromXML(java.lang.String xml) | Unpack an XML document containing an AREA tag into an actual area object,
 including any rooms, mobs, items, etc. | 
| void | unpackEnvironmentalMiscTextXML(Environmental E,
                              java.lang.String buf,
                              boolean fromTop) | Given a string xml document, and an environmental to unpack the xml properties
 into, this will, well, do that. | 
| void | unpackEnvironmentalMiscTextXML(Environmental E,
                              java.util.List<XMLLibrary.XMLTag> V,
                              boolean fromTop) | Given a parsed xml document, and an environmental to unpack the xml properties
 into, this will, well, do that. | 
| protected java.lang.String | unpackErr(java.lang.String where,
         java.lang.String msg) | |
| protected java.lang.String | unpackErr(java.lang.String where,
         java.lang.String msg,
         XMLLibrary.XMLTag piece) | |
| protected java.lang.String | unpackErr(java.lang.String where,
         java.lang.String msg,
         java.util.List<XMLLibrary.XMLTag> list) | |
| protected Exit | unpackExitFromXML(java.lang.String buf) | |
| void | unpackExtraEnvironmentalXML(Environmental E,
                           java.util.List<XMLLibrary.XMLTag> buf) | From the given XML tags, set certain given object settings
 that come from the objects most basic interfaces, such as
 Physical, Economic, PhysicalAgent, extra bonus stats | 
| java.util.List<Pair<java.lang.String,java.lang.Integer>> | unpackFactionFromXML(MOB mob,
                    java.util.List<XMLLibrary.XMLTag> xml) | Sets the faction values and associations on the given
 mob from a pre-parsed xml doc. | 
| void | unpackGenScriptsXML(PhysicalAgent E,
                   java.util.List<XMLLibrary.XMLTag> buf,
                   boolean restoreVars) | From the given XML tags, set any object level Scripts attached to the
 given PhysicalAgent object. | 
| Item | unpackItemFromXML(java.lang.String xmlBuffer) | Given an xml document with a ITEM tag in it, this will extract and create the
 associated item object. | 
| MOB | unpackMobFromXML(java.lang.String xmlBuffer) | Given an xml document with a MOB tag in it, this will extract and create the
 associated mob object. | 
| java.lang.String | unpackRoomFromXML(Area forceArea,
                 java.util.List<XMLLibrary.XMLTag> xml,
                 boolean andContent,
                 boolean andSave) | Gives a parsed XML document containing the contents of room xml, with RCLAS tag, this
 will extract the room, optionally including mobs/items inside it, and add it to
 whatever world map area it belongs in, or the forced area if given. | 
| java.lang.String | unpackRoomFromXML(java.lang.String buf,
                 boolean andContent) | Given an xml document containing an AROOM tag, this method will extract the room,
 and optionally the mobs/items inside it, and add it to whatever world map area
 it is supposed to belong to. | 
| protected java.lang.String | unpackRoomFromXML(java.util.List<XMLLibrary.XMLTag> xml,
                 boolean andContent) | |
| protected Room | unpackRoomObjectFromXML(java.lang.String buf,
                       boolean andContent) | |
| Environmental | unpackUnknownFromXML(java.lang.String xml) | Given an xml document for a single item, mob, room,
 or exit, this will return the fully formed object
 represented by the document. | 
activate, getServiceClient, L, propertiesLoaded, shutdowncopyOf, initializeClass, name, newInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivate, checkDatabase, compareTo, copyOf, getServiceClient, getTickStatus, initializeClass, L, name, newInstance, propertiesLoaded, setThreadStatus, shutdown, tickpublic java.lang.String ID()
CMObjectID in interface CMObjectID in class StdLibrarypublic java.lang.String getGenMOBTextUnpacked(MOB mob, java.lang.String newText)
GenericBuildergetGenMOBTextUnpacked in interface GenericBuildermob - the mob whose misc text this isnewText - the misc textpublic void resetGenMOB(MOB mob, java.lang.String newText)
GenericBuilderresetGenMOB in interface GenericBuildermob - the mob to repopulatenewText - the misctext for the mobpublic int getSpecialEnvFlags(Environmental E)
GenericBuildergetSpecialEnvFlags in interface GenericBuilderE - the object to get envflags forGenericBuilder.setSpecialEnvFlags(Environmental, int)public void setSpecialEnvFlags(Environmental E, int f)
GenericBuildersetSpecialEnvFlags in interface GenericBuilderE - the object to set envflags forf - the value of the special flagsGenericBuilder.getSpecialEnvFlags(Environmental)public java.lang.String getGenAbilityXML(Ability A)
GenericBuildergetGenAbilityXML in interface GenericBuilderA - the ability to get xml forGenericBuilder.unpackAbilitiesFromXml(String, List)public java.lang.String unpackAbilitiesFromXml(java.lang.String xml,
                                               java.util.List<Ability> ables)
GenericBuilderunpackAbilitiesFromXml in interface GenericBuilderxml - the xml document with AbILITY tagsables - the list to put ability objects intoGenericBuilder.getGenAbilityXML(Ability)public java.lang.String getEnvironmentalMiscTextXML(Environmental E, boolean fromTop)
GenericBuildergetEnvironmentalMiscTextXML in interface GenericBuilderE - the object to get xml forfromTop - true to get all xml for a standard objectGenericBuilder.unpackEnvironmentalMiscTextXML(Environmental, List, boolean), 
GenericBuilder.unpackEnvironmentalMiscTextXML(Environmental, String, boolean)protected void doGenPropertiesCopy(Environmental fromE, Environmental toE)
protected java.lang.String getOrdEnvironmentalXML(Environmental E)
protected java.lang.String getGenMobAbilitiesXML(MOB M)
public java.lang.String getGenScriptsXML(PhysicalAgent E, boolean includeVars)
GenericBuildergetGenScriptsXML in interface GenericBuilderE - the object that might be scriptedincludeVars - true to return any vars alsoGenericBuilder.unpackGenScriptsXML(PhysicalAgent, List, boolean)protected void possibleAddElectronicsManufacturers(Item I, java.util.Set<CMObject> custom)
protected void possibleAddElectronicsManufacturers(MOB M, java.util.Set<CMObject> custom)
protected java.lang.String getGenMobInventoryXML(MOB M)
protected java.lang.String getPlayerExtraInventory(MOB M)
protected void setPlayerExtraInventory(MOB M, java.util.List<XMLLibrary.XMLTag> buf)
protected java.lang.String getGenEnvironmentalXML(Environmental E)
protected java.lang.String unpackErr(java.lang.String where,
                                     java.lang.String msg)
protected java.lang.String unpackErr(java.lang.String where,
                                     java.lang.String msg,
                                     XMLLibrary.XMLTag piece)
protected java.lang.String unpackErr(java.lang.String where,
                                     java.lang.String msg,
                                     java.util.List<XMLLibrary.XMLTag> list)
protected Exit unpackExitFromXML(java.lang.String buf)
public java.lang.String unpackRoomFromXML(java.lang.String buf,
                                          boolean andContent)
GenericBuilderunpackRoomFromXML in interface GenericBuilderbuf - the xml document containing AROOM tagandContent - true to also extract mob/items or false otherwiseGenericBuilder.getRoomXML(Room, Set, Set, boolean)protected java.lang.String unpackRoomFromXML(java.util.List<XMLLibrary.XMLTag> xml, boolean andContent)
protected Room unpackRoomObjectFromXML(java.lang.String buf, boolean andContent)
protected java.lang.String fillRoomContentFromXML(Room newRoom, java.util.List<XMLLibrary.XMLTag> xml)
public java.lang.String unpackRoomFromXML(Area forceArea, java.util.List<XMLLibrary.XMLTag> xml, boolean andContent, boolean andSave)
GenericBuilderunpackRoomFromXML in interface GenericBuilderforceArea - null to use a map area, or an area object to add the room toxml - the pre-parsed xml document containing room tagsandContent - true to also build mobs/items, or false to ignore themandSave - true to save the room to the db, or false to not.GenericBuilder.getRoomXML(Room, Set, Set, boolean)protected void fixFillingRoomUnlinkedExits(Room newRoom, Room R, boolean andSave)
public java.lang.String fillAreaAndCustomVectorFromXML(java.lang.String buf,
                                                       java.util.List<XMLLibrary.XMLTag> area,
                                                       java.util.List<CMObject> custom,
                                                       java.util.Map<java.lang.String,java.lang.String> externalFiles)
GenericBuilderfillAreaAndCustomVectorFromXML in interface GenericBuilderbuf - the xml document containing AREAS tagarea - the list to put AREA tag contents intocustom - the required list to put any generic races or classesexternalFiles - the optional list to put a map of file paths to their contentsGenericBuilder.fillAreasVectorFromXML(String, List, List, Map)public java.lang.String fillCustomVectorFromXML(java.lang.String xml,
                                                java.util.List<CMObject> custom,
                                                java.util.Map<java.lang.String,java.lang.String> externalFiles)
GenericBuilderfillCustomVectorFromXML in interface GenericBuilderxml - the xml document containing the CUSTOM tagcustom - required list to put genraces and classes intoexternalFiles - null, or optional map to put filepaths, file contents intoprotected java.lang.String fillCustomVectorFromXML(java.util.List<XMLLibrary.XMLTag> xml, java.util.List<CMObject> custom, java.util.Map<java.lang.String,java.lang.String> externalFiles)
public java.lang.String fillAreasVectorFromXML(java.lang.String buf,
                                               java.util.List<java.util.List<XMLLibrary.XMLTag>> areas,
                                               java.util.List<CMObject> custom,
                                               java.util.Map<java.lang.String,java.lang.String> externalFiles)
GenericBuilderfillAreasVectorFromXML in interface GenericBuilderbuf - the xml document containing AREAS tagareas - the list to put AREA tag contents intocustom - the required list to put any generic races or classesexternalFiles - the optional list to put a map of file paths to their contentsGenericBuilder.fillAreaAndCustomVectorFromXML(String, List, List, Map)public void addAutoPropsToAreaIfNecessary(Area newArea)
GenericBuilderaddAutoPropsToAreaIfNecessary in interface GenericBuildernewArea - the area to add things to, if necessarypublic java.lang.String unpackAreaFromXML(java.util.List<XMLLibrary.XMLTag> aV, Session S, java.lang.String overrideAreaType, boolean andRooms, boolean savable)
GenericBuilderunpackAreaFromXML in interface GenericBuilderaV - parsed XML document of the inside of the AREA tag.S - an optional session for monitoring, or nulloverrideAreaType - null, or an area class idandRooms - true to also unpack rooms, mobs, and items, false otherwisesavable - true to save to the db and add to the mapGenericBuilder.getAreaObjectXML(Area, Session, Set, Set, boolean), 
GenericBuilder.getAreaXML(Area, Session, Set, Set, boolean)protected java.lang.String unpackAreaFromXML(java.lang.String buf,
                                             Session S,
                                             java.lang.String overrideAreaType,
                                             boolean andRooms)
public Area unpackAreaObjectFromXML(java.lang.String xml) throws CMException
GenericBuilderunpackAreaObjectFromXML in interface GenericBuilderxml - the xml document containing an AREA tagCMException - any unpacking errors, bad xml, etcGenericBuilder.getAreaObjectXML(Area, Session, Set, Set, boolean), 
GenericBuilder.getAreaXML(Area, Session, Set, Set, boolean)public java.lang.String getAreaXML(Area area, Session S, java.util.Set<CMObject> custom, java.util.Set<java.lang.String> files, boolean andRooms)
GenericBuildergetAreaXML in interface GenericBuilderarea - the area to generate an xml document forS - optional session for progress messages, or nullcustom - optional set to put generic races/classes intofiles - optional set to put the paths to scripts used in the roomandRooms - true to include rooms/mobs/items, false otherwiseGenericBuilder.unpackAreaFromXML(List, Session, String, boolean, boolean), 
GenericBuilder.unpackAreaObjectFromXML(String)public java.lang.String getAreaObjectXML(Area area, Session S, java.util.Set<CMObject> custom, java.util.Set<java.lang.String> files, boolean andRooms)
GenericBuildergetAreaObjectXML in interface GenericBuilderarea - the area to generate an xml document forS - optional session for progress messages, or nullcustom - optional set to put generic races/classes intofiles - optional set to put the paths to scripts used in the roomandRooms - true to include rooms/mobs/items, false otherwiseGenericBuilder.unpackAreaFromXML(List, Session, String, boolean, boolean), 
GenericBuilder.unpackAreaObjectFromXML(String)protected java.lang.String getAreaXML(Area area, Session S, java.util.Set<CMObject> custom, java.util.Set<java.lang.String> files, boolean andRooms, boolean isInDB)
protected java.lang.String logTextDiff(java.lang.String e1,
                                       java.lang.String e2)
protected void logDiff(Environmental E1, Environmental E2)
public Room makeNewRoomContent(Room room, boolean makeLive)
GenericBuildermakeNewRoomContent in interface GenericBuilderroom - the room with an id to duplicatemakeLive - true to make the room live, or false to leave passive and untickingpublic java.lang.String getMobXML(MOB mob)
GenericBuildergetMobXML in interface GenericBuildermob - the mob to get the xml ofGenericBuilder.addMOBsFromXML(String, List, Session), 
GenericBuilder.addMOBsFromXML(List, List, Session), 
GenericBuilder.getUniqueMobsXML(List, Set, Set, Map), 
GenericBuilder.unpackMobFromXML(String)protected java.lang.String getExitXML(Exit exit)
public java.lang.String getUniqueMobsXML(java.util.List<MOB> mobs, java.util.Set<CMObject> custom, java.util.Set<java.lang.String> files, java.util.Map<java.lang.String,java.util.List<MOB>> found)
GenericBuildergetUniqueMobsXML in interface GenericBuildermobs - the list of mobs to create xml forcustom - any generic races/classes foundfiles - any script paths foundfound - required map to keep track of dups, for some reasonGenericBuilder.getMobXML(MOB), 
GenericBuilder.unpackMobFromXML(String), 
GenericBuilder.addMOBsFromXML(List, List, Session), 
GenericBuilder.addMOBsFromXML(String, List, Session)protected void possiblyAddCustomRace(MOB mob, java.util.Set<CMObject> custom)
protected void possiblyAddCustomClass(MOB mob, java.util.Set<CMObject> custom)
protected void possiblyAddCustomEffect(Physical P, java.util.Set<CMObject> custom)
protected void possiblyAddCustomAbility(MOB mob, java.util.Set<CMObject> custom)
public java.lang.String getRoomMobs(Room room, java.util.Set<CMObject> custom, java.util.Set<java.lang.String> files, java.util.Map<java.lang.String,java.util.List<MOB>> found)
GenericBuildergetRoomMobs in interface GenericBuilderroom - the room to get mobs fromcustom - a set for any generic classes or racesfiles - a set for any file paths usedfound - a map for keeping track of dupsprotected java.lang.String getUniqueItemXML(Item item, CMClass.CMObjectType type, java.util.Map<java.lang.String,java.util.List<Item>> found, java.util.Set<java.lang.String> files)
public java.lang.String getItemXML(Item item)
GenericBuildergetItemXML in interface GenericBuilderitem - the item to get the xml ofGenericBuilder.addItemsFromXML(String, List, Session), 
GenericBuilder.addItemsFromXML(List, List, Session), 
GenericBuilder.getUniqueItemsXML(List, Map, Set, CMObjectType), 
GenericBuilder.unpackItemFromXML(String)public Item unpackItemFromXML(java.lang.String xmlBuffer)
GenericBuilderunpackItemFromXML in interface GenericBuilderxmlBuffer - the xml document with the item tagGenericBuilder.getUniqueItemsXML(List, Map, Set, CMObjectType), 
GenericBuilder.getItemXML(Item), 
GenericBuilder.addItemsFromXML(String, List, Session), 
GenericBuilder.addItemsFromXML(List, List, Session)public java.lang.String addItemsFromXML(java.util.List<XMLLibrary.XMLTag> xml, java.util.List<Item> addHere, Session S)
GenericBuilderaddItemsFromXML in interface GenericBuilderxml - the xml document with the ITEMs tagaddHere - the list to add the item objects toS - an optional session object for progressGenericBuilder.getUniqueItemsXML(List, Map, Set, CMObjectType), 
GenericBuilder.getItemXML(Item), 
GenericBuilder.addItemsFromXML(String, List, Session), 
GenericBuilder.unpackItemFromXML(String)public java.lang.String addMOBsFromXML(java.util.List<XMLLibrary.XMLTag> xml, java.util.List<MOB> addHere, Session S)
GenericBuilderaddMOBsFromXML in interface GenericBuilderxml - the xml document with the MOBS tagaddHere - the list to add the mob objects toS - an optional session object for progressGenericBuilder.getMobXML(MOB), 
GenericBuilder.addMOBsFromXML(String, List, Session), 
GenericBuilder.getUniqueMobsXML(List, Set, Set, Map), 
GenericBuilder.unpackMobFromXML(String)public java.lang.String addItemsFromXML(java.lang.String xmlBuffer,
                                        java.util.List<Item> addHere,
                                        Session S)
GenericBuilderaddItemsFromXML in interface GenericBuilderxmlBuffer - the xml document with the ITEMs tagaddHere - the list to add the item objects toS - an optional session object for progressGenericBuilder.getUniqueItemsXML(List, Map, Set, CMObjectType), 
GenericBuilder.getItemXML(Item), 
GenericBuilder.addItemsFromXML(List, List, Session), 
GenericBuilder.unpackItemFromXML(String)public CMClass.CMObjectType getUnknownTypeFromXML(java.lang.String xml)
GenericBuildergetUnknownTypeFromXML in interface GenericBuilderxml - the xml document to get the type ofCMClass.CMObjectType, 
GenericBuilder.getUnknownNameFromXML(String)public java.lang.String getUnknownNameFromXML(java.lang.String xml)
GenericBuildergetUnknownNameFromXML in interface GenericBuilderxml - the xml document to get a name fromGenericBuilder.getUnknownTypeFromXML(String)public Environmental unpackUnknownFromXML(java.lang.String xml)
GenericBuilderunpackUnknownFromXML in interface GenericBuilderxml - the xml documentGenericBuilder.getUnknownXML(Environmental)public java.lang.String getUnknownXML(Environmental obj)
GenericBuildergetUnknownXML in interface GenericBuilderobj - the object to get xml forGenericBuilder.unpackUnknownFromXML(String)public MOB unpackMobFromXML(java.lang.String xmlBuffer)
GenericBuilderunpackMobFromXML in interface GenericBuilderxmlBuffer - the xml document with the mob tagGenericBuilder.getUniqueMobsXML(List, Set, Set, Map), 
GenericBuilder.getMobXML(MOB), 
GenericBuilder.addMOBsFromXML(List, List, Session), 
GenericBuilder.addMOBsFromXML(String, List, Session)public java.lang.String addMOBsFromXML(java.lang.String xmlBuffer,
                                       java.util.List<MOB> addHere,
                                       Session S)
GenericBuilderaddMOBsFromXML in interface GenericBuilderxmlBuffer - the xml document with the MOBS tagaddHere - the list to add the mob objects toS - an optional session object for progressGenericBuilder.getMobXML(MOB), 
GenericBuilder.addMOBsFromXML(List, List, Session), 
GenericBuilder.getUniqueMobsXML(List, Set, Set, Map), 
GenericBuilder.unpackMobFromXML(String)public java.lang.String getUniqueItemsXML(java.util.List<Item> items, java.util.Map<java.lang.String,java.util.List<Item>> found, java.util.Set<java.lang.String> files, CMClass.CMObjectType type)
GenericBuildergetUniqueItemsXML in interface GenericBuilderitems - the list of items to create xml forfound - required map to keep track of dups, for some reasonfiles - any script paths foundtype - object type of item to grabGenericBuilder.getItemXML(Item), 
GenericBuilder.addItemsFromXML(String, List, Session), 
GenericBuilder.addItemsFromXML(List, List, Session), 
GenericBuilder.unpackItemFromXML(String)public java.lang.String getRoomItems(Room room, java.util.Map<java.lang.String,java.util.List<Item>> found, java.util.Set<java.lang.String> files, CMClass.CMObjectType type)
GenericBuildergetRoomItems in interface GenericBuilderroom - the room to get items fromfound - a map for keeping track of dupsfiles - a set for any file paths usedtype - the object type filterpublic java.lang.String getRoomXML(Room room, java.util.Set<CMObject> custom, java.util.Set<java.lang.String> files, boolean andContent)
GenericBuildergetRoomXML in interface GenericBuilderroom - the room to generate an xml document forcustom - optional set to put generic races/classes intofiles - optional set to put the paths to scripts used in the roomandContent - true to include mobs/items, false otherwiseGenericBuilder.unpackRoomFromXML(String, boolean), 
GenericBuilder.unpackRoomFromXML(Area, List, boolean, boolean)protected java.lang.String getRoomXML(Room room, java.util.Set<CMObject> custom, java.util.Set<java.lang.String> files, boolean andContent, boolean andIsInDB, boolean skipDoors)
public void unpackEnvironmentalMiscTextXML(Environmental E, java.lang.String buf, boolean fromTop)
GenericBuilderunpackEnvironmentalMiscTextXML in interface GenericBuilderE - the environmental object to populatebuf - the xml docfromTop - true to unpack xml for standard objectsGenericBuilder.getEnvironmentalMiscTextXML(Environmental, boolean), 
GenericBuilder.unpackEnvironmentalMiscTextXML(Environmental, List, boolean)protected void recoverPhysical(Physical P)
public void unpackEnvironmentalMiscTextXML(Environmental E, java.util.List<XMLLibrary.XMLTag> V, boolean fromTop)
GenericBuilderunpackEnvironmentalMiscTextXML in interface GenericBuilderE - the environmental object to populateV - the parsed xml docfromTop - true to unpack xml for standard objectsGenericBuilder.getEnvironmentalMiscTextXML(Environmental, boolean), 
GenericBuilder.unpackEnvironmentalMiscTextXML(Environmental, String, boolean)protected void setOrdPropertiesFromXML(Environmental E, java.util.List<XMLLibrary.XMLTag> V)
protected void setGenMobAbilities(MOB M, java.util.List<XMLLibrary.XMLTag> buf)
public void unpackGenScriptsXML(PhysicalAgent E, java.util.List<XMLLibrary.XMLTag> buf, boolean restoreVars)
GenericBuilderunpackGenScriptsXML in interface GenericBuilderE - the object to give scripts tobuf - the xml tags containing scriptsrestoreVars - true to look for saved variables and restore themGenericBuilder.getGenScriptsXML(PhysicalAgent, boolean)protected void setGenMobInventory(MOB M, java.util.List<XMLLibrary.XMLTag> buf)
public void populateShops(ShopKeeper shopKeep, java.util.List<XMLLibrary.XMLTag> buf)
GenericBuilderpopulateShops in interface GenericBuildershopKeep - the shopkeeper to populatebuf - the parsed xml doc with STORE, etc tagspublic boolean handleCatalogItem(Physical P, java.util.List<XMLLibrary.XMLTag> buf, boolean fromTop)
public java.lang.String getQuickName(java.lang.String classID,
                                     java.lang.String miscText)
GenericBuildergetQuickName in interface GenericBuilderclassID - the optional standard class id objectmiscText - the optional xml document with NAME tagpublic java.util.List<java.lang.String> getAllGenStats(Physical P)
GenericBuildergetAllGenStats in interface GenericBuilderP - the object to get stat codes forpublic java.lang.String getFinalStatName(java.lang.String stat)
GenericBuildergetFinalStatName in interface GenericBuilderstat - the possibly qualified stat codepublic boolean isAnyGenStat(Physical P, java.lang.String stat)
GenericBuilderisAnyGenStat in interface GenericBuilderP - the type of object to checkstat - the stat code to checkGenericBuilder.setAnyGenStat(Physical, String, String), 
GenericBuilder.setAnyGenStat(Physical, String, String, boolean), 
GenericBuilder.getAnyGenStat(Physical, String)public java.lang.String getAnyGenStat(Physical P, java.lang.String stat)
GenericBuildergetAnyGenStat in interface GenericBuilderP - the type of object to readstat - the stat code to readGenericBuilder.setAnyGenStat(Physical, String, String), 
GenericBuilder.setAnyGenStat(Physical, String, String, boolean), 
GenericBuilder.isAnyGenStat(Physical, String)public void setAnyGenStat(Physical P, java.lang.String stat, java.lang.String value)
GenericBuildersetAnyGenStat in interface GenericBuilderP - the type of object to changestat - the stat code to changevalue - the new value for the statGenericBuilder.setAnyGenStat(Physical, String, String, boolean), 
GenericBuilder.getAnyGenStat(Physical, String), 
GenericBuilder.isAnyGenStat(Physical, String)public void setAnyGenStat(Physical P, java.lang.String stat, java.lang.String value, boolean supportPlusMinusPrefix)
GenericBuildersetAnyGenStat in interface GenericBuilderP - the type of object to changestat - the stat code to changevalue - the new value for the statsupportPlusMinusPrefix - true to support += prefixGenericBuilder.setAnyGenStat(Physical, String, String), 
GenericBuilder.getAnyGenStat(Physical, String), 
GenericBuilder.isAnyGenStat(Physical, String)protected void setGenPropertiesFromXML(Environmental E, java.util.List<XMLLibrary.XMLTag> buf)
public java.lang.String getAccountXML(PlayerAccount account, java.util.Set<CMObject> custom, java.util.Set<java.lang.String> files)
GenericBuildergetAccountXML in interface GenericBuilderaccount - the account to get the xml ofcustom - optional set in which to capture custom classes, racesfiles - optional set in which to capture script pathsGenericBuilder.addPlayersAndAccountsFromXML(String, List, List, Session)public java.lang.String getPlayerXML(MOB mob, java.util.Set<CMObject> custom, java.util.Set<java.lang.String> files)
GenericBuildergetPlayerXML in interface GenericBuildermob - the player/character mob to get the xml ofcustom - optional set in which to capture custom classes, racesfiles - optional set in which to capture script pathsGenericBuilder.addPlayersAndAccountsFromXML(String, List, List, Session)protected java.lang.String addPlayersOnlyFromXML(java.util.List<XMLLibrary.XMLTag> mV, java.util.List<MOB> addMobs, Session S)
public java.lang.String addPlayersAndAccountsFromXML(java.lang.String xmlBuffer,
                                                     java.util.List<PlayerAccount> addAccounts,
                                                     java.util.List<MOB> addMobs,
                                                     Session S)
GenericBuilderaddPlayersAndAccountsFromXML in interface GenericBuilderxmlBuffer - the XML documentaddAccounts - the list to put accounts intoaddMobs - the list to put character mobsintoS - an optional session object for interactionGenericBuilder.getPlayerXML(MOB, Set, Set), 
GenericBuilder.getAccountXML(PlayerAccount, Set, Set)public java.lang.String getExtraEnvironmentalXML(Environmental E)
GenericBuildergetExtraEnvironmentalXML in interface GenericBuilderE - the object to give settings toGenericBuilder.unpackExtraEnvironmentalXML(Environmental, List), 
GenericBuilder.getGenScriptsXML(PhysicalAgent, boolean)public void fillFileSet(java.util.List<java.lang.String> V,
                        java.util.Set<java.lang.String> H)
public void fillFileSet(Environmental E, java.util.Set<java.lang.String> H)
GenericBuilderfillFileSet in interface GenericBuilderE - the top level object to dig for script pathsH - the set of script paths foundGenericBuilder.fillFileMap(Environmental, Map)protected void fillFileMap(Environmental E, java.util.List<java.lang.String> V, java.util.Map<java.lang.String,java.util.Set<Environmental>> H)
public void fillFileMap(Environmental E, java.util.Map<java.lang.String,java.util.Set<Environmental>> H)
GenericBuilderfillFileMap in interface GenericBuilderE - the top level object to go digging for script pathsH - the map to fill.GenericBuilder.fillFileSet(Environmental, Set)public java.lang.String getPhyStatsStr(PhyStats E)
GenericBuildergetPhyStatsStr in interface GenericBuilderE - the PhyStats ObjectGenericBuilder.setPhyStats(PhyStats, String)public java.lang.String getCharStateStr(CharState E)
GenericBuildergetCharStateStr in interface GenericBuilderE - the CharState ObjectGenericBuilder.setCharState(CharState, String)public java.lang.String getCharStatsStr(CharStats E)
GenericBuildergetCharStatsStr in interface GenericBuilderE - the CharStats ObjectGenericBuilder.setCharStats(CharStats, String)protected java.lang.String getEnvPropertiesStr(Environmental E)
public void setCharStats(CharStats E, java.lang.String props)
GenericBuildersetCharStats in interface GenericBuilderE - the CharStats object to alterprops - the encoded valuesGenericBuilder.getCharStatsStr(CharStats)public void setCharState(CharState E, java.lang.String props)
GenericBuildersetCharState in interface GenericBuilderE - the CharState object to alterprops - the encoded valuesGenericBuilder.getCharStateStr(CharState)public void setPhyStats(PhyStats E, java.lang.String props)
GenericBuildersetPhyStats in interface GenericBuilderE - the PhyStats object to alterprops - the encoded valuesGenericBuilder.getPhyStatsStr(PhyStats)protected void setEnvProperties(Environmental E, java.util.List<XMLLibrary.XMLTag> buf)
protected java.lang.String identifier(Environmental E, Environmental parent)
public void unpackExtraEnvironmentalXML(Environmental E, java.util.List<XMLLibrary.XMLTag> buf)
GenericBuilderunpackExtraEnvironmentalXML in interface GenericBuilderE - the object to give settings tobuf - the xml tags containing settingsGenericBuilder.getExtraEnvironmentalXML(Environmental)public Ammunition makeAmmunition(java.lang.String ammunitionType, int number)
GenericBuildermakeAmmunition in interface GenericBuilderammunitionType - the type of ammo "arrows" "bullets", etc.number - the number of ammo in the bundlepublic int getGenItemCodeNum(java.lang.String code)
GenericBuildergetGenItemCodeNum in interface GenericBuildercode - the stat codeGenericBuilder.getGenItemStat(Item, String), 
GenericBuilder.setGenItemStat(Item, String, String)public java.lang.String getGenItemStat(Item I, java.lang.String code)
GenericBuildergetGenItemStat in interface GenericBuilderI - the item object to readcode - the stat code to return the value ofGenericBuilder.getGenItemCodeNum(String), 
GenericBuilder.setGenItemStat(Item, String, String)public void setGenItemStat(Item I, java.lang.String code, java.lang.String val)
GenericBuildersetGenItemStat in interface GenericBuilderI - the item object to modifycode - the stat code to modifyval - the value to set the stat toGenericBuilder.getGenItemStat(Item, String), 
GenericBuilder.getGenItemCodeNum(String)public int getGenMobCodeNum(java.lang.String code)
GenericBuildergetGenMobCodeNum in interface GenericBuildercode - the stat codeGenericBuilder.getGenMobStat(MOB, String), 
GenericBuilder.setGenMobStat(MOB, String, String)public java.lang.String getGenMobStat(MOB M, java.lang.String code)
GenericBuildergetGenMobStat in interface GenericBuilderM - the mob object to readcode - the stat code to return the value ofGenericBuilder.getGenMobCodeNum(String), 
GenericBuilder.setGenMobStat(MOB, String, String)public void setGenMobStat(MOB M, java.lang.String code, java.lang.String val)
GenericBuildersetGenMobStat in interface GenericBuilderM - the mob object to modifycode - the stat code to modifyval - the value to set the stat toGenericBuilder.getGenMobStat(MOB, String), 
GenericBuilder.getGenMobCodeNum(String)public Area copyArea(Area A, java.lang.String newName, boolean savable)
GenericBuildercopyArea in interface GenericBuilderA - the area to copy, including rooms, items, etc..newName - the name of the area copysavable - true to save to db, false for rampublic java.lang.String getFactionXML(MOB mob, java.util.List<Pair<java.lang.String,java.lang.Integer>> lst)
GenericBuildergetFactionXML in interface GenericBuildermob - the mob to grab faction associations fromlst - optional list to grab faction info fromGenericBuilder.unpackFactionFromXML(MOB, List)public java.lang.String getCodedSpellsOrBehaviors(PhysicalAgent I)
GenericBuildergetCodedSpellsOrBehaviors in interface GenericBuilderI - the Affectable one to look at the effects ofAffectable.effects(), 
GenericBuilder.getCodedSpellsOrBehaviors(String)public java.util.List<CMObject> getCodedSpellsOrBehaviors(java.lang.String spellsOrBehavsList)
GenericBuildergetCodedSpellsOrBehaviors in interface GenericBuilderspellsOrBehavsList - the coded ability parameter affectable effects stringAffectable.effects(), 
GenericBuilder.getCodedSpellsOrBehaviors(PhysicalAgent)public java.util.List<Pair<java.lang.String,java.lang.Integer>> unpackFactionFromXML(MOB mob, java.util.List<XMLLibrary.XMLTag> xml)
GenericBuilderunpackFactionFromXML in interface GenericBuildermob - the mob to set faction associations onxml - the list of pre-parsed xml tagsGenericBuilder.getFactionXML(MOB, List)