habits.andr33v.ru/server/utils/economy.ts

40 lines
675 B
TypeScript

// server/utils/economy.ts
/**
* All costs for actions that the player can take.
*/
export const COSTS = {
BUILD: {
HOUSE: 50,
FIELD: 15,
LUMBERJACK: 30,
QUARRY: 30,
WELL: 20,
}
};
/**
* All rewards the player can receive from various actions and events.
*/
export const REWARDS = {
// Village-related rewards
VILLAGE: {
CLEARING: { coins: 1, exp: 1 },
FIELD_EXP: {
BASE: 1,
WELL_MULTIPLIER: 2,
},
},
// Quest-related rewards
QUESTS: {
DAILY_VISIT: {
BASE: { coins: 1 },
STREAK_BONUS: { coins: 10 },
}
},
// Habit-related rewards
HABITS: {
COMPLETION: { coins: 3, exp: 1 },
}
};