mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-19 05:09:49 +01:00
6ab8ea768d
* Port iconforge * Convert kitchen_icons for the microwave to iconforge * Fix to pass lint * brings thsoe back * Re-enable cross round caching for normal spritesheets --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
14 lines
419 B
Plaintext
14 lines
419 B
Plaintext
/datum/asset/spritesheet_batched/kitchen_recipes
|
|
name = "kitchen_recipes"
|
|
|
|
/datum/asset/spritesheet_batched/kitchen_recipes/create_spritesheets()
|
|
for(var/datum/recipe/R as anything in subtypesof(/datum/recipe))
|
|
var/key = sanitize_css_class_name("[R.type]")
|
|
|
|
var/atom/item = R.result
|
|
var/datum/universal_icon/icon = get_display_icon_for(item)
|
|
if(!icon || !icon.icon_file)
|
|
continue
|
|
|
|
insert_icon(key, icon)
|