org.starhope.appius.game.npc
Class LuaNPC

java.lang.Object
  extended by org.starhope.appius.user.AbstractNonPlayerCharacter
      extended by org.starhope.appius.game.npc.AbstractScriptedNPC
          extended by org.starhope.appius.game.npc.LuaNPC
All Implemented Interfaces:
RoomListener, AbstractUser, AcceptsMetronomeTicks, HasName

public abstract class LuaNPC
extends AbstractScriptedNPC

A non-player character controlled by a chunk of Lua script.

Based upon the Lua port by the Kepler project:

Copyright © 2003-2007 Kepler Project.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Author:
brpocock

Constructor Summary
LuaNPC(org.luaj.vm.LuaState state)
          WRITEME
 
Method Summary
 
Methods inherited from class org.starhope.appius.game.npc.AbstractScriptedNPC
acceptAdminMessage, acceptAdminMessage, acceptAdminMessage, acceptErrorReply, acceptGameAction, acceptGameStateChange, acceptMessage, acceptObjectJoinRoom, acceptObjectPartRoom, acceptOutOfBandMessage, acceptPublicMessage, acceptPublicMessage, acceptSuccessReply, acceptSuccessReply, addBuddy, addGiftSubscription, addItem, assertStaffLevel, attend, ban, canTalk, doffClothes, doTransport, endMultiplayerEvent, getActiveDecorations, getAge, getApprovedDateString, getAvatarClass, getAvatarLabel, getBuddyListNames, getDialect, getDisplayName, getFacing, getFurnitureBySlot, getIPAddress, getItemsByType, getKickedByUserID, getKickedMessage, getKickedReasonCode, getKickedUntil, getLanguage, getLocation, getMail, getName, getNameApprovedAt, getNameRequestedAt, getPublicInfo, getRegisteredDateString, getResponsibleMail, getRoom, getRoomNumber, getServerThread, getStaffLevel, getTargetX, getTargetY, getTravelRate, getTravelStart, getUserID, getUserVariables, getVariable, getX, getY, getZone, hasStaffLevel, hasVariable, ignore, isBanned, isCanceled, isKicked, isOnline, isPaidMember, kick, liftBan, notifyFurnitureInventory, removeBuddy, reportedToModeratorBy, scriptedEvent, scriptSetFacing, scriptSetTargetX, scriptSetTargetY, scriptSetTravelRate, scriptSetTravelStart, scriptSetTravelStart, scriptSetX, scriptSetY, sendEarnings, sendMigrate, sendOops, sendResponse, sendUserLists, sendWardrobe, setAgeGroupToSystem, setBaseColor, setCanTalk, setExtraColor, setLastActive, setMail, setRoom, setStartT, setStructure, setTravelRate, setVariable, setX, setY, speak, startEvent, tick, toJSON, toSFSXML, wear, wear
 
Methods inherited from class org.starhope.appius.user.AbstractNonPlayerCharacter
isNPC
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.starhope.appius.user.AbstractUser
cancelEvent, endEvent, sendWardrobe
 

Constructor Detail

LuaNPC

public LuaNPC(org.luaj.vm.LuaState state)
WRITEME

Parameters:
state - WRITEME