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

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: coconut item 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

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

TierJapa MalaYoga DandaActive BijasAFK BijasXP Mult
WoodenRequiredRequired122.0x
SandalwoodRequiredRequired132.5x
RudrakshaRequiredRequired143.0x
DivineRequiredRequired154.0x

Tutorial Flow

Tutorial 1 (Coconut Ritual):
  1. Mother gives coconut
  2. Player goes to Ganesha Temple
  3. Right-click altar → "Offer Coconut"
  4. Quest advances to "report to barracks"
Tutorial 2 (Tapasya):
  1. Rishi gives Wooden Japa Mala + Wooden Yoga Danda + Sphatikas
  2. Player equips both items
  3. Player goes to Vayu Sthala
  4. Active Mode: Click Vayu statue 5 times (burns 5 Sphatika, gets 5 Vayu Bijas)
  5. AFK Mode: Right-click → "Meditate" (burns 5 Sphatika, gets 10 Vayu Bijas, slower)
  6. Modal explains both modes
  7. Prayer: Click Vayu altar → Activate first prayer
  8. 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
  }
}