tutorial game objects
Guide for tutorial game objects
Tutorial Game Object Interactions
Ganesha Altar
Location: Ganesha Temple (tutorial zone)
Purpose: Prayer restoration + coconut offering ritual
Purpose: Prayer restoration + coconut offering ritual
Actions
Pray (Left-click)
- Restores prayer points to maximum
- Animation: Player bows
- Message: "You pray to Lord Ganesha. Your prayer points are restored."
- Cooldown: None (can be spammed)
Offer Coconut (Right-click)
- Requires:
coconutitem in inventory - Removes coconut from inventory
- Completes "go_to_temple" quest stage
- Animation: Player places coconut, it breaks
- Message: "You offer the coconut to Lord Ganesha. May all obstacles be removed from your path."
- VFX: Golden particles
- One-time only (tutorial quest)
Implementation
// In altar interaction system
match action {
"pray" => {
player.prayer_points = player.max_prayer_points;
show_message("Your prayer points are restored.");
}
"offer_coconut" => {
if inventory.has_item("coconut") {
inventory.remove_item("coconut", 1);
quest_manager.set_stage("tutorial_first_day", "temple_complete");
show_message("You offer the coconut to Lord Ganesha...");
spawn_vfx("golden_particles", altar_position);
}
}
}Vayu Sthala Meditation Platform
Location: Cliffside east of Hastinapur
Purpose: Tapasya training, prayer activation
Purpose: Tapasya training, prayer activation
Vayu Statue
Meditate (Active) (Left-click)
- Requires: Japa Mala + Yoga Danda equipped, Sphatika in inventory
- Mode: Active (1 Sphatika → 1 Bija, faster XP)
- Consumes 1 Sphatika per click
- Grants Tapasya XP (10 base × equipment multiplier)
- Grants 1 Vayu Bija
- Animation: Quick hand gesture
Meditate (AFK) (Right-click)
- Requires: Same as active
- Mode: AFK (1 Sphatika → 2-5 Bijas based on tier, slower XP)
- Works like skilling: continuous action until Sphatika depleted
- Grants Tapasya XP (7 base × equipment multiplier)
- Grants 2-5 Vayu Bijas per Sphatika (tier-dependent)
- Animation: Seated meditation pose
Vayu Altar
Activate Prayer (Left-click)
- Opens Prayer book UI with Tapasya tab
- Player selects a prayer (e.g., "Protect from Melee")
- Prayer activates, drains points over time
- Tutorial: First time shows guide modal
Pray (Right-click)
- Restores prayer points to maximum
- Same as Ganesha altar
Equipment Requirements for Tapasya
Tutorial Flow
Tutorial 1 (Coconut Ritual):
- Mother gives coconut
- Player goes to Ganesha Temple
- Right-click altar → "Offer Coconut"
- Quest advances to "report to barracks"
Tutorial 2 (Tapasya):
- Rishi gives Wooden Japa Mala + Wooden Yoga Danda + Sphatikas
- Player equips both items
- Player goes to Vayu Sthala
- Active Mode: Click Vayu statue 5 times (burns 5 Sphatika, gets 5 Vayu Bijas)
- AFK Mode: Right-click → "Meditate" (burns 5 Sphatika, gets 10 Vayu Bijas, slower)
- Modal explains both modes
- Prayer: Click Vayu altar → Activate first prayer
- Quest complete
Data Structure
{
"ganesha_altar": {
"id": "ganesha_altar",
"name": "Ganesha Altar",
"type": "altar",
"left_click_action": "pray",
"context_menu_options": [
{"action": "pray", "priority": 1},
{"action": "offer_coconut", "priority": 2}
],
"prayer_restore": true,
"tutorial_object": true
}
}