mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-31 20:11:56 +00:00
A blob tile will light up when it is being pulsed by a core/node, adds crucial visual feedback when placing resources/factories. New shortcuts for the blob. Expand = CTRL Click - Rally = Middle Mouse Click - Create Shield = Alt Click Blobs can now talk to each other and ghosts can hear them. Thanks to /vg/ for this code. Removed the unnecessary AI quarantine code. Formated the blob code to use the standard.
17 lines
356 B
Plaintext
17 lines
356 B
Plaintext
// Blob Overmind Controls
|
|
|
|
|
|
/mob/camera/blob/CtrlClickOn(var/atom/A) // Expand blob
|
|
var/turf/T = get_turf(A)
|
|
if(T)
|
|
expand_blob(T)
|
|
|
|
/mob/camera/blob/MiddleClickOn(var/atom/A) // Rally spores
|
|
var/turf/T = get_turf(A)
|
|
if(T)
|
|
rally_spores(T)
|
|
|
|
/mob/camera/blob/AltClickOn(var/atom/A) // Create a shield
|
|
var/turf/T = get_turf(A)
|
|
if(T)
|
|
create_shield(T) |