Skip to content

Commit

Permalink
moved to diff module
Browse files Browse the repository at this point in the history
  • Loading branch information
Furrior committed Sep 16, 2023
1 parent a15b6ac commit 95f05f9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions modular_ss220/_misc/_misc.dme
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#include "_misc.dm"

#include "code/icons.dm"
2 changes: 2 additions & 0 deletions modular_ss220/_misc/code/icons.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/proc/flatbicon(obj, use_class = TRUE)
return bicon(getFlatIcon(obj))
4 changes: 4 additions & 0 deletions modular_ss220/_misc/misc.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/datum/modpack/misc
name = "Различное"
desc = "Различные полезные функции, которые обязательно(нет) кому то понадобятся"
author = "furior"
3 changes: 0 additions & 3 deletions modular_ss220/debug/code/icons.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/proc/flatbicon(obj, use_class = TRUE)
return bicon(getFlatIcon(obj))

/atom/proc/download_flaticon()
var/icon/I = getFlatIcon(src)
usr << ftp(I, "[name].png")

0 comments on commit 95f05f9

Please sign in to comment.