Hi all.
I like building out of wood, and I think it's terribly inefficient to use one log per one square of wall. Sawmill is what I'd need, I thought. After searching the forum, I found out some people have spoken of a sawmill, but nobody actually got through it and made it.
So, here it is! A custom Sawmill workshop, a special "plant" with no biome, and a working reaction.
Here's a screenie:
Somehow, it fits. I can see a dwarf refusing to call something made out of (pfft) wood its proper name...
And here's the raws:
building_sawmill.txt
building_sawmill
[OBJECT:BUILDING]
[BUILDING_WORKSHOP:SAWMILL]
[NAME:Sawmill]
[NAME_COLOR:7:0:1]
[BUILD_LABOR:CARPENTER]
[BUILD_KEY:CUSTOM_A]
[WORK_LOCATION:2:2]
[DIM:3:3]
[TILE:0:1:45:32:32]
[TILE:0:2:32:32:32]
[TILE:0:3:32:32:128]
[COLOR:0:1:6:0:0:0:0:0:0:0:0]
[COLOR:0:2:0:0:0:0:0:0:0:0:0]
[COLOR:0:3:0:0:0:0:0:0:0:0:1]
[TILE:1:1:45:32:32]
[TILE:1:2:128:32:32]
[TILE:1:3:32:205:45]
[COLOR:1:1:6:0:0:0:0:0:0:0:0]
[COLOR:1:2:0:0:1:0:0:0:0:0:0]
[COLOR:1:3:0:0:0:7:0:0:6:0:0]
[TILE:2:1:128:32:45]
[TILE:2:2:45:32:32]
[TILE:2:3:213:205:184]
[COLOR:2:1:0:0:1:0:0:0:6:0:0]
[COLOR:2:2:6:0:0:0:0:0:0:0:0]
[COLOR:2:3:7:0:0:7:0:0:7:0:0]
[TILE:3:1:45:32:32]
[TILE:3:2:45:0:128]
[TILE:3:3:213:205:184]
[COLOR:3:1:6:0:0:7:0:0:0:0:0]
[COLOR:3:2:6:0:0:7:0:0:0:0:1]
[COLOR:3:3:7:0:0:7:0:0:7:0:0]
[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]
reaction_plank.txt
reaction_plank
[OBJECT:REACTION]
[REACTION:WOOD_PLANKS]
[NAME:cut logs into planks]
[REAGENT:A:1:WOOD:NO_SUBTYPE:NONE:NONE]
[PRODUCT:100:10:BLOCKS:NO_SUBTYPE:PLANT_MAT:PLANK:WOOD]
[BUILDING:SAWMILL:CUSTOM_P]
[SKILL:CARPENTRY]
"tree" to add at the bottom of plant_standard.txt
[PLANT:PLANK]
[NAME:wooden plank][NAME_PLURAL:wooden planks][ADJ:wooden plank]
[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
[USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]
[STATE_NAME:ALL_SOLID:thin wooden]
[STATE_ADJ:ALL_SOLID:thin wooden]
[PREFIX:NONE]
[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:226]
[PREFSTRING:usefulness]
Also, remember to add this to entity file
[PERMITTED_BUILDING:SAWMILL]
[PERMITTED_REACTION:WOOD_PLANKS]
A person more patient than me could actually write up a dozen plants and reactions to make, say, Maple Logs turn into Thin Blocks Made Out Of Maple Logs. Feel free to, if you'd like; it's quite simple. Creating reactions for plank furniture is entirely possible too.
If somebody wants to take this and put it in their mod, be my guest.Anyway, enjoy