View Issue Details

IDProjectCategoryView StatusLast Update
0005013Dwarf FortressDwarf Mode -- Interface, Building Constructionpublic2012-12-25 07:57
Reporterflamoot Assigned To 
PrioritylowSeveritytweakReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSLinuxOS VersionSlackware 13.0
Product Version0.31.25 
Summary0005013: Some movement-blocking buildings (windows) can be built diagonally, others (statues) can't
DescriptionOK. Here's an example. Let's say you've got

...
===
===

Where the three .'s at the top are open spaces and the six ='s are rock. So you dig out the middle column

...
= =
= =

I hope this is fixed-width. Well, if you can imagine, now you can build a bridge or a floor on the second period, that is, at the top of the column you dug out. But if you try to build anything on the first or third period, diagonally adjacent to the floor you dug out south of the chasm, you get "needs walkable perimeter". You have to have floor to the north, south, east or west of a construction over open space, but not to the northwest, northeast, southwest or southeast.

I saw this another time, the first time, when it made even less sense. Hanging things over open space might need more than the corner connected, eh, but it was like a building or something that said needs non-economic material, I think, when there was a diagonal space it could have been reached through.

So please don't close this right away. Because I'll try to find my original example and note it here. Like I said it makes less sense and this points to not everything being changed to use eight directions when Toady One changed to that everywhere else in the game

tl;dr: Some checks for a path only use four directions not eight. This happens other places but mostly when building
Steps To ReproduceSee description
Additional InformationSorry about this. ilu

flamoot
TagsNo tags attached.

Activities

flamoot

2012-01-10 14:38

reporter   ~0019340

Last edited: 2012-01-10 15:10

See no-one closed it yet

I knew this was real

But it is probably a duplicate of something

I forgot to mention. If you build statues in an L against a corner there are problems with getting the corner statue constructed that might be related to this

Logical2u

2012-01-10 15:52

manager   ~0019342

Changed the text to fixed width - anyone can do this themselves, however, using the "code" html tag.

user6

2012-01-10 16:18

  ~0019343

Yes, we're going to need another example. Diagonal connections don't support structures, so you shouldn't be able to build that hanging floor anyway.

flamoot

2012-01-10 17:14

reporter   ~0019344

Last edited: 2012-01-10 17:16

Damn, I wish I remembered the other time this happened, then. There really was a less sensible case. Let me try a bunch of things and get back

In the meantime I hope this serves as a heads-up about the issue in general. It might pop up a few places

flamoot

2012-01-11 02:10

reporter   ~0019347

Last edited: 2012-01-11 02:13

Got an idea: I will try doing just what I described but with the ground in place of the channels. See if it counts the diagonal as "walkable perimeter" in the same instance, for a bridge, when there's no need to -hang- it. Let's just see. It certainly sounds like the kind of thing I was trying to do when I saw this the other and worse time

In a cave I have some rock

OOO
OOO
OOX

Where O is rock and X is not

So I specced a hole

OOO
OXO
OOX

And I'll try putting my bridge on the middle X. I bet you it doesn't let me! I bet you it says needs walkable perimeter. Betcha this cigarette. Well, it's gone. Not sure what I meant by that anyway

Can you kind of see why I didn't report this the first time. It's kind of hard to reproduce. Most of the time you'd incidentally have a north-west-south-or-eastly-adjacent tile near the space anyway even if the diagonal connection was the one you noticed, or meant, or whatever. And I bet this is why they can't get statues into crowded corners properly.

And let me apologize: they inject me with tranquilizers that make it hard to be myself because I started a fire in a park when I was homeless and drunk then lied to the police about it when they showed up, so a friend gave me a lot of Ritalin today to help me feel better and it does :P

flamoot

2012-01-11 03:22

reporter   ~0019348

Guess what? It works. I mean, doesn't!

In my description, where "." meant "pit", consider it to mean "floor". The four diagonally adjacent tiles aren't considered walkable perimeter even for the purposes of sitting a bridge right on the ground. Try to place a Statue there, it says:

No access

How about a chest?

I can put a chest.

So go -figure-

flamoot

2012-01-11 03:25

reporter   ~0019349

Last edited: 2012-01-11 04:36

