mayor.c

ds2.10/lib/domains/town/npc/mayor.c · 727 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#include <lib.h>
inherit  LIB_MAYOR;
void create(){
    ::create();
    SetKeyName("mayor");
    SetId("mayor");
    SetGender("male");
    SetRace("human");
    SetShort("the mayor");
    SetLong("A bit disheveled, this rather eccentric-looking "+
            "man discharges the official duties of this town's "+
            "chief executive office. Mostly, people request "+
            "citizenship from him, for a fee of 5 silver.");
    SetLocalCurrency("silver");
    SetTax(5);
}
//funs
//snuf
void init() {
    ::init();
    SetSmell(([  "default" : "A rather odd, musty smell."]));
    SetListen(([  "default" : "The mayor grumbles something about an "+
                "unconscionably small tax revenue base."]));
}

Site Stats

Snippets: 1791
Codebases: 571