Pinecone

From Sandboxels Wiki
Jump to navigation Jump to search
Pinecone
Pinecone.png
Pile of Pinecone beginning to create Evergreen
CategoryLife
StateSolid
BehaviorSturdy Powder
Properties
Density1500 kg/m3
Temperature
Hotter StateChanges at 500°C
Creates Wood
Burning
Flammability5%
Burn time100 ticks

Pinecone is an Element found in the Life category. It does not freeze to anything and does not conduct electricity. It becomes Wood at temperatures over 500°C and starts burning into Ash and Charcoal at temperatures over 1000°C.

At temperatures under 100°C, Pinecone has a 2% chance per tick to:

  • Grow Roots through soils or Grass
  • If the space above is empty, generate Evergreen or Wood depending on height

Reactions

Element Conditions Result
Pool Water 5% chance per tick Pinecone becomes Dead Plant

Technical

A Pinecone's growth and final height is determined by pixel.h = Math.floor(Math.random()*7)*2+6; where h is assigned some even number between 6 and 20.

On each tick with h greater than 0 and temperature under 100°C, Pinecone has a 2% chance to execute the following statements:

  • Replace a soil or Grass pixel directly underneath Pinecone with Root
  • If the pixel above Pinecone is empty:
  • Pinecone moves up one pixel
  • If h is even and less than 12, generate an Evergreen pixel directly under Pinecone
  • If h is odd or greater than 11, generate a Wood pixel directly under Pinecone
  • Decrease the value of h

When h reaches 0, the growth is complete and the Pinecone pixel becomes Evergreen.

History

  • Pinecones can withstand higher temperatures
  • Evergreen trees now drop Pinecones when burned

Gallery