Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Search and Rescue debug module #6085

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions data/modules/SearchRescue/sar_config.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
-- Copyright © 2008-2025 Pioneer Developers. See AUTHORS.txt for details
-- Licensed under the terms of the GPL v3. See licenses/GPL-3.txt

-- This module defines basic "Search and Rescue" module config options.

local sar_config = {}

-- basic variables for mission creation
sar_config.max_mission_dist = 30 -- max distance for long distance mission target location [ly]
sar_config.max_close_dist = 5000 -- max distance for "CLOSE_PLANET" target location [km]
sar_config.max_close_space_dist = 10000 -- max distance for "CLOSE_SPACE" target location [km]
sar_config.far_space_orbit_dist = 3.5 -- orbital distance around planet for "FAR_SPACE" target location (number of planet radii)
sar_config.min_interaction_dist = 50 -- min distance for successful interaction with target [meters]
sar_config.target_interaction_time = 10 -- target interaction time to load/unload one unit of cargo/person [sec]
sar_config.max_pass = 20 -- max number of passengers on target ship
-- sar_config.max_crew = 8 -- max number of crew on target ship (high max: 8)
sar_config.reward_close = 200 -- basic reward for "CLOSE" mission (+/- random half of that)
sar_config.reward_medium = 1000 -- basic reward for "MEDIUM" mission (+/- random half of that)
sar_config.reward_far = 2000 -- basic reward for "FAR" mission (+/- random half of that)
sar_config.ad_freq_max = 3.0 -- maximum frequency for ad creation
sar_config.ad_freq_min = 0.3 -- minimum frequency for ad creation

return sar_config
Loading