Ahh yes, "Reapers"

This commit is contained in:
Chakirski
2016-07-11 23:17:17 -05:00
parent 3626342f8c
commit f8ce4ed19d
3 changed files with 12 additions and 5 deletions
+7 -3
View File
@@ -813,11 +813,15 @@ The _flatIcons list is a cache for generated icon files.
if(4) I.pixel_y++
overlays += I//And finally add the overlay.
/proc/getHologramIcon(icon/A, safety=1)//If safety is on, a new icon is not created.
/proc/getHologramIcon(icon/A, double, safety=1)//If safety is on, a new icon is not created. Double is for 32x64 icons.
var/icon/flat_icon = safety ? A : new(A)//Has to be a new icon to not constantly change the same icon.
var/icon/alpha_mask
flat_icon.ColorTone(rgb(125,180,225))//Let's make it bluish.
flat_icon.ChangeOpacity(0.5)//Make it half transparent.
var/icon/alpha_mask = new('icons/effects/effects.dmi', "scanline")//Scanline effect.
if(double)
alpha_mask = new('icons/mob/reaper.dmi', "scanline2")//Scaline for tall icons.
else
alpha_mask = new('icons/effects/effects.dmi', "scanline")//Scanline effect.
flat_icon.AddAlphaMask(alpha_mask)//Finally, let's mix in a distortion effect.
return flat_icon
@@ -879,4 +883,4 @@ proc/sort_atoms_by_layer(var/list/atoms)
if(J) //Only set the icon if it succeeded, the icon without the pixel is 1000x better than a black square.
icon = J
return J
return 0
return 0
+5 -2
View File
@@ -815,7 +815,8 @@ var/list/ai_verbs_default = list(
"default",
"floating face",
"xeno queen",
"eldritch"
"eldritch",
"reaper"
)
input = input("Please select a hologram:") as null|anything in icon_list
if(input)
@@ -829,6 +830,8 @@ var/list/ai_verbs_default = list(
holo_icon = getHologramIcon(icon('icons/mob/AI.dmi',"holo3"))
if("eldritch")
holo_icon = getHologramIcon(icon('icons/mob/AI.dmi',"holo4"))
if("reaper")
holo_icon = getHologramIcon(icon('icons/mob/reaper.dmi', "reaper"), 1)
return
/mob/living/silicon/ai/proc/corereturn()
@@ -1040,4 +1043,4 @@ var/list/ai_verbs_default = list(
eyeobj.setLoc(get_turf(C))
client.eye = eyeobj
return 1
return 1
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB