mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Object pool for beam projectile, minor changes to object pool.
Conflicts: code/WorkInProgress/Cael_Aislinn/Rust/gyrotron.dm code/WorkInProgress/Cael_Aislinn/Supermatter/ZeroPointLaser.dm code/game/objects/structures/grille.dm code/modules/power/singularity/emitter.dm code/modules/projectiles/projectile.dm code/modules/projectiles/projectile/beams.dm
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
var/health = 10
|
||||
var/destroyed = 0
|
||||
|
||||
|
||||
resetVariables()
|
||||
destroyed = initial(destroyed)
|
||||
health = initial(health)
|
||||
|
||||
/obj/structure/grille/fence/
|
||||
var/width = 3
|
||||
health = 50
|
||||
@@ -242,13 +247,3 @@
|
||||
health -= 1
|
||||
healthcheck()
|
||||
..()
|
||||
|
||||
|
||||
/obj/structure/grille/resetVariables()
|
||||
density = initial(density)
|
||||
icon_state = initial(icon_state)
|
||||
destroyed = initial(destroyed)
|
||||
health = initial(health)
|
||||
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user