Bay 12 Games Forum

Dwarf Fortress => DF Modding => Topic started by: Il Palazzo on June 28, 2010, 11:01:43 am

Title: Help modding a custom workshop to use building designer skill.
Post by: Il Palazzo on June 28, 2010, 11:01:43 am
Howdy,
I'm by no means an experienced modder, been using only a few changes to entity_default so far. Recently I thought I'd add a custom workshop to serve as an "arranged totem" of sorts, as I'm killing a lot of evil buggers and want all their heads sitting nicely in my showroom.
I've copied somebody elses "display case" custom workshop and have no complains to how it works.
However, I'd like this building to cause positive thoughts from the quality of it's design("arrangement") and construction, like e.g. depots and forges do.
Is this at all possible?
I've tried changing [BUILD_LABOR] to [ARCHITECT], but all it does is make my architect construct the thing, not design it.

Can anybody help here, or at least confirm if it's at all impossible?
Thanks in advance.
Title: Re: Help modding a custom workshop to use building designer skill.
Post by: Shaostoul on June 28, 2010, 01:03:16 pm
Building design is far different than what you are thinking it is.

It's not how it's all nice and pretty, it's how well made and functional it is. It acts much like an item, I've noticed increased reaction work times from masterwork buildings and good thoughts.

DESIGNBUILDING

is the tag you're looking for if you want your building designer to construct it.

This sorta information is on my guide. See signature.

I never really noticed building levels in early forts, either because of lack of skill level or lack of the building designer position or whatever it is.
Title: Re: Help modding a custom workshop to use building designer skill.
Post by: Il Palazzo on June 28, 2010, 04:36:26 pm
Thanks for the response, buddy, even though it didn't help.

To clarify, I did read your guide on the wiki, but it does not include any such information in the "creating your first custom workshop"(or whatever it's called) section.
DESIGNBUILD is there listed as a skill, true. But how do I make any use of it?
Simply adding the tag into my custom building raws doesn't do a thing - it's completely ignored.

And I don't really care about design decreasing worktimes(haven't noticed any such effects, but I'll take your word for it), as I'm only concerned with the value boost and positive thoughts generation.

If you think you could clarify how exactly make the building designable I'd be grateful.

here's the raw for refference:
Code: [Select]
[BUILDING_WORKSHOP:UPRIGHT_TOTEM]
[NAME:Upright Totem]
[NAME_COLOR:7:0:1]
[DIM:1:1]
[WORK_LOCATION:1:1]
[BUILD_LABOR:CARPENTER]
[BLOCK:1:0]
[TILE:0:1:'#']
[COLOR:0:1:0:7:0]
[TILE:1:1:'#']
[COLOR:1:1:0:7:0]
[TILE:2:1:'#']
[COLOR:2:1:0:7:0]
[TILE:3:1:147]
[COLOR:3:1:7:0:0]
[BUILD_ITEM:1:TOTEM:NONE:NONE:NONE][CAN_USE_ARTIFACT]
[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][CAN_USE_ARTIFACT]
[BUILD_ITEM:3:NONE:NONE:NONE:NONE][CAN_USE_ARTIFACT]
Title: Re: Help modding a custom workshop to use building designer skill.
Post by: Untelligent on June 28, 2010, 05:15:33 pm
You're trying to have an architect design a building, which is then built by some other skill, correct?

In that case, I don't see any tokens in the string dump or the building token page that seem like they would add that feature. It's entirely possible it's not available for custom buildings yet.



Shaoustoul: it's DESIGNBUILDING. Also, the string dump says that's a skill token, not a labor token, which buildings apparently require.
Title: Re: Help modding a custom workshop to use building designer skill.
Post by: Shaostoul on June 28, 2010, 06:41:07 pm
/sigh yet again... another mistake... I need a break. >.>

Hopefully that'll come a few weeks from now.

I'll try to update my guide some more...
Title: Re: Help modding a custom workshop to use building designer skill.
Post by: Il Palazzo on June 29, 2010, 02:42:48 am
Thanks guys.
Title: Re: Help modding a custom workshop to use building designer skill.
Post by: Grimlocke on June 29, 2010, 05:33:19 am
Wouldnt you call this a totem pole? I would.

Actualy im gonna mod this in for a next fortress, I kinda like it. Might mod it to need some feathers or scales or something.

Whats the 3rd item though?
Title: Re: Help modding a custom workshop to use building designer skill.
Post by: NRN_R_Sumo1 on June 29, 2010, 05:53:25 am
Wouldnt you call this a totem pole? I would.

Actualy im gonna mod this in for a next fortress, I kinda like it. Might mod it to need some feathers or scales or something.

Whats the 3rd item though?

I could be wrong but I think that might be an item of choice from anything.
if so: kitten corpse totems, AWAY!
Title: Re: Help modding a custom workshop to use building designer skill.
Post by: Il Palazzo on June 29, 2010, 06:10:54 am
Yeah, you can use whatever items(times 3) you like. Takes a while sorting through all the worthless stones, should you want something very specific. Works nice with large gems(for eyes :) ).

And I'm actually using [BUILD_LABOR:ARCHITECT] now. Seems like a better choice for artistic arrangement of "furniture".

Check out the "Display case" workshop as well:
http://www.bay12forums.com/smf/index.php?topic=57243.msg1249306#msg1249306
Title: Re: Help modding a custom workshop to use building designer skill.
Post by: NRN_R_Sumo1 on June 29, 2010, 06:13:21 am
Yeah, you can use whatever items(times 3) you like. Takes a while sorting through all the worthless stones, should you want something very specific. Works nice with large gems(for eyes :) ).

And I'm actually using [BUILD_LABOR:ARCHITECT] now. Seems like a better choice for artistic arrangement of "furniture".

Check out the "Display case" workshop as well:
http://www.bay12forums.com/smf/index.php?topic=57243.msg1249306#msg1249306
having 3 statues on top of eachother comes to mind like a nice totem pole.
Title: Re: Help modding a custom workshop to use building designer skill.
Post by: Il Palazzo on June 29, 2010, 06:15:14 am
Yeah. Or a door, a barrel and a kitten pancreas.