mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
[MIRROR] Advanced Greyscale Sprite Generation (#4792)
* Advanced Greyscale Sprite Generation (#58112) * Nonfunctional greyscale code * Functional greyscale sprites via filter Probably going to set the icon instead later * Switches to greyscale json config * Adds the reference layer type and converts the other canister types * Working previews * Adds readme * Fixes overlays and breaking * Removes old canister sprites * Removes an unused var * Fixes tgui lints * Removes a bunch of the old canister icon states Yeah I need to fix relabeling as well * Removes some debug sprites * Sorts canister type list and breaks up base shader step * Removes an unnecessary preview hack * Makes prototype canister greyscale * Properly sizes the ui * Fills in the canister map sprite * Adds some more warnings to layers * Makes broken overlay more prominent * Removes a preview var that isn't needed anymore * Cleans up client ref in Destroy * Cleans up the tgui window a bit * Update GreyscaleModifyMenu.tsx * Animates the canister falling over * Removes a commented out line that's no longer needed Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com> * Advanced Greyscale Sprite Generation Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com> Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
var/mob/living/L = target
|
||||
if(istype(L))
|
||||
vv_update_display(target, "real_name", L.real_name || "No real name")
|
||||
|
||||
if(href_list[VV_HK_BASIC_CHANGE])
|
||||
modify_variables(target, target_var, 0)
|
||||
if(href_list[VV_HK_BASIC_MASSEDIT])
|
||||
@@ -77,6 +78,11 @@
|
||||
target._AddElement(lst)
|
||||
log_admin("[key_name(usr)] has added [result] [datumname] to [key_name(target)].")
|
||||
message_admins("<span class='notice'>[key_name_admin(usr)] has added [result] [datumname] to [key_name_admin(target)].</span>")
|
||||
if(href_list[VV_HK_MODIFY_GREYSCALE])
|
||||
if(!check_rights(NONE))
|
||||
return
|
||||
var/datum/greyscale_modify_menu/menu = new(target, usr)
|
||||
menu.ui_interact(usr)
|
||||
if(href_list[VV_HK_CALLPROC])
|
||||
usr.client.callproc_datum(target)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user