Complete Blob UI, Blob mobs now use complementary colors, special blob tiles refund, node requirement verb, minor refactors, remove shortcut improvement, dark matter removed from blob reagents, custom icons

This commit is contained in:
Arkatos1
2019-03-30 02:16:30 +01:00
parent b16ec46bff
commit a22d31f350
13 changed files with 95 additions and 21 deletions

View File

@@ -135,9 +135,9 @@
..()
if(overmind && overmind.blob_reagent_datum)
adjustcolors(overmind.blob_reagent_datum.color)
adjustcolors(overmind.blob_reagent_datum.complementary_color)
else
adjustcolors(color) //to ensure zombie/other overlays update
adjustcolors(overmind.blob_reagent_datum.complementary_color) //to ensure zombie/other overlays update
/mob/living/simple_animal/hostile/blob/blobspore/adjustcolors(var/a_color)
@@ -147,8 +147,8 @@
overlays.Cut()
overlays = human_overlays
var/image/I = image('icons/mob/blob.dmi', icon_state = "blob_head")
I.color = color
color = initial(color)//looks better.
I.color = overmind.blob_reagent_datum.complementary_color
color = initial(overmind.blob_reagent_datum.complementary_color)//looks better.
overlays += I
/////////////////

View File

@@ -4,6 +4,7 @@
icon_state = "blank_blob"
health = 200
fire_resist = 2
point_return = -1
var/mob/camera/blob/overmind = null // the blob core's overmind
var/overmind_get_delay = 0 // we don't want to constantly try to find an overmind, do it every 5 minutes
var/resource_delay = 0
@@ -120,7 +121,8 @@
B.mind.special_role = SPECIAL_ROLE_BLOB_OVERMIND
spawn(0)
if(is_offspring)
B.verbs -= /mob/camera/blob/verb/split_consciousness
B.is_offspring = TRUE
/obj/structure/blob/core/proc/lateblobtimer()
addtimer(CALLBACK(src, .proc/lateblobcheck), 50)

View File

@@ -4,6 +4,7 @@
icon_state = "blob_factory"
health = 100
fire_resist = 2
point_return = 18
var/list/spores = list()
var/max_spores = 3
var/spore_delay = 0
@@ -27,7 +28,7 @@
return 0
spore_delay = world.time + 100 // 10 seconds
var/mob/living/simple_animal/hostile/blob/blobspore/BS = new/mob/living/simple_animal/hostile/blob/blobspore(src.loc, src)
BS.color = color
BS.color = overmind.blob_reagent_datum.complementary_color
BS.overmind = overmind
overmind.blob_mobs.Add(BS)
return 0

View File

@@ -4,6 +4,7 @@
icon_state = "blank_blob"
health = 100
fire_resist = 2
point_return = 18
var/mob/camera/blob/overmind
/obj/structure/blob/node/New(loc, var/h = 100)

View File

@@ -4,6 +4,7 @@
icon_state = "blob_resource"
health = 30
fire_resist = 2
point_return = 12
var/mob/camera/blob/overmind = null
var/resource_delay = 0

View File

@@ -5,6 +5,7 @@
desc = "Some blob creature thingy"
health = 75
fire_resist = 2
point_return = 4
var/maxHealth = 75
/obj/structure/blob/shield/update_icon()
@@ -27,6 +28,7 @@
brute_resist = 0
health = 50
maxHealth = 50
point_return = 9
flags_2 = CHECK_RICOCHET_1
var/reflect_chance = 80 //80% chance to reflect

View File

@@ -4,6 +4,7 @@
icon_state = "blob_resource"
health = 30
fire_resist = 2
point_return = 12
var/mob/camera/blob/overmind = null
/obj/structure/blob/storage/update_icon()