Class: Barkeeper
SOURCE LOCATION: /dpuniverse/npc/barkeeper.php
Methods Summary
| void |
createDpNpc() |
Sets up the NPC at object creation time |
| void |
eventDpNpc() |
Checks for dropped empty glasses using EVENT_ENTERED_ENV event |
| void |
timeoutHeartBeat() |
Called each 'heartbeat', randomly chat and perform actions |
| void |
timeoutMakeNewBeer() |
Makes the barkeeper serve new beer if there aren't enough around |
Methods
void createDpNpc(
)
Sets up the NPC at object creation time
void eventDpNpc(
boolean
$name
)
Checks for dropped empty glasses using EVENT_ENTERED_ENV event
void resetDpNpc(
)
Makes new beer
timeoutCheckEmptyGlasses [line 130]
void timeoutCheckEmptyGlasses(
)
Removes empty glasses from the environment of this barkeeper
timeoutHeartBeat [line 223]
void timeoutHeartBeat(
)
Called each 'heartbeat', randomly chat and perform actions
timeoutMakeNewBeer [line 162]
void timeoutMakeNewBeer(
)
Makes the barkeeper serve new beer if there aren't enough around
Makes sure there are at least 4 beers in the barkeeper's environment.
|
|