-
Notifications
You must be signed in to change notification settings - Fork 23
/
config.h
executable file
·121 lines (116 loc) · 3.33 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/**
* @file config.h LuminariMUD
* Configuration of various aspects of LuminariMUD operation.
*
* Part of the core tbaMUD source code distribution, which is a derivative
* of, and continuation of, CircleMUD.
*
* All rights reserved. See license for complete information.
* Copyright (C) 1993, 94 by the Trustees of the Johns Hopkins University
* CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991.
*
*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
#ifndef __CONFIG_C__
/* Global variable declarations, all settable by cedit */
extern int pk_allowed;
extern int script_players;
extern int pt_allowed;
extern int level_can_shout;
extern int holler_move_cost;
extern int tunnel_size;
extern int max_exp_gain;
extern int max_exp_loss;
extern int max_npc_corpse_time;
extern int max_pc_corpse_time;
extern int idle_void;
extern int idle_rent_time;
extern int idle_max_level;
extern int dts_are_dumps;
extern int load_into_inventory;
extern const char *OK;
extern const char *NOPERSON;
extern const char *NOEFFECT;
extern int track_through_doors;
extern int no_mort_to_immort;
extern int diagonal_dirs;
extern int free_rent;
extern int max_obj_save;
extern int min_rent_cost;
extern int auto_save;
extern int autosave_time;
extern int crash_file_timeout;
extern int rent_file_timeout;
/* Room Numbers */
extern room_vnum mortal_start_room;
extern room_vnum immort_start_room;
extern room_vnum frozen_start_room;
extern room_vnum donation_room_1;
extern room_vnum donation_room_2;
extern room_vnum donation_room_3;
/* Game Operation settings */
extern ush_int DFLT_PORT;
extern const char *DFLT_IP;
extern const char *DFLT_DIR;
extern const char *LOGNAME;
extern int max_playing;
extern int max_filesize;
extern int max_bad_pws;
extern int siteok_everyone;
extern int nameserver_is_slow;
extern int auto_save_olc;
extern int use_new_socials;
extern const char *MENU;
extern const char *WELC_MESSG;
extern const char *START_MESSG;
extern int use_autowiz;
extern int min_wizlist_lev;
extern int display_closed_doors;
extern int protocol_negotiation;
extern int special_in_comm;
extern int debug_mode;
/* Automap and map options */
extern int map_option;
extern int default_map_size;
extern int default_minimap_size;
extern int happy_hour_chance;
extern int happy_hour_exp_bonus;
extern int happy_hour_qp_bonus;
extern int happy_hour_gold_bonus;
extern int happy_hour_treasure_bonus;
extern int medit_advanced_stats;
extern float min_pop_to_claim;
extern int ibt_autosave;
/*
* Variables not controlled by cedit
*/
/* Game operation settings. */
extern int bitwarning;
extern int bitsavetodisk;
extern int auto_pwipe;
extern struct pclean_criteria_data pclean_criteria[];
extern int selfdelete_fastwipe;
// player settings
extern int psionic_power_damage;
extern int divine_spell_damage;
extern int arcane_spell_damage;
extern int extra_level_hp;
extern int extra_level_mv;
extern int ac__cap;
extern int exp_level_difference;
extern int summon_1_10_hp;
extern int summon_1_10_hit_and_dam;
extern int summon_1_10_ac;
extern int summon_11_20_hp;
extern int summon_11_20_hit_and_dam;
extern int summon_11_20_ac;
extern int summon_21_30_hp;
extern int summon_21_30_hit_and_dam;
extern int summon_21_30_ac;
extern int death_exp_loss_penalty;
extern int psionic_mem_times;
extern int divine_mem_times;
extern int arcane_mem_times;
#endif /* __CONFIG_C__ */
#endif /* _CONFIG_H_*/