5612
« on: February 02, 2011, 03:49:59 pm »
Okay, I should have put a 'probably' in there.
Anyway, soapmaker's raw. I'll do the whole thing just for completeness.
[BUILDING_WORKSHOP:SOAP_MAKER]
[NAME:Soap Maker's Workshop]
What the game knows it as, plus what the game displays it as.
[NAME_COLOR:7:0:1]
Colour of the 'Soap Maker's Workshop' text given above. DF uses three numbers to denote colour: foreground; background; brightness of foreground. The first two go from 0 to 7, and the last one toggles the brightness of the foreground colour. The background colour is always considered 0 (except when you feed it different numbers; see the Color page on the wiki for more).
[DIM:3:3]
[WORK_LOCATION:2:2]
[BUILD_LABOR:SOAP_MAKER]
[BUILD_KEY:CUSTOM_SHIFT_S]
Workshop dimension is 3x3, dwarf stands two squares left and two down when working, workshop is built by a soapmaker and can be built directly from the workshop menu by pressing 'S'.
[BLOCK:1:0:0:1]
[BLOCK:2:0:0:1]
[BLOCK:3:0:0:0]
Blocking status of tiles on row:number 1:passable:passable:impassable
And so on. Once built, this particular 3x3 workshop will be walkable except for the rightmost and upper-right tile. If you're making a 5x5 workshop, then you need to go up to [BLOCK:5:0:0:0:0:0]. Not sure what happens if you don't tell the game the passable/impassable status of every tile in the workshop.
[TILE:0:1:' ':' ':150]
[TILE:0:2:' ':' ':'/']
[TILE:0:3:'-':' ':' ']
[COLOR:0:1:0:0:0:0:0:0:6:0:0]
[COLOR:0:2:0:0:0:0:0:0:6:0:0]
[COLOR:0:3:6:0:0:0:0:0:0:0:0]
Tile symbol:building stage 0 (waiting for construction):row number 1:specify space:specify space:refer to tile 150 on character grid (is û in vanilla, may be a graphic of a bucket in other tilesets)
Tile symbol:building stage 0 (waiting for construction):row number 2:specify space:specify space:specify forward slash
Tile symbol:building stage 0 (waiting for construction):row number 3:specify dash:specify space:specify space
Tile colour:building stage 0 (waiting for construction):row number 1:[black on black]:[black on black]:[brown on black]
Tile colour:building stage 0 (waiting for construction):row number 2:[black on black]:[black on black]:[brown on black]
Tile colour:building stage 0 (waiting for construction):row number 3:[brown on black]:[black on black]:[black on black]
So once that's done, you end up with a brown bucket in the upper right, a brown - on the lower left, and a brown / on the rightmost tile. Specifying a character doesn't necessarily mean you'll get that character. If your tileset replaces [ with a graphic of some clothing, then that's what will be displayed. Putting the character in directly is quicker and easier to identify (how many people would know off the top of their heads what tile 150 is?), and if you're using the True Type option with a graphic tileset you might get the [ instead of the graphic. Maybe.
[TILE:1:1:' ':' ':'=']
[TILE:1:2:'-':' ':8]
[TILE:1:3:' ':' ':150]
[COLOR:1:1:0:0:0:0:0:0:6:0:0]
[COLOR:1:2:6:0:0:0:0:0:6:0:0]
[COLOR:1:3:0:0:0:0:0:0:6:0:0]
Moving on to stage 1, 'partially constructed'. This time you get a brown - on the left, a brown bucket in the bottom corner, a brown container-thing on the right, and a brown = in the top corner.
[TILE:2:1:'-':' ':8]
[TILE:2:2:' ':' ':8]
[TILE:2:3:' ':150:' ']
[COLOR:2:1:6:0:0:0:0:0:6:0:0]
[COLOR:2:2:0:0:0:0:0:0:6:0:0]
[COLOR:2:3:0:0:0:6:0:0:0:0:0]
Stage 2, 'construction nearly done'. Nothing of interest.
[TILE:3:1:150:' ':8]
[TILE:3:2:' ':' ':8]
[TILE:3:3:' ':240:' ']
[COLOR:3:1:6:0:0:0:0:0:6:7:0]
[COLOR:3:2:0:0:0:0:0:0:6:7:0]
[COLOR:3:3:0:0:0:7:0:1:0:0:0]
Stage 3, ready for use. The soap tile at the bottom and the container-things* on the right might both seem to have white foregrounds when viewed in-game, but the container tile is done in negative for some reason. Maybe it has to do with the 'dark backgrounds only' limitation.
*Yeah, I know, but I'm still calling them container-things to be safely non-specific.
[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]
[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]
Build with bucket, which is empty and can be an artifact.
Build with anything you like, as long as it's registered as a building material and isn't currently an economic stone. Can be an artifact (though I can't think what artifact would qualify here).