mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-31 07:58:22 +01:00
Technomancer Fixes
-Instability no longer causes a feedback loop if a bunch of people are clumped together. -Fixes runtime with illusions -Fixes carbonmob illusions not copying appearance correctly.
This commit is contained in:
@@ -273,6 +273,7 @@
|
||||
var/outgoing_instability = (amount) * ( 1 / (radius**2) )
|
||||
|
||||
L.receive_radiated_instability(outgoing_instability)
|
||||
src.adjust_instability(-outgoing_instability) //This should prevent feedback loops
|
||||
|
||||
// This should only be used for EXTERNAL sources of instability, such as from someone or something glowing.
|
||||
/mob/living/proc/receive_radiated_instability(amount)
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
if(pay_energy(500))
|
||||
illusion = new(T)
|
||||
illusion.copy_appearance(copied)
|
||||
illusion.copy_overlays(copied, TRUE)
|
||||
to_chat(user, "<span class='notice'>An illusion of \the [copied] is made on \the [T].</span>")
|
||||
user << 'sound/effects/pop.ogg'
|
||||
return 1
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
appearance = thing_to_copy.appearance
|
||||
copying = thing_to_copy
|
||||
density = thing_to_copy.density // So you can't bump into objects that aren't supposed to be dense.
|
||||
catalogue_data = thing_to_copy.catalogue_data.Copy()
|
||||
catalogue_data = thing_to_copy.get_catalogue_data()
|
||||
catalogue_delay = thing_to_copy.catalogue_delay
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user