Space Station 13 - Modules - TypesVar Details - Proc Details

brs_server

Vars

dataKeeps goal points and probe points. Goal points - needed to complete the station goal. Probe points - needed to "probe" a rift.
idNeeded for users to distinguish between servers
points_per_probeOne probe price
points_per_probe_emaggedOne probe price if the server is emagged
probe_cooldown_end_timeWorld time when probe cooldown ends
probe_cooldown_timeMinimal time delay between probes
probe_success_chance0 <= chance <= 1, 0-never, 1-always
probe_success_chance_emagged0 <= chance <= 1, 0-never, 1-always

Procs

add_pointsPoints mined by scanners shoud be added by this proc.
get_goal_pointsReturns goal points amount for a particular goal.
get_recordReturns the index of the rift record in data. Creates a new record if there is no such rift_id in data.
remove_rift_dataRemoves 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