/tg/ Station 13 - Modules - TypesVar Details - Proc Details

Economy

Vars

earning_reportContains the message to send to newscasters about price inflation and earnings, updated on price_update()
inflation_valueA var that displays the result of inflation_value for easier debugging and tracking.
station_targetA var that tracks how much money is expected to be on station at a given time. If less than station_total prices go up in vendors.
station_totalA var that collects the total amount of credits owned in player accounts on station, reset and recounted on fire()

Procs

inflation_valueProc that returns a value meant to undercut the value of civilian bounties, based on how much money exists on the station.
price_updateUpdates the prices of all station vendors with the inflation_value, increasing/decreasing costs across the station, and alerts the crew.

Var Details

earning_report

Contains the message to send to newscasters about price inflation and earnings, updated on price_update()

inflation_value

A var that displays the result of inflation_value for easier debugging and tracking.

station_target

A var that tracks how much money is expected to be on station at a given time. If less than station_total prices go up in vendors.

station_total

A var that collects the total amount of credits owned in player accounts on station, reset and recounted on fire()

Proc Details

inflation_value

Proc that returns a value meant to undercut the value of civilian bounties, based on how much money exists on the station.

If crew are somehow aquiring far too much money, this value will dynamically cause vendables across the station to skyrocket in price until some money is spent.

price_update

Updates the prices of all station vendors with the inflation_value, increasing/decreasing costs across the station, and alerts the crew.

Iterates over the machines list for vending machines, resets their regular and premium product prices (Not contraband), and sends a message to the newscaster network.