I can start working on it this afternoon.
Still got a few question that I need some input on:
Should the tombstone be created for creeps that die of old age as well? I think it should and contain the resources the creep was carrying.
Should creeps that suicide()
create a tomstone? Maybe add this as an optional parameter (true
/false
)?
Should I add a FIND_TOMBSTONES
contant as well? Are there any other ways of how to access tombstones?
Should this replace the current dropToContainer
mechanic NPCs have? I think it should but it might break some peoples NPC raids or make them a lot less profitable until adjusting their code to tombstones.
Should room owners be able to remove()
/destroy()
tombstones before their ticksToDecay reached 0?
@artch said in Creep death: more than just a delete:
- One tombstone per creep, no stacking.
What do you mean with this? If multiple creeps die at the same RoomPosition, should there be multiple tombstones, one for each creep?
@artch said in Creep death: more than just a delete:
What is this supposed to mean? No creep actions against tombstones? I previously thought about allowing Creep#withdraw
(see NPC containers above), but this got me thinking. If withdraw isn't allowed it just delays resource decay, does it?