Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Need help with a custom worshop going invisible  (Read 137 times)

Chori

  • Escaped Lunatic
    • View Profile
Need help with a custom worshop going invisible
« on: October 02, 2025, 07:48:31 pm »

i wanna make a 1*1 workshop like the quern or screw press, not like everyone else is making 3*3 or 5*5 huge skysrapers.

but i have a bit of a problem, probably a rofl one.  My building is invisible while placing, visible when placed and invisible again when it is built. What's going on, friends?

Spoiler (click to show/hide)
Spoiler (click to show/hide)
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Need help with a custom worshop going invisible
« Reply #1 on: October 03, 2025, 02:49:39 pm »

but i have a bit of a problem, probably a rofl one.  My building is invisible while placing, visible when placed and invisible again when it is built. What's going on, friends?

Spoiler (click to show/hide)

The WORKSHOP_CUSTOM:CULT_BUILDING:0 entry is only for the "construction pending" graphic - you also need WORKSHOP_CUSTOM:CULT_BUILDING:1 for when it's actually fully built (as well as for the preview while you're placing it). The stock building graphics raws state that the "zero stage" graphics are provided automatically if you don't add them yourself, so you might just be able to change that one line in order to fix it (unless you want unique graphics for placed-but-not-yet-built).

For larger buildings (like the soap maker's workshop), stage 0 is "pending", stages 1 and 2 are "partial", and stage 3 is "complete".
« Last Edit: October 03, 2025, 02:54:14 pm by Quietust »
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Chori

  • Escaped Lunatic
    • View Profile
Re: Need help with a custom worshop going invisible
« Reply #2 on: October 05, 2025, 09:36:30 am »

you also need WORKSHOP_CUSTOM:CULT_BUILDING:1 for when it's actually fully built
oooooh now i get it, thx!!!
Logged