Go to the documentation of this file.
52 {
"/world/world_104_115",
"city" },
53 {
"/world/world_105_115",
"city" },
54 {
"/world/world_104_116",
"city" },
55 {
"/world/world_105_116",
"city" },
57 {
"/world/world_122_116",
"city" },
58 {
"/world/world_121_116",
"city" },
59 {
"/world/world_122_117",
"city" },
60 {
"/world/world_121_117",
"city" },
75 if (strcmp(
zones[zone].mappath,
map->path) == 0)
111 int seed = 0, len, w = 0;
113 snprintf(
r,
sizeof(
r),
"%s!%d,%d*%s",
exit->arch->name,
exit->x,
exit->y,
map->path);
117 seed ^= ((
int)
r[len])<<w;
142 "floorstyle indoor\n"
147 "decorstyle furniture\n"
void random_house_generator_init(Settings *settings)
static void add_exit_to_item(object *exit, const house_zone_struct *zone, const mapstruct *map)
static int is_suitable_exit(object *exit)
static void add_exits_to_map(const mapstruct *map)
static const house_zone_struct zones[]
event_registration events_register_global_handler(int eventcode, f_plug_event hook)
void random_house_generator_close()
void events_unregister_global_handler(int eventcode, event_registration id)
sstring add_string(const char *str)
const char * monsterstyle
static event_registration eg
std::vector< char * > disabled_plugins
#define FOR_MAP_PREPARE(map_, mx_, my_, it_)
unsigned long event_registration
static int cfrhg_globalEventListener(int *type,...)
Install Bug reporting Credits but rather whatever guild name you are using *With the current map and server there are three they and GreenGoblin *Whatever name you give the folder should but it will still use GUILD_TEMPLATE *You can change what guild it uses by editing the map files Modify Map or objects if you want to use the optional Python based Guild Storage hall The first three are on the main the next two are in the guild_hq and the final one is in hallofjoining Withe the Storage three objects are found on the main floor and the last two are in the basement It s not that but you will need a map editor You find the object that has the click edit and change the line script options(which currently is "GUILD_TEMPALTE") to the guild you wish to use. And make sure you use the same one for all of them or it won 't work. Here 's a quick HOWTO for using the map editor to make these changes edit the mainfloor map exit(x15, y29 - set to/Edit/This/Exit/Path in the template) back to the world map as well. If you are using the Storage Hall map(storage_hall)
static int get_exit_seed(const object *exit, const mapstruct *map)
static const house_zone_struct * get_map_zone(const mapstruct *map)
Crossfire Architecture the general intention is to enhance the enjoyability and playability of CF In this code