PTR is updated.
Thank all of you for your feedback and suggestions!
Strongholds claim rooms where they appear (setting RCL to 8 instantly) and unclaim them when destroyed or decayed. It would make a room more like a player's room and solve some inconsistencies.
Strongholds will clear its area when being deployed removing all room objects there.
Nuke impact is updated: now creeps that killed by nukes don't leave tombstones and structures destroyed by nukes don't leave ruins. Also, all existing tombstones and ruins will be removed when a nuke lands. So it's still possible to destroy a Stronghold with a nuke, but you won't have the loot, and new Stronghold will be deployed to the same sector shortly which means that you'll not have an invasion-free time either.
Ruin.structureTypeis replaced by
Ruin.structure- it's an instance of
OwnedStructurewith basic data about the destroyed structure: identifier, type, owner (for
OwnedStructure), hits. Remember that this is an instance of
OwnedStructure, not an instance of a real structure class (like
StructureStorage). Also, we removed
myproperties from ruins because they exist in
StructurePowerBanknow leave ruin with 10 TTL (see
RUIN_DECAY_STRUCTURESconstant). We believe that the challenge of bringing enough haulers just about time must be preserved.
RoomObject.effectsis reworked, now the
effectfield is mandatory, and it contains the identifier of both power and non-power effects. Also, we're preserving the
powerfield (now it contains id for non-power effect either) for sake of backward compatibility (although using it is not recommended, this is why it's removed from the documentation; consider it deprecated). This is done to make new effects less breaking.
When a player despawns, his structures are being turned into ruins with 500000 TTL
Nuke land doesn't reduce
upgradeBlockedof a controller if it's over 200 ticks
Fixed few bugs and regressions
It's still not the final state of Strongholds, but definitely a few steps closer.
As usual, your suggestions and reports are appreciated!