Files
novafarma/old_logic/src_backup_1768938138/quests/SchoolQuests.js
2026-01-21 01:08:21 +01:00

156 lines
4.6 KiB
JavaScript

/**
* SCHOOL QUEST DATA
* Related to SchoolBuffSystem and Teacher NPC
*/
export const SchoolQuests = {
// QUEST 1: School Opening
school_opening: {
id: 'school_opening',
name: 'School Days',
category: 'education',
npc: 'teacher',
description: 'Help Teacher restore the school building and start lessons.',
objectives: [
{
type: 'repair_building',
target: 'school',
description: 'Repair the school building'
},
{
type: 'gather_materials',
items: [
{ id: 'wood', amount: 50 },
{ id: 'stone', amount: 30 },
{ id: 'books', amount: 10 }
],
description: 'Gather materials for school restoration'
}
],
rewards: {
xp: 400,
currency: 800,
items: [{ id: 'student_handbook', amount: 1 }],
unlocks: ['school_system'],
freeLesson: 'basic_farming'
},
dialogue: {
start: 'teacher_school_opening_start',
progress: 'teacher_school_opening_progress',
complete: 'teacher_school_opening_complete'
}
},
// QUEST 2: Star Student
star_student: {
id: 'star_student',
name: 'Star Student',
category: 'education',
npc: 'teacher',
requires: 'school_opening',
description: 'Learn 5 different skills from Teacher.',
objectives: [
{
type: 'learn_skills',
amount: 5,
description: 'Learn 5 skills from Teacher'
}
],
rewards: {
xp: 1000,
currency: 2000,
items: [{ id: 'honor_student_badge', amount: 1 }],
reputation: 100,
specialBonus: '25% discount on all future lessons'
},
dialogue: {
start: 'teacher_star_student_start',
complete: 'teacher_star_student_complete'
}
},
// QUEST 3: Master Scholar
master_scholar: {
id: 'master_scholar',
name: 'Master Scholar',
category: 'education',
npc: 'teacher',
requires: 'star_student',
description: 'Learn all permanent skills from Teacher (Farming, Combat, Survival).',
objectives: [
{
type: 'learn_category',
target: 'farming',
description: 'Learn all farming skills'
},
{
type: 'learn_category',
target: 'combat',
description: 'Learn all combat skills'
},
{
type: 'learn_category',
target: 'survival',
description: 'Learn all survival skills'
}
],
rewards: {
xp: 3000,
currency: 7500,
items: [
{ id: 'master_diploma', amount: 1 },
{ id: 'wisdom_amulet', amount: 1 }
],
achievement: 'master_scholar',
reputation: 300,
permanentBuff: {
name: 'Master\'s Wisdom',
effect: '+10% to all skill effectiveness'
}
},
dialogue: {
start: 'teacher_master_scholar_start',
complete: 'teacher_master_scholar_complete'
}
},
// QUEST 4: Successor
successor: {
id: 'successor',
name: 'The Successor',
category: 'education',
npc: 'teacher',
requires: 'master_scholar',
description: 'Teacher sees potential in you. Prove you can teach others.',
objectives: [
{
type: 'teach_npcs',
amount: 10,
description: 'Teach skills to 10 different NPCs'
},
{
type: 'reach_level',
target: 20,
description: 'Reach Level 20'
}
],
rewards: {
xp: 5000,
currency: 20000,
items: [
{ id: 'teacher_robes', amount: 1 },
{ id: 'staff_of_knowledge', amount: 1 }
],
achievement: 'successor',
reputation: 500,
unlocks: ['teaching_system'],
specialBonus: 'Can now teach skills to NPCs for reputation'
},
dialogue: {
start: 'teacher_successor_start',
progress: 'teacher_successor_progress',
complete: 'teacher_successor_complete'
}
}
};