dkfans / keeperfx

Open source remake and Fan Expansion of Dungeon Keeper.
https://keeperfx.net/
GNU General Public License v2.0
765 stars 76 forks source link

Prison bug #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Put an enemy creature in your prison.
2.Happens if imps drag creatures to the prison or if you drop a enemy creature 
in yourself.
3.Only happens with enemies.

What is the expected output? What do you see instead?
The imprisoned creature leaves the prison but can still be picked up by you at 
any point (even if the creature is no longer in the prison).
The mentor will say "Your prisoners are escaping".

What version of the product are you using? On what operating system?
V 0.41_r683 on XP s.p 3

Please provide any additional information below.
Included save file loads with hero horned reaper in hand over prison, drop in 
to the prison to show bug.

Original issue reported on code.google.com by AdamRDoy...@gmail.com on 2 Feb 2013 at 9:48

Attachments:

GoogleCodeExporter commented 9 years ago
Addition info: This may only happen with prisons that were owned by a different 
keeper\hero. The prison from the save was a hero prison before i captured it 
myself and the reaper was a hero too. So this could be happening when a 
creature is dropped in to a prison that the creatures faction once owned. 

If a creature is dropped into a prison that never belonged to its faction the 
creature will stay in the prison but cannot be picked up by the player.

Original comment by AdamRDoy...@gmail.com on 2 Feb 2013 at 11:59

GoogleCodeExporter commented 9 years ago
Actually, escaping from the prison is a normal game function.

If prison is next to a player's slab (ie path or wall), then prisoners of that 
player have a chance of organizing an escape on every turn.

Being able to pick up non-imprisoned enemies was a bug - it's fixed in r684.

Original comment by mefistotelis on 3 Feb 2013 at 8:54