TinyMUSH 3.3
TinyMUSH Server
Loading...
Searching...
No Matches
Functions | Variables
object.c File Reference

Low-level object manipulation routines. More...

#include "config.h"
#include "constants.h"
#include "typedefs.h"
#include "macros.h"
#include "externs.h"
#include "prototypes.h"
#include <stdbool.h>
#include <ctype.h>
#include <string.h>
#include <unistd.h>
Include dependency graph for object.c:

Functions

void Log_pointer_err (dbref prior, dbref obj, dbref loc, dbref ref, const char *reftype, const char *errtype)
 
void Log_header_err (dbref obj, dbref loc, dbref val, int is_object, const char *valtype __attribute__((unused)), const char *errtype)
 
void Log_simple_err (dbref obj, dbref loc, const char *errtype)
 
bool can_set_home (dbref player, dbref thing, dbref home)
 
dbref new_home (dbref player)
 
dbref clone_home (dbref player, dbref thing)
 
void update_newobjs (dbref player, dbref obj_num, int obj_type)
 
int ok_exit_name (char *name)
 
dbref create_obj (dbref player, int objtype, char *name, int cost)
 
void destroy_obj (dbref player, dbref obj)
 
void do_freelist (dbref player, dbref cause __attribute__((unused)), int key __attribute__((unused)), char *str)
 
void make_freelist (void)
 
void divest_object (dbref thing)
 
void empty_obj (dbref obj)
 
void destroy_exit (dbref exit)
 
void destroy_thing (dbref thing)
 
void destroy_player (dbref victim)
 
void purge_going (void)
 
void check_pennies (dbref thing, int limit, const char *qual)
 
void check_dead_refs (void)
 
void check_loc_exits (dbref loc)
 
void check_exit_chains (void)
 
void check_loc_contents (dbref)
 
void check_misplaced_obj (dbref *obj, dbref back, dbref loc)
 
void check_contents_chains (void)
 
void do_dbck (dbref player, dbref cause __attribute__((unused)), int key)
 

Variables

int check_type
 

Detailed Description

Low-level object manipulation routines.

Author
TinyMUSH development team (https://github.com/TinyMUSH)
Version
3.3
Date
2021-01-04