This commit is contained in:
Chakirski
2016-07-12 11:19:48 -05:00
parent 388dcfd889
commit 304b861fd4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -813,12 +813,12 @@ 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, double, safety=1)//If safety is on, a new icon is not created. Double is for 32x64 icons.
/proc/getHologramIcon(icon/A, 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.
if(double)
if(A.Height() == 64)
alpha_mask = new('icons/mob/reaper.dmi', "scanline2")//Scaline for tall icons.
else
alpha_mask = new('icons/effects/effects.dmi', "scanline")//Scanline effect.
+1 -1
View File
@@ -831,7 +831,7 @@ var/list/ai_verbs_default = list(
if("eldritch")
holo_icon = getHologramIcon(icon('icons/mob/AI.dmi',"holo4"))
if("reaper")
holo_icon = getHologramIcon(icon('icons/mob/reaper.dmi', "reaper"), 1)
holo_icon = getHologramIcon(icon('icons/mob/reaper.dmi', "reaper"))
return
/mob/living/silicon/ai/proc/corereturn()