bow.c

nightmare3_fluffos_v2/lib/domains/Praxis/obj/weapon/bow.c · 529 B

From the archive nightmare3_fluffos_v2.zip

Download the archive   « Back to the archive contents

//  /domains/Praxis/obj/weapon/bow.c
//  Short bow used in executions.
//  For the Nightmare mortal law system.
//  Created by Manny@Nightmare 940906

#include <std.h>

inherit WEAPON;

create() {
  ::create();
  set_name("bow");
  set_id( ({ "bow", "short bow" }) );
  set_short("short bow");
  set_long("A small bow.");
  set_weight(10);
  set_wc(2);
  set_value(10);
}

init() {
  ::init();
  if(environment(this_object())->query_name() != "guard") {
    write("The short bow crumbles in your hands.");
    remove();
  }
}
  

Site Stats

Snippets: 1791
Codebases: 571