Energy field generators Refactor/Tweak (#26919)

* Reduces range for energy seeking of generators, adds energy spreading and changes instances of power to energy. Containment field destructor no longer crashes when it has no connected generators

* review changes

* undef

* removes redundant line

* review changes
This commit is contained in:
Migratingcocofruit
2024-11-13 15:23:41 +02:00
committed by GitHub
parent 513a60ba69
commit 0218b541f2
3 changed files with 64 additions and 49 deletions
+1 -1
View File
@@ -726,7 +726,7 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
if(!F.active)
F.active = TRUE
F.state = 2
F.power = 250
F.energy = 125
F.anchored = TRUE
F.warming_up = 3
F.start_fields()