34 lines
596 B
TypeScript
34 lines
596 B
TypeScript
// server/utils/economy.ts
|
|
|
|
/**
|
|
* All costs for actions that the player can take.
|
|
*/
|
|
export const COSTS = {
|
|
BUILD: {
|
|
HOUSE: 15,
|
|
FIELD: 15,
|
|
LUMBERJACK: 20,
|
|
QUARRY: 20,
|
|
WELL: 15,
|
|
}
|
|
};
|
|
|
|
/**
|
|
* All rewards the player can receive from various actions and events.
|
|
*/
|
|
export const REWARDS = {
|
|
// Village-related rewards
|
|
VILLAGE: {
|
|
CLEARING: { coins: 5, exp: 1 },
|
|
FIELD_EXP: {
|
|
BASE: 1,
|
|
WELL_MULTIPLIER: 2,
|
|
},
|
|
},
|
|
// Habit-related rewards
|
|
HABITS: {
|
|
COMPLETION: { coins: 10, exp: 1 },
|
|
ONBOARDING_COMPLETION: { coins: 50, exp: 0 },
|
|
}
|
|
};
|