Difference between revisions of "Command List"
(10 intermediate revisions by the same user not shown) | |||
Line 153: | Line 153: | ||
void detachScript(object, string);<br> | void detachScript(object, string);<br> | ||
void getScripts(list, object);<br> | void getScripts(list, object);<br> | ||
− | void getcontents(list, object);<br> | + | void [[getContents|getcontents]](list, object);<br> |
− | void getContents(list, object);<br> | + | void [[getContents]](list, object);<br> |
− | void getequipment(list, object);<br> | + | void [[getEquipment|getequipment]](list, object);<br> |
− | void getEquipment(list, object);<br> | + | void [[getEquipment]](list, object);<br> |
void [[callBack|callback]](object, integer, integer);<br> | void [[callBack|callback]](object, integer, integer);<br> | ||
void [[callBack]](object, integer, integer);<br> | void [[callBack]](object, integer, integer);<br> | ||
Line 216: | Line 216: | ||
integer withdrawFromBank(object, integer);<br> | integer withdrawFromBank(object, integer);<br> | ||
integer withdrawAndDestroy(object, integer);<br> | integer withdrawAndDestroy(object, integer);<br> | ||
− | void openBank(object);<br> | + | void [[openBank]](object);<br> |
integer depositIntoBank(object, object, integer);<br> | integer depositIntoBank(object, object, integer);<br> | ||
integer amtGoldInBank(object);<br> | integer amtGoldInBank(object);<br> | ||
Line 250: | Line 250: | ||
integer [[getSex]](object);<br> | integer [[getSex]](object);<br> | ||
integer [[sameSex]](object, object);<br> | integer [[sameSex]](object, object);<br> | ||
− | integer isHumanBodyType(object);<br> | + | integer [[isHumanBodyType]](object);<br> |
integer isHuman(object);<br> | integer isHuman(object);<br> | ||
integer [[isMobile]](object);<br> | integer [[isMobile]](object);<br> | ||
Line 259: | Line 259: | ||
integer isMap(object);<br> | integer isMap(object);<br> | ||
integer [[isNPC]](object);<br> | integer [[isNPC]](object);<br> | ||
− | integer isOwnedPet(object);<br> | + | integer [[isOwnedPet]](object);<br> |
integer [[isShopKeeper]](object);<br> | integer [[isShopKeeper]](object);<br> | ||
integer [[isGuard]](object);<br> | integer [[isGuard]](object);<br> | ||
Line 283: | Line 283: | ||
void barkToHued(object, object, integer, string);<br> | void barkToHued(object, object, integer, string);<br> | ||
void actionBark(object, integer, string, string);<br> | void actionBark(object, integer, string, string);<br> | ||
− | integer getObjType(object);<br> | + | integer [[getObjType]](object);<br> |
integer getValue(object);<br> | integer getValue(object);<br> | ||
integer makeValueless(object);<br> | integer makeValueless(object);<br> | ||
Line 293: | Line 293: | ||
location getMasterObjLoc(integer);<br> | location getMasterObjLoc(integer);<br> | ||
integer numInContainer(object);<br> | integer numInContainer(object);<br> | ||
− | integer isRidable(object);<br> | + | integer [[isRidable]](object);<br> |
integer isRiding(object);<br> | integer isRiding(object);<br> | ||
integer [[isVirtueGuard]](object);<br> | integer [[isVirtueGuard]](object);<br> | ||
Line 365: | Line 365: | ||
integer hasObjEquipped(object, object);<br> | integer hasObjEquipped(object, object);<br> | ||
integer hasObjTypeEquipped(object, integer);<br> | integer hasObjTypeEquipped(object, integer);<br> | ||
− | integer getEquipSlot(object);<br> | + | integer [[getEquipSlot]](object);<br> |
− | object getItemAtSlot(object, integer);<br> | + | object [[getItemAtSlot]](object, integer);<br> |
object getWeapon(object);<br> | object getWeapon(object);<br> | ||
integer isArmed(object);<br> | integer isArmed(object);<br> | ||
Line 457: | Line 457: | ||
void getObjectsAtInZRange(list, location, integer, integer);<br> | void getObjectsAtInZRange(list, location, integer, integer);<br> | ||
integer getQuantity(object);<br> | integer getQuantity(object);<br> | ||
− | integer getMiscData(object);<br> | + | integer [[getMiscData]](object);<br> |
− | integer getQuality(object);<br> | + | integer [[getQuality]](object);<br> |
integer getHeight(object);<br> | integer getHeight(object);<br> | ||
integer getSurfaceHeight(object);<br> | integer getSurfaceHeight(object);<br> | ||
Line 562: | Line 562: | ||
integer getResourcesOnObj(object, integer, list);<br> | integer getResourcesOnObj(object, integer, list);<br> | ||
string getResourceName(string, integer);<br> | string getResourceName(string, integer);<br> | ||
− | integer getResourceTypeIdByName(integer &, string);<br> | + | integer [[getResourceTypeIdByName]](integer &, string);<br> |
integer hasResource(object, integer);<br> | integer hasResource(object, integer);<br> | ||
integer hasObj(object, object);<br> | integer hasObj(object, object);<br> | ||
Line 759: | Line 759: | ||
integer isCorpse(object);<br> | integer isCorpse(object);<br> | ||
integer getCorpseBodyType(object);<br> | integer getCorpseBodyType(object);<br> | ||
− | integer isObscene(string);<br> | + | integer [[isObscene]](string);<br> |
void logEntry(integer, integer, object, string, string, string, string);<br> | void logEntry(integer, integer, object, string, string, string, string);<br> | ||
integer [[getAccountNum]](object);<br> | integer [[getAccountNum]](object);<br> |
Latest revision as of 20:36, 24 November 2012
This Ultima Online Command List it not sorted or grouped in any special way other then the order they appear in the executable (uodemo.exe). Due to the nature of the Ultima Online Demo we are convinced that these script functions are indeed the scripts functions OSI used in 1998 to script their shards.
The Internal Statements should not be used in your scripts, use the related language statement themselves. The script loader/parser in the demo with take care of the appropriate handling and conversion. The Internal Functions can be used but it would still be wiser to use the related operators as those read better. The Public Functions is where the real fun is, some functions have been documented and you can click on the function name for more details.
Internal Statements:
void TK_IF(integer, integer);
void TK_ELSE(integer);
void TK_ENDIF(void);
void TK_WHILE(integer, integer);
void TK_ENDWHILE(integer);
void TK_FOR(integer, integer);
void TK_ENDFOR(integer);
void TK_CONTINUE(integer);
void TK_BREAK(integer);
void TK_GOTO(integer);
void TK_SWITCH(integer);
void TK_ENDSWITCH(void);
void TK_CASE(void);
void TK_DEFAULT(void);
void TK_RETURN(void);
void TK_RETURN(integer);
void TK_RETURN(location);
void TK_RETURN(object);
void TK_RETURN(string);
Internal Functions:
integer oprnull(integer);
integer oprplus(integer, integer);
integer oprminus(integer, integer);
integer oprmult(integer, integer);
integer oprdiv(integer, integer);
integer oprand(integer, integer);
integer opror(integer, integer);
integer oprxor(integer, integer);
integer oprequiv(integer, integer);
integer oprnequiv(integer, integer);
integer oprgt(integer, integer);
integer oprlt(integer, integer);
integer oprmod(integer, integer);
integer oprgteq(integer, integer);
integer oprlteq(integer, integer);
integer oprnot(integer);
any oprlist(list, integer);
list oprlist(list, integer);
integer oprlist(list, integer);
string oprlist(list, integer);
unicode oprlist(list, integer);
location oprlist(list, integer);
object oprlist(list, integer);
string oprlist(string, integer);
void oprinc(integer &);
void oprdec(integer &);
string oprplus(string, string);
string oprplus(string, integer);
string oprplus(string, location);
integer oprequiv(string, string);
integer oprnequiv(string, string);
integer oprequiv(location, location);
integer oprnequiv(location, location);
integer oprequiv(object, object);
integer oprnequiv(object, object);
void assignint(integer &, integer);
void assignstr(string &, string);
void assignust(unicode &, unicode);
void assignobj(object &, object);
void assignloc(location &, location);
void assignlist(list, list);
All Public Functions:
void append(list, any);
void appendToList(list, any);
void prepend(list, any);
void prependToList(list, any);
void insert(list, any, integer);
void insertInList(list, any, integer);
integer numinlist(list &);
integer numInList(list);
integer isinlist(list, any);
integer isInList(list, any);
void setitem(list, any, integer);
void setItem(list, any, integer);
void setLocItem(list, location, integer);
void concatList(list, list);
void truncateList(list, integer);
void removeitem(list, integer);
void removeItem(list, integer);
void removespecificitem(list, any);
void removeSpecificItem(list, any);
void clearlist(list);
void clearList(list);
void printList(list);
integer getListItemType(list &, integer);
void copylist(list, list);
void copyList(list, list);
void sortList(list, integer);
integer isArrayInit(integer);
void initArray(integer, integer, integer, list);
void initArrayFromFile(integer, integer, integer, string);
void deleteArray(integer);
void setArrayIntElem(integer, integer, integer, integer);
void setArrayStrElem(integer, integer, integer, string);
void setArrayUStrElem(integer, integer, integer, unicode);
void setArrayElemns(integer, integer, integer, list);
integer getArrayIntElem(integer, integer, integer);
string getArrayStrElem(integer, integer, integer);
unicode getArrayUStrElem(integer, integer, integer);
integer getArrayWidth(integer);
integer getArrayHeight(integer);
void assignintstr(integer &, string);
void assignstrint(string &, integer);
void assignustint(unicode &, integer);
void assignlocint(location &, integer, integer, integer);
integer objtoint(object);
void split(list, string);
integer wordWrap(list, string, integer);
integer textSubstitute(string &, string, string, string);
void split(list, string);
void splitCommaDelimitedString(list, string);
void concat(string, string);
void barkstr(string);
void barkint(integer);
integer strtoi(string);
integer strlen(string);
void toUpper(string &, integer, integer);
void removePrefix(string &, string);
integer getCompileFlag(integer);
void sendToNearbyPlayers(object, integer);
void targetobj(object, object);
void targetobj(object, object);
void targetloc(object, object);
void targetloc(object, object);
void supertargetobj(object, object, integer);
void superTargetObj(object, object, integer);
void supertargetloc(object, object, integer, integer);
void superTargetLoc(object, object, integer, integer);
void targetlocmulti(object, object, integer, integer, integer, integer);
void targetLocMulti(object, object, integer, integer, integer, integer);
void targetLocObjList(object, object, integer, integer, integer, list);
void addfrag(object, string);
void addFrag(object, string);
void addfragment(object, string);
void addFragment(object, string);
void removefragment(object, string);
void removeFragment(object, string);
integer hasscript(object, string);
integer hasScript(object, string);
void attachscript(object, string);
void attachScript(object, string);
void detachscript(object, string);
void detachScript(object, string);
void getScripts(list, object);
void getcontents(list, object);
void getContents(list, object);
void getequipment(list, object);
void getEquipment(list, object);
void callback(object, integer, integer);
void callBack(object, integer, integer);
void shortcallback(object, integer, integer);
void shortCallback(object, integer, integer);
void removeCallback(object, integer);
void removeCallbackAdvanced(object, integer, integer);
integer hasCallback(object, integer);
integer hasCallbackAdvanced(object, integer, integer);
void callbackAdvanced(object, integer, integer, integer);
void selectType(object, object, integer, string, list);
void selectTypeAndHue(object, object, integer, string, list);
void selectHue(object, object, integer, integer);
void message(object, string, list);
integer messageret(object, object, string, list);
void multimessage(object, string, list);
void multiMessage(object, string, list);
void multiMessageToLoc(location, string, list);
void multiMessageToRange(location, integer, string, list);
void messageToRange(location, integer, string, list);
integer hasObjVar(object, string);
integer hasObjListVar(object, string);
any getObjVar(object, string);
integer getObjVar(object, string);
string getObjVar(object, string);
location getObjVar(object, string);
object getObjVar(object, string);
integer getobjvar_int(object, string);
string getobjvar_str(object, string);
location getobjvar_loc(object, string);
object getobjvar_obj(object, string);
void getObjListVar(list, object, string);
void setObjVar(object, string, any);
void removeObjVar(object, string);
void copyObjVar(object, object, string);
void copyAllObjVars(object, object);
integer addToObjVarListSet(object, string, any);
integer isInObjVarListSet(object, string, any);
void changeLoc(location &, integer, integer, integer);
object NULL(void);
void setDefaultReturn(integer);
void setConvoRet(string);
void disableBehaviors(object);
void enableBehaviors(object);
integer areBehaviorsEnabled(object);
void callGuards(object, location, integer);
void seance(object, integer);
void setLastValidTerrainLoc(object, location);
integer teleport(object, location);
integer teleportNoFall(object, location);
integer random(integer, integer);
integer dice(integer, integer);
void deleteObject(object);
void deleteObjectNoFall(object);
integer putObjContainer(object, object);
integer toMobile(object, object);
integer putObjBank(object, object);
integer putMobContainer(object, object);
integer withdrawFromBank(object, integer);
integer withdrawAndDestroy(object, integer);
void openBank(object);
integer depositIntoBank(object, object, integer);
integer amtGoldInBank(object);
integer equipObj(object, object, integer);
integer dropObj(object, location);
integer findGoodSpotNearWithElev(location &, integer, integer, integer, integer, integer);
integer findGoodSpotNear(location &, integer, integer, integer);
integer findGoodSpotNearMin(location &, integer, integer, integer, integer, integer);
integer findGoodZ(location, integer, integer, integer, integer);
integer canExistAt(location, integer, integer);
integer walk(object, integer);
integer run(object, integer);
void setType(object, integer);
void setHue(object, integer);
void setPartialHue(object, integer);
void setDefaultTextHue(object, integer);
integer getDefaultTextHue(object);
void animateMobile(object, integer, integer, integer, integer, integer);
void sfx(location, integer, integer);
void sfxTo(object, integer, integer);
void musicTo(object, integer);
integer getDirectionInternal(location, location);
string getDirection(location, location);
integer getDistanceInTiles(location, location);
string getDistance(location, location);
location interpose(location, location);
integer getFacing(object);
integer getHue(object);
integer isFacingPlace(object, location);
integer isFacingPerson(object, object);
integer facingEachOther(object, object);
void faceHere(object, integer);
integer getSex(object);
integer sameSex(object, object);
integer isHumanBodyType(object);
integer isHuman(object);
integer isMobile(object);
integer isPlayer(object);
integer isSpellbook(object);
integer isContainer(object);
integer isRealContainer(object);
integer isMap(object);
integer isNPC(object);
integer isOwnedPet(object);
integer isShopKeeper(object);
integer isGuard(object);
integer isDead(object);
integer isInContainer(object);
integer isEquipped(object);
integer isMoveable(object, object);
integer isFreelyUsable(object, object);
integer isFreelyViewable(object, object);
integer isOnline(object);
object containedBy(object);
object getTopmostContainer(object);
integer isNoDrawType(integer);
void bark(object, string);
void ebark(object, string);
void barkTo(object, object, string);
void ebarkTo(object, object, string);
void barkToHued(object, object, integer, string);
void bark(object, unicode);
void ebark(object, unicode);
void barkTo(object, object, unicode);
void ebarkTo(object, object, unicode);
void barkToHued(object, object, integer, string);
void actionBark(object, integer, string, string);
integer getObjType(object);
integer getValue(object);
integer makeValueless(object);
integer isInCamp(object);
integer getWeight(object);
location getLocation(object);
location getRelayLoc(object);
location whereIs(object);
location getMasterObjLoc(integer);
integer numInContainer(object);
integer isRidable(object);
integer isRiding(object);
integer isVirtueGuard(object);
integer isOrderGuard(object);
integer isChaosGuard(object);
integer isUsingVirtueShield(object);
integer unRide(object);
integer getAC(object);
integer getMovementType(object);
void setMovementType(object, integer);
integer getGeneric(object, integer);
integer getMoney(object);
void gainFame(object, integer);
void loseFame(object, integer);
integer NotorietyCompare(object, object);
integer notorietyCompare(object, object);
void addNotoriety(object, integer);
void removeNotoriety(object, integer);
integer getNotoriety(object);
integer getNotorietyLevel(object);
integer getNotorietyLevelByNot(integer);
void setNotoriety(object, integer);
integer getFame(object);
integer getAdjFame(object);
integer getFameLevel(object);
void changeFame(object, integer);
void setFame(object, integer);
integer getKarma(object);
integer getAdjKarma(object);
integer getKarmaLevel(object);
void changeKarma(object, integer);
void setKarma(object, integer);
integer getCurHP(object);
integer getMaxHP(object);
integer getCurFatigue(object);
integer getMaxFatigue(object);
integer getCurMana(object);
integer getMaxMana(object);
integer getCanCarry(object);
integer getSkillTotal(object);
integer getCappedSkillTotal(object);
integer getNaturalAC(object);
integer getHPLevel(object);
integer getFatigueLevel(object);
integer getManaLevel(object);
void setCurHP(object, integer);
void setMaxHP(object, integer);
void handleHealthGain(object);
void setCurFatigue(object, integer);
void setMaxFatigue(object, integer);
void setCurMana(object, integer);
void setMaxMana(object, integer);
void setNaturalAC(object, integer);
void addHP(object, integer);
void addMana(object, integer);
void addFatigue(object, integer);
void doDamageWithWeapon(object, object, object, integer);
void doDamage(object, object, integer);
void doDamageFight(object, object, integer, integer);
void doDamageType(object, object, integer, integer);
void loseHP(object, integer);
void loseMana(object, integer);
void loseFatigue(object, integer);
void restoreMobile(object);
void restoreFatigue(object);
void restoreHP(object);
void restoreMana(object);
string getHeShe(object);
string getHimHer(object);
string getHisHer(object);
integer hasObjEquipped(object, object);
integer hasObjTypeEquipped(object, integer);
integer getEquipSlot(object);
object getItemAtSlot(object, integer);
object getWeapon(object);
integer isArmed(object);
integer getFreeHandSlot(object);
integer getYear(void);
integer getMonth(void);
integer getWeek(void);
integer getDay(void);
integer getHour(void);
integer getMinute(void);
integer getSeconds(void);
integer isWeapon(object);
integer isReallyWeapon(object);
integer getSatiety(object);
integer getRealStrength(object);
integer getRealDexterity(object);
integer getRealIntelligence(object);
integer getStrength(object);
integer getDexterity(object);
integer getIntelligence(object);
integer getStat(object, integer);
integer getRealStat(object, integer);
integer getStatAttributeMax(object, integer);
integer setStatAttributeMax(object, integer, integer);
integer modifyStat(object, integer, integer);
integer modifyRealStat(object, integer, integer);
integer setRealStat(object, integer, integer);
integer getStatMod(object, integer);
integer setStatMod(object, integer, integer);
integer getSkillMod(object, integer);
integer setSkillMod(object, integer, integer);
void addSatiety(object, integer);
integer testSkill(object, integer);
integer skillTest(object, integer);
integer testSkillReal(object, integer);
integer skillTestReal(object, integer);
integer getSkillLevel(object, integer);
integer getSkillLevelReal(object, integer);
integer getSkillLevelRealStat(object, integer);
integer getSkillLevelNoStat(object, integer);
integer getSkillLevelNoStatNoMod(object, integer);
void setSkillLevel(object, integer, integer);
void addSkillLevel(object, integer, integer);
void loseSkillLevel(object, integer, integer);
integer modifySkillMod(object, integer, integer);
void setMobFlag(object, integer, integer);
integer getMobFlag(object, integer);
integer getSkillNumber(string);
string getSkillName(integer);
string getOrcishSyllable(integer);
string getWispishSyllable(integer);
string getLizardishSyllable(integer);
string getRattishSyllable(integer);
void handleWatchingSkill(object, integer);
integer testAndLearnSkill(object, integer, integer, integer);
integer getSkillSuccessChance(object, integer, integer, integer);
object getBackpack(object);
object transferGenericToContainer(object, object, integer, integer);
object transferGenericToWorld(location, object, integer, integer);
void destroyGeneric(object, integer, integer);
object takeMoney(object, integer);
object giveItem(object, object);
void systemMessage(object, string);
void systemMessageHued(object, integer, string);
integer textMessage(object, string, integer, integer, integer);
integer superBark(object, string, integer, integer, integer);
void getMobsInRange(list, location, integer);
void getMobsInRangeOld(list, location, integer);
integer objIsInRange(location, integer);
void getObjectsInRange(list, location, integer);
void getObjectsInRangeWithFlags(list, location, integer, integer);
integer getNumAllObjectsInRangeWithFlags(location, integer, integer);
integer getObjectFlags(object, integer);
integer getTerrainFlags(integer, integer);
void getObjectsInRangeOfType(list, location, integer, integer);
void getObjectsInSpecRange(list, location, integer, integer);
object getFirstObjectOfType(location, integer);
object getNextObjectOfType(location, integer, object);
void getPlayersInRange(list, location, integer);
void getNPCsInRange(list, location, integer);
void getNPCsInRangeOld(list, location, integer);
integer getTileAt(location);
integer isInMap(location);
integer isInWorld(location);
integer getTileHeight(integer);
void getMobsAt(list, location);
void getPlayersAt(list, location);
void getNPCsAt(list, location);
void getObjectsAt(list, location);
void getObjectsAtInZRange(list, location, integer, integer);
integer getQuantity(object);
integer getMiscData(object);
integer getQuality(object);
integer getHeight(object);
integer getSurfaceHeight(object);
void logOut(object);
void safeLogOut(object);
void safeLogout(object);
void setHidden(object, integer);
integer isHidden(object);
void openGump(object, integer);
void closeGump(object, integer);
void doMissile_Loc2Loc(location, location, integer, integer, integer, integer);
void doMissile_Loc2Mob(location, object, integer, integer, integer, integer);
void doMissile_Mob2Loc(object, location, integer, integer, integer, integer);
void doMissile_Mob2Mob(object, object, integer, integer, integer, integer);
void doLocAnimation(location, integer, integer, integer, integer, integer);
void doMobAnimation(object, integer, integer, integer, integer, integer);
void doLightning(object);
void beginSequence(void);
void endSequence(integer);
integer waitState(object);
void setWaitState(object, integer);
integer isInvisible(object);
void setInvisible(object, integer);
void setPoisoned(object, integer);
void setCursed(object, integer);
string getName(object);
string getRealName(object);
void setRealName(object, string);
void setRealNameFromTemplate(object, integer);
string getTitledName(object);
void walkTo(object, location, integer);
integer canSeeObj(object, object);
integer getElevationAt(integer, integer);
integer canExistAt(location, integer, integer);
integer canSeeLoc(object, location);
integer isValid(object);
integer getTemplate(object);
integer getDefaultAlignment(integer);
void setAlignment(object, integer);
void becomeTemplate(object, integer);
integer isAtHome(object);
integer thinksItsAtHome(object);
integer hasHome(object);
location getHome(object);
void setHome(object, location);
location getCreationLoc(object);
void getStaticObjectsAt(list, location);
void getStaticObjectsAtXY(list, location);
void getStaticObjectsAtXYZ(list, location);
void shopKeeperOpenBusiness(object, object);
void shopKeeperOpenBuying(object, object);
integer hasShopKeyword(list);
integer mobileWillBuy(object, object);
string getNameByType(integer);
integer getX(location);
integer getY(location);
integer getZ(location);
void setX(location &, integer);
void setY(location &, integer);
void setZ(location &, integer);
void moveDir(location &, integer);
void debugMessage(string);
void replyTo(object, object, string);
void replyToMobAbout(object, object, object, string);
void returnObject(object);
integer containsObj(object, object);
object containsObjType(object, integer);
integer mobileContainsObj(object, object);
void getObjectsOfTypeIn(list, object, integer);
object mobileContainsObjType(object, integer);
void getContainersOnMobile(list, object);
void useItem(object, object);
void doLookAt(object, object);
string getArticle(integer);
string objToStr(object);
void scoreToSpace(string);
void scriptTrig(object, integer, object);
void processTriggerCmds(object, string);
void deleteIfValid(object, integer);
void deleteIfValidNoFall(object, integer);
void createPlaceHolder(object);
integer changeRange(object, integer, integer, integer);
integer findClosestArea(string &, location &, string, location, integer);
integer isInArea(string, location, integer);
void setLooksLikeTemplate(object, integer);
void followNpc(object, object, integer);
void stopFollowing(object);
object getLeader(object);
void runAway(object, object);
integer getHungerLevel(object);
void setDesireLevel(object, integer);
integer eatObject(object, object);
void setBehavior(object, integer);
void clearBehavior(object, integer);
void loiter(object, integer);
void goLoiter(object, location, integer);
integer getDesireLevel(object);
void setLoiterMode(object, integer);
integer getLightVal(object);
integer getLightTime(object);
void setLight(object, integer, integer);
integer getResource(integer &, object, string, integer, integer);
integer getResourcesOnObj(object, integer, list);
string getResourceName(string, integer);
integer getResourceTypeIdByName(integer &, string);
integer hasResource(object, integer);
integer hasObj(object, object);
integer hasObjType(object, integer);
integer hasObjTypeInBank(object, integer);
void callGuards(object, object, integer);
integer witnessCrime(location, object, object, string, integer, integer, integer);
void criminalAct(object, object, integer, integer);
void criminalActAdvanced(object, object, integer, integer, integer, integer);
void committedCrimeAt(object, location, integer);
void setCriminal(object, integer);
integer isCriminal(object);
integer isMurderer(object);
integer getMurderCount(object);
void setMurderCount(object, integer);
void setResurrectionResources(object);
integer canBeFreelyAggressedBy(object, object);
void refreshAggression(object);
void receiveAggressionFrom(object, object);
void receiveUnhealthyActionFrom(object, object);
void receiveHelpfulActionFrom(object, object);
void copyControllerInfo(object, object);
integer openContainer(object, object);
void updateHint(integer, object, integer, string, string, location, object, string, integer);
integer getHint(object, integer, integer &, object &, integer &, string &, string &, location &, object &, string &, integer &);
integer getLocalizedDesc(string &, location &, location, location);
integer getSmallestArea(string &, location);
integer isInRegionWithPrefix(string &, location);
integer getTrammelPhase(void);
integer getFeluccaPhase(void);
string getMoonPhaseStr(integer);
integer getMoonGateDest(integer);
integer canWield(object, object);
integer isSlashing(object);
integer isPiercing(object);
integer isBashing(object);
integer isRanged(object);
integer getMaxArmorClass(object);
integer getCurArmorClass(object);
integer getAmmoType(object);
integer getBow(object);
integer setMaxArmorClass(object, integer);
integer getWeaponRange(object);
integer getWeaponMinRange(object);
integer getWeaponHandedness(object);
string getWeaponName(object);
integer getAverageDamage(object);
void getWeaponClass(object, integer &, integer &, integer &, integer &);
void setWeaponClass(object, integer, integer, integer, integer);
integer getWeaponCurHP(object);
integer setWeaponCurHP(object, integer);
integer getWeaponMaxHP(object);
integer setWeaponMaxHP(object, integer);
integer getWeaponMinStr(object);
integer getWeaponSpeed(object);
integer getWeaponHitSfx(object);
integer getWeaponMissSfx(object);
integer applyWeaponTemplate(object, integer);
void makeDice(string &, string, integer, integer, string, integer);
void splitDice(string, string &, integer &, integer &, string &, integer &);
void attack(object, object);
void peace(object);
void stopAttack(object);
void stopFight(object, object);
void getTargets(list, object);
void getVisableTargets(list, object);
object getFirstVisableTarget(object);
object getFirstVisibleTargetInRange(object, integer);
void getAttackers(list, object);
void getAttackersNearby(list, object);
integer getNumTargets(object);
integer getNumAttackers(object);
object getFirstTarget(object);
object makeMultiInst(location, integer);
object makeMultiInstCheck(location, integer, integer, integer, integer &, integer, integer, integer);
integer moveMulti(object, location);
integer moveMultiCheck(object, location, integer);
integer recycleMulti(object, integer);
integer recycleMultiCheck(object, integer, integer);
integer recycleMultiCheckRotate(object, integer, integer, integer);
integer moveMultiMapSwitch(object, location, integer);
integer isMultiComp(object);
integer isMultiSlave(object);
object getMultiSlaveId(object);
location getMultiComponentOffset(object);
integer areObjectsOn(object);
integer getMultiExtents(integer, location &, location &);
integer isHousingOkay(location, integer);
integer areSpellsOkay(location);
integer isInCityRegion(location);
integer inJusticeRegion(location);
integer getMultiType(object);
void resetMultiCarriedDecay(object);
integer multiCanExistAt(location, integer, integer);
integer canMultiExistAt(object, location, integer);
integer dropCheck(location &, object, integer);
integer isOnMulti(object, object);
object isOnAnyMulti(object);
object isAnyMultiAt(location);
object isAnyMultiBelow(location);
integer getNumInMultiType(integer);
void multiCompSetSendSlave(object, integer);
integer areMobilesInMultiArea(integer, location);
void getPlayersOnMulti(list, object);
void getObjectsOnMulti(list, object);
void sendPlayerZmoveStuff(object);
integer getDecayCount(object);
integer getDecayMax(object);
integer setDecayCount(object, integer);
integer getHomeDecayRate(void);
integer getNonHomeDecayRate(void);
integer getDefaultDieDecay(void);
integer getDecayInterval(void);
object mobileHasObjWithListObjOfObj(object, string, object);
integer getPulseNum(void);
void setDecayTest(integer);
object getClosestMobile(location, integer);
object getClosestPlayer(location, integer);
object getClosestOnlinePlayer(location, integer);
object getClosestMobileOrOnlinePlayer(location, integer);
object getClosestVisibleOnlinePlayer(location, integer);
void setMapProperties(object, integer, integer, integer, integer, integer, integer, integer);
integer isValidMap(object);
integer isMap(object);
integer getMapPointer(location &, object, integer);
integer copybook(object, object);
integer setNPCState(object, integer);
integer getNPCState(object);
integer goSleep(object, integer, integer);
void transferAllResources(object, object);
void transferResources(object, object, integer, string);
void transferGeneric(object, object, integer);
void returnAllResourcesToBank(object);
void returnResourcesToBank(object, integer, string);
object createGlobalNPCAt(integer, location, integer);
object createGlobalNPCAtSpecificLoc(integer, location);
object createGlobalObjectAt(integer, location);
object createGlobalObjectIn(integer, object);
object createGlobalObjectOn(object, integer);
object createNoResObjectAt(integer, location);
object createNoResObjectIn(integer, object);
object requestCreateObjectAt(integer, location);
object requestCreateObjectIn(integer, object);
object requestCreateNPCAt(integer, location, integer);
integer defineResource(object, string, integer, integer, integer);
object getChunkEgg(location);
void addGlobalQuantity(object, integer);
integer requestAddQuantity(object, integer);
void addConsumer(location &, string, integer, integer);
integer whoIsLargestConsumer(location, integer);
integer resourceTypeToId(string);
integer isGeneric(object);
integer canBeGeneric(object);
void destroyOne(object);
string getROBookTitle(integer);
integer getBookPages(object);
void removeLeadingWords(string &, integer);
object findClosestBBoard(location);
void setPostTime(object);
integer getTimeSecs(void);
integer objectsNearby(list, location &, integer, integer);
void intRet(integer);
void textEntry(object, object, integer, integer, string);
void stringQuery(object, object, integer, string, integer, integer, integer, string);
void webBrowse(object, string);
void makeBeelineFailPathFind(object, integer);
void overloadWeight(object, integer);
void recalcWeight(object);
void fixBank(object);
void setStatus(object, integer, integer);
integer getStatus(object, integer);
integer isHair(object);
integer isEditing(object);
integer isCounselor(object);
integer isGameMaster(object);
integer getPlayerBugStat(list, integer);
integer doNPCHeartBeat(object);
integer doNPCHandleStates(object);
integer isManifesting(object);
void addHelpRequestToQueue(object, integer, integer, string);
integer removePlayerFromGame(object);
void trackingTypeSelected(list, object, integer, integer, location);
object doTakeMoney(object, integer, integer);
void doSCommand(object, string);
integer resurrect(object, integer);
void destroyContents(object);
integer canHold(object, object);
void transferPlayer(object, object, string);
void checkTransferAccount(object, object);
integer getGMCallStatus(void);
void setGMCallStatus(integer);
integer getEncumbrance(object);
void getCurrentTimeStr(string &);
void setROBookNum(object, integer);
integer getPlayAge(object);
integer isCorpse(object);
integer getCorpseBodyType(object);
integer isObscene(string);
void logEntry(integer, integer, object, string, string, string, string);
integer getAccountNum(object);
integer getCharacterNum(object);
integer getCombatMode(object);
integer isInvulnerable(object);
void makeInvulnerable(object);
void makeVulnerable(object);
void openGenericGump(object, object, integer, integer, integer, list, list);
void setTile(location, integer);
integer getTile(location);
void setElevation(location, integer);
integer getElevation(location);
void createStatic(location, integer);
void createStaticHued(location, integer, integer);
void updatesOn(void);
void updatesOff(void);
void escript(object, string, string);
integer abs(integer);
integer isGoldAccount(object);