Just a quick question, how would I go about making a reaction and custom workshop to make cardboard and then make cardboard boxes for storage as a cheaper than bins way to store stuff random thing that serves no purpose but to store stuff?
I suggest you check out the
building token and
reactions articles on the wiki. They are pretty thorough. You can also copy some of Toady's none-hardcoded buildings.
There are a few ways you can do this. If you are only going to be using cardboard to make bins then you could have a reaction that takes wood and makes multiple bins of a new material called cardboard. This would be one of the simpler options avoiding the need to first make cardboard and then turn it into bins.
First you'd need a new material.
[INORGANIC:CARDBOARD]
[USE_MATERIAL_TEMPLATE:WOOD_TEMPLATE]
[STATE_NAME_ADJ:ALL:cardboard]
[DISPLAY_COLOR:6:0:0][TILE:'#']
[MATERIAL_VALUE:1]
Then a reaction with the following tokens.
[REAGENT:A:1:WOOD:NONE]
[PRODUCT:100:5:BIN:NO_SUBTYPE:INORGANIC:CARDBOARD]
You could have a custom building for the reaction but the crafts workshop would do.
Another way you could do this is to have a reaction that turns a log into some cardboard sheets which can then be turned into cardboard bins.
First you'd need a new cardboard material.
[INORGANIC:CARDBOARD]
[USE_MATERIAL_TEMPLATE:WOOD_TEMPLATE]
[STATE_NAME_ADJ:ALL:cardboard]
[DISPLAY_COLOR:6:0:0][TILE:'#']
[MATERIAL_VALUE:1]
Then create a new sheets tool.
[ITEM_TOOL:ITEM_TOOL_SHEET]
[NAME:sheet:sheets]
[VALUE:1]
[TILE:254]
[SIZE:1000]
[MATERIAL_SIZE:1]
Then a reaction that turns a wood log into some of the new sheets.
[REAGENT:A:1:WOOD:NONE]
[PRODUCT:100:5:TOOL:ITEM_TOOL_SHEET:INORGANIC:CARDBOARD]
And a reaction that turns the cardboard sheets into bins.
[REAGENT:A:1:TOOL:ITEM_TOOL_SHEET]
[PRODUCT:100:1:BIN:NO_SUBTYPE:INORGANIC:CARDBOARD]
You could add a new tree that doesn't grow naturally. It's wood called "cardboard".
[PLANT:CARDBOARD_TREE]
[NAME:cardboard_tree][NAME_PLURAL:cardboard_trees][ADJ:cardboard]
[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
[USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]
[STATE_NAME:ALL_SOLID:cardboard]
[STATE_ADJ:ALL_SOLID:cardboard]
[PREFIX:NONE]
[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:6]
[SAPLING]
[SOLID_DENSITY:700]
Then have a reaction that creates bins made of cardboard tree "wood" when given a log.
[REAGENT:A:1:WOOD:NONE]
[PRODUCT:100:5:BIN:NO_SUBTYPE:PLANT_MAT:CARDBOARD_TREE:WOOD]
The problem you'll have is that wood is already value 1 and so is cardboard. Being able to create multiple sheets of cardboard or cardboard items from one wood will always multiply the value artificially. To solve this problem you could increase all the default values and then have cardboard as value 1.