[Package Index | Mudlib Index | Effect Index]

File /obj/misc/cameras/camera_inherit.c

A camera inherit based on original work done by Godot, Gototh, Dasquian, Belle, Presto, LIFE, Sugendran and all sorts of people.

Inherits

This class inherits the following classes /obj/baggage.c

Includes

This class includes the following files /include/room.h, /include/tasks.h, /include/dirs.h, /include/armoury.h and /include/move_failures.h

Method index

Public Functions

These are functions that everyone can access.

adj_black_left
void adj_black_left(int n)
adj_colour_left
void adj_colour_left(int n)
calc_slide
string calc_slide()
calc_slr_image
string calc_slr_image()
camera_long
string camera_long()
check_outcome
int check_outcome()
do_aim
int do_aim(object * targets)
do_attach
int do_attach(object * lenses)
do_detach
int do_detach()
do_focus
int do_focus(object lenses)
do_look
int do_look()
do_photography
void do_photography()
do_photography_scene
void do_photography_scene(int n)
do_press
int do_press(object * objs,
             object * attachments,
             string direc)
do_refill
int do_refill(object * refills)
do_set
int do_set(string thing,
           int zip)
do_tap
int do_tap()
extra_look
string extra_look()
get_blurry_desc
string get_blurry_desc()
get_long_desc_room
string get_long_desc_room()
get_long_desc_room_prefix
string get_long_desc_room_prefix()
get_long_desc_subject
string get_long_desc_subject()
get_long_desc_subject_prefix
string get_long_desc_subject_prefix()
make_photo
object make_photo()
photo_direc
object photo_direc(string arg)
query_black_left
int query_black_left()
query_blurry
int query_blurry()
query_busy
int query_busy()
query_camera_type
string query_camera_type()
query_colour_left
int query_colour_left()
query_frame
string query_frame()
query_frames_left
int query_frames_left()
query_lens
object query_lens()
query_max_light
int query_max_light()
query_min_light
int query_min_light()
query_refillable
int query_refillable()
query_slr
int query_slr()
query_speed
int query_speed()
query_subject
object query_subject()
query_underwater_camera
int query_underwater_camera()
set_black_left
void set_black_left(int n)
set_busy_long
void set_busy_long(string str)
set_camera_type
void set_camera_type(string str)

set_camera_type sets the type of camera and should be set as set_camera_type( "black and white" ); set_camera_type( "colour" );
set_colour_left
void set_colour_left(int n)
set_default_black
void set_default_black(int n)

set_default_black sets the amount of black ink that should be in the camera from the start
set_default_colour
void set_default_colour(int n)

set_default_colour sets the amount of colour ink that should be in the camera from the start
set_default_frames
void set_default_frames(int n)

set_default_frames sets the number of frames that should be in the camera from the start
set_frame
void set_frame(string str)

set_frame sets what file will be used to paint the iconographs on At time of writing these are 'glass iconograph' and 'paper iconograph'
set_frames_left
void set_frames_left(int n)
set_max_light
void set_max_light(int n)

set_max_light sets the maximum light level that a camera will work in, this does not apply to slr cameras.
set_min_light
void set_min_light(int n)

set_min_light sets the minimum light level that a camera will work in, this does not apply to slr cameras.
set_no_frames_long
void set_no_frames_long(string str)
set_no_paint_long
void set_no_paint_long(string str)
set_refillable
void set_refillable(int n)

If the camera is to be refillable, it should have set_refillable(1); in the setup.
set_rest_long
void set_rest_long(string str)

set_rest_long, set_busy_long, set_no_frames_long and set_no_paint_long set what the camera should look like. The description will change depending on what state the camera is in based on how the imp is feeling.
set_slr
void set_slr(int n)

If the camera is to be an slr, i.e. have attachable lenses, it should have set_slr(1); in the setup.
set_speed
void set_speed(int n)

set_speed sets the amount of time between callouts in the photography script. A slow camera would have set_speed(5); a fast camera would have set_speed(1);
set_subject
void set_subject(object obj)
set_underwater_camera
void set_underwater_camera(int n)

If the camera is to work underwater, it should have set_underwater(1); in the setup.
setup_lens
object setup_lens()
slr_checks
int slr_checks()
things_here
string * things_here(object * obs)