diff --git a/code/modules/mob/living/silicon/robot/custom_sprites.dm b/code/modules/mob/living/silicon/robot/custom_sprites.dm index 310f558badb..b189e1a84c1 100644 --- a/code/modules/mob/living/silicon/robot/custom_sprites.dm +++ b/code/modules/mob/living/silicon/robot/custom_sprites.dm @@ -11,7 +11,7 @@ GLOBAL_LIST_EMPTY(robot_custom_icons) GLOB.robot_custom_icons = list() for(var/line in lines) //split entry into ckey and real_name - var/list/split_idx = splittext(line, "-") //this works if ckeys and borg names cannot contain dashes, and splittext starts from the beginning ~Mech + var/list/split_idx = splittext(line, "|") //this was set to a - before, even though a good 30% of the borgs I see have a - in their name, set it to | instead if(!split_idx || !split_idx.len) continue //bad entry @@ -32,3 +32,9 @@ GLOBAL_LIST_EMPTY(robot_custom_icons) icon = CUSTOM_ITEM_SYNTH if(icon_state == "robot") icon_state = "[ckey]-[sprite_name]-Standard" //Compliant with robot.dm line 236 ~Mech +// To summarize, if you want to add a whitelisted borg sprite, you have to +// 1. Add ckey and character name to config/custom_sprites, separated by a | +// 2. Add your custom sprite to custom_synthetic.dmi under icon/mob/custom_synthetic.dmi +// 3. Name the sprite, and all of its components, as ckey-charname-module +// Note that, due to the last couple lines of code, your sprite may appear invisible until you select a module. +// You can fix this by adding a 'standard' configuration, or you could probably just ignore it if you're lazy. \ No newline at end of file diff --git a/config/alienwhitelist.txt b/config/alienwhitelist.txt index d182272b991..38ceab2843f 100644 --- a/config/alienwhitelist.txt +++ b/config/alienwhitelist.txt @@ -19,6 +19,7 @@ inuzari - Diona jademanique - Xenochimera jemli - Gutter ktccd - Diona +lunarfleet - Gutter mewchild - Diona mewchild - Vox mrsebbi - Xenochimera diff --git a/config/custom_sprites.txt b/config/custom_sprites.txt index db3930a4ae2..b99307d173f 100644 --- a/config/custom_sprites.txt +++ b/config/custom_sprites.txt @@ -1 +1,3 @@ -ckey-state \ No newline at end of file +ckey|state +lunarfleet|Clea-Nor +jademanique|B.A.U-Kingside \ No newline at end of file diff --git a/icons/mob/custom_synthetic.dmi b/icons/mob/custom_synthetic.dmi index e69de29bb2d..8c9cd318f75 100644 Binary files a/icons/mob/custom_synthetic.dmi and b/icons/mob/custom_synthetic.dmi differ