Heck I went and told a friend about this [because I'm so excited!] even though he barely plays the game ever. I'll quote it here because the contents of this email are harmless and contain fun background about me, flamoot

Check it out. I've never had a DF bug stay open this long without
getting closed as a duplicate or misunderstood and closed or spoiled
by me talking on and on til I revealed I hacked a RAW and getting it
closed after all which reminds me I think my savegame bug was open
longer than this one but they closed it. I don't think they'll close
this one, so far it's not a duplicate and I think I proved it's real

http://www.bay12games.com/dwarves/mantisbt/view.php?id=5013

It helps to have other coders look at your stuff and I knew he'd
switched from 4 directions to 8 from the podcast so I figured there
are artifactual 4-direction behaviours, vestigial ones rather

I hope I'm right because it would mean I'm so smart

flamoot

2012-01-11 07:46

reporter   ~0019350

Last edited: 2012-01-11 07:46

You guys are asking toady one if it's a bug, I can tell, or you are gonna anyway

This is so cool

Sorry about this again

flamoot

2012-01-13 04:13

reporter   ~0019371

ilu all

Kogut

2012-01-13 05:10

reporter   ~0019373

Not a bug as it is possible to build stuff only in four directions.

XW
WD

W - wall
D - dwarf
X - empty space

Dwarf will be unable to build wall in X

user6

2012-01-13 07:00

  ~0019375

Last edited: 2012-01-13 07:00

Are there any buildings/constructions that can be built diagonally? If not, I'm going to agree that this isn't a bug.

flamoot

2012-01-13 08:32

reporter   ~0019376

YES there are

Look up, it -did- let me build a chest in the diagonal hole

But -not- a statue or even a non-hanging bridge

Whether the bridge is hanging or not, checking that, could be an oversight, so that a bridge needs a face connected even if it's on ground, rather than a bug

But why can I -not- build a statue but -yes- a chest?

user11

2012-01-13 08:49

  ~0019377

Chests do not block movement and can be built from the same square; statues block movement and can only be built from an adjacent square - and not from a diagonal.

I only tested the chest and statue mentioned here.

flamoot

2012-01-13 09:19

reporter   ~0019379

Last edited: 2012-01-13 09:22

Well, is that a vestigial behaviour, anyway? Shouldn't we be able to make constructions from a diagonal in the eight-direction model?

What about a window? Oh sigh, I'll try it myself, I already have some. I'll try a few things. Phoo

flamoot

2012-01-13 09:24

reporter   ~0019381

As far as I can tell from dwarves who locked themselves out of places I was shutting off with a glass window, and if I recall, dwarves stand -next to- where the window is ordered, not -on- it. But I -can- build a window in a diagonal hole while I cannot build a wall or a statue both of which you -also- stand next to, to build

So?!

flamoot

2012-01-13 13:32

reporter   ~0019385

Note also that if you want to build statues around the perimeter of a room or just in an L shape in a corner, you can spec the statues all at once but they can deliver them in such an order as to make delivering the corner statue impossible... I don't believe it suspends construction, either, it just says need furniture hauling or almost completed, ah, forever, then when you remove the build order the statue that was meant to be there will appear one tile away. Which just, that's not intentional, is it?

It's symptomatic of this here bug

flamoot

2012-01-14 07:25

reporter   ~0019387

Last edited: 2012-01-14 07:27

Windows block pathing like statues and walls so either you -shouldn't- be able to build them on a diagonal or you -should- be able to squeeze a statue into a corner between two blocks, like you can a window, at least

I can see the corner not allowing enough access to build a wall. But I'd -like- to be able to build walls diagonally too and I -think- we're supposed to be able to in the 8-direction model

Not being able to hang a floor over a chasm when it's connected at only a corner, that's probably not a bug (even if that correct behaviour is -caused by- this bug...)

On that I agree

(Oh, thanks for changing my summary. I think my old one is more comprehensive still, though)

Add Note

Note

Issue History

Date Modified Username Field Change
2012-01-10 13:57 flamoot New Issue
2012-01-10 14:38 flamoot Note Added: 0019340
2012-01-10 15:10 flamoot Note Edited: 0019340
2012-01-10 15:51 Logical2u Description Updated
2012-01-10 15:52 Logical2u Note Added: 0019342
2012-01-10 15:52 Logical2u Description Updated
2012-01-10 16:12 user6 Description Updated
2012-01-10 16:16 user6 Description Updated
2012-01-10 16:18 user6 Note Added: 0019343
2012-01-10 16:18 user6 Tag Attached: AWAITING UPDATE
2012-01-10 17:14 flamoot Note Added: 0019344
2012-01-10 17:16 flamoot Note Edited: 0019344
2012-01-11 02:10 flamoot Note Added: 0019347
2012-01-11 02:11 flamoot Note Edited: 0019347
2012-01-11 02:13 flamoot Note Edited: 0019347
2012-01-11 02:13 flamoot Note Edited: 0019347
2012-01-11 03:22 flamoot Note Added: 0019348
2012-01-11 03:25 flamoot Note Added: 0019349
2012-01-11 04:36 flamoot Note Edited: 0019349
2012-01-11 07:46 flamoot Note Added: 0019350
2012-01-11 07:46 flamoot Note Edited: 0019350
2012-01-13 04:13 flamoot Note Added: 0019371
2012-01-13 05:10 Kogut Note Added: 0019373
2012-01-13 05:10 Kogut Tag Attached: Not a bug
2012-01-13 07:00 user6 Note Added: 0019375
2012-01-13 07:00 user6 Tag Detached: Not a bug
2012-01-13 07:00 user6 Note Edited: 0019375
2012-01-13 07:00 user6 Note Edited: 0019375
2012-01-13 08:32 flamoot Note Added: 0019376
2012-01-13 08:49 user11 Note Added: 0019377
2012-01-13 09:19 flamoot Note Added: 0019379
2012-01-13 09:21 flamoot Note Edited: 0019379
2012-01-13 09:22 flamoot Note Edited: 0019379
2012-01-13 09:24 flamoot Note Added: 0019381
2012-01-13 10:03 user6 Summary Some path finding still uses the old four directions only => Some movement-blocking buildings (windows) can be built diagonally, others (statues) can't
2012-01-13 13:32 flamoot Note Added: 0019385
2012-01-14 07:25 flamoot Note Added: 0019387
2012-01-14 07:26 flamoot Note Edited: 0019387
2012-01-14 07:27 flamoot Note Edited: 0019387
2012-01-14 07:27 flamoot Note Edited: 0019387
2012-12-25 07:57 user11 Tag Detached: AWAITING UPDATE