Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > set_meat_locker

API Function: set_meat_locker

Summary:
set the meat locker's number

Defined In LPC Object:
/usr/common/sys/configd.c

Prototype:
void set_meat_locker(int room_number)

Can Be Called By:
System, Common, Game

Description:

Set a room number for the meat locker. The meat locker is where bodies go when the owning player isn't logged in.

The number should correspond to a room registered with the MapD. If the meat locker doesn't exist, Phantasmal's behavior is undefined.

This API may change later since we may want different behavior for the bodies of logged-out players.

Return Value:

An integer for the meat locker's room number.

Errors:
Normally none

See Also:
set_start_room , get_meat_locker