feat(scripts): the Assembly Engineer turret works as TURRET.lua

The turret (LOT 9303-9305, 12618) had no script: it fought as soon as it was spawned and lasted the generic 60
seconds. As TURRET.lua: its combat AI is off until it is built, it can't be stunned, interrupted, knocked back or
pulled, and it dies 30 seconds after it was placed once nobody is building it. Kill credit going to the builder is
not done. Check: summon the turret with Engineer gear: it doesn't shoot until built, then fights and goes away
after about 30 seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-29 09:25:37 -05:00
parent e0169a0a63
commit f35862b596
4 changed files with 70 additions and 0 deletions

View File

@@ -295,6 +295,7 @@
#include "CauldronOfLife.h"
#include "FountainOfImagination.h"
#include "Sunflower.h"
#include "Turret.h"
#include "BootyDigServer.h"
#include "PersonalFortress.h"
#include "PropertyDevice.h"
@@ -661,6 +662,7 @@ namespace {
//Scripted Equipment
{"scripts\\EquipmentScripts\\Sunflower.lua", []() {return new Sunflower();}},
{"scripts\\EquipmentScripts\\TURRET.lua", []() {return new Turret();}},
{"scripts/EquipmentScripts/AnvilOfArmor.lua", []() {return new AnvilOfArmor();}},
{"scripts/EquipmentScripts/FountainOfImagination.lua", []() {return new FountainOfImagination();}},
{"scripts/EquipmentScripts/CauldronOfLife.lua", []() {return new CauldronOfLife();}},