brs_server 
Vars | |
data | Keeps goal points and probe points. Goal points - needed to complete the station goal. Probe points - needed to "probe" a rift. |
---|---|
id | Needed for users to distinguish between servers |
points_per_probe | One probe price |
points_per_probe_emagged | One probe price if the server is emagged |
probe_cooldown_end_time | World time when probe cooldown ends |
probe_cooldown_time | Minimal time delay between probes |
probe_success_chance | 0 <= chance <= 1, 0-never, 1-always |
probe_success_chance_emagged | 0 <= chance <= 1, 0-never, 1-always |
Procs | |
add_points | Points mined by scanners shoud be added by this proc. |
get_goal_points | Returns goal points amount for a particular goal. |
get_record | Returns the index of the rift record in data . Creates a new record if there is no such rift_id in data . |
remove_rift_data | Removes rift record from data |
Var Details
data 
Keeps goal points and probe points. Goal points - needed to complete the station goal. Probe points - needed to "probe" a rift.
id 
Needed for users to distinguish between servers
points_per_probe 
One probe price
points_per_probe_emagged 
One probe price if the server is emagged
probe_cooldown_end_time 
World time when probe cooldown ends
probe_cooldown_time 
Minimal time delay between probes
probe_success_chance 
0 <= chance <= 1, 0-never, 1-always
probe_success_chance_emagged 
0 <= chance <= 1, 0-never, 1-always
Proc Details
add_points
Points mined by scanners shoud be added by this proc.
get_goal_points
Returns goal points amount for a particular goal.
get_record
Returns the index of the rift record in data
. Creates a new record if there is no such rift_id
in data
.
remove_rift_data
Removes rift record from data