Spaces:
Running
Running
Andre
commited on
Commit
·
3b176e2
1
Parent(s):
2c1d8b2
minor updates
Browse files- adventurers_data.json +18 -18
- adventurers_data2.json +78 -78
- app.py +1 -1
adventurers_data.json
CHANGED
@@ -2,26 +2,26 @@
|
|
2 |
"data": {
|
3 |
"adventurers": [
|
4 |
{
|
5 |
-
"owner": "
|
6 |
-
"id":
|
7 |
-
"name": "
|
8 |
-
"strength":
|
9 |
-
"vitality":
|
10 |
-
"dexterity":
|
11 |
-
"intelligence":
|
12 |
-
"wisdom":
|
13 |
"charisma": 3,
|
14 |
-
"level":
|
15 |
-
"xp":
|
16 |
"health": 0,
|
17 |
-
"beastHealth":
|
18 |
-
"head": "
|
19 |
-
"hand": "
|
20 |
-
"chest": "
|
21 |
-
"waist": "
|
22 |
-
"foot": "
|
23 |
-
"weapon": "
|
24 |
-
"gold":
|
25 |
"neck": null,
|
26 |
"ring": null,
|
27 |
"luck": 2,
|
|
|
2 |
"data": {
|
3 |
"adventurers": [
|
4 |
{
|
5 |
+
"owner": "0x1abdb0c3319b72218653a0a94962ee66ebe27fd6b0bde234d1eddfccec57ed0",
|
6 |
+
"id": 78,
|
7 |
+
"name": "Influence Crewmate #26220",
|
8 |
+
"strength": 3,
|
9 |
+
"vitality": 0,
|
10 |
+
"dexterity": 2,
|
11 |
+
"intelligence": 2,
|
12 |
+
"wisdom": 3,
|
13 |
"charisma": 3,
|
14 |
+
"level": 5,
|
15 |
+
"xp": 29,
|
16 |
"health": 0,
|
17 |
+
"beastHealth": 53,
|
18 |
+
"head": "Helm",
|
19 |
+
"hand": "Heavy Gloves",
|
20 |
+
"chest": "Leather Armor",
|
21 |
+
"waist": "Heavy Belt",
|
22 |
+
"foot": "Shoes",
|
23 |
+
"weapon": "Scimitar",
|
24 |
+
"gold": 5,
|
25 |
"neck": null,
|
26 |
"ring": null,
|
27 |
"luck": 2,
|
adventurers_data2.json
CHANGED
@@ -2,117 +2,117 @@
|
|
2 |
"data": {
|
3 |
"battles": [
|
4 |
{
|
5 |
-
"adventurerId":
|
6 |
-
"adventurerHealth":
|
7 |
-
"beast": "
|
8 |
-
"beastHealth":
|
9 |
-
"beastLevel":
|
10 |
-
"seed": "
|
11 |
"attacker": "Adventurer",
|
12 |
"fled": false,
|
13 |
-
"damageDealt":
|
14 |
"criticalHit": false,
|
15 |
"damageTaken": 0,
|
16 |
"damageLocation": null,
|
17 |
"xpEarnedAdventurer": 0,
|
18 |
"xpEarnedItems": 0,
|
19 |
"goldEarned": 0,
|
20 |
-
"discoveryTime": "2024-09-
|
21 |
},
|
22 |
{
|
23 |
-
"adventurerId":
|
24 |
-
"adventurerHealth":
|
25 |
-
"beast": "
|
26 |
-
"beastHealth":
|
27 |
-
"beastLevel":
|
28 |
-
"seed": "
|
29 |
"attacker": "Beast",
|
30 |
"fled": false,
|
31 |
"damageDealt": 0,
|
32 |
"criticalHit": false,
|
33 |
-
"damageTaken":
|
34 |
-
"damageLocation": "
|
35 |
"xpEarnedAdventurer": 0,
|
36 |
"xpEarnedItems": 0,
|
37 |
"goldEarned": 0,
|
38 |
-
"discoveryTime": "2024-09-
|
39 |
},
|
40 |
{
|
41 |
-
"adventurerId":
|
42 |
-
"adventurerHealth":
|
43 |
-
"beast": "
|
44 |
-
"beastHealth":
|
45 |
-
"beastLevel":
|
46 |
-
"seed": "
|
47 |
"attacker": "Adventurer",
|
48 |
"fled": false,
|
49 |
-
"damageDealt":
|
50 |
-
"criticalHit":
|
51 |
"damageTaken": 0,
|
52 |
"damageLocation": null,
|
53 |
-
"xpEarnedAdventurer":
|
54 |
-
"xpEarnedItems":
|
55 |
"goldEarned": 0,
|
56 |
-
"discoveryTime": "2024-09-
|
57 |
},
|
58 |
{
|
59 |
-
"adventurerId":
|
60 |
-
"adventurerHealth":
|
61 |
-
"beast": "
|
62 |
-
"beastHealth":
|
63 |
-
"beastLevel":
|
64 |
-
"seed": "
|
65 |
"attacker": "Beast",
|
66 |
"fled": false,
|
67 |
"damageDealt": 0,
|
68 |
"criticalHit": false,
|
69 |
-
"damageTaken":
|
70 |
-
"damageLocation": "
|
71 |
"xpEarnedAdventurer": 0,
|
72 |
"xpEarnedItems": 0,
|
73 |
"goldEarned": 0,
|
74 |
-
"discoveryTime": "2024-09-
|
75 |
},
|
76 |
{
|
77 |
-
"adventurerId":
|
78 |
-
"adventurerHealth":
|
79 |
-
"beast": "
|
80 |
-
"beastHealth":
|
81 |
-
"beastLevel":
|
82 |
-
"seed": "
|
83 |
"attacker": "Beast",
|
84 |
"fled": false,
|
85 |
"damageDealt": 0,
|
86 |
"criticalHit": false,
|
87 |
-
"damageTaken":
|
88 |
-
"damageLocation": "
|
89 |
"xpEarnedAdventurer": 0,
|
90 |
"xpEarnedItems": 0,
|
91 |
"goldEarned": 0,
|
92 |
-
"discoveryTime": "2024-09-
|
93 |
},
|
94 |
{
|
95 |
-
"adventurerId":
|
96 |
-
"adventurerHealth":
|
97 |
-
"beast": "
|
98 |
-
"beastHealth":
|
99 |
-
"beastLevel":
|
100 |
-
"seed": "
|
101 |
"attacker": "Beast",
|
102 |
"fled": false,
|
103 |
"damageDealt": 0,
|
104 |
"criticalHit": false,
|
105 |
-
"damageTaken":
|
106 |
-
"damageLocation": "
|
107 |
"xpEarnedAdventurer": 0,
|
108 |
"xpEarnedItems": 0,
|
109 |
"goldEarned": 0,
|
110 |
-
"discoveryTime": "2024-09-
|
111 |
},
|
112 |
{
|
113 |
-
"adventurerId":
|
114 |
"adventurerHealth": 90,
|
115 |
-
"beast": "
|
116 |
"beastHealth": 0,
|
117 |
"beastLevel": 1,
|
118 |
"seed": "0x5a60e008",
|
@@ -125,15 +125,15 @@
|
|
125 |
"xpEarnedAdventurer": 4,
|
126 |
"xpEarnedItems": 8,
|
127 |
"goldEarned": 0,
|
128 |
-
"discoveryTime": "2024-09-10T18:
|
129 |
},
|
130 |
{
|
131 |
-
"adventurerId":
|
132 |
"adventurerHealth": 90,
|
133 |
-
"beast": "
|
134 |
"beastHealth": 3,
|
135 |
"beastLevel": 1,
|
136 |
-
"seed": "
|
137 |
"attacker": "Beast",
|
138 |
"fled": false,
|
139 |
"damageDealt": 0,
|
@@ -143,43 +143,43 @@
|
|
143 |
"xpEarnedAdventurer": 0,
|
144 |
"xpEarnedItems": 0,
|
145 |
"goldEarned": 0,
|
146 |
-
"discoveryTime": "2024-09-10T18:35:04.
|
147 |
},
|
148 |
{
|
149 |
-
"adventurerId":
|
150 |
-
"adventurerHealth":
|
151 |
-
"beast": "
|
152 |
-
"beastHealth":
|
153 |
-
"beastLevel":
|
154 |
-
"seed": "
|
155 |
"attacker": "Adventurer",
|
156 |
"fled": false,
|
157 |
-
"damageDealt":
|
158 |
"criticalHit": false,
|
159 |
"damageTaken": 0,
|
160 |
"damageLocation": null,
|
161 |
"xpEarnedAdventurer": 0,
|
162 |
"xpEarnedItems": 0,
|
163 |
"goldEarned": 0,
|
164 |
-
"discoveryTime": "2024-09-
|
165 |
},
|
166 |
{
|
167 |
-
"adventurerId":
|
168 |
-
"adventurerHealth":
|
169 |
-
"beast": "
|
170 |
-
"beastHealth":
|
171 |
-
"beastLevel":
|
172 |
-
"seed": "
|
173 |
"attacker": "Adventurer",
|
174 |
"fled": false,
|
175 |
-
"damageDealt":
|
176 |
"criticalHit": false,
|
177 |
"damageTaken": 0,
|
178 |
"damageLocation": null,
|
179 |
"xpEarnedAdventurer": 0,
|
180 |
"xpEarnedItems": 0,
|
181 |
"goldEarned": 0,
|
182 |
-
"discoveryTime": "2024-09-
|
183 |
}
|
184 |
]
|
185 |
}
|
|
|
2 |
"data": {
|
3 |
"battles": [
|
4 |
{
|
5 |
+
"adventurerId": 78,
|
6 |
+
"adventurerHealth": 84,
|
7 |
+
"beast": "Rat",
|
8 |
+
"beastHealth": 46,
|
9 |
+
"beastLevel": 2,
|
10 |
+
"seed": "0x508331d1",
|
11 |
"attacker": "Adventurer",
|
12 |
"fled": false,
|
13 |
+
"damageDealt": 0,
|
14 |
"criticalHit": false,
|
15 |
"damageTaken": 0,
|
16 |
"damageLocation": null,
|
17 |
"xpEarnedAdventurer": 0,
|
18 |
"xpEarnedItems": 0,
|
19 |
"goldEarned": 0,
|
20 |
+
"discoveryTime": "2024-09-10T19:55:59.854Z"
|
21 |
},
|
22 |
{
|
23 |
+
"adventurerId": 78,
|
24 |
+
"adventurerHealth": 84,
|
25 |
+
"beast": "Rat",
|
26 |
+
"beastHealth": 46,
|
27 |
+
"beastLevel": 2,
|
28 |
+
"seed": "0x508331d1",
|
29 |
"attacker": "Beast",
|
30 |
"fled": false,
|
31 |
"damageDealt": 0,
|
32 |
"criticalHit": false,
|
33 |
+
"damageTaken": 2,
|
34 |
+
"damageLocation": "Hand",
|
35 |
"xpEarnedAdventurer": 0,
|
36 |
"xpEarnedItems": 0,
|
37 |
"goldEarned": 0,
|
38 |
+
"discoveryTime": "2024-09-10T19:55:59.854Z"
|
39 |
},
|
40 |
{
|
41 |
+
"adventurerId": 78,
|
42 |
+
"adventurerHealth": 89,
|
43 |
+
"beast": "Rat",
|
44 |
+
"beastHealth": 46,
|
45 |
+
"beastLevel": 2,
|
46 |
+
"seed": "0x508331d1",
|
47 |
"attacker": "Adventurer",
|
48 |
"fled": false,
|
49 |
+
"damageDealt": 0,
|
50 |
+
"criticalHit": false,
|
51 |
"damageTaken": 0,
|
52 |
"damageLocation": null,
|
53 |
+
"xpEarnedAdventurer": 0,
|
54 |
+
"xpEarnedItems": 0,
|
55 |
"goldEarned": 0,
|
56 |
+
"discoveryTime": "2024-09-10T19:55:59.853Z"
|
57 |
},
|
58 |
{
|
59 |
+
"adventurerId": 78,
|
60 |
+
"adventurerHealth": 86,
|
61 |
+
"beast": "Rat",
|
62 |
+
"beastHealth": 46,
|
63 |
+
"beastLevel": 2,
|
64 |
+
"seed": "0x508331d1",
|
65 |
"attacker": "Beast",
|
66 |
"fled": false,
|
67 |
"damageDealt": 0,
|
68 |
"criticalHit": false,
|
69 |
+
"damageTaken": 3,
|
70 |
+
"damageLocation": "Foot",
|
71 |
"xpEarnedAdventurer": 0,
|
72 |
"xpEarnedItems": 0,
|
73 |
"goldEarned": 0,
|
74 |
+
"discoveryTime": "2024-09-10T19:55:59.854Z"
|
75 |
},
|
76 |
{
|
77 |
+
"adventurerId": 78,
|
78 |
+
"adventurerHealth": 89,
|
79 |
+
"beast": "Rat",
|
80 |
+
"beastHealth": 46,
|
81 |
+
"beastLevel": 2,
|
82 |
+
"seed": "0x508331d1",
|
83 |
"attacker": "Beast",
|
84 |
"fled": false,
|
85 |
"damageDealt": 0,
|
86 |
"criticalHit": false,
|
87 |
+
"damageTaken": 3,
|
88 |
+
"damageLocation": "Foot",
|
89 |
"xpEarnedAdventurer": 0,
|
90 |
"xpEarnedItems": 0,
|
91 |
"goldEarned": 0,
|
92 |
+
"discoveryTime": "2024-09-10T19:55:59.854Z"
|
93 |
},
|
94 |
{
|
95 |
+
"adventurerId": 78,
|
96 |
+
"adventurerHealth": 92,
|
97 |
+
"beast": "Rat",
|
98 |
+
"beastHealth": 46,
|
99 |
+
"beastLevel": 2,
|
100 |
+
"seed": "0x508331d1",
|
101 |
"attacker": "Beast",
|
102 |
"fled": false,
|
103 |
"damageDealt": 0,
|
104 |
"criticalHit": false,
|
105 |
+
"damageTaken": 2,
|
106 |
+
"damageLocation": "Hand",
|
107 |
"xpEarnedAdventurer": 0,
|
108 |
"xpEarnedItems": 0,
|
109 |
"goldEarned": 0,
|
110 |
+
"discoveryTime": "2024-09-10T19:55:59.853Z"
|
111 |
},
|
112 |
{
|
113 |
+
"adventurerId": 78,
|
114 |
"adventurerHealth": 90,
|
115 |
+
"beast": "Orc",
|
116 |
"beastHealth": 0,
|
117 |
"beastLevel": 1,
|
118 |
"seed": "0x5a60e008",
|
|
|
125 |
"xpEarnedAdventurer": 4,
|
126 |
"xpEarnedItems": 8,
|
127 |
"goldEarned": 0,
|
128 |
+
"discoveryTime": "2024-09-10T18:35:37.678Z"
|
129 |
},
|
130 |
{
|
131 |
+
"adventurerId": 78,
|
132 |
"adventurerHealth": 90,
|
133 |
+
"beast": "Orc",
|
134 |
"beastHealth": 3,
|
135 |
"beastLevel": 1,
|
136 |
+
"seed": "0x4e",
|
137 |
"attacker": "Beast",
|
138 |
"fled": false,
|
139 |
"damageDealt": 0,
|
|
|
143 |
"xpEarnedAdventurer": 0,
|
144 |
"xpEarnedItems": 0,
|
145 |
"goldEarned": 0,
|
146 |
+
"discoveryTime": "2024-09-10T18:35:04.897Z"
|
147 |
},
|
148 |
{
|
149 |
+
"adventurerId": 78,
|
150 |
+
"adventurerHealth": 92,
|
151 |
+
"beast": "Rat",
|
152 |
+
"beastHealth": 46,
|
153 |
+
"beastLevel": 2,
|
154 |
+
"seed": "0x508331d1",
|
155 |
"attacker": "Adventurer",
|
156 |
"fled": false,
|
157 |
+
"damageDealt": 0,
|
158 |
"criticalHit": false,
|
159 |
"damageTaken": 0,
|
160 |
"damageLocation": null,
|
161 |
"xpEarnedAdventurer": 0,
|
162 |
"xpEarnedItems": 0,
|
163 |
"goldEarned": 0,
|
164 |
+
"discoveryTime": "2024-09-10T19:55:59.853Z"
|
165 |
},
|
166 |
{
|
167 |
+
"adventurerId": 78,
|
168 |
+
"adventurerHealth": 86,
|
169 |
+
"beast": "Rat",
|
170 |
+
"beastHealth": 46,
|
171 |
+
"beastLevel": 2,
|
172 |
+
"seed": "0x508331d1",
|
173 |
"attacker": "Adventurer",
|
174 |
"fled": false,
|
175 |
+
"damageDealt": 0,
|
176 |
"criticalHit": false,
|
177 |
"damageTaken": 0,
|
178 |
"damageLocation": null,
|
179 |
"xpEarnedAdventurer": 0,
|
180 |
"xpEarnedItems": 0,
|
181 |
"goldEarned": 0,
|
182 |
+
"discoveryTime": "2024-09-10T19:55:59.854Z"
|
183 |
}
|
184 |
]
|
185 |
}
|
app.py
CHANGED
@@ -21,7 +21,7 @@ def gradio_interface():
|
|
21 |
object-fit: cover; /* ACTIVATE FOR IMAGE-FIT CONTAINER */
|
22 |
}
|
23 |
""") as demo:
|
24 |
-
gr.Markdown("# ========== Loot Survivor - AI Image Generator ==========")
|
25 |
with gr.Row():
|
26 |
# Set default values for dropdowns
|
27 |
#prompt_dropdown = gr.Dropdown(choices=[p["alias"] for p in prompts], label="Select Beast", value=prompts[0]["alias"])
|
|
|
21 |
object-fit: cover; /* ACTIVATE FOR IMAGE-FIT CONTAINER */
|
22 |
}
|
23 |
""") as demo:
|
24 |
+
gr.Markdown("# ========== Loot Survivor - AI Image Generator ========== CPU")
|
25 |
with gr.Row():
|
26 |
# Set default values for dropdowns
|
27 |
#prompt_dropdown = gr.Dropdown(choices=[p["alias"] for p in prompts], label="Select Beast", value=prompts[0]["alias"])
|