Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: custom workshop shifting during construction  (Read 457 times)

mOVING_tARGET84

  • Escaped Lunatic
    • View Profile
custom workshop shifting during construction
« on: December 20, 2022, 02:36:13 pm »

dipping my toe into custom workshop / reactions and my custom workshop appears up 1 square and right 1 square from the designated location after being built.
it also registers blockers in that location as opposed to the designated location.

i think my error is from one of the two below files but i am not familiar enough to spot it or if it might be from another file please let me know.

object:graphics
Spoiler (click to show/hide)

object:building
Spoiler (click to show/hide)
Logged

mOVING_tARGET84

  • Escaped Lunatic
    • View Profile
Re: custom workshop shifting during construction
« Reply #1 on: December 20, 2022, 08:17:03 pm »

ive updated the object:building to be as basic as i can make it issue is unchanged.

Spoiler (click to show/hide)
Logged

MrGlasses

  • Bay Watcher
    • View Profile
Re: custom workshop shifting during construction
« Reply #2 on: January 08, 2023, 03:18:10 pm »

The issue is your work location; If it's set to the center, when you place the workshop it will be placed in the center, however, if you have the work location off by 1 on the y axis, you'll see the building, when placed, off by 1 on the y axis.

If you set the work location to 3:1 in this case, you'll see no shift when placed.
Logged