1import{r as i,u as F,j as e,C as l,e as c,av as T,d as n,a5 as A,a6 as D,a1 as P,a2 as H,a3 as f,aw as B,ax as G,ay as E,a4 as g,az as j,aA as k}from"./index-CgMUx9S8.js";import{B as I}from"./beaker-DjyY2CPt.js";const O=[{name:"Potent Health Cure",category:"Tonics",ingredients:["Ginseng x2","Yarrow"],effect:"Restores health core and fortifies it",location:"Campfire / Camp"},{name:"Potent Snake Oil",category:"Tonics",ingredients:["Indian Tobacco x2"],effect:"Restores Dead Eye core and fortifies it",location:"Campfire / Camp"},{name:"Potent Miracle Tonic",category:"Tonics",ingredients:["Sage x2","Ginseng","Yarrow"],effect:"Restores and fortifies all cores",location:"Campfire / Camp"},{name:"Special Health Cure",category:"Tonics",ingredients:["Ginseng x3","Yarrow x2"],effect:"Fully restores and greatly fortifies health",location:"Campfire / Camp"},{name:"Special Snake Oil",category:"Tonics",ingredients:["Indian Tobacco x3"],effect:"Fully restores and greatly fortifies Dead Eye",location:"Campfire / Camp"},{name:"Special Miracle Tonic",category:"Tonics",ingredients:["Sage x3","Ginseng x2","Yarrow x2"],effect:"Fully restores and greatly fortifies all cores",location:"Campfire / Camp"},{name:"Horse Stimulant",category:"Horse",ingredients:["Sage","Ginseng"],effect:"Restores horse stamina core",location:"Campfire / Camp"},{name:"Potent Horse Stimulant",category:"Horse",ingredients:["Sage x2","Ginseng"],effect:"Restores and fortifies horse stamina",location:"Campfire / Camp"},{name:"Horse Medicine",category:"Horse",ingredients:["Yarrow","Ginseng"],effect:"Restores horse health core",location:"Campfire / Camp"},{name:"Potent Horse Medicine",category:"Horse",ingredients:["Yarrow x2","Ginseng"],effect:"Restores and fortifies horse health",location:"Campfire / Camp"},{name:"Regular Arrows",category:"Ammo",ingredients:["Arrow Shaft","Flight Feather"],effect:"Standard arrow",location:"Campfire / Camp"},{name:"Small Game Arrows",category:"Ammo",ingredients:["Arrow","Shotgun Shell","Flight Feather"],effect:"Perfect pelts from small animals",location:"Campfire / Camp"},{name:"Poison Arrows",category:"Ammo",ingredients:["Arrow","Oleander Sage"],effect:"Poisons target over time",location:"Campfire / Camp"},{name:"Fire Arrows",category:"Ammo",ingredients:["Arrow","Animal Fat","Flight Feather"],effect:"Sets target on fire",location:"Campfire / Camp"},{name:"Improved Arrows",category:"Ammo",ingredients:["Arrow","Flight Feather"],effect:"Greater damage than regular arrows",location:"Campfire / Camp"},{name:"Dynamite Arrow",category:"Ammo",ingredients:["Arrow","Dynamite","Flight Feather"],effect:"Explosive on impact",location:"Campfire / Camp"},{name:"Volatile Dynamite",category:"Throwables",ingredients:["Dynamite","Animal Fat","High Velocity Cartridge"],effect:"More powerful explosion",location:"Campfire / Camp"},{name:"Fire Bottle",category:"Throwables",ingredients:["Moonshine","Animal Fat"],effect:"Creates fire on impact",location:"Campfire / Camp"},{name:"Volatile Fire Bottle",category:"Throwables",ingredients:["Moonshine","Animal Fat","Oleander Sage"],effect:"Larger fire area & poisons",location:"Campfire / Camp"},{name:"Tomahawk",category:"Throwables",ingredients:["Hatchet","Flight Feather"],effect:"Throwable melee weapon",location:"Campfire / Camp"},{name:"Improved Tomahawk",category:"Throwables",ingredients:["Tomahawk","Homing Tomahawk Pamphlet"],effect:"Better accuracy & damage",location:"Campfire / Camp"},{name:"Poison Throwing Knife",category:"Throwables",ingredients:["Throwing Knife","Oleander Sage"],effect:"Silent kill with poison",location:"Campfire / Camp"},{name:"Cover Scent Lotion",category:"Hunting",ingredients:["Sage","Vanilla Flower"],effect:"Masks your scent from animals",location:"Campfire / Camp"},{name:"Potent Predator Bait",category:"Hunting",ingredients:["Gritty Fish Meat","Blackberry"],effect:"Attracts predators",location:"Campfire / Camp"},{name:"Potent Herbivore Bait",category:"Hunting",ingredients:["Vanilla Flower","Hummingbird Sage"],effect:"Attracts herbivores",location:"Campfire / Camp"}],q=[{name:"Plain Venison",category:"Meat",ingredients:["Stringy Meat"],effect:"Restores health core (slightly)"},{name:"Seasoned Venison",category:"Meat",ingredients:["Stringy Meat","Oregano"],effect:"Restores health core (moderately)"},{name:"Thyme Venison",category:"Meat",ingredients:["Stringy Meat","Thyme"],effect:"Restores & fortifies Dead Eye"},{name:"Minty Venison",category:"Meat",ingredients:["Stringy Meat","Wild Mint"],effect:"Restores & fortifies health"},{name:"Oregano Venison",category:"Meat",ingredients:["Stringy Meat","Oregano"],effect:"Restores & fortifies stamina"},{name:"Plain Big Game",category:"Meat",ingredients:["Big Game Meat"],effect:"Restores all cores (slightly)"},{name:"Seasoned Big Game",category:"Meat",ingredients:["Big Game Meat","Oregano"],effect:"Restores all cores (moderately)"},{name:"Thyme Big Game",category:"Meat",ingredients:["Big Game Meat","Thyme"],effect:"Restores all cores & fortifies Dead Eye"},{name:"Minty Big Game",category:"Meat",ingredients:["Big Game Meat","Wild Mint"],effect:"Restores all cores & fortifies health"},{name:"Oregano Big Game",category:"Meat",ingredients:["Big Game Meat","Oregano"],effect:"Restores all cores & fortifies stamina"},{name:"Plain Flaky Fish",category:"Fish",ingredients:["Flaky Fish Meat"],effect:"Restores health core"},{name:"Seasoned Flaky Fish",category:"Fish",ingredients:["Flaky Fish Meat","Oregano"],effect:"Restores health core (moderately)"},{name:"Plain Succulent Fish",category:"Fish",ingredients:["Succulent Fish Meat"],effect:"Restores health & stamina"},{name:"Seasoned Succulent Fish",category:"Fish",ingredients:["Succulent Fish Meat","Oregano"],effect:"Restores health & stamina (moderately)"},{name:"Plain Bird",category:"Poultry",ingredients:["Plump Bird Meat"],effect:"Restores health core"},{name:"Thyme Bird",category:"Poultry",ingredients:["Plump Bird Meat","Thyme"],effect:"Restores health & fortifies Dead Eye"},{name:"Minty Bird",category:"Poultry",ingredients:["Plump Bird Meat","Wild Mint"],effect:"Restores & fortifies health"}],N=[{title:"Perfect Pelts â Hunting Guide",summary:"How to get 3-star pelts every time for crafting and the Trapper.",tips:["Study the animal first with binoculars to learn its quality (1â3 stars).","Only hunt 3-star animals â lower quality can never yield perfect pelts.","Use the correct weapon: Varmint Rifle for small, Rifle for medium, Rolling Block for large.","Small Game Arrows (crafted) are required for tiny animals like squirrels and frogs.","Aim for the head or critical area for a clean kill â this preserves pelt qual
1ity.","Use Cover Scent Lotion and approach from downwind."]},{title:"Fishing â Legendary Fish & Tips",summary:"Catch every fish including all 13 Legendary species.",tips:["Buy a fishing rod from the Bait Shop in Lagras after Chapter 2.","Use the correct lure: River Lure, Lake Lure, or Swamp Lure depending on location.","Legendary Fish only bite special lures â buy from the Bait Shop.","Reel slowly when the fish is fighting (controller vibrating), reel fast when it stops.","Pull the rod left/right opposite the fish's direction to tire it faster.","Mail Legendary Fish to Jeremy Gill for rewards."]},{title:"Horse Bonding â Level 4 Fast",summary:"Max out your horse bond for the best handling and abilities.",tips:["Lead your horse on foot (hold the lead) for passive bonding XP.","Brush your horse after it gets dirty â each brush gives bonding.","Feed your horse when its cores are low â hay, oats, carrots all work.","Pat your horse while riding (left stick click) for steady bonding gain.","Calm your horse during stressful events (predators, gunfire) for bonus XP.","Level 4 unlocks skid turns, piaffe, and rearing on command."]},{title:"Money Making â Early & Late Game",summary:"Best methods to earn money at every stage of the game.",tips:["Early: Loot every body and search every building â jewelry sells well at the Fence.","Treasure maps (found on random NPCs) lead to gold bars worth $500 each.","Hunt and sell pelts to the Trapper â perfect pelts are worth significantly more.","The Aberdeen Pig Farm trick: visit, lose your money, return after the epilogue to reclaim it all.","Play Poker in Saint Denis for steady income once you learn the AI patterns.","Late game: do bounties and stranger missions for reliable pay."]},{title:"Dead Eye â Mastering the System",summary:"How Dead Eye works and evolves through the story.",tips:["Level 1â2: Automatically marks targets while in Dead Eye.","Level 3 (Chapter 2): You manually paint targets with R1/RB.","Level 4 (Chapter 5): Critical areas (head, heart) glow while in Dead Eye.","Level 5 (Chapter 6): Critical areas glow brighter, even on animals.","Chewing tobacco, snake oil, and Indian Tobacco all restore Dead Eye.","Use Dead Eye in every fight to level it up faster."]},{title:"Camp Upgrades â What to Buy First",summary:"Prioritize camp upgrades for the best quality-of-life improvements.",tips:["First: Leather Working Tools (from the ledger) â unlocks satchel upgrades from Pearson.","Second: Fast Travel Map (from Arthur's tent upgrade in the ledger).","Donate hunting carcasses to Pearson for camp provisions â keeps morale high.","Buy the chicken coop and horse station for passive camp bonuses.","The Legend of the East Satchel (all crafted satchels) lets you carry 99 of every item."]}],M=[{title:"How to Install Script Hook RDR2",summary:"The foundation for most RDR2 PC mods â required by trainers and .ASI plugins.",tips:["Download Script Hook RDR2 from Alexander Blade's official site (dev-c.com).","Extract the archive â you need ScriptHookRDR2.dll and dinput8.dll.","Copy both DLL files into your RDR2 game root folder (where RDR2.exe is located).","Script Hook must match your game version â after a game update, wait for a new Script Hook release.","If the game crashes on launch after an update, remove ScriptHookRDR2.dll until a compatible version drops.","Script Hook is required before installing any .ASI mods or trainers like Rampage."]},{title:"How to Install Lenny's Mod Loader (LML)",summary:"Manages XML/data mods without replacing game files directly.",tips:[`Download LML from Nexus Mods (search "Lenny's Mod Loader RDR2").`,'Extract everything into your RDR2 game root folder â this creates a "lml" folder.','Mods go inside the "lml" folder, each in their own subfolder.',"Each mod folder should contain an install.xml that tells LML which files to replace or merge.","LML handles load order automatically, but you can adjust priority in vfs.xml if conflicts arise.",'To disable a mod, just remove its folder from "lml/" â no game files are permanently changed.']},{title:"How to Install Rampage Trainer",summary:"The most popular RDR2 trainer â spawn peds, vehicles, change weather, teleport, and more.",tips:["Rampage requires Script Hook RDR2 â install that first.","Download Rampage Trainer from Nexus Mods or the official GTA5-Mods page.","Extract all files into your RDR2 game root folder (same folder as RDR2.exe).","Launch the game, then press F5 to open the Rampage menu.","Navigate with arrow keys, Enter to select, Backspace to go back.","Features: player options, spawn menu, teleport, weather control, time control, weapon mods, and more.","If F5 doesn't work, make sure Script Hook is up to date and din
1put8.dll is in the game folder."]},{title:"How to Install .ASI Mods",summary:"Simple plugin mods that add features â just drop files in the game folder.",tips:["Install Script Hook RDR2 first â it's the ASI loader for Red Dead.","Download any .ASI mod (e.g., Map Editor, Photo Mode enhancements).","Drop the .asi file directly into your RDR2 game root folder.","Some ASI mods come with a .ini config file â place that in the same folder.","Launch the game normally â Script Hook will load all .asi files automatically.","To remove an ASI mod, just delete its .asi (and .ini) file from the game folder."]},{title:"How to Install XML/Data Mods with LML",summary:"Change game data like weapon stats, ped behavior, and world settings using LML.",tips:["Install Lenny's Mod Loader (LML) first â see the guide above.","Download an XML/data mod from Nexus Mods.",`Create a new folder inside "lml/" with the mod's name (e.g., lml/BetterWeapons/).`,"Place the mod's files inside that folder along with its install.xml.","The install.xml tells LML which game files to replace or merge â don't edit it unless you know what you're doing.","Multiple data mods can conflict if they edit the same files â check mod descriptions for compatibility notes."]},{title:"Troubleshooting â Mods Not Working",summary:"Common fixes when your RDR2 mods crash, don't load, or break the game.",tips:["Game updated? Script Hook must match the exact game version â remove it until updated.","Antivirus blocking DLLs? Add your RDR2 folder to your antivirus exclusion list.","Verifying game files through Steam/Rockstar will DELETE all mod files â back them up first.","Game crashes on startup? Remove mods one at a time to find the culprit.","To quickly disable ALL mods: rename dinput8.dll to dinput8.dll.bak â the game launches vanilla.","Check that you're using the correct game version (Steam vs Rockstar Launcher) â some mods are version-specific.","LML mods not loading? Make sure each mod folder has a valid install.xml file."]}],V=["All","Tonics","Horse","Ammo","Throwables","Hunting"],W=["All","Meat","Fish","Poultry"];function X(){const[r,R]=i.useState(""),[m,S]=i.useState("All"),[d,b]=i.useState("All"),[p,u]=i.useState(null),{user:L}=F(),y=i.useMemo(()=>O.filter(a=>{const t=m==="All"||a.category===m,s=!r||a.name.toLowerCase().includes(r.toLowerCase())||a.ingredients.some(o=>o.toLowerCase().includes(r.toLowerCase()));return t&&s}),[r,m]),x=i.useMemo(()=>q.filter(a=>{const t=d==="All"||a.category===d,s=!r||a.name.toLowerCase().includes(r.toLowerCase())||a.ingredients.some(o=>o.toLowerCase().includes(r.toLowerCase()));return t&&s}),[r,d]),w=i.useMemo(()=>{if(!r)return N;const a=r.toLowerCase();return N.filter(t=>t.title.toLowerCase().includes(a)||t.summary.toLowerCase().includes(a)||t.tips.some(s=>s.toLowerCase().includes(a)))},[r]),C=i.useMemo(()=>{if(!r)return M;const a=r.toLowerCase();return M.filter(t=>t.title.toLowerCase().includes(a)||t.summary.toLowerCase().includes(a)||t.tips.some(s=>s.toLowerCase().includes(a)))},[r]);return e.jsx("div",{className:"h-full overflow-auto",children:e.jsxs("div",{className:"max-w-4xl mx-auto p-4 md:p-6 space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-xl md:text-2xl font-bold text-foreground",children:"Red Dead Redemption 2 â Guide & Recipes"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Crafting recipes, cooking recipes, and gameplay tutorials. Search anything below."})]}),!L&&e.jsx(l,{className:"border-primary/30 bg-primary/5",children:e.jsxs(c,{className:"flex items-center gap-3 py-3 px-4",children:[e.jsx(T,{className:"h-5 w-5 text-primary shrink-0"}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-foreground",children:"Need more help?"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Ask CriderGPT anything about RDR2 â crafting, hunting, story choices & more."})]}),e.jsx(n,{className:"bg-primary text-primary-foreground text-xs shrink-0",children:"Try Free"})]})}),e.jsxs("div",{className:"relative",children:[e.jsx(A,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),e.jsx(D,{placeholder:"Search recipes, ingredients, or tipsâ¦",value:r,onChange:a=>R(a.target.value),className:"pl-9"})]}),e.jsxs(P,{defaultValue:"crafting",className:"w-full",children:[e.jsxs(H,{
1className:"w-full grid grid-cols-4",children:[e.jsxs(f,{value:"crafting",className:"gap-1 text-xs",children:[e.jsx(I,{className:"h-3.5 w-3.5"}),"Crafting"]}),e.jsxs(f,{value:"cooking",className:"gap-1 text-xs",children:[e.jsx(B,{className:"h-3.5 w-3.5"}),"Cooking"]}),e.jsxs(f,{value:"tutorials",className:"gap-1 text-xs",children:[e.jsx(G,{className:"h-3.5 w-3.5"}),"Tutorials"]}),e.jsxs(f,{value:"pc-mods",className:"gap-1 text-xs",children:[e.jsx(E,{className:"h-3.5 w-3.5"}),"PC Mods"]})]}),e.jsxs(g,{value:"crafting",className:"space-y-3 mt-3",children:[e.jsx("div",{className:"flex flex-wrap gap-1.5",children:V.map(a=>e.jsx(n,{variant:m===a?"default":"outline",className:"cursor-pointer text-xs",onClick:()=>S(a),children:a},a))}),y.length===0&&e.jsx("p",{className:"text-sm text-muted-foreground py-4 text-center",children:"No recipes match your search."}),e.jsx("div",{className:"grid gap-2",children:y.map((a,t)=>e.jsx(l,{className:"overflow-hidden",children:e.jsxs(c,{className:"p-3 space-y-1.5",children:[e.jsxs("div",{className:"flex items-start justify-between gap-2",children:[e.jsx("h3",{className:"text-sm font-semibold text-foreground",children:a.name}),e.jsx(n,{variant:"secondary",className:"text-[10px] shrink-0",children:a.category})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a.effect}),e.jsx("div",{className:"flex flex-wrap gap-1",children:a.ingredients.map((s,o)=>e.jsx(n,{variant:"outline",className:"text-[10px] font-normal",children:s},o))}),a.location&&e.jsxs("p",{className:"text-[10px] text-muted-foreground/70",children:["ð ",a.location]})]})},t))})]}),e.jsxs(g,{value:"cooking",className:"space-y-3 mt-3",children:[e.jsx("div",{className:"flex flex-wrap gap-1.5",children:W.map(a=>e.jsx(n,{variant:d===a?"default":"outline",className:"cursor-pointer text-xs",onClick:()=>b(a),children:a},a))}),x.length===0&&e.jsx("p",{className:"text-sm text-muted-foreground py-4 text-center",children:"No recipes match your search."}),e.jsx("div",{className:"grid gap-2",children:x.map((a,t)=>e.jsx(l,{className:"overflow-hidden",children:e.jsxs(c,{className:"p-3 space-y-1.5",children:[e.jsxs("div",{className:"flex items-start justify-between gap-2",children:[e.jsx("h3",{className:"text-sm font-semibold text-foreground",children:a.name}),e.jsx(n,{variant:"secondary",className:"text-[10px] shrink-0",children:a.category})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:a.effect}),e.jsx("div",{className:"flex flex-wrap gap-1",children:a.ingredients.map((s,o)=>e.jsx(n,{variant:"outline",className:"text-[10px] font-normal",children:s},o))})]})},t))})]}),e.jsxs(g,{value:"tutorials",className:"space-y-2 mt-3",children:[w.length===0&&e.jsx("p",{className:"text-sm text-muted-foreground py-4 text-center",children:"No tutorials match your search."}),w.map((a,t)=>{const s=p===t;return e.jsxs(l,{className:"overflow-hidden",children:[e.jsxs("button",{className:"w-full text-left p-3 flex items-start justify-between gap-2",onClick:()=>u(s?null:t),children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-semibold text-foreground",children:a.title}),e.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:a.summary})]}),s?e.jsx(j,{className:"h-4 w-4 text-muted-foreground shrink-0 mt-0.5"}):e.jsx(k,{className:"h-4 w-4 text-muted-foreground shrink-0 mt-0.5"})]}),s&&e.jsx(c,{className:"pt-0 px-3 pb-3",children:e.jsx("ul",{className:"space-y-1.5",children:a.tips.map((o,h)=>e.jsxs("li",{className:"text-xs text-muted-foreground flex gap-2",children:[e.jsxs("span",{className:"text-primary font-bold shrink-0",children:[h+1,"."]}),e.jsx("span",{children:o})]},h))})})]},t)})]}),e.jsxs(g,{value:"pc-mods",className:"space-y-2 mt-3",children:[C.length===0&&e.jsx("p",{className:"text-sm text-muted-foreground py-4 text-center",children:"No modding guides match your search."}),C.map((a,t)=>{const s=t+100,o=p===s;return e.jsxs(l,{className:"overflow-hidden",children:[e.jsxs("button",{className:"w-full text-left p-3 flex items-start justify-between gap-2",onClick:()=>u(o?null:s),children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-semibold text-foreground",children:a.title}),e.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:a.summary})]}),o?e.jsx(j,{className:"h-4 w-4 text-muted-foreground shrink-0 mt-0.5"}):e.jsx(k,{className:"h-4 w-4 text-muted-foreground shrink-0 mt-0.5"})]}),o&&e.jsx(c,{className:"pt-0 px-3 pb-3",children:e.jsx("ul",{className:"space-y-1.5",children:a.tips.map((h,v)=>e.jsxs("li",{className:"text-xs text-muted-foreground flex gap-2",children:[e.jsxs("span",{className:"text-primary font-bold shrink-0",children:[v+1,"."]}),e.jsx("span",{children:h})]},v))})})]},t)})]})]})]})})}export{X as RDR2GuidePanel};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.