Generic Follower #5430

Parent #259Owner Flags Source rpg_march_2006/Misc/follower.txt

Aliases: Generic Follower

1 verbs · 14 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
notify_exitthis none this#543013

Properties

PropertyDefinerFlagsOwnerValue
master#5430rc#-1
initial_props#5430not readable (E_PERM)
initial_levels#5430not readable (E_PERM)
money#5430not readable (E_PERM)
spell_immunities#5430not readable (E_PERM)
seek_failed_msg#5430"%n bounces off a topographical barrier."
home2#5430#13240
home#5430#13240
brief#54301
simulating#54300
listen_actions#5430{}
key#5430not readable (E_PERM)
aliases#5430{"Generic Follower"}
object_size#5430{1781, 1141286558}

Ancestry

Ancestors (nearest first): #259 generic monster#7680 Generic Puppet

Children: none

Call graph

calls n5430_0 #5430:notify_exit n259_11 #259:notify_attack n5430_0->n259_11 n259_7 #259:moveto n5430_0->n259_7

Source

notify_exit

Spec this none thisDefiner #5430

Referenced by

none

Source

1{who, how} = args;
2$local.rpg:secure();
3pass(who, how);
4if (who == this.master)
5  if (how in `this.location:exits() ! ANY => this.location:obvious_exits()')
6    how:move(this);
7  else
8    this:moveto(who.location);
9    if (this.location == who.location)
10      this.location:announce_all_but({this}, this.name, " seems to materialize behind ", who.name, ".");
11    endif
12  endif
13endif