Skip to content

area turrets no longer rely on an area's type to work

Rob Nelson requested to merge pull/9039/areaturrets into Bleeding-Edge

Created by: Intigracy

  1. Area turrets now check if the area it's in has turret_protected set. If it doesn't, the turret deletes itself and yells at admins.
  2. area/turret_protected/ is now simply for the var to be set, rather than having a bunch of procs unique to it. The procs are now on area/
  3. Area turrets now have a faction var. Self explanatory, it won't shoot things that have the same faction var, just like simple mobs. The faction var check is before all other checks, so in no instance will a turret shoot something that's the same faction as it.
  4. Area turrets now have a shootsilicon var, this is mostly for vault usage. I'm willing to add this as a toggle to all turret controls if the want is great enough.
  5. Turrets set to stun now shoot mobs it would before only shoot while set to lethal. The exception is for mobs that are knocked down from being stunned (or are dead), the turrets set to stun stop shooting them just as before.
  6. Added a /destroy() proc for turrets since it has a cover var.
  7. A bunch of partial pathing fixing.

Tested as best I can.

Merge request reports