Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help with trees.  (Read 596 times)

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Help with trees.
« on: May 23, 2015, 05:04:58 pm »

Okay, I have quite a few questions here. Decided not to clog up the question thread.

1: Can I make a tree's leaves able to make a dye? I'd like to have it so I can make a mid-value dye from a new tree's leaves.

2: How do I make a tree's fruit?

3: How do I control a tree's frequency?

4: Can I make an item like bark come off of it, and that bark be used in a reaction to make an inorganic bar?

5: How do I control the colours of the individual items?

6: Can I make the tree's material be inorganic?

7: Can I make a tree only show up in a savage biome?

Thanks in advance.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

Alfrodo

  • Bay Watcher
  • [IS_STUPID]
    • View Profile
Re: Help with trees.
« Reply #1 on: May 23, 2015, 11:26:44 pm »

I'm not the best modder, but I've done it before so I can probably help you out.

raw -> objects -> plant_new_trees

1.  You can't gather leaves of trees in fort mode yet. Sorry

2.     [GROWTH:FLOWERS]
      [GROWTH_NAME:immature octagon cluster:STP]
      [GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FLOWER]
      [GROWTH_DENSITY:1000]
      [GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]
      [GROWTH_TIMING:60000:119999]
      [GROWTH_PRINT:5:5:7:0:1:60000:119999:2]
   [GROWTH:FRUIT]
      [GROWTH_NAME:octagon:octagons]
      [GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]
      [GROWTH_DENSITY:1000]
      [GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]
      [GROWTH_TIMING:120000:200000]
      [GROWTH_DROPS_OFF_NO_CLOUD]
      [GROWTH_PRINT:'%':'%':4:0:1:120000:200000:3]
      [GROWTH_HAS_SEED]
that's from coffee, it should help.

3.
??? frequency?

4. reaction? yes. Bark? No.

5. items? you mean aforementioned bark? But the fruit/leaves absolutely! You just need to know how to color it in GROWTH_PRINT

6. Material templates. man. Local_plant_mat:Structural. I think you'd need to assign it a new template and give it new submaterial templates. if that makes any sense... (I'm not very good at this myself.)

7. Look at highwood.    [DRY][SAVAGE] and [BIOME:NOT_FREEZING] tags on it.

Hope I was some help (I wasn't.)
Logged
Bins stacked full of mangoes were laid out in rows. On further inspection of the market, Cog came to the realization that everything was mangoes.

Button

  • Bay Watcher
  • Plants Specialist
    • View Profile
Re: Help with trees.
« Reply #2 on: May 25, 2015, 12:12:56 am »

1. Yes you can gather leaves of trees in fort mode, and yes you can make those leaves produce a dye. You need to give the leaves the token [STOCKPILE_PLANT_GROWTH], give the leaves the appropriate material reaction product, and add a reaction to mill a growth to dye.

2. What that guy said.

3. You can't, there's no frequency tag for plants. Only animals.

4. Yes. You'll need to define it as a growth that occurs on the trunk and large branches. Check the banana tree for how to do that. And don't give it a GROWTH_PRINT tag so it doesn't make your tree look all wonky.

5. The [DISPLAY_COLOR] tag in the material definition controls the color of the item, and the [GROWTH_PRINT] tag controls the color of the tile when it's still growing on the tree.

6. You can definitely make growths inorganic, but I'm not sure about the wood itself. Only one way to find out!

7. What that guy said.
Logged
I used to work on Modest Mod and Plant Fixes.

Always assume I'm not seriously back