Misc functions for data stage prototype manipulation.
local data_util = require('__flib__.data_util')
| copy_prototype(prototype, new_name[, remove_icon=false]) | Copy a prototype, assign new name and minable properties. |
| create_icons(prototype, new_layers) | Add new icon layers to a prototype icon or icons. |
| get_energy_value(energy_string) | Convert an energy string to base unit value + suffix. |
| build_sprite([name][, position][, filename][, size][, mipmap_count][, mods]) | Build a sprite. |
| empty_image | An empty image. |
| black_image | A black image, for use with tool backgrounds. |
| planner_base_image | A desaturated planner image. |
Copy a prototype, assign new name and minable properties.
Parameters:
Add new icon layers to a prototype icon or icons.
Parameters:
Convert an energy string to base unit value + suffix.
Parameters: