wyrt_expeditions

v1.0.0Gameplay

Timed mission system where characters are sent on tasks and return with rewards

Requires:wyrt_data

Features

  • Configurable mission durations
  • Solo or party-based missions
  • Cooldown system per mission type
  • Bonus modifiers (duration, rewards, success chance)
  • Reward generation via hooks
  • Level and unlock requirements

Quick Start

const expeditionsModule = context.getModule('wyrt_expeditions');
const expManager = expeditionsModule.createExpeditionManager({
  generateRewards: (params) => ({
    experience: 100,
    items: [{ itemId: 'ore', quantity: 5 }]
  })
});

// Register and start expeditions
expManager.registerExpeditionType({
  id: 'forest_patrol',
  name: 'Forest Patrol',
  baseDuration: 30 * 60 * 1000
});
expManager.startExpedition('forest_patrol', { memberIds: ['p1'] });

Exports

ExpeditionManager

Manages timed missions and rewards