180 lines
5.5 KiB
JavaScript
180 lines
5.5 KiB
JavaScript
/**
|
|
* CITY GRATITUDE QUEST DATA
|
|
* Related to CityGratitudeSystem and NPCSettlementSystem
|
|
*/
|
|
|
|
export const CityGratitudeQuests = {
|
|
// QUEST 1: Growing Community
|
|
growing_community: {
|
|
id: 'growing_community',
|
|
name: 'Growing Community',
|
|
category: 'city',
|
|
npc: 'mayor',
|
|
description: 'Attract 10 settlers to build a small community.',
|
|
objectives: [
|
|
{
|
|
type: 'population',
|
|
target: 10,
|
|
description: 'Reach 10 population'
|
|
}
|
|
],
|
|
rewards: {
|
|
xp: 500,
|
|
currency: 1000,
|
|
items: [
|
|
{ id: 'community_hoe', amount: 1 },
|
|
{ id: 'welcome_banner', amount: 1 }
|
|
],
|
|
reputation: 50,
|
|
gratitudeTier: 1
|
|
},
|
|
dialogue: {
|
|
start: 'mayor_growing_community_start',
|
|
complete: 'mayor_growing_community_complete'
|
|
},
|
|
autoComplete: true // Auto-completes when population reached
|
|
},
|
|
|
|
// QUEST 2: Village Leader
|
|
village_leader: {
|
|
id: 'village_leader',
|
|
name: 'Village Leader',
|
|
category: 'city',
|
|
npc: 'mayor',
|
|
requires: 'growing_community',
|
|
description: 'Grow your settlement to 25 people and unlock the Town Hall.',
|
|
objectives: [
|
|
{
|
|
type: 'population',
|
|
target: 25,
|
|
description: 'Reach 25 population'
|
|
},
|
|
{
|
|
type: 'build_structure',
|
|
target: 'town_hall',
|
|
description: 'Build the Town Hall'
|
|
}
|
|
],
|
|
rewards: {
|
|
xp: 1500,
|
|
currency: 3000,
|
|
items: [
|
|
{ id: 'village_axe', amount: 1 },
|
|
{ id: 'mayor_blessing', amount: 1 }
|
|
],
|
|
reputation: 100,
|
|
gratitudeTier: 2,
|
|
unlocks: ['town_hall', 'village_services']
|
|
},
|
|
dialogue: {
|
|
start: 'mayor_village_leader_start',
|
|
complete: 'mayor_village_leader_complete'
|
|
}
|
|
},
|
|
|
|
// QUEST 3: City Builder
|
|
city_builder: {
|
|
id: 'city_builder',
|
|
name: 'City Builder',
|
|
category: 'city',
|
|
npc: 'mayor',
|
|
requires: 'village_leader',
|
|
description: 'Transform your village into a thriving city of 100 people.',
|
|
objectives: [
|
|
{
|
|
type: 'population',
|
|
target: 100,
|
|
description: 'Reach 100 population'
|
|
},
|
|
{
|
|
type: 'build_structure',
|
|
target: 'advanced_workshop',
|
|
description: 'Build advanced workshop'
|
|
},
|
|
{
|
|
type: 'settler_happiness',
|
|
target: 75,
|
|
description: 'Maintain 75% average settler happiness'
|
|
}
|
|
],
|
|
rewards: {
|
|
xp: 5000,
|
|
currency: 15000,
|
|
items: [
|
|
{ id: 'legendary_pickaxe', amount: 1 },
|
|
{ id: 'city_crown', amount: 1 },
|
|
{ id: 'citizens_gratitude', amount: 1 }
|
|
],
|
|
reputation: 500,
|
|
gratitudeTier: 3,
|
|
achievement: 'city_builder',
|
|
unlocks: ['city_monument'],
|
|
permanentBuff: {
|
|
name: 'Citizens\' Eternal Gratitude',
|
|
effect: '+25% all production and efficiency'
|
|
}
|
|
},
|
|
dialogue: {
|
|
start: 'mayor_city_builder_start',
|
|
progress: 'mayor_city_builder_progress',
|
|
complete: 'mayor_city_builder_complete'
|
|
}
|
|
},
|
|
|
|
// QUEST 4: Metropolis King
|
|
metropolis_king: {
|
|
id: 'metropolis_king',
|
|
name: 'Metropolis King',
|
|
category: 'city',
|
|
npc: 'mayor',
|
|
requires: 'city_builder',
|
|
description: 'Build a legendary metropolis of 200 people. The ultimate achievement!',
|
|
objectives: [
|
|
{
|
|
type: 'population',
|
|
target: 200,
|
|
description: 'Reach 200 population'
|
|
},
|
|
{
|
|
type: 'build_structure',
|
|
target: 'palace',
|
|
description: 'Build the Palace'
|
|
},
|
|
{
|
|
type: 'city_reputation',
|
|
target: 1000,
|
|
description: 'Reach 1000 city reputation'
|
|
},
|
|
{
|
|
type: 'all_services_active',
|
|
description: 'Have all city services operational'
|
|
}
|
|
],
|
|
rewards: {
|
|
xp: 10000,
|
|
currency: 50000,
|
|
items: [
|
|
{ id: 'omega_tool_set', amount: 1 },
|
|
{ id: 'metropolis_throne', amount: 1 },
|
|
{ id: 'eternal_crown', amount: 1 }
|
|
],
|
|
reputation: 1000,
|
|
gratitudeTier: 4,
|
|
achievement: 'metropolis_king',
|
|
unlocks: ['palace', 'royal_services'],
|
|
permanentBuff: {
|
|
name: 'King\'s Authority',
|
|
effect: 'All workers +100% efficiency, unlimited building queue'
|
|
},
|
|
specialBonus: 'Unlock New Game+ mode'
|
|
},
|
|
dialogue: {
|
|
start: 'mayor_metropolis_king_start',
|
|
progress: 'mayor_metropolis_king_progress',
|
|
complete: 'mayor_metropolis_king_complete',
|
|
special: 'mayor_metropolis_king_coronation' // Special coronation cutscene
|
|
},
|
|
cutscene: 'coronation_ceremony'
|
|
}
|
|
};
|