mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-30 11:32:20 +00:00
* Reworks the fishing minigame into a game screen object from a TGUI interface (#78052) Refactors fishing minigame from tgui window to dm screen objects * Reworks the fishing minigame into a game screen object from a TGUI interface --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
15 lines
471 B
Plaintext
15 lines
471 B
Plaintext
/datum/asset/spritesheet/fish
|
|
name = "fish"
|
|
|
|
/datum/asset/spritesheet/fish/create_spritesheets()
|
|
var/list/id_list = list()
|
|
for (var/path in subtypesof(/obj/item/fish))
|
|
var/obj/item/fish/fish_type = path
|
|
var/fish_icon = initial(fish_type.icon)
|
|
var/fish_icon_state = initial(fish_type.icon_state)
|
|
var/id = sanitize_css_class_name("[fish_icon][fish_icon_state]")
|
|
if(id in id_list) //no dupes
|
|
continue
|
|
id_list += id
|
|
Insert(id, fish_icon, fish_icon_state)
|