do_force_on_me.o

final_realms_fluffos_v1/lib/doc/creatornr/do_force_on_me.o · 713 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

#obj/handlers/nroff.c
nroffed_file ({0,"
int do_force_on_me(string str);

This command is to be defined if an object is to be able to be forced to do
things.  Monsters should define this command.  It is in /std/living/living.c
so you should not need to redefine it unless you wish to trap the use of it.

For an example of what it does have a look at /std/living/force.c

Simplest version would be :

force_me_to_do(string str) { command(str); }

But you may want to check the string and make sure it is a reasonable command
for you to do.  People should never be able to force a monster to do something
it shouldn't.  Especially forcing!
",})
nroffed_file_name "/doc/lfun/do_force_on_me"
modified_time 824343749

Site Stats

Snippets: 1791
Codebases: 571