Yogstation 13 - Modules - TypesVar Details - Proc Details

Energy Harvesting Module

Vars

PNcached powernet, assigned when attached to a wirenet with a powernet
accumulated_poweramount of power consumed by the harvester, incremented every tick and reset every budget cycle
input_energyenergy inputted into machine
last_accumulated_powerlast amount of energy transmitted before being reset by budget cycle, so CE can check if his engine modifications are making more power
last_payoutlast payout recieved, so CE can gleefully rub his hands every time the paycheck comes in
last_tickstores last REALTIMEOFDAY tick. SSEconomy runs off of that, don't see why this one shouldn't too
manual_power_settingmanual power setting to limit the maximum draw of the machine
manual_switchmanual on/off switch

Procs

attackbyStandard checks for connecting a machine to an open cable node
calculateMoney
connect_to_networklinks this to SSeconomy so it can be added to the budget cycle calculations for when a mapper connects it to the power room roundstart
disconnect_from_network
payout
process

Var Details

PN

cached powernet, assigned when attached to a wirenet with a powernet

accumulated_power

amount of power consumed by the harvester, incremented every tick and reset every budget cycle

input_energy

energy inputted into machine

last_accumulated_power

last amount of energy transmitted before being reset by budget cycle, so CE can check if his engine modifications are making more power

last_payout

last payout recieved, so CE can gleefully rub his hands every time the paycheck comes in

last_tick

stores last REALTIMEOFDAY tick. SSEconomy runs off of that, don't see why this one shouldn't too

manual_power_setting

manual power setting to limit the maximum draw of the machine

manual_switch

manual on/off switch

Proc Details

attackby

Standard checks for connecting a machine to an open cable node

calculateMoney

connect_to_network

links this to SSeconomy so it can be added to the budget cycle calculations for when a mapper connects it to the power room roundstart

disconnect_from_network

payout

process