mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Works on New Blob
This commit is contained in:
25
code/modules/blob2/blobs/shield.dm
Normal file
25
code/modules/blob2/blobs/shield.dm
Normal file
@@ -0,0 +1,25 @@
|
||||
/obj/structure/blob/shield
|
||||
name = "thick blob"
|
||||
base_name = "thick"
|
||||
icon = 'icons/mob/blob.dmi'
|
||||
icon_state = "blob_shield"
|
||||
desc = "A solid wall of slightly twitching tendrils."
|
||||
max_integrity = 100
|
||||
point_return = 4
|
||||
|
||||
/obj/structure/blob/shield/core
|
||||
point_return = 0
|
||||
|
||||
/obj/structure/blob/shield/update_icon()
|
||||
..()
|
||||
if(integrity <= 75)
|
||||
icon_state = "blob_shield_damaged"
|
||||
desc = "A wall of twitching tendrils."
|
||||
else
|
||||
icon_state = initial(icon_state)
|
||||
desc = initial(desc)
|
||||
|
||||
if(overmind)
|
||||
name = "[base_name] [overmind.blob_type.name]"
|
||||
else
|
||||
name = "inert [base_name] blob"
|
||||
Reference in New Issue
Block a user