Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing parserm.h

ChangePlayer (lines 4196-4214)

4196  [ ChangePlayer obj flag i;
4197  !  if (obj.&number==0) return RunTimeError(7,obj);
4198    if (actor==player) actor=obj;
4199    give player ~transparent ~concealed;
4200    i=obj; while(parent(i)~=0) { if (i has animate) give i transparent;
4201                                 i=parent(i); }
4202    if (player==selfobj) player.short_name=FORMER__TX;
4203   
4204    player=obj;
4205   
4206    if (player==selfobj) player.short_name=NULL;
4207    give player transparent concealed animate proper;
4208    i=player; while(parent(i)~=0) i=parent(i); location=i;
4209    real_location=location;
4210    MoveFloatingObjects();
4211    lightflag=OffersLight(parent(player));
4212    if (lightflag==0) location=thedark;
4213    print_player_flag=flag;
4214  ];


Last updated 27 February 2004. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.