# Bluespace Harvester

A station goal that consumes enormous amounts of power to generate (mostly fluff) rewards

A machine that takes power each tick, generates points based on it and lets you spend those points on rewards. A certain amount of points has to be generated for the station goal to count as completed.

## Vars | |

actual_power_usage | How much power the machine needs per processing tick at the current level. |
---|---|

base_points | Amount of points to give per mining level |

desired_level | The machine you WANT the machine to mine at. It will try to match this. |

fillers | For faking having a big machine, dummy 'machines' that are hidden inside the large sprite and make certain tiles dense. See new and destroy. |

input_level | The level the machine is currently mining at. 0 means off |

max_level | Max power input level, I don't expect this to be ever reached |

points | Available mining points |

power_needs | Correspond to power required for a mining level, first entry for level 1, etc. |

product_list | list of possible products |

safe_levels | How high the machine can be run before it starts having a chance for dimension breaches. |

total_points | The total points earned by this machine so far, for tracking station goal and highscore |

## Procs | |

attack_hand | A list of lists, each inner list equals a datum |

decrease_level | Decreases the desired mining level |

get_power_use | Gets the amount of power at a set input level |

increase_level | Increases the desired mining level |

produce | Produces the product with the desired key and increases product cost accordingly |

set_level | Sets the desired mining level |

## Var Details

### actual_power_usage

How much power the machine needs per processing tick at the current level.

### base_points

Amount of points to give per mining level

### desired_level

The machine you WANT the machine to mine at. It will try to match this.

### fillers

For faking having a big machine, dummy 'machines' that are hidden inside the large sprite and make certain tiles dense. See new and destroy.

### input_level

The level the machine is currently mining at. 0 means off

### max_level

Max power input level, I don't expect this to be ever reached

### points

Available mining points

### power_needs

Correspond to power required for a mining level, first entry for level 1, etc.

### product_list

list of possible products

### safe_levels

How high the machine can be run before it starts having a chance for dimension breaches.

### total_points

The total points earned by this machine so far, for tracking station goal and highscore

## Proc Details

### attack_hand

A list of lists, each inner list equals a datum

### decrease_level

Decreases the desired mining level

Decreases the desired mining level, that the machine tries to reach if there is enough power for it. Note that it does NOT decrease the actual mining level directly.

### get_power_use

Gets the amount of power at a set input level

Gets the amount of power (in W) a set input level needs. Note that this is not necessarily the current power use.

- i_level - The hypothetical input level for which we want to know the power use.

### increase_level

Increases the desired mining level

Increases the desired mining level, that the machine tries to reach if there is enough power for it. Note that it does NOT increase the actual mining level directly.

### produce

Produces the product with the desired key and increases product cost accordingly

### set_level

Sets the desired mining level

Sets the desired mining level, that the machine tries to reach if there is enough power for it. Note that it does NOT change the actual mining level directly. Arguments:

- t_level - The level we try to set it at, between 0 and max_level