The Castle Doctrine Forums

Discuss the massively-multiplayer home defense game.

You are not logged in.

#1 2014-02-16 16:58:26

noxalis
Member
Registered: 2014-02-08
Posts: 11

If you step on an unpowered pit

If you step on an unpowered pit That gets powered the same turn you step on it, will you die or will the pit's hatch close before that happens?

Offline

#2 2014-02-16 17:00:03

colorfusion
Member
Registered: 2013-04-02
Posts: 537

Re: If you step on an unpowered pit

The trapdoor will close in time, saving you. The order of things happening is:

Player moves
Pets move
Pressure plates switched
Electronics calculated
Death checked

Offline

#3 2014-02-16 17:01:01

noxalis
Member
Registered: 2014-02-08
Posts: 11

Re: If you step on an unpowered pit

Okay thank you !

Offline

#4 2014-02-16 17:20:07

Hippasus
Member
Registered: 2013-09-03
Posts: 32

Re: If you step on an unpowered pit

Every move in TCD runs like this:

1. The player moves.
2. Pets move.
3. Electronics (and therefore traps) are updated.
4. The game calculates if you or any pets are killed.

So if you walk on a pit as it turns on you will survive, this is because the game tests if you die after the electronics update. The same is true for stepping on an electric floor as it turns off. Note that due to the move order you will not be able to step on a door as it opens, this is because movement occurs before the door opens.
You might be interested in the section on leaps of faith in the wiki.

Offline

Board footer

Powered by FluxBB 1.5.8