Why doesn't TAB treat a submerged space as a target?


Although the central place for design discussion is ##crawl-dev on freenode, some may find it helpful to discuss requests and suggestions here first.

User avatar

Ziggurat Zagger

Posts: 5832

Joined: Thursday, 10th February 2011, 18:30

Post Saturday, 26th July 2014, 20:25

Why doesn't TAB treat a submerged space as a target?

Why doesn't tab move the player towards submerged spaces?

I can only guess that there are some cases where where a submerged space isn't a target of opportunity; for example if the submerged space is an ally.
"Be aware that a lot of people on this forum, such as mageykun and XuaXua, have a habit of making things up." - minmay a.k.a. duvessa
Did I make a lame complaint? Check for Bingo!
Totally gracious CSDC Season 2 Division 4 Champeen!

For this message the author XuaXua has received thanks:
Sar
User avatar

Dungeon Master

Posts: 502

Joined: Wednesday, 7th March 2012, 13:25

Location: Lexington, KY, US

Post Saturday, 26th July 2014, 22:50

Re: Why doesn't TAB treat a submerged space as a target?

XuaXua wrote:Why doesn't tab move the player towards submerged spaces?

I can only guess that there are some cases where where a submerged space isn't a target of opportunity; for example if the submerged space is an ally.


What should it do when the monster doesn't unsubmerge when you are adjacent? Step onto the monster or ignore it entirely?

Crypt Cleanser

Posts: 723

Joined: Monday, 9th June 2014, 13:39

Post Sunday, 27th July 2014, 00:59

Re: Why doesn't TAB treat a submerged space as a target?

What file has that code, neil?

Spider Stomper

Posts: 224

Joined: Monday, 19th November 2012, 04:56

Post Sunday, 27th July 2014, 01:27

Re: Why doesn't TAB treat a submerged space as a target?

neil wrote:
XuaXua wrote:Why doesn't tab move the player towards submerged spaces?

I can only guess that there are some cases where where a submerged space isn't a target of opportunity; for example if the submerged space is an ally.


What should it do when the monster doesn't unsubmerge when you are adjacent? Step onto the monster or ignore it entirely?


It should reach into the code and remove all references to submersion probably

For this message the author RBrandon has received thanks: 2
Arrhythmia, Sar
User avatar

Ziggurat Zagger

Posts: 5832

Joined: Thursday, 10th February 2011, 18:30

Post Sunday, 27th July 2014, 03:45

Re: Why doesn't TAB treat a submerged space as a target?

neil wrote:
XuaXua wrote:Why doesn't tab move the player towards submerged spaces?

I can only guess that there are some cases where where a submerged space isn't a target of opportunity; for example if the submerged space is an ally.


What should it do when the monster doesn't unsubmerge when you are adjacent? Step onto the monster or ignore it entirely?


If there is distance between the player and the submerged spot, TAB should close the distance to the point of adjacency, even if the weapon has reachable (since the monster would conceivably still be submerged).
If you are adjacent to the submerged spot, It should do exactly what it would do if it can't path to a monster behind a glass wall or behind some bushes/trees : nothing.
"Be aware that a lot of people on this forum, such as mageykun and XuaXua, have a habit of making things up." - minmay a.k.a. duvessa
Did I make a lame complaint? Check for Bingo!
Totally gracious CSDC Season 2 Division 4 Champeen!
User avatar

Dungeon Master

Posts: 502

Joined: Wednesday, 7th March 2012, 13:25

Location: Lexington, KY, US

Post Sunday, 27th July 2014, 15:51

Re: Why doesn't TAB treat a submerged space as a target?

Aule wrote:What file has that code, neil?


Autofight is in dat/clua/autofight.lua, and our C++-lua interface is in l_*.cc

For this message the author neil has received thanks:
Aule

Return to Game Design Discussion

Who is online

Users browsing this forum: No registered users and 19 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.