1 |
#! perl |
2 |
|
3 |
# the settings page in the player book |
4 |
|
5 |
[ |
6 |
ScrolledWindow => { |
7 |
s_id => "page", |
8 |
c_tab => ["Settings", "Various Character Settings"], |
9 |
expand => 1, |
10 |
scroll_y => 1, |
11 |
s_cl => [ |
12 |
VBox => { |
13 |
s_cl => [ |
14 |
FancyFrame => { |
15 |
label => "Character", |
16 |
s_cl => [ |
17 |
Table => { |
18 |
col_expand => [0, 0.1, 1], |
19 |
s_cl => [ |
20 |
Label => { |
21 |
c_col => 0, c_row => 0, |
22 |
text => "Title: ", |
23 |
}, |
24 |
Entry => { |
25 |
s_id => "title", |
26 |
c_col => 1, c_row => 0, c_colspan => 2, |
27 |
tooltip => "If set, this shows up behind your name in player listings (it is customary, " |
28 |
. "but not required, to start with a <i>the</i>). " |
29 |
. "You need to press <b>Save</b> after changing this field.", |
30 |
}, |
31 |
Label => { |
32 |
c_col => 0, c_row => 1, |
33 |
text => "Info: ", |
34 |
}, |
35 |
TextEdit => { |
36 |
s_id => "info", |
37 |
c_col => 1, c_row => 1, c_colspan => 2, |
38 |
tooltip => "You can enter anything you like here that describes your character, or even yourself. " |
39 |
. "You need to press <b>Save</b> after changing this field.", |
40 |
}, |
41 |
Button => { |
42 |
s_id => "info_save", |
43 |
c_col => 1, c_row => 2, |
44 |
text => "Save", |
45 |
}, |
46 |
], |
47 |
}, |
48 |
], |
49 |
}, |
50 |
FancyFrame => { |
51 |
label => "Mode Settings", |
52 |
s_cl => [ |
53 |
Table => { |
54 |
col_expand => [0.1, 0.2, 0.6, 0.1, 0.2, 1.0], |
55 |
s_cl => [ |
56 |
Label => { |
57 |
c_col => 0, c_row => 0, |
58 |
text => "Apply Mode", |
59 |
}, |
60 |
Selector => { |
61 |
s_id => "applymode", |
62 |
c_col => 1, c_row => 0, |
63 |
tooltip => "Applymode controls what happens when you are equipping something that would require something else to be unequipped.", |
64 |
options => [ |
65 |
[0 => "nochoice", "nochoice (only unapply an item if there is no other candidate)"], |
66 |
[1 => "never", "never (never automatically unapply any items)"], |
67 |
[2 => "always", "always (unapply whatever needs to be unapplied to apply an item)"], |
68 |
], |
69 |
}, |
70 |
|
71 |
Label => { |
72 |
c_col => 0, c_row => 1, |
73 |
text => "Hint Mode", |
74 |
}, |
75 |
Selector => { |
76 |
s_id => "hintmode", |
77 |
c_col => 1, c_row => 1, |
78 |
tooltip => "Controls if and how much additional hints the server shows", |
79 |
options => [ |
80 |
[0 => "show" , "show (default mode)"], |
81 |
[1 => "mark" , "mark (do not show hints, but notify you when a hint would have been displayed)"], |
82 |
[2 => "hide" , "hide (hide all hints, and even hints of hints)"], |
83 |
], |
84 |
}, |
85 |
|
86 |
Label => { |
87 |
c_col => 0, c_row => 2, |
88 |
text => "Pet Mode", |
89 |
}, |
90 |
Selector => { |
91 |
s_id => "petmode", |
92 |
c_col => 1, c_row => 2, |
93 |
tooltip => "Controls how your pets/charmed monsters will behave", |
94 |
options => [ |
95 |
[0 => "normal", "normal (default mode)"], |
96 |
[1 => "sad" , "search and destroy (pets will roam and attack freely)"], |
97 |
[2 => "defend", "defend (pets will trry to stay close and defend you)"], |
98 |
[3 => "arens" , "arena (like normal, but also attack other players)"], |
99 |
], |
100 |
}, |
101 |
|
102 |
Label => { |
103 |
c_col => 3, c_row => 0, |
104 |
text => "Bow Mode", |
105 |
}, |
106 |
Selector => { |
107 |
s_id => "bowmode", |
108 |
c_col => 4, c_row => 0, |
109 |
tooltip => "Bowmode controls how you will fire arrows and bolts.", |
110 |
options => [ |
111 |
[ 0 => "normal" , "normal (fire a single shot)"], |
112 |
[ 1 => "threewide" , "threewide (fires three arrows in parallel)"], |
113 |
[ 2 => "spreadshot", "spreadshot (fires three arrows which spread out over distance)"], |
114 |
[11 => "bestarrow" , "bestarrow (selects and fires the probable best arrow from your inventory)"], |
115 |
], |
116 |
}, |
117 |
|
118 |
Label => { |
119 |
c_col => 3, c_row => 1, |
120 |
text => "Key Mode", |
121 |
}, |
122 |
Selector => { |
123 |
s_id => "usekeys", |
124 |
c_col => 4, c_row => 1, |
125 |
tooltip => "Controls how, when and if to use keys automatically", |
126 |
options => [ |
127 |
[0 => "inventory" , "inventory (only keys in the top level inventory are used)"], |
128 |
[1 => "keyrings" , "keyrings (only keys inactive keyrings will be used)"], |
129 |
[2 => "containers", "containers (only keys in active containers will be used)"], |
130 |
], |
131 |
}, |
132 |
], |
133 |
}, |
134 |
], |
135 |
}, |
136 |
], |
137 |
}, |
138 |
], |
139 |
}, |
140 |
] |