mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[MIRROR] Readds the tesla, reworks it a bit (#719)
* Readds the tesla, reworks it a bit (#53072) * Makes tesla movement nicer, fixes some atmos concerns, changes how energy is handled, and readds the tesla * readds delam and desc * I fucked it * flags * holy fuck * Constricts the zaps that can generate power from a tesla coil * *kick? * Readds the tesla, reworks it a bit Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
co-authored by
LemonInTheDark
parent
ffd21a9d50
commit
66a1e12afb
@@ -131,4 +131,10 @@
|
||||
return "<span class='warning'>It's falling apart!</span>"
|
||||
|
||||
/obj/structure/rust_heretic_act()
|
||||
take_damage(500, BRUTE, MELEE, 1)
|
||||
take_damage(500, BRUTE, "melee", 1)
|
||||
|
||||
/obj/structure/zap_act(power, zap_flags)
|
||||
if(zap_flags & ZAP_OBJ_DAMAGE)
|
||||
take_damage(power/8000, BURN, "energy")
|
||||
power -= power/2000 //walls take a lot out of ya
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user