Adds bullet impact particle effects! (#25177)

* Initial commit

* Cleaning up + more debris

* Adds missing trailing newline

* CI doesn't like these and starts an infinite loop it seems

* Hacky solution? I call it fixing CI

* Final fixes
This commit is contained in:
DGamerL
2024-05-06 19:44:14 +00:00
committed by GitHub
parent a750e3596e
commit b04bdf4ff9
14 changed files with 187 additions and 3 deletions
+1
View File
@@ -42,6 +42,7 @@
var/turf/T = get_step(src, dir)
if(istype(T, /turf/simulated/mineral/random))
Spread(T)
AddComponent(/datum/component/debris, DEBRIS_ROCK, -20, 10, 1)
/turf/simulated/mineral/proc/Spread(turf/T)
T.ChangeTurf(type)
+1
View File
@@ -61,6 +61,7 @@
underlay_appearance.icon_state = fixed_underlay["icon_state"]
fixed_underlay = string_assoc_list(fixed_underlay)
underlays += underlay_appearance
AddComponent(/datum/component/debris, DEBRIS_SPARKS, -20, 10, 1)
/turf/simulated/wall/BeforeChange()
for(var/obj/effect/overlay/wall_rot/WR in src)
+2 -2
View File
@@ -2,10 +2,10 @@
name = "mineral wall"
desc = "This shouldn't exist"
icon_state = ""
var/last_event = 0
var/active = FALSE
smoothing_flags = SMOOTH_BITMASK
canSmoothWith = null
var/last_event = 0
var/active = FALSE
/turf/simulated/wall/mineral/shuttleRotate(rotation)
return //This override is needed to properly rotate the object when on a shuttle that is rotated.