Slightly increase uncommon feather chance

This commit is contained in:
Idrees Hassan
2026-03-29 11:51:21 -07:00
parent a8ba15489f
commit 77a29c549f
8 changed files with 192 additions and 192 deletions

BIN
dist/extension.zip vendored

Binary file not shown.

View File

@@ -536,24 +536,21 @@
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"redWarbler": { "spangledCotinga": {
"name": "Red Warbler", "name": "Spangled Cotinga",
"description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.", "description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.",
"latinName": "Cardellina rubra", "latinName": "Cotinga cayana",
"url": "https://en.wikipedia.org/wiki/Red_warbler", "url": "https://en.wikipedia.org/wiki/Spangled_cotinga",
"colors": { "colors": {
"face": "#e80a28", "face": "#62eafe",
"belly": "#d90921", "chin": "#a12457",
"underbelly": "#c70c18", "collar": "#a12457",
"wing": "#ba121d", "belly": "#62eafe",
"wing-edge": "#5b3535", "underbelly": "#5cd8ea",
"foot": "#5e4645", "wing": "#227c89",
"behind-eye": "#deedff", "wing-edge": "#13353a",
"temple": "#e8f0fa", "foot": "#68696b",
"corner-eye": "#d5e4f5", "collar-scruff": "#62eafe"
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
@@ -597,21 +594,24 @@
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"spangledCotinga": { "redWarbler": {
"name": "Spangled Cotinga", "name": "Red Warbler",
"description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.", "description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.",
"latinName": "Cotinga cayana", "latinName": "Cardellina rubra",
"url": "https://en.wikipedia.org/wiki/Spangled_cotinga", "url": "https://en.wikipedia.org/wiki/Red_warbler",
"colors": { "colors": {
"face": "#62eafe", "face": "#e80a28",
"chin": "#a12457", "belly": "#d90921",
"collar": "#a12457", "underbelly": "#c70c18",
"belly": "#62eafe", "wing": "#ba121d",
"underbelly": "#5cd8ea", "wing-edge": "#5b3535",
"wing": "#227c89", "foot": "#5e4645",
"wing-edge": "#13353a", "behind-eye": "#deedff",
"foot": "#68696b", "temple": "#e8f0fa",
"collar-scruff": "#62eafe" "corner-eye": "#d5e4f5",
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
} }
@@ -2512,7 +2512,7 @@
const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds
const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds
const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours
const UNCOMMON_FEATHER_CHANCE = 0.1; // 10% of feathers are uncommon const UNCOMMON_FEATHER_CHANCE = 0.15; // 15% of feathers are uncommon
const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes
// Feathers // Feathers

64
dist/obsidian/main.js vendored
View File

@@ -541,24 +541,21 @@ module.exports = class PocketBird extends Plugin {
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"redWarbler": { "spangledCotinga": {
"name": "Red Warbler", "name": "Spangled Cotinga",
"description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.", "description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.",
"latinName": "Cardellina rubra", "latinName": "Cotinga cayana",
"url": "https://en.wikipedia.org/wiki/Red_warbler", "url": "https://en.wikipedia.org/wiki/Spangled_cotinga",
"colors": { "colors": {
"face": "#e80a28", "face": "#62eafe",
"belly": "#d90921", "chin": "#a12457",
"underbelly": "#c70c18", "collar": "#a12457",
"wing": "#ba121d", "belly": "#62eafe",
"wing-edge": "#5b3535", "underbelly": "#5cd8ea",
"foot": "#5e4645", "wing": "#227c89",
"behind-eye": "#deedff", "wing-edge": "#13353a",
"temple": "#e8f0fa", "foot": "#68696b",
"corner-eye": "#d5e4f5", "collar-scruff": "#62eafe"
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
@@ -602,21 +599,24 @@ module.exports = class PocketBird extends Plugin {
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"spangledCotinga": { "redWarbler": {
"name": "Spangled Cotinga", "name": "Red Warbler",
"description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.", "description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.",
"latinName": "Cotinga cayana", "latinName": "Cardellina rubra",
"url": "https://en.wikipedia.org/wiki/Spangled_cotinga", "url": "https://en.wikipedia.org/wiki/Red_warbler",
"colors": { "colors": {
"face": "#62eafe", "face": "#e80a28",
"chin": "#a12457", "belly": "#d90921",
"collar": "#a12457", "underbelly": "#c70c18",
"belly": "#62eafe", "wing": "#ba121d",
"underbelly": "#5cd8ea", "wing-edge": "#5b3535",
"wing": "#227c89", "foot": "#5e4645",
"wing-edge": "#13353a", "behind-eye": "#deedff",
"foot": "#68696b", "temple": "#e8f0fa",
"collar-scruff": "#62eafe" "corner-eye": "#d5e4f5",
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
} }
@@ -2545,7 +2545,7 @@ module.exports = class PocketBird extends Plugin {
const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds
const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds
const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours
const UNCOMMON_FEATHER_CHANCE = 0.1; // 10% of feathers are uncommon const UNCOMMON_FEATHER_CHANCE = 0.15; // 15% of feathers are uncommon
const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes
// Feathers // Feathers

View File

@@ -550,24 +550,21 @@
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"redWarbler": { "spangledCotinga": {
"name": "Red Warbler", "name": "Spangled Cotinga",
"description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.", "description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.",
"latinName": "Cardellina rubra", "latinName": "Cotinga cayana",
"url": "https://en.wikipedia.org/wiki/Red_warbler", "url": "https://en.wikipedia.org/wiki/Spangled_cotinga",
"colors": { "colors": {
"face": "#e80a28", "face": "#62eafe",
"belly": "#d90921", "chin": "#a12457",
"underbelly": "#c70c18", "collar": "#a12457",
"wing": "#ba121d", "belly": "#62eafe",
"wing-edge": "#5b3535", "underbelly": "#5cd8ea",
"foot": "#5e4645", "wing": "#227c89",
"behind-eye": "#deedff", "wing-edge": "#13353a",
"temple": "#e8f0fa", "foot": "#68696b",
"corner-eye": "#d5e4f5", "collar-scruff": "#62eafe"
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
@@ -611,21 +608,24 @@
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"spangledCotinga": { "redWarbler": {
"name": "Spangled Cotinga", "name": "Red Warbler",
"description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.", "description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.",
"latinName": "Cotinga cayana", "latinName": "Cardellina rubra",
"url": "https://en.wikipedia.org/wiki/Spangled_cotinga", "url": "https://en.wikipedia.org/wiki/Red_warbler",
"colors": { "colors": {
"face": "#62eafe", "face": "#e80a28",
"chin": "#a12457", "belly": "#d90921",
"collar": "#a12457", "underbelly": "#c70c18",
"belly": "#62eafe", "wing": "#ba121d",
"underbelly": "#5cd8ea", "wing-edge": "#5b3535",
"wing": "#227c89", "foot": "#5e4645",
"wing-edge": "#13353a", "behind-eye": "#deedff",
"foot": "#68696b", "temple": "#e8f0fa",
"collar-scruff": "#62eafe" "corner-eye": "#d5e4f5",
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
} }
@@ -2507,7 +2507,7 @@
const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds
const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds
const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours
const UNCOMMON_FEATHER_CHANCE = 0.1; // 10% of feathers are uncommon const UNCOMMON_FEATHER_CHANCE = 0.15; // 15% of feathers are uncommon
const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes
// Feathers // Feathers

View File

@@ -536,24 +536,21 @@
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"redWarbler": { "spangledCotinga": {
"name": "Red Warbler", "name": "Spangled Cotinga",
"description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.", "description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.",
"latinName": "Cardellina rubra", "latinName": "Cotinga cayana",
"url": "https://en.wikipedia.org/wiki/Red_warbler", "url": "https://en.wikipedia.org/wiki/Spangled_cotinga",
"colors": { "colors": {
"face": "#e80a28", "face": "#62eafe",
"belly": "#d90921", "chin": "#a12457",
"underbelly": "#c70c18", "collar": "#a12457",
"wing": "#ba121d", "belly": "#62eafe",
"wing-edge": "#5b3535", "underbelly": "#5cd8ea",
"foot": "#5e4645", "wing": "#227c89",
"behind-eye": "#deedff", "wing-edge": "#13353a",
"temple": "#e8f0fa", "foot": "#68696b",
"corner-eye": "#d5e4f5", "collar-scruff": "#62eafe"
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
@@ -597,21 +594,24 @@
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"spangledCotinga": { "redWarbler": {
"name": "Spangled Cotinga", "name": "Red Warbler",
"description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.", "description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.",
"latinName": "Cotinga cayana", "latinName": "Cardellina rubra",
"url": "https://en.wikipedia.org/wiki/Spangled_cotinga", "url": "https://en.wikipedia.org/wiki/Red_warbler",
"colors": { "colors": {
"face": "#62eafe", "face": "#e80a28",
"chin": "#a12457", "belly": "#d90921",
"collar": "#a12457", "underbelly": "#c70c18",
"belly": "#62eafe", "wing": "#ba121d",
"underbelly": "#5cd8ea", "wing-edge": "#5b3535",
"wing": "#227c89", "foot": "#5e4645",
"wing-edge": "#13353a", "behind-eye": "#deedff",
"foot": "#68696b", "temple": "#e8f0fa",
"collar-scruff": "#62eafe" "corner-eye": "#d5e4f5",
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
} }
@@ -2487,7 +2487,7 @@
const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds
const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds
const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours
const UNCOMMON_FEATHER_CHANCE = 0.1; // 10% of feathers are uncommon const UNCOMMON_FEATHER_CHANCE = 0.15; // 15% of feathers are uncommon
const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes
// Feathers // Feathers

64
dist/web/birb.js vendored
View File

@@ -536,24 +536,21 @@
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"redWarbler": { "spangledCotinga": {
"name": "Red Warbler", "name": "Spangled Cotinga",
"description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.", "description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.",
"latinName": "Cardellina rubra", "latinName": "Cotinga cayana",
"url": "https://en.wikipedia.org/wiki/Red_warbler", "url": "https://en.wikipedia.org/wiki/Spangled_cotinga",
"colors": { "colors": {
"face": "#e80a28", "face": "#62eafe",
"belly": "#d90921", "chin": "#a12457",
"underbelly": "#c70c18", "collar": "#a12457",
"wing": "#ba121d", "belly": "#62eafe",
"wing-edge": "#5b3535", "underbelly": "#5cd8ea",
"foot": "#5e4645", "wing": "#227c89",
"behind-eye": "#deedff", "wing-edge": "#13353a",
"temple": "#e8f0fa", "foot": "#68696b",
"corner-eye": "#d5e4f5", "collar-scruff": "#62eafe"
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
@@ -597,21 +594,24 @@
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"spangledCotinga": { "redWarbler": {
"name": "Spangled Cotinga", "name": "Red Warbler",
"description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.", "description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.",
"latinName": "Cotinga cayana", "latinName": "Cardellina rubra",
"url": "https://en.wikipedia.org/wiki/Spangled_cotinga", "url": "https://en.wikipedia.org/wiki/Red_warbler",
"colors": { "colors": {
"face": "#62eafe", "face": "#e80a28",
"chin": "#a12457", "belly": "#d90921",
"collar": "#a12457", "underbelly": "#c70c18",
"belly": "#62eafe", "wing": "#ba121d",
"underbelly": "#5cd8ea", "wing-edge": "#5b3535",
"wing": "#227c89", "foot": "#5e4645",
"wing-edge": "#13353a", "behind-eye": "#deedff",
"foot": "#68696b", "temple": "#e8f0fa",
"collar-scruff": "#62eafe" "corner-eye": "#d5e4f5",
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
} }
@@ -2487,7 +2487,7 @@
const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds
const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds
const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours
const UNCOMMON_FEATHER_CHANCE = 0.1; // 10% of feathers are uncommon const UNCOMMON_FEATHER_CHANCE = 0.15; // 15% of feathers are uncommon
const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes
// Feathers // Feathers

View File

@@ -110,7 +110,7 @@ const HOP_DELAY = 500;
const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds const HOP_CHANCE = 1 / (60 * 2.5); // Every 2.5 seconds
const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds const FOCUS_SWITCH_CHANCE = 1 / (60 * 20); // Every 20 seconds
const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours const FEATHER_CHANCE = 1 / (60 * 60 * 60 * 2); // Every 2 hours
const UNCOMMON_FEATHER_CHANCE = 0.1; // 10% of feathers are uncommon const UNCOMMON_FEATHER_CHANCE = 0.15; // 15% of feathers are uncommon
const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes const HAT_CHANCE = 1 / (60 * 60 * 25); // Every 25 minutes
// Feathers // Feathers

View File

@@ -308,24 +308,21 @@ export default {
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"redWarbler": { "spangledCotinga": {
"name": "Red Warbler", "name": "Spangled Cotinga",
"description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.", "description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.",
"latinName": "Cardellina rubra", "latinName": "Cotinga cayana",
"url": "https://en.wikipedia.org/wiki/Red_warbler", "url": "https://en.wikipedia.org/wiki/Spangled_cotinga",
"colors": { "colors": {
"face": "#e80a28", "face": "#62eafe",
"belly": "#d90921", "chin": "#a12457",
"underbelly": "#c70c18", "collar": "#a12457",
"wing": "#ba121d", "belly": "#62eafe",
"wing-edge": "#5b3535", "underbelly": "#5cd8ea",
"foot": "#5e4645", "wing": "#227c89",
"behind-eye": "#deedff", "wing-edge": "#13353a",
"temple": "#e8f0fa", "foot": "#68696b",
"corner-eye": "#d5e4f5", "collar-scruff": "#62eafe"
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
@@ -369,21 +366,24 @@ export default {
}, },
"rarity": "uncommon" "rarity": "uncommon"
}, },
"spangledCotinga": { "redWarbler": {
"name": "Spangled Cotinga", "name": "Red Warbler",
"description": "This South American bird can be found in the Amazon rainforest, flashing its iridescent turquoise feathers high above in the canopy.", "description": "Endemic to the highlands of Mexico, this bird has the rare distinction of being one of the very few toxic birds in the world.",
"latinName": "Cotinga cayana", "latinName": "Cardellina rubra",
"url": "https://en.wikipedia.org/wiki/Spangled_cotinga", "url": "https://en.wikipedia.org/wiki/Red_warbler",
"colors": { "colors": {
"face": "#62eafe", "face": "#e80a28",
"chin": "#a12457", "belly": "#d90921",
"collar": "#a12457", "underbelly": "#c70c18",
"belly": "#62eafe", "wing": "#ba121d",
"underbelly": "#5cd8ea", "wing-edge": "#5b3535",
"wing": "#227c89", "foot": "#5e4645",
"wing-edge": "#13353a", "behind-eye": "#deedff",
"foot": "#68696b", "temple": "#e8f0fa",
"collar-scruff": "#62eafe" "corner-eye": "#d5e4f5",
"lower-eyelid": "#e34a61",
"beak": "#873535",
"cheek": "#db1734"
}, },
"rarity": "uncommon" "rarity": "uncommon"
} }