leather.arm-155.c

final_realms_fluffos_v1/lib/obj/armours/oldsys/leather.arm-155.c · 452 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

#include "virtual.h"

void dest_me() { destruct(this_object()); }

void create() {
object clone;

  seteuid((string)"/secure/master"->creator_file(this_object()));
  clone = (object)SERVER->create_virtual_object("/obj/armour.c", 1);
  clone->add_property("virtual name", "obj/armours/leather.arm");
  call_other(clone, "set_name", "jacket" );
  call_other(clone, "set_short", "leather jacket" );
  call_other(clone, "add_adjective", ({ "leather" }) );

Site Stats

Snippets: 1791
Codebases: 571