| | |
| | | -- Th coal driven EU generator. |
| | | -- The coal driven EU generator. |
| | | -- A simple device to get started on the electric machines. |
| | | -- Inefficient and expensive in coal (200EU 16 ticks) |
| | | -- Also only allows for LV machinery to run. |
| | |
| | | else |
| | | burn_time = burn_time - 1 |
| | | meta:set_int("burn_time",burn_time) |
| | | meta:set_string("infotext", "Coal Electric Generator ("..math.floor(burn_time/16*100).."%)") |
| | | end |
| | | end |
| | | |
| | |
| | | meta:set_int("burn_time",burn_time) |
| | | hacky_swap_node (pos,"technic:generator_active") |
| | | meta:set_int("LV_EU_supply", 200) -- Give 200EUs |
| | | else |
| | | meta:set_int("LV_EU_supply", 0) |
| | | end |
| | | end |
| | | end |