mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Door damage fixes (#22975)
I had accidentally made doors unbreakable, except by anti_material weapons, like the PEAC and ship weapons. This fixes that. Two PEAC shots will still destroy any normal door. This is mostly a bugfix, the increase to door armour only compensates for them being mortal again. PEAC basically ignore armor with their 35AP and 100+ damage to structures. Regular weapons weaker than a laser rifle still cannot completely destroy a door. It takes an STS ~90 rounds to destroy a blast door. https://github.com/user-attachments/assets/840514c1-b3a5-4de7-bd81-8651781502dd changes: - bugfix: "Doors and blast doors can be destroyed again with enough sustained damage." - bugfix: "Fixes doors 'breaking' repeatedly, when hit at 0 health." - bugfix: "Fixes doors taking damage twice when hit by projectiles. This also fixes projectiles ignoring a door's armour." - balance: "Increased the armor values on blast doors and vault doors." - rscadd: "Added a brief particle effect when a door is destroyed."
This commit is contained in:
@@ -16,6 +16,21 @@
|
||||
icon = 'icons/effects/native_particles.dmi'
|
||||
icon_state = "cooking_smoke"
|
||||
|
||||
/particles/door_destruction
|
||||
name = "door destruction"
|
||||
width = 256
|
||||
height = 256
|
||||
count = 150
|
||||
spawning = 12
|
||||
lifespan = 20
|
||||
fade = 12
|
||||
position = generator("box", list(-24, -8, 0), list(24, 16, 48))
|
||||
gravity = list(0.5, 0)
|
||||
friction = 0.2
|
||||
drift = generator("sphere", 0, 1.5)
|
||||
icon = 'icons/effects/native_particles.dmi'
|
||||
icon_state = "cooking_smoke"
|
||||
|
||||
/particles/bar_smoke
|
||||
width = 256
|
||||
height = 256
|
||||
@@ -112,6 +127,9 @@
|
||||
render_target = HEAT_EFFECT_PLATE_RENDER_TARGET
|
||||
appearance_flags = PIXEL_SCALE | NO_CLIENT_COLOR
|
||||
|
||||
/obj/particle_emitter/door_destruction
|
||||
particle_type = "door destruction"
|
||||
|
||||
|
||||
/obj/particle_emitter/heat/Initialize()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user