Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: can you make soils appear within rock?  (Read 893 times)

Kyubee

  • Bay Watcher
  • modding is hard
    • View Profile
can you make soils appear within rock?
« on: February 28, 2019, 06:28:24 pm »

once more, im working on my mods, and i had this idea. I'm basing this mod im making off of starbound, and im thinking one noticable thing will be "Lunar" materials will be findable in stone layers. Namely, im thinking Moon Rock will appear as a base material in some layers, and within it will be Moon Stone (not moonstone), Erichus crystals, and most noticably here, a "soil" called Moon Dust, which works like clay in that you can gather it up, and use it to create a special ceramic.

Could this work with raws as is? I dont want it to be like kaolinite/porcelain and limited
Logged
My mod: http://www.bay12forums.com/smf/index.php?topic=176501.0
The litten is wandering around the dump now, occasionally exploding.

LeoCean

  • Bay Watcher
    • View Profile
Re: can you make soils appear within rock?
« Reply #1 on: March 02, 2019, 08:30:07 am »

I think masterwork had living stone or whatever that could pop up from mining certain types of stone, maybe ask Meph? If no one else answers.
Logged

Wyrdean

  • Bay Watcher
    • View Profile
Re: can you make soils appear within rock?
« Reply #2 on: March 15, 2019, 02:19:04 pm »

I made this a long while back, but, this is an ore that appears inside other veins of metal. The Environment tag is what you're looking for.



Code: [Select]
[INORGANIC:AEROITE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:aeroite][DISPLAY_COLOR:7:0:1][TILE:139]
[ENVIRONMENT:SEDIMENTARY:VEIN:5]
[ENVIRONMENT:IGNEOUS_EXTRUSIVE:VEIN:5]
[ENVIRONMENT_SPEC:OLIVINE:VEIN:5]
[ENVIRONMENT_SPEC:SANDSTONE:VEIN:5]
[ENVIRONMENT_SPEC:MAGNETITE:VEIN:5]
[ENVIRONMENT_SPEC:CHROMITE:CLUSTER_SMALL:5]
[ITEM_SYMBOL:'*']
[METAL_ORE:AEROSTEEL:5]
[SOLID_DENSITY:250]
[MATERIAL_VALUE:10]
[IS_STONE]
[MELTING_POINT:12736]





[INORGANIC:AEROSTEEL]
                [USE_MATERIAL_TEMPLATE:METAL_TEMPLATE]
                [STATE_NAME_ADJ:ALL_SOLID:aerosteel]
                [STATE_NAME_ADJ:LIQUID:molten aerosteel]
                [STATE_NAME_ADJ:GAS:boiling aerosteel]
                [DISPLAY_COLOR:7:0:1]
                [BUILD_COLOR:7:0:1]
                [MATERIAL_VALUE:25]
                [SPEC_HEAT:1000]
                [MELTING_POINT:12768]
                [BOILING_POINT:15150]
                [ITEMS_WEAPON][ITEMS_WEAPON_RANGED][ITEMS_AMMO][ITEMS_ARMOR]
                [ITEMS_HARD]
                [ITEMS_METAL]
                [ITEMS_BARRED]
                [ITEMS_SCALED]
                [SOLID_DENSITY:75]
                [LIQUID_DENSITY:975]
                [MOLAR_MASS:16988]
                [IMPACT_YIELD:542500] Was 1080000, but just using 3.5x tensile multiples for everything until better numbers are available, which might not be likely
                [IMPACT_FRACTURE:1085000]
                [IMPACT_STRAIN_AT_YIELD:319]
                [COMPRESSIVE_YIELD:542500]
                [COMPRESSIVE_FRACTURE:1085000]
                [COMPRESSIVE_STRAIN_AT_YIELD:319] bulk modulus 170 GPa
                [TENSILE_YIELD:155000]
                [TENSILE_FRACTURE:310000]
                [TENSILE_STRAIN_AT_YIELD:73] young's modulus 211 GPa
                [TORSION_YIELD:155000]
                [TORSION_FRACTURE:310000]
                [TORSION_STRAIN_AT_YIELD:189]
                [SHEAR_YIELD:155000]
                [SHEAR_FRACTURE:310000]
                [SHEAR_STRAIN_AT_YIELD:189] shear modulus 82 GPa
                [BENDING_YIELD:155000]
                [BENDING_FRACTURE:310000]
                [BENDING_STRAIN_AT_YIELD:73]
                [MAX_EDGE:10000]
                [STATE_COLOR:ALL_SOLID:CLOUDY]




Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: can you make soils appear within rock?
« Reply #3 on: March 15, 2019, 02:35:40 pm »

Yeah, that works. :)

ENVIRONMENT_SPEC is what you are looking for. Just place single rocks or clusters (like gems or minerals) in the inorganics that make up soil layers. I planted meteorites that way, single piece of metal ore that is rather strong and rare.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::