zdwalter commited on
Commit
6dd2ba0
·
verified ·
1 Parent(s): ee73f22

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +1244 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: W
3
- emoji: 💻
4
- colorFrom: yellow
5
- colorTo: red
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: w
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: purple
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,1244 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="zh">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>战马与剑刃 - 中世纪冒险</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=MedievalSharp&display=swap');
11
+
12
+ body {
13
+ font-family: 'Cinzel', serif;
14
+ background-color: #1a1a1a;
15
+ color: #e0e0e0;
16
+ overflow-x: hidden;
17
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InRleHR1cmUiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIj4KICAgICAgPHJlY3Qgd2lkdGg9IjQwMCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiMxYzFjMWMiLz4KICAgICAgPHBhdGggZD0iTTAgMCBMNDAwIDQwMCIgc3Ryb2tlPSIjMzAzMDMwIiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgPHBhdGggZD0iTTQwMCAwIEwwIDQwMCIgc3Ryb2tlPSIjMzAzMDMwIiBzdHJva2Utd2lkdGg9IjEiLz4KICAgIDwvcGF0dGVybj4KICA8L2RlZnM+CiAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCN0ZXh0dXJlKSIgb3BhY2l0eT0iMC4zIi8+Cjwvc3ZnPg==');
18
+ background-size: cover;
19
+ }
20
+
21
+ .medieval-font {
22
+ font-family: 'MedievalSharp', cursive;
23
+ }
24
+
25
+ .parchment-bg {
26
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InRleHR1cmUiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIj4KICAgICAgPHJlY3Qgd2lkdGg9IjQwMCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNlZWQ5YjMiLz4KICAgICAgPHBhdGggZD0iTTAgMCBMNDAwIDQwMCIgc3Ryb2tlPSIjZGRjYzk5IiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgPHBhdGggZD0iTTQwMCAwIEwwIDQwMCIgc3Ryb2tlPSIjZGRjYzk5IiBzdHJva2Utd2lkdGg9IjEiLz4KICAgIDwvcGF0dGVybj4KICA8L2RlZnM+CiAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCN0ZXh0dXJlKSIgb3BhY2l0eT0iMC43Ii8+Cjwvc3ZnPg==');
27
+ background-size: cover;
28
+ border: 8px solid transparent;
29
+ border-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9ImJvcmRlciIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiPgogICAgICA8cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idHJhbnNwYXJlbnQiIHN0cm9rZT0iIzc1NTI0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjYm9yZGVyKSIvPgo8L3N2Zz4=') 10% round;
30
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
31
+ position: relative;
32
+ }
33
+
34
+ .parchment-bg::before {
35
+ content: "";
36
+ position: absolute;
37
+ top: 0;
38
+ left: 0;
39
+ right: 0;
40
+ bottom: 0;
41
+ background: linear-gradient(135deg, rgba(238, 217, 179, 0.1) 0%, rgba(238, 217, 179, 0.3) 50%, rgba(238, 217, 179, 0.1) 100%);
42
+ pointer-events: none;
43
+ }
44
+
45
+ .metal-bg {
46
+ background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 50%, #3a3a3a 100%);
47
+ border: 2px solid #555;
48
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
49
+ position: relative;
50
+ overflow: hidden;
51
+ }
52
+
53
+ .metal-bg::before {
54
+ content: "";
55
+ position: absolute;
56
+ top: -50%;
57
+ left: -50%;
58
+ width: 200%;
59
+ height: 200%;
60
+ background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
61
+ transform: rotate(30deg);
62
+ animation: metalShine 5s infinite linear;
63
+ }
64
+
65
+ @keyframes metalShine {
66
+ 0% { transform: translateX(-100%) rotate(30deg); }
67
+ 100% { transform: translateX(100%) rotate(30deg); }
68
+ }
69
+
70
+ .health-bar {
71
+ background: linear-gradient(to right, #8B0000, #FF0000);
72
+ height: 20px;
73
+ border-radius: 10px;
74
+ box-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
75
+ position: relative;
76
+ overflow: hidden;
77
+ }
78
+
79
+ .health-bar::after {
80
+ content: "";
81
+ position: absolute;
82
+ top: 0;
83
+ left: 0;
84
+ right: 0;
85
+ bottom: 0;
86
+ background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.3) 100%);
87
+ mix-blend-mode: overlay;
88
+ }
89
+
90
+ .stamina-bar {
91
+ background: linear-gradient(to right, #006400, #00FF00);
92
+ height: 20px;
93
+ border-radius: 10px;
94
+ box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
95
+ position: relative;
96
+ overflow: hidden;
97
+ }
98
+
99
+ .stamina-bar::after {
100
+ content: "";
101
+ position: absolute;
102
+ top: 0;
103
+ left: 0;
104
+ right: 0;
105
+ bottom: 0;
106
+ background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.3) 100%);
107
+ mix-blend-mode: overlay;
108
+ }
109
+
110
+ .map-container {
111
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MDAgNTAwIj48cmVjdCB3aWR0aD0iNTAwIiBoZWlnaHQ9IjUwMCIgZmlsbD0iIzFjM2M0ZSIvPjxwYXRoIGQ9Ik0xNTAgMTUwIEMxNTAgMjAwLDIwMCAyMDAsMjAwIDE1MCBDMjAwIDEwMCwxNTAgMTAwLDE1MCAxNTAgWiIgZmlsbD0iIzQyODk0MiIvPjxwYXRoIGQ9Ik0zMDAgMzAwIEMzMDAgMzUwLDM1MCAzNTAsMzUwIDMwMCBDMzUwIDI1MCwzMDAgMjUwLDMwMCAzMDAgWiIgZmlsbD0iI2QyYjQ0ZSIvPjxwYXRoIGQ9Ik0xMDAgMzAwIEMxMDAgMzUwLDE1MCAzNTAsMTUwIDMwMCBDMTUwIDI1MCwxMDAgMjUwLDEwMCAzMDAgWiIgZmlsbD0iIzg4NTQzZSIvPjxwYXRoIGQ9Ik0yNTAgMTAwIEMyNTAgMTUwLDMwMCAxNTAsMzAwIDEwMCBDMzAwIDUwLDI1MCA1MCwyNTAgMTAwIFoiIGZpbGw9IiM4ODU0M2UiLz48L3N2Zz4=');
112
+ background-size: cover;
113
+ border: 4px solid #75524e;
114
+ box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
115
+ position: relative;
116
+ }
117
+
118
+ .map-container::before {
119
+ content: "";
120
+ position: absolute;
121
+ top: 0;
122
+ left: 0;
123
+ right: 0;
124
+ bottom: 0;
125
+ background: linear-gradient(135deg, rgba(28, 60, 78, 0.1) 0%, rgba(28, 60, 78, 0.5) 50%, rgba(28, 60, 78, 0.1) 100%);
126
+ pointer-events: none;
127
+ }
128
+
129
+ .map-marker {
130
+ width: 12px;
131
+ height: 12px;
132
+ background-color: #ff0000;
133
+ border-radius: 50%;
134
+ border: 2px solid #fff;
135
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
136
+ position: relative;
137
+ z-index: 2;
138
+ }
139
+
140
+ .map-marker::after {
141
+ content: "";
142
+ position: absolute;
143
+ top: -4px;
144
+ left: -4px;
145
+ right: -4px;
146
+ bottom: -4px;
147
+ border-radius: 50%;
148
+ border: 1px solid rgba(255,255,255,0.5);
149
+ animation: pulse 2s infinite;
150
+ }
151
+
152
+ .character-portrait {
153
+ border: 4px solid #75524e;
154
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
155
+ background-color: #2a2a2a;
156
+ position: relative;
157
+ overflow: hidden;
158
+ }
159
+
160
+ .character-portrait::before {
161
+ content: "";
162
+ position: absolute;
163
+ top: 0;
164
+ left: 0;
165
+ right: 0;
166
+ bottom: 0;
167
+ background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
168
+ pointer-events: none;
169
+ }
170
+
171
+ .item-slot {
172
+ border: 2px solid #75524e;
173
+ background-color: #2a2a2a;
174
+ transition: all 0.3s ease;
175
+ position: relative;
176
+ overflow: hidden;
177
+ }
178
+
179
+ .item-slot::before {
180
+ content: "";
181
+ position: absolute;
182
+ top: 0;
183
+ left: 0;
184
+ right: 0;
185
+ bottom: 0;
186
+ background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.05) 100%);
187
+ pointer-events: none;
188
+ }
189
+
190
+ .item-slot:hover {
191
+ transform: scale(1.05);
192
+ box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
193
+ }
194
+
195
+ .combat-mode {
196
+ animation: pulse 1.5s infinite;
197
+ }
198
+
199
+ @keyframes pulse {
200
+ 0% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
201
+ 50% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.9); }
202
+ 100% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
203
+ }
204
+
205
+ .faction-banner {
206
+ height: 60px;
207
+ background-size: contain;
208
+ background-repeat: no-repeat;
209
+ background-position: center;
210
+ filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7));
211
+ position: relative;
212
+ }
213
+
214
+ .faction-banner::after {
215
+ content: "";
216
+ position: absolute;
217
+ top: 0;
218
+ left: 0;
219
+ right: 0;
220
+ bottom: 0;
221
+ background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
222
+ pointer-events: none;
223
+ }
224
+
225
+ .tooltip {
226
+ position: relative;
227
+ display: inline-block;
228
+ }
229
+
230
+ .tooltip .tooltiptext {
231
+ visibility: hidden;
232
+ width: 200px;
233
+ background-color: rgba(26, 26, 26, 0.9);
234
+ color: #fff;
235
+ text-align: center;
236
+ border-radius: 6px;
237
+ padding: 5px;
238
+ position: absolute;
239
+ z-index: 1;
240
+ bottom: 125%;
241
+ left: 50%;
242
+ margin-left: -100px;
243
+ opacity: 0;
244
+ transition: opacity 0.3s;
245
+ border: 1px solid #75524e;
246
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
247
+ font-family: 'Cinzel', serif;
248
+ }
249
+
250
+ .tooltip:hover .tooltiptext {
251
+ visibility: visible;
252
+ opacity: 1;
253
+ }
254
+
255
+ .modal {
256
+ display: none;
257
+ position: fixed;
258
+ z-index: 100;
259
+ left: 0;
260
+ top: 0;
261
+ width: 100%;
262
+ height: 100%;
263
+ overflow: auto;
264
+ background-color: rgba(0, 0, 0, 0.8);
265
+ }
266
+
267
+ .modal-content {
268
+ background-color: #1a1a1a;
269
+ margin: 5% auto;
270
+ padding: 20px;
271
+ border: 4px solid #75524e;
272
+ width: 80%;
273
+ max-width: 800px;
274
+ position: relative;
275
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InRleHR1cmUiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIj4KICAgICAgPHJlY3Qgd2lkdGg9IjQwMCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiNlZWQ5YjMiLz4KICAgICAgPHBhdGggZD0iTTAgMCBMNDAwIDQwMCIgc3Ryb2tlPSIjZGRjYzk5IiBzdHJva2Utd2lkdGg9IjEiLz4KICAgICAgPHBhdGggZD0iTTQwMCAwIEwwIDQwMCIgc3Ryb2tlPSIjZGRjYzk5IiBzdHJva2Utd2lkdGg9IjEiLz4KICAgIDwvcGF0dGVybj4KICA8L2RlZnM+CiAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCN0ZXh0dXJlKSIgb3BhY2l0eT0iMC43Ii8+Cjwvc3ZnPg==');
276
+ background-size: cover;
277
+ }
278
+
279
+ .close {
280
+ color: #aaa;
281
+ float: right;
282
+ font-size: 28px;
283
+ font-weight: bold;
284
+ cursor: pointer;
285
+ transition: all 0.3s;
286
+ }
287
+
288
+ .close:hover {
289
+ color: #fff;
290
+ transform: rotate(90deg);
291
+ }
292
+
293
+ .skill-progress {
294
+ height: 10px;
295
+ background-color: #333;
296
+ border-radius: 5px;
297
+ margin-top: 5px;
298
+ position: relative;
299
+ overflow: hidden;
300
+ }
301
+
302
+ .skill-progress::before {
303
+ content: "";
304
+ position: absolute;
305
+ top: 0;
306
+ left: 0;
307
+ right: 0;
308
+ bottom: 0;
309
+ background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
310
+ pointer-events: none;
311
+ }
312
+
313
+ .skill-progress-fill {
314
+ height: 100%;
315
+ border-radius: 5px;
316
+ background: linear-gradient(to right, #8B4513, #CD853F);
317
+ position: relative;
318
+ overflow: hidden;
319
+ }
320
+
321
+ .skill-progress-fill::after {
322
+ content: "";
323
+ position: absolute;
324
+ top: 0;
325
+ left: 0;
326
+ right: 0;
327
+ bottom: 0;
328
+ background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.3) 100%);
329
+ mix-blend-mode: overlay;
330
+ }
331
+
332
+ .action-bar {
333
+ background: linear-gradient(to bottom, rgba(26,26,26,0.9) 0%, rgba(40,40,40,0.9) 100%);
334
+ box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
335
+ border-top: 2px solid #75524e;
336
+ }
337
+
338
+ .combat-scene {
339
+ position: relative;
340
+ width: 100%;
341
+ height: 300px;
342
+ background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
343
+ border: 4px solid #75524e;
344
+ overflow: hidden;
345
+ }
346
+
347
+ .combat-scene::before {
348
+ content: "";
349
+ position: absolute;
350
+ top: 0;
351
+ left: 0;
352
+ right: 0;
353
+ bottom: 0;
354
+ background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9ImdyaWQiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCI+CiAgICAgIDxyZWN0IHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzMzIiBzdHJva2Utd2lkdGg9IjAuNSIvPgogICAgPC9wYXR0ZXJuPgogIDwvZGVmcz4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyaWQpIiBvcGFjaXR5PSIwLjIiLz4KPC9zdmc+') repeat;
355
+ opacity: 0.3;
356
+ pointer-events: none;
357
+ }
358
+
359
+ .combat-character {
360
+ position: absolute;
361
+ width: 50px;
362
+ height: 50px;
363
+ border-radius: 50%;
364
+ display: flex;
365
+ align-items: center;
366
+ justify-content: center;
367
+ transition: all 0.5s ease;
368
+ z-index: 2;
369
+ }
370
+
371
+ .combat-character.player {
372
+ background: linear-gradient(135deg, #006400, #00FF00);
373
+ border: 2px solid #fff;
374
+ box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
375
+ }
376
+
377
+ .combat-character.enemy {
378
+ background: linear-gradient(135deg, #8B0000, #FF0000);
379
+ border: 2px solid #fff;
380
+ box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
381
+ }
382
+
383
+ .combat-character.ally {
384
+ background: linear-gradient(135deg, #00008B, #0000FF);
385
+ border: 2px solid #fff;
386
+ box-shadow: 0 0 10px rgba(0, 0, 255, 0.7);
387
+ }
388
+
389
+ .damage-effect {
390
+ position: absolute;
391
+ width: 100%;
392
+ height: 100%;
393
+ background-color: rgba(255, 0, 0, 0.3);
394
+ z-index: 10;
395
+ opacity: 0;
396
+ pointer-events: none;
397
+ }
398
+
399
+ .heal-effect {
400
+ position: absolute;
401
+ width: 100%;
402
+ height: 100%;
403
+ background-color: rgba(0, 255, 0, 0.3);
404
+ z-index: 10;
405
+ opacity: 0;
406
+ pointer-events: none;
407
+ }
408
+
409
+ .quest-active {
410
+ border-left: 4px solid #FFD700;
411
+ background: linear-gradient(90deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0) 100%);
412
+ }
413
+
414
+ .quest-available {
415
+ border-left: 4px solid #00FF00;
416
+ background: linear-gradient(90deg, rgba(0,255,0,0.1) 0%, rgba(0,255,0,0) 100%);
417
+ }
418
+
419
+ .quest-completed {
420
+ border-left: 4px solid #00BFFF;
421
+ background: linear-gradient(90deg, rgba(0,191,255,0.1) 0%, rgba(0,191,255,0) 100%);
422
+ }
423
+
424
+ .notification {
425
+ position: fixed;
426
+ top: 20px;
427
+ right: 20px;
428
+ padding: 15px;
429
+ background: linear-gradient(135deg, #1a1a1a, #3a3a3a);
430
+ border: 2px solid #75524e;
431
+ border-radius: 5px;
432
+ box-shadow: 0 0 15px rgba(0,0,0,0.7);
433
+ transform: translateX(200%);
434
+ transition: transform 0.5s ease;
435
+ z-index: 1000;
436
+ }
437
+
438
+ .notification.show {
439
+ transform: translateX(0);
440
+ }
441
+
442
+ .notification.success {
443
+ border-left: 5px solid #00FF00;
444
+ }
445
+
446
+ .notification.error {
447
+ border-left: 5px solid #FF0000;
448
+ }
449
+
450
+ .notification.warning {
451
+ border-left: 5px solid #FFD700;
452
+ }
453
+
454
+ .notification.info {
455
+ border-left: 5px solid #00BFFF;
456
+ }
457
+
458
+ .fade-in {
459
+ animation: fadeIn 0.5s ease forwards;
460
+ }
461
+
462
+ @keyframes fadeIn {
463
+ from { opacity: 0; }
464
+ to { opacity: 1; }
465
+ }
466
+
467
+ .shake {
468
+ animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
469
+ }
470
+
471
+ @keyframes shake {
472
+ 10%, 90% { transform: translate3d(-1px, 0, 0); }
473
+ 20%, 80% { transform: translate3d(2px, 0, 0); }
474
+ 30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
475
+ 40%, 60% { transform: translate3d(4px, 0, 0); }
476
+ }
477
+ </style>
478
+ </head>
479
+ <body class="bg-gray-900 text-gray-200">
480
+ <!-- 通知区域 -->
481
+ <div id="notification" class="notification hidden">
482
+ <div class="flex items-center">
483
+ <i id="notification-icon" class="fas fa-info-circle mr-3 text-xl"></i>
484
+ <div>
485
+ <h4 id="notification-title" class="font-bold"></h4>
486
+ <p id="notification-message" class="text-sm"></p>
487
+ </div>
488
+ </div>
489
+ </div>
490
+
491
+ <!-- 主游戏容器 -->
492
+ <div class="container mx-auto px-4 py-8 max-w-7xl">
493
+ <!-- 游戏标题 -->
494
+ <div class="text-center mb-8">
495
+ <h1 class="text-5xl font-bold medieval-font text-yellow-600 mb-2">战马与剑刃</h1>
496
+ <p class="text-xl italic">征服卡拉迪亚大陆</p>
497
+ <div class="mt-4 flex justify-center space-x-4">
498
+ <button id="saveBtn" class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
499
+ <i class="fas fa-save mr-2"></i> 保存游戏
500
+ </button>
501
+ <button id="loadBtn" class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
502
+ <i class="fas fa-folder-open mr-2"></i> 加载游戏
503
+ </button>
504
+ <button id="settingsBtn" class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
505
+ <i class="fas fa-cog mr-2"></i> 设置
506
+ </button>
507
+ </div>
508
+ </div>
509
+
510
+ <!-- 主游戏区域 -->
511
+ <div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
512
+ <!-- 左侧边栏 - 角色信息 -->
513
+ <div class="lg:col-span-1 parchment-bg p-6 rounded-lg">
514
+ <div class="text-center mb-6">
515
+ <div class="character-portrait w-32 h-32 mx-auto mb-4 bg-cover bg-center" style="background-image: url('https://via.placeholder.com/200x200')"></div>
516
+ <h2 class="text-2xl font-bold mb-1">艾瑞克·铁盾</h2>
517
+ <p class="text-sm italic mb-2">北方战士</p>
518
+ <div class="flex justify-center space-x-4">
519
+ <div class="text-center">
520
+ <p class="text-sm">等级</p>
521
+ <p class="text-xl font-bold">12</p>
522
+ </div>
523
+ <div class="text-center">
524
+ <p class="text-sm">声望</p>
525
+ <p class="text-xl font-bold">450</p>
526
+ </div>
527
+ <div class="text-center">
528
+ <p class="text-sm">金币</p>
529
+ <p class="text-xl font-bold">12,450</p>
530
+ </div>
531
+ </div>
532
+ </div>
533
+
534
+ <!-- 属性栏 -->
535
+ <div class="mb-6">
536
+ <h3 class="text-lg font-bold mb-2 border-b border-gray-600 pb-1">属性</h3>
537
+ <div class="space-y-2">
538
+ <div>
539
+ <div class="flex justify-between">
540
+ <span>力量</span>
541
+ <span>24</span>
542
+ </div>
543
+ <div class="skill-progress">
544
+ <div class="skill-progress-fill" style="width: 80%"></div>
545
+ </div>
546
+ </div>
547
+ <div>
548
+ <div class="flex justify-between">
549
+ <span>敏捷</span>
550
+ <span>18</span>
551
+ </div>
552
+ <div class="skill-progress">
553
+ <div class="skill-progress-fill" style="width: 60%"></div>
554
+ </div>
555
+ </div>
556
+ <div>
557
+ <div class="flex justify-between">
558
+ <span>智力</span>
559
+ <span>14</span>
560
+ </div>
561
+ <div class="skill-progress">
562
+ <div class="skill-progress-fill" style="width: 47%"></div>
563
+ </div>
564
+ </div>
565
+ <div>
566
+ <div class="flex justify-between">
567
+ <span>魅力</span>
568
+ <span>16</span>
569
+ </div>
570
+ <div class="skill-progress">
571
+ <div class="skill-progress-fill" style="width: 53%"></div>
572
+ </div>
573
+ </div>
574
+ </div>
575
+ </div>
576
+
577
+ <!-- 状态栏 -->
578
+ <div class="mb-6">
579
+ <h3 class="text-lg font-bold mb-2 border-b border-gray-600 pb-1">状态</h3>
580
+ <div class="space-y-3">
581
+ <div>
582
+ <div class="flex justify-between mb-1">
583
+ <span>生命值</span>
584
+ <span>120/150</span>
585
+ </div>
586
+ <div class="health-bar" style="width: 80%"></div>
587
+ </div>
588
+ <div>
589
+ <div class="flex justify-between mb-1">
590
+ <span>体力</span>
591
+ <span>90/120</span>
592
+ </div>
593
+ <div class="stamina-bar" style="width: 75%"></div>
594
+ </div>
595
+ <div>
596
+ <div class="flex justify-between mb-1">
597
+ <span>经验值</span>
598
+ <span>1,250/2,500</span>
599
+ </div>
600
+ <div class="skill-progress">
601
+ <div class="skill-progress-fill" style="width: 50%"></div>
602
+ </div>
603
+ </div>
604
+ </div>
605
+ </div>
606
+
607
+ <!-- 派系信息 -->
608
+ <div>
609
+ <h3 class="text-lg font-bold mb-2 border-b border-gray-600 pb-1">派系</h3>
610
+ <div class="faction-banner mb-2" style="background-image: url('https://via.placeholder.com/200x60')"></div>
611
+ <p class="text-center">斯特吉亚王国</p>
612
+ <p class="text-sm text-center">男爵</p>
613
+ <div class="mt-2 flex justify-between">
614
+ <span>与国王关系</span>
615
+ <span>45/100</span>
616
+ </div>
617
+ <div class="skill-progress">
618
+ <div class="skill-progress-fill" style="width: 45%"></div>
619
+ </div>
620
+ </div>
621
+ </div>
622
+
623
+ <!-- 中间区域 - 游戏内容 -->
624
+ <div class="lg:col-span-2">
625
+ <!-- 地图区域 -->
626
+ <div class="parchment-bg p-4 rounded-lg mb-6">
627
+ <div class="flex justify-between items-center mb-4">
628
+ <h2 class="text-2xl font-bold">卡拉迪亚大陆</h2>
629
+ <div class="flex space-x-2">
630
+ <button id="zoomInBtn" class="metal-bg px-3 py-1 rounded hover:bg-gray-700 transition">
631
+ <i class="fas fa-search-plus"></i>
632
+ </button>
633
+ <button id="zoomOutBtn" class="metal-bg px-3 py-1 rounded hover:bg-gray-700 transition">
634
+ <i class="fas fa-search-minus"></i>
635
+ </button>
636
+ </div>
637
+ </div>
638
+ <div class="map-container w-full h-64 relative overflow-hidden" id="gameMap">
639
+ <!-- 地图标记 -->
640
+ <div class="map-marker absolute tooltip" style="top: 30%; left: 40%;" data-location="巴尔加德">
641
+ <span class="tooltiptext">巴尔加德<br>斯特吉亚王国<br>繁荣度: 高</span>
642
+ </div>
643
+ <div class="map-marker absolute bg-blue-500 tooltip" style="top: 60%; left: 70%;" data-location="奥斯特港">
644
+ <span class="tooltiptext">奥斯特港<br>瓦兰迪亚王国<br>繁荣度: 非常高</span>
645
+ </div>
646
+ <div class="map-marker absolute bg-green-500 tooltip" style="top: 45%; left: 25%;" data-location="山贼营地">
647
+ <span class="tooltiptext">山贼营地<br>危险区域<br>任务目标</span>
648
+ </div>
649
+ <div class="map-marker absolute bg-yellow-500 tooltip" style="top: 20%; left: 60%;" data-location="巴旦尼亚">
650
+ <span class="tooltiptext">巴旦尼亚<br>巴旦尼亚部落<br>繁荣度: 中</span>
651
+ </div>
652
+ </div>
653
+ <div class="mt-4 flex justify-between">
654
+ <button class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
655
+ <i class="fas fa-horse mr-2"></i> 快速旅行
656
+ </button>
657
+ <button class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
658
+ <i class="fas fa-scroll mr-2"></i> 查看任务
659
+ </button>
660
+ <button class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
661
+ <i class="fas fa-map mr-2"></i> 王国地图
662
+ </button>
663
+ </div>
664
+ </div>
665
+
666
+ <!-- 任务日志 -->
667
+ <div class="parchment-bg p-4 rounded-lg mb-6">
668
+ <div class="flex justify-between items-center mb-4">
669
+ <h2 class="text-2xl font-bold">任务日志</h2>
670
+ <button id="newQuestBtn" class="metal-bg px-3 py-1 rounded hover:bg-gray-700 transition">
671
+ <i class="fas fa-plus mr-1"></i> 新任务
672
+ </button>
673
+ </div>
674
+ <div class="space-y-3 max-h-96 overflow-y-auto pr-2">
675
+ <div class="quest-active p-3 rounded cursor-pointer hover:bg-yellow-800 hover:bg-opacity-30 transition">
676
+ <div class="flex justify-between items-center">
677
+ <h3 class="font-bold text-lg">剿灭山贼营地</h3>
678
+ <span class="text-xs bg-yellow-600 px-2 py-1 rounded">进行中</span>
679
+ </div>
680
+ <p class="text-sm mt-1">斯特吉亚的商队正受到山贼的威胁,领主希望你清除这些威胁。</p>
681
+ <div class="flex justify-between items-center mt-2">
682
+ <p class="text-xs italic text-yellow-500">剩余时间: 2天</p>
683
+ <div class="flex space-x-2">
684
+ <button class="text-xs bg-gray-700 px-2 py-1 rounded hover:bg-gray-600 transition">追踪</button>
685
+ <button class="text-xs bg-gray-700 px-2 py-1 rounded hover:bg-gray-600 transition">放弃</button>
686
+ </div>
687
+ </div>
688
+ </div>
689
+ <div class="quest-available p-3 rounded cursor-pointer hover:bg-green-800 hover:bg-opacity-30 transition">
690
+ <div class="flex justify-between items-center">
691
+ <h3 class="font-bold text-lg">护送商队</h3>
692
+ <span class="text-xs bg-green-600 px-2 py-1 rounded">可接取</span>
693
+ </div>
694
+ <p class="text-sm mt-1">护送商队安全到达奥斯特港,报酬丰厚。</p>
695
+ <div class="flex justify-between items-center mt-2">
696
+ <p class="text-xs italic text-green-500">奖励: 1,200金币</p>
697
+ <button class="text-xs bg-gray-700 px-2 py-1 rounded hover:bg-gray-600 transition">接受</button>
698
+ </div>
699
+ </div>
700
+ <div class="quest-available p-3 rounded cursor-pointer hover:bg-green-800 hover:bg-opacity-30 transition">
701
+ <div class="flex justify-between items-center">
702
+ <h3 class="font-bold text-lg">参加锦标赛</h3>
703
+ <span class="text-xs bg-green-600 px-2 py-1 rounded">可接取</span>
704
+ </div>
705
+ <p class="text-sm mt-1">巴尔加德的领主正在举办锦标赛,胜利者将获得丰厚奖励。</p>
706
+ <div class="flex justify-between items-center mt-2">
707
+ <p class="text-xs italic text-green-500">奖励: 声望+25, 金币+800</p>
708
+ <button class="text-xs bg-gray-700 px-2 py-1 rounded hover:bg-gray-600 transition">接受</button>
709
+ </div>
710
+ </div>
711
+ <div class="p-3 rounded cursor-pointer opacity-70">
712
+ <div class="flex justify-between items-center">
713
+ <h3 class="font-bold text-lg">收集兽皮</h3>
714
+ <span class="text-xs bg-blue-600 px-2 py-1 rounded">已完成</span>
715
+ </div>
716
+ <p class="text-sm mt-1">为巴尔加德的商人收集20张优质兽皮。</p>
717
+ <div class="flex justify-between items-center mt-2">
718
+ <p class="text-xs italic text-blue-500">已完成 3天前</p>
719
+ <button class="text-xs bg-gray-700 px-2 py-1 rounded hover:bg-gray-600 transition">详情</button>
720
+ </div>
721
+ </div>
722
+ </div>
723
+ </div>
724
+ </div>
725
+
726
+ <!-- 右侧边栏 - 装备和技能 -->
727
+ <div class="lg:col-span-1">
728
+ <!-- 装备栏 -->
729
+ <div class="parchment-bg p-4 rounded-lg mb-6">
730
+ <div class="flex justify-between items-center mb-4">
731
+ <h2 class="text-2xl font-bold">装备</h2>
732
+ <button id="inventoryBtn" class="metal-bg px-3 py-1 rounded hover:bg-gray-700 transition">
733
+ <i class="fas fa-archive mr-1"></i> 物品栏
734
+ </button>
735
+ </div>
736
+ <div class="grid grid-cols-3 gap-2">
737
+ <!-- 头部 -->
738
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="helm">
739
+ <i class="fas fa-helmet-battle text-2xl mb-1"></i>
740
+ <p class="text-xs">诺德头盔</p>
741
+ <span class="tooltiptext">诺德头盔<br>护甲: 32<br>重量: 3.5<br>价值: 450金币</span>
742
+ </div>
743
+ <!-- 身体 -->
744
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="armor">
745
+ <i class="fas fa-vest text-2xl mb-1"></i>
746
+ <p class="text-xs">链甲</p>
747
+ <span class="tooltiptext">链甲<br>护甲: 45<br>重量: 12.0<br>价值: 1,200金币</span>
748
+ </div>
749
+ <!-- 腿部 -->
750
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="legs">
751
+ <i class="fas fa-boot text-2xl mb-1"></i>
752
+ <p class="text-xs">板甲护腿</p>
753
+ <span class="tooltiptext">板甲护腿<br>护甲: 28<br>重量: 7.5<br>价值: 800金���</span>
754
+ </div>
755
+ <!-- 主手 -->
756
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="mainhand">
757
+ <i class="fas fa-sword text-2xl mb-1"></i>
758
+ <p class="text-xs">双手剑</p>
759
+ <span class="tooltiptext">双手剑<br>伤害: 98<br>速度: 0.85<br>价值: 1,500金币</span>
760
+ </div>
761
+ <!-- 副手 -->
762
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="offhand">
763
+ <i class="fas fa-shield-alt text-2xl mb-1"></i>
764
+ <p class="text-xs">圆盾</p>
765
+ <span class="tooltiptext">圆盾<br>护甲: 40<br>重量: 4.0<br>价值: 600金币</span>
766
+ </div>
767
+ <!-- 远程 -->
768
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="ranged">
769
+ <i class="fas fa-bow-arrow text-2xl mb-1"></i>
770
+ <p class="text-xs">长弓</p>
771
+ <span class="tooltiptext">长弓<br>伤害: 45<br>精度: 90<br>价值: 900金币</span>
772
+ </div>
773
+ <!-- 马匹 -->
774
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="horse">
775
+ <i class="fas fa-horse text-2xl mb-1"></i>
776
+ <p class="text-xs">战马</p>
777
+ <span class="tooltiptext">战马<br>速度: 42<br>生命: 120<br>价值: 2,000金币</span>
778
+ </div>
779
+ <!-- 饰品1 -->
780
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="accessory1">
781
+ <i class="fas fa-ring text-2xl mb-1"></i>
782
+ <p class="text-xs">银戒指</p>
783
+ <span class="tooltiptext">银戒指<br>魅力+2<br>价值: 350金币</span>
784
+ </div>
785
+ <!-- 饰品2 -->
786
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="accessory2">
787
+ <i class="fas fa-gem text-2xl mb-1"></i>
788
+ <p class="text-xs">红宝石</p>
789
+ <span class="tooltiptext">红宝石<br>魅力+3<br>价值: 750金币</span>
790
+ </div>
791
+ </div>
792
+ <div class="mt-4 grid grid-cols-2 gap-2">
793
+ <button class="metal-bg py-2 rounded hover:bg-gray-700 transition flex items-center justify-center">
794
+ <i class="fas fa-store mr-2"></i> 商店
795
+ </button>
796
+ <button class="metal-bg py-2 rounded hover:bg-gray-700 transition flex items-center justify-center">
797
+ <i class="fas fa-hammer mr-2"></i> 锻造
798
+ </button>
799
+ </div>
800
+ </div>
801
+
802
+ <!-- 技能栏 -->
803
+ <div class="parchment-bg p-4 rounded-lg">
804
+ <div class="flex justify-between items-center mb-4">
805
+ <h2 class="text-2xl font-bold">技能</h2>
806
+ <button id="allSkillsBtn" class="metal-bg px-3 py-1 rounded hover:bg-gray-700 transition">
807
+ <i class="fas fa-list mr-1"></i> 全部
808
+ </button>
809
+ </div>
810
+ <div class="space-y-3 max-h-64 overflow-y-auto pr-2">
811
+ <div>
812
+ <div class="flex justify-between">
813
+ <span class="flex items-center">
814
+ <i class="fas fa-sword mr-2 text-gray-400"></i> 单手武器
815
+ </span>
816
+ <span>75</span>
817
+ </div>
818
+ <div class="skill-progress">
819
+ <div class="skill-progress-fill" style="width: 75%"></div>
820
+ </div>
821
+ </div>
822
+ <div>
823
+ <div class="flex justify-between">
824
+ <span class="flex items-center">
825
+ <i class="fas fa-swords mr-2 text-gray-400"></i> 双手武器
826
+ </span>
827
+ <span>120</span>
828
+ </div>
829
+ <div class="skill-progress">
830
+ <div class="skill-progress-fill" style="width: 80%"></div>
831
+ </div>
832
+ </div>
833
+ <div>
834
+ <div class="flex justify-between">
835
+ <span class="flex items-center">
836
+ <i class="fas fa-bow-arrow mr-2 text-gray-400"></i> 弓箭
837
+ </span>
838
+ <span>65</span>
839
+ </div>
840
+ <div class="skill-progress">
841
+ <div class="skill-progress-fill" style="width: 65%"></div>
842
+ </div>
843
+ </div>
844
+ <div>
845
+ <div class="flex justify-between">
846
+ <span class="flex items-center">
847
+ <i class="fas fa-horse mr-2 text-gray-400"></i> 骑术
848
+ </span>
849
+ <span>90</span>
850
+ </div>
851
+ <div class="skill-progress">
852
+ <div class="skill-progress-fill" style="width: 60%"></div>
853
+ </div>
854
+ </div>
855
+ <div>
856
+ <div class="flex justify-between">
857
+ <span class="flex items-center">
858
+ <i class="fas fa-chess mr-2 text-gray-400"></i> 战术
859
+ </span>
860
+ <span>50</span>
861
+ </div>
862
+ <div class="skill-progress">
863
+ <div class="skill-progress-fill" style="width: 50%"></div>
864
+ </div>
865
+ </div>
866
+ <div>
867
+ <div class="flex justify-between">
868
+ <span class="flex items-center">
869
+ <i class="fas fa-shield-alt mr-2 text-gray-400"></i> 盾牌
870
+ </span>
871
+ <span>85</span>
872
+ </div>
873
+ <div class="skill-progress">
874
+ <div class="skill-progress-fill" style="width: 85%"></div>
875
+ </div>
876
+ </div>
877
+ <div>
878
+ <div class="flex justify-between">
879
+ <span class="flex items-center">
880
+ <i class="fas fa-running mr-2 text-gray-400"></i> 跑动
881
+ </span>
882
+ <span>70</span>
883
+ </div>
884
+ <div class="skill-progress">
885
+ <div class="skill-progress-fill" style="width: 70%"></div>
886
+ </div>
887
+ </div>
888
+ </div>
889
+ </div>
890
+ </div>
891
+ </div>
892
+
893
+ <!-- 底部行动栏 -->
894
+ <div class="action-bar fixed bottom-0 left-0 right-0 p-4 shadow-lg">
895
+ <div class="container mx-auto flex justify-between items-center">
896
+ <div class="flex space-x-4">
897
+ <button class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
898
+ <i class="fas fa-home mr-2"></i> 营地
899
+ </button>
900
+ <button class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
901
+ <i class="fas fa-users mr-2"></i> 部队
902
+ </button>
903
+ <button class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
904
+ <i class="fas fa-chess-king mr-2"></i> 王国
905
+ </button>
906
+ <button class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
907
+ <i class="fas fa-book mr-2"></i> 日志
908
+ </button>
909
+ </div>
910
+ <button id="combatBtn" class="metal-bg px-6 py-3 rounded-full hover:bg-gray-700 transition flex items-center font-bold">
911
+ <i class="fas fa-swords mr-2"></i> 进入战斗
912
+ </button>
913
+ <div class="flex space-x-4">
914
+ <button class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
915
+ <i class="fas fa-calendar mr-2"></i> 时间
916
+ </button>
917
+ <button class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition flex items-center">
918
+ <i class="fas fa-question mr-2"></i> 帮助
919
+ </button>
920
+ </div>
921
+ </div>
922
+ </div>
923
+ </div>
924
+
925
+ <!-- 战斗模式模态框 -->
926
+ <div id="combatModal" class="modal">
927
+ <div class="modal-content">
928
+ <span class="close">&times;</span>
929
+ <h2 class="text-3xl font-bold mb-6 text-center">战斗模式</h2>
930
+
931
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
932
+ <!-- 玩家信息 -->
933
+ <div class="parchment-bg p-4 rounded-lg">
934
+ <h3 class="text-xl font-bold mb-4 border-b border-gray-600 pb-2">你的状态</h3>
935
+ <div class="flex items-center mb-4">
936
+ <div class="character-portrait w-16 h-16 mr-4 bg-cover bg-center" style="background-image: url('https://via.placeholder.com/200x200')"></div>
937
+ <div>
938
+ <p class="font-bold">艾瑞克·铁盾</p>
939
+ <div class="health-bar w-32 mt-1" style="width: 80%"></div>
940
+ </div>
941
+ </div>
942
+
943
+ <div class="grid grid-cols-2 gap-2 mb-4">
944
+ <div class="item-slot p-2 text-center">
945
+ <i class="fas fa-sword text-xl mb-1"></i>
946
+ <p class="text-xs">双手剑</p>
947
+ </div>
948
+ <div class="item-slot p-2 text-center">
949
+ <i class="fas fa-shield-alt text-xl mb-1"></i>
950
+ <p class="text-xs">圆盾</p>
951
+ </div>
952
+ </div>
953
+
954
+ <div class="stamina-bar w-full mb-4" style="width: 75%"></div>
955
+
956
+ <div class="grid grid-cols-4 gap-2">
957
+ <button class="combat-action metal-bg p-2 rounded hover:bg-gray-700 transition" data-action="attack">
958
+ <i class="fas fa-sword"></i> 攻击
959
+ </button>
960
+ <button class="combat-action metal-bg p-2 rounded hover:bg-gray-700 transition" data-action="block">
961
+ <i class="fas fa-shield-alt"></i> 格挡
962
+ </button>
963
+ <button class="combat-action metal-bg p-2 rounded hover:bg-gray-700 transition" data-action="kick">
964
+ <i class="fas fa-boot"></i> 踢击
965
+ </button>
966
+ <button class="combat-action metal-bg p-2 rounded hover:bg-gray-700 transition" data-action="special">
967
+ <i class="fas fa-star"></i> 特殊
968
+ </button>
969
+ </div>
970
+ </div>
971
+
972
+ <!-- 战斗场景 -->
973
+ <div class="combat-scene rounded-lg flex flex-col items-center justify-center">
974
+ <div id="combatPlayer" class="combat-character player" style="top: 50%; left: 20%;">
975
+ <i class="fas fa-user text-white"></i>
976
+ </div>
977
+ <div id="combatEnemy1" class="combat-character enemy" style="top: 30%; left: 60%;">
978
+ <i class="fas fa-skull text-white"></i>
979
+ </div>
980
+ <div id="combatEnemy2" class="combat-character enemy" style="top: 50%; left: 70%;">
981
+ <i class="fas fa-sword text-white"></i>
982
+ </div>
983
+ <div id="combatEnemy3" class="combat-character enemy" style="top: 70%; left: 60%;">
984
+ <i class="fas fa-archery text-white"></i>
985
+ </div>
986
+ <div id="combatAlly1" class="combat-character ally" style="top: 40%; left: 30%;">
987
+ <i class="fas fa-user text-white"></i>
988
+ </div>
989
+ <div id="combatAlly2" class="combat-character ally" style="top: 60%; left: 30%;">
990
+ <i class="fas fa-user text-white"></i>
991
+ </div>
992
+ <div id="damageEffect" class="damage-effect"></div>
993
+ <div id="healEffect" class="heal-effect"></div>
994
+ </div>
995
+
996
+ <!-- 部队信息 -->
997
+ <div class="parchment-bg p-4 rounded-lg">
998
+ <h3 class="text-xl font-bold mb-4 border-b border-gray-600 pb-2">你的部队</h3>
999
+ <div class="space-y-3 max-h-48 overflow-y-auto">
1000
+ <div class="flex items-center">
1001
+ <div class="w-8 h-8 bg-blue-500 rounded-full mr-2 flex items-center justify-center">
1002
+ <i class="fas fa-user text-xs"></i>
1003
+ </div>
1004
+ <div class="flex-1">
1005
+ <p>斯特吉亚战士 x5</p>
1006
+ <div class="health-bar w-full" style="width: 80%"></div>
1007
+ </div>
1008
+ </div>
1009
+ <div class="flex items-center">
1010
+ <div class="w-8 h-8 bg-blue-500 rounded-full mr-2 flex items-center justify-center">
1011
+ <i class="fas fa-user text-xs"></i>
1012
+ </div>
1013
+ <div class="flex-1">
1014
+ <p>斯特吉亚弓箭手 x3</p>
1015
+ <div class="health-bar w-full" style="width: 90%"></div>
1016
+ </div>
1017
+ </div>
1018
+ <div class="flex items-center">
1019
+ <div class="w-8 h-8 bg-blue-500 rounded-full mr-2 flex items-center justify-center">
1020
+ <i class="fas fa-horse text-xs"></i>
1021
+ </div>
1022
+ <div class="flex-1">
1023
+ <p>斯特吉亚骑兵 x2</p>
1024
+ <div class="health-bar w-full" style="width: 70%"></div>
1025
+ </div>
1026
+ </div>
1027
+ </div>
1028
+
1029
+ <div class="mt-4 grid grid-cols-2 gap-2">
1030
+ <button class="combat-command metal-bg p-2 rounded hover:bg-gray-700 transition" data-command="charge">
1031
+ <i class="fas fa-flag"></i> 冲锋
1032
+ </button>
1033
+ <button class="combat-command metal-bg p-2 rounded hover:bg-gray-700 transition" data-command="hold">
1034
+ <i class="fas fa-shield-alt"></i> 坚守
1035
+ </button>
1036
+ <button class="combat-command metal-bg p-2 rounded hover:bg-gray-700 transition" data-command="follow">
1037
+ <i class="fas fa-user-friends"></i> 跟随我
1038
+ </button>
1039
+ <button class="combat-command metal-bg p-2 rounded hover:bg-gray-700 transition" data-command="retreat">
1040
+ <i class="fas fa-running"></i> 撤退
1041
+ </button>
1042
+ </div>
1043
+ </div>
1044
+ </div>
1045
+ </div>
1046
+ </div>
1047
+
1048
+ <!-- 物品栏模态框 -->
1049
+ <div id="inventoryModal" class="modal">
1050
+ <div class="modal-content">
1051
+ <span class="close">&times;</span>
1052
+ <h2 class="text-3xl font-bold mb-6 text-center">物品栏</h2>
1053
+
1054
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-6">
1055
+ <!-- 装备栏 -->
1056
+ <div class="parchment-bg p-4 rounded-lg">
1057
+ <h3 class="text-xl font-bold mb-4 border-b border-gray-600 pb-2">装备</h3>
1058
+ <div class="grid grid-cols-2 gap-2">
1059
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="helm">
1060
+ <i class="fas fa-helmet-battle text-2xl mb-1"></i>
1061
+ <p class="text-xs">诺德头盔</p>
1062
+ <span class="tooltiptext">诺德头盔<br>护甲: 32<br>重量: 3.5<br>价值: 450金币</span>
1063
+ </div>
1064
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="armor">
1065
+ <i class="fas fa-vest text-2xl mb-1"></i>
1066
+ <p class="text-xs">链甲</p>
1067
+ <span class="tooltiptext">链甲<br>护甲: 45<br>重量: 12.0<br>价值: 1,200金币</span>
1068
+ </div>
1069
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="legs">
1070
+ <i class="fas fa-boot text-2xl mb-1"></i>
1071
+ <p class="text-xs">板甲护腿</p>
1072
+ <span class="tooltiptext">板甲护腿<br>护甲: 28<br>重量: 7.5<br>价值: 800金币</span>
1073
+ </div>
1074
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="mainhand">
1075
+ <i class="fas fa-sword text-2xl mb-1"></i>
1076
+ <p class="text-xs">双手剑</p>
1077
+ <span class="tooltiptext">双手剑<br>伤害: 98<br>速度: 0.85<br>价值: 1,500金币</span>
1078
+ </div>
1079
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="offhand">
1080
+ <i class="fas fa-shield-alt text-2xl mb-1"></i>
1081
+ <p class="text-xs">圆盾</p>
1082
+ <span class="tooltiptext">圆盾<br>护甲: 40<br>重量: 4.0<br>价值: 600金币</span>
1083
+ </div>
1084
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="ranged">
1085
+ <i class="fas fa-bow-arrow text-2xl mb-1"></i>
1086
+ <p class="text-xs">长弓</p>
1087
+ <span class="tooltiptext">长弓<br>伤害: 45<br>精度: 90<br>价值: 900金币</span>
1088
+ </div>
1089
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="horse">
1090
+ <i class="fas fa-horse text-2xl mb-1"></i>
1091
+ <p class="text-xs">战马</p>
1092
+ <span class="tooltiptext">战马<br>速度: 42<br>生命: 120<br>价值: 2,000金币</span>
1093
+ </div>
1094
+ <div class="item-slot p-2 text-center tooltip cursor-pointer" data-item="accessory1">
1095
+ <i class="fas fa-ring text-2xl mb-1"></i>
1096
+ <p class="text-xs">银戒指</p>
1097
+ <span class="tooltiptext">银戒指<br>魅力+2<br>价值: 350金币</span>
1098
+ </div>
1099
+ </div>
1100
+ </div>
1101
+
1102
+ <!-- 物品列表 -->
1103
+ <div class="md:col-span-3 parchment-bg p-4 rounded-lg">
1104
+ <div class="flex justify-between items-center mb-4">
1105
+ <h3 class="text-xl font-bold">物品</h3>
1106
+ <div class="flex space-x-2">
1107
+ <button class="metal-bg px-3 py-1 rounded hover:bg-gray-700 transition">
1108
+ <i class="fas fa-filter mr-1"></i> 筛选
1109
+ </button>
1110
+ <button class="metal-bg px-3 py-1 rounded hover:bg-gray-700 transition">
1111
+ <i class="fas fa-sort mr-1"></i> 排序
1112
+ </button>
1113
+ </div>
1114
+ </div>
1115
+
1116
+ <div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-2 max-h-96 overflow-y-auto">
1117
+ <!-- 武器 -->
1118
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1119
+ <i class="fas fa-sword text-xl mb-1"></i>
1120
+ <p class="text-xs">短剑</p>
1121
+ <span class="tooltiptext">短剑<br>伤害: 45<br>速度: 1.2<br>价值: 250金币</span>
1122
+ </div>
1123
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1124
+ <i class="fas fa-axe text-xl mb-1"></i>
1125
+ <p class="text-xs">战斧</p>
1126
+ <span class="tooltiptext">战斧<br>伤害: 65<br>速度: 0.9<br>价值: 400金币</span>
1127
+ </div>
1128
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1129
+ <i class="fas fa-mace text-xl mb-1"></i>
1130
+ <p class="text-xs">钉头锤</p>
1131
+ <span class="tooltiptext">钉头锤<br>伤害: 55<br>速度: 1.0<br>价值: 350金币</span>
1132
+ </div>
1133
+ <!-- 防具 -->
1134
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1135
+ <i class="fas fa-helmet-battle text-xl mb-1"></i>
1136
+ <p class="text-xs">皮头盔</p>
1137
+ <span class="tooltiptext">皮头盔<br>护甲: 15<br>重量: 1.5<br>价值: 120金币</span>
1138
+ </div>
1139
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1140
+ <i class="fas fa-vest text-xl mb-1"></i>
1141
+ <p class="text-xs">皮甲</p>
1142
+ <span class="tooltiptext">皮甲<br>护甲: 25<br>重量: 5.0<br>价值: 200金币</span>
1143
+ </div>
1144
+ <!-- 消耗品 -->
1145
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1146
+ <i class="fas fa-wine-bottle text-xl mb-1"></i>
1147
+ <p class="text-xs">治疗药水</p>
1148
+ <span class="tooltiptext">治疗药水<br>恢复: 50生命<br>价值: 100金币</span>
1149
+ </div>
1150
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1151
+ <i class="fas fa-flask text-xl mb-1"></i>
1152
+ <p class="text-xs">体力药水</p>
1153
+ <span class="tooltiptext">体力药水<br>恢复: 50体力<br>价值: 80金币</span>
1154
+ </div>
1155
+ <!-- 材料 -->
1156
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1157
+ <i class="fas fa-feather text-xl mb-1"></i>
1158
+ <p class="text-xs">羽毛</p>
1159
+ <span class="tooltiptext">羽毛<br>制作材料<br>价值: 5金币</span>
1160
+ </div>
1161
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1162
+ <i class="fas fa-hide text-xl mb-1"></i>
1163
+ <p class="text-xs">兽皮</p>
1164
+ <span class="tooltiptext">兽皮<br>制作材料<br>价值: 15金币</span>
1165
+ </div>
1166
+ <!-- 任务物品 -->
1167
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1168
+ <i class="fas fa-scroll text-xl mb-1"></i>
1169
+ <p class="text-xs">古老卷轴</p>
1170
+ <span class="tooltiptext">古老卷轴<br>任务物品<br>价值: 无</span>
1171
+ </div>
1172
+ <!-- 马匹 -->
1173
+ <div class="item-slot p-2 text-center tooltip cursor-pointer">
1174
+ <i class="fas fa-horse text-xl mb-1"></i>
1175
+ <p class="text-xs">旅行马</p>
1176
+ <span class="tooltiptext">旅行马<br>速度: 35<br>生命: 100<br>价值: 1,200金币</span>
1177
+ </div>
1178
+ </div>
1179
+
1180
+ <div class="mt-4 flex justify-between items-center">
1181
+ <div>
1182
+ <p class="text-sm">负重: 45/120</p>
1183
+ <div class="skill-progress">
1184
+ <div class="skill-progress-fill" style="width: 37.5%"></div>
1185
+ </div>
1186
+ </div>
1187
+ <button class="metal-bg px-4 py-2 rounded hover:bg-gray-700 transition">
1188
+ <i class="fas fa-coins mr-2"></i> 出售物品
1189
+ </button>
1190
+ </div>
1191
+ </div>
1192
+ </div>
1193
+ </div>
1194
+ </div>
1195
+
1196
+ <script>
1197
+ // 通知系统
1198
+ function showNotification(type, title, message) {
1199
+ const notification = document.getElementById('notification');
1200
+ const icon = document.getElementById('notification-icon');
1201
+ const notificationTitle = document.getElementById('notification-title');
1202
+ const notificationMessage = document.getElementById('notification-message');
1203
+
1204
+ // 设置通知内容
1205
+ notificationTitle.textContent = title;
1206
+ notificationMessage.textContent = message;
1207
+
1208
+ // 设置图标和样式
1209
+ notification.className = 'notification fade-in';
1210
+ notification.classList.add(type);
1211
+
1212
+ switch(type) {
1213
+ case 'success':
1214
+ icon.className = 'fas fa-check-circle mr-3 text-xl';
1215
+ break;
1216
+ case 'error':
1217
+ icon.className = 'fas fa-times-circle mr-3 text-xl';
1218
+ break;
1219
+ case 'warning':
1220
+ icon.className = 'fas fa-exclamation-triangle mr-3 text-xl';
1221
+ break;
1222
+ case 'info':
1223
+ icon.className = 'fas fa-info-circle mr-3 text-xl';
1224
+ break;
1225
+ }
1226
+
1227
+ // 显示通知
1228
+ notification.classList.add('show');
1229
+
1230
+ // 3秒后隐藏通知
1231
+ setTimeout(() => {
1232
+ notification.classList.remove('show');
1233
+ setTimeout(() => {
1234
+ notification.className = 'notification hidden';
1235
+ }, 500);
1236
+ }, 3000);
1237
+ }
1238
+
1239
+ // 战斗按钮交互
1240
+ const combatBtn = document.getElementById('combatBtn');
1241
+ const combatModal = document.getElementById('combatModal');
1242
+ const closeBtns = document.querySelectorAll('.close');
1243
+
1244
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 改进