User:SeMi/ES3/MAGICTREE
From FSG Wiki
[edit]
Description
This mod contains the Magic Tree and the Magic Flame elements. The Magic Tree grows by creating it's own water after you've planted some seeds in damp soil(DIRT+WATER). You then water these seeds and the tree will start to grow.
The Magic Flame element is a modified fire that has a 50% change of going out and moves through the blank like a real flame. When the flame touches the tree, the branches will heat untill the entire tree is burned, the roots will then explode clearing the sandbox so you can start all over again.
[edit]
Code
<enigmasand> <element name="WALL" color="ff808080"/> <element name="FLAME" color="FFFF4040" > <reaction chance="1.0" trigger="BLANK" res1="0.5" ares1="FLAME" bres1="FLAME" res2="0.4" ares2="BLANK" bres2="BLANK" res3="0.1" ares3="BLANK" bres3="FIRE" /> <reaction chance="1.0" trigger="WATER" res1="1.0" ares1="BLANK" ares2="GAS"/> <explosion chance="0.0001" trigger="FIRE" type="1" sizex="0.1" result="FIRE"/> </element> <element name="FIRE" color="FFFF0040" dens="0.01" menu="0"> <gravity g="-0.15" r="0.05"/> <self chance="0.2" result="BLANK"/> </element> <element name="WATER" color="ff2020ff" dens="1.0"> <gravity g="0.95" r="0.2"/> <reaction chance="1.0" trigger="FLAME" res1="1.0" ares1="FIRE" bres1="FLAME"/> </element> <element name="SAND" color="FFEECC80" dens="1.4"> <gravity g="0.95" r="0.25"/> </element> <element name="DIRT" color="FFAA9922" dens="1.01"> <gravity g="0.95" r="0.25"/> <reaction chance="0.3" trigger="WATER" res1="1.0" ares1="BLANK" bres1="MUD"/> </element> <element name="MUD" color="FF886622" dens="1.4" menu="0"> <gravity g="0.95" r="0.25"/> </element> <element name="SEEDS" color="FF884422" dens="1"> <gravity g="0.95" r="0.25"/> <self chance="0.005" result="DIRT"/> <reaction chance="0.1" trigger="MUD" res1="1.0" ares1="ROOTS" bres1="ROOTS"/> </element> <element name="ROOTS" color="FF664422" menu="0"> <reaction chance="0.01" trigger="BLANK" res1="1.0" ares1="TREE" bres1="TREE"/> <reaction chance="0.1" trigger="MUD" res1="1.0" ares1="ROOTS" bres1="ROOTS"/> <explosion chance="1" trigger="FIRE" type="1" sizex="3" result="FIRE"/> </element> <element name="TREE" color="FF00AA00" menu="0"> <reaction chance="1.0" trigger="WATER" res1="0.8" ares1="TREE" bres1="GAS" res2="0.2" ares2="TREE" bres2="TREE"/> <reaction chance="1.0" trigger="FLAME" res1="1.0" ares1="FLAME" bres1="FLAME"/> </element> <element name="GAS" color="ff010101" dens="0.0008" menu="0"> <gravity g="-0.3" r="0.0001"/> <reaction chance="0.1" trigger="BLANK" res1="1.0" ares1="WATER" bres1="WATER"/> </element> </enigmasand>
[edit]
Preview
