better rare terms
Browse files
src/lib/components/MonsterGenerator/MonsterGenerator.svelte
CHANGED
@@ -35,7 +35,11 @@ Guidelines:
|
|
35 |
- Add a mouth, beak, or feeding apparatus if appropriate
|
36 |
- Add creature elements like tail, fins, claws, or horns where fitting
|
37 |
|
38 |
-
Rarity assessment
|
|
|
|
|
|
|
|
|
39 |
|
40 |
Include:
|
41 |
- A creative name that hints at the original object
|
@@ -46,7 +50,7 @@ Include:
|
|
46 |
Format your response as:
|
47 |
\`\`\`
|
48 |
# {monster name}
|
49 |
-
Object Rarity: {common,
|
50 |
## Monster Visual Description
|
51 |
...
|
52 |
## Monster Lore
|
@@ -299,14 +303,13 @@ Focus on: colors, body shape, eyes, limbs, mouth, and key visual features. Omit
|
|
299 |
|
300 |
// Extract tier from the joy-caption output
|
301 |
let tier: 'low' | 'medium' | 'high' | 'legendary' = 'medium'; // default
|
302 |
-
const rarityMatch = state.monsterConcept.match(/Object Rarity:\s*(common|
|
303 |
if (rarityMatch) {
|
304 |
// Map rarity to tier
|
305 |
const tierMap: { [key: string]: 'low' | 'medium' | 'high' | 'legendary' } = {
|
306 |
'common': 'low',
|
307 |
-
'
|
308 |
-
'
|
309 |
-
'extremely rare': 'high',
|
310 |
'legendary': 'legendary'
|
311 |
};
|
312 |
tier = tierMap[rarityMatch[1].toLowerCase()] || 'medium';
|
|
|
35 |
- Add a mouth, beak, or feeding apparatus if appropriate
|
36 |
- Add creature elements like tail, fins, claws, or horns where fitting
|
37 |
|
38 |
+
Rarity assessment - Rate objects based on their real-world availability and value:
|
39 |
+
• COMMON: Everyday items everyone has (stationery, grass, rocks, basic furniture, common tools)
|
40 |
+
• UNCOMMON: Items that cost money but are widely available (electronics, appliances, vehicles, branded items)
|
41 |
+
• RARE: Expensive or specialized items (luxury goods, professional equipment, gold jewelry, antiques)
|
42 |
+
• LEGENDARY: Priceless or one-of-a-kind items (crown jewels, world wonders, famous artifacts, masterpiece art)
|
43 |
|
44 |
Include:
|
45 |
- A creative name that hints at the original object
|
|
|
50 |
Format your response as:
|
51 |
\`\`\`
|
52 |
# {monster name}
|
53 |
+
Object Rarity: {common, uncommon, rare, legendary}
|
54 |
## Monster Visual Description
|
55 |
...
|
56 |
## Monster Lore
|
|
|
303 |
|
304 |
// Extract tier from the joy-caption output
|
305 |
let tier: 'low' | 'medium' | 'high' | 'legendary' = 'medium'; // default
|
306 |
+
const rarityMatch = state.monsterConcept.match(/Object Rarity:\s*(common|uncommon|rare|legendary)/i);
|
307 |
if (rarityMatch) {
|
308 |
// Map rarity to tier
|
309 |
const tierMap: { [key: string]: 'low' | 'medium' | 'high' | 'legendary' } = {
|
310 |
'common': 'low',
|
311 |
+
'uncommon': 'medium',
|
312 |
+
'rare': 'high',
|
|
|
313 |
'legendary': 'legendary'
|
314 |
};
|
315 |
tier = tierMap[rarityMatch[1].toLowerCase()] || 'medium';
|