Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Adding new stone types (Issue)  (Read 766 times)

Xplicit

  • Escaped Lunatic
    • View Profile
Adding new stone types (Issue)
« on: May 21, 2012, 07:17:16 am »

I seem to be having a strange issue with new stones I have added not being displayed in the game at all and was looking for some help...

I have a file called inorganic_stone_layer_genned.txt in the raw folder of dwarf fortress.

Quote
inorganic_stone_layer_genned

[OBJECT:INORGANIC]

[INORGANIC:DILDOITE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:dildoite][DISPLAY_COLOR:5:3:0][TILE:137]
[STATE_NAME:ALL_SOLID:dildoite]
[IGNEOUS_EXTRUSIVE]
[IS_STONE]
[SOLID_DENSITY:2630]

But after creating a new world I cannot get any of the stones to show up on embark and they dont appear to exist in-game either, do I need to define the stones somewhere else too? Is the raw of the stone actually valid?

Also yes...the stone was generated, I just picked a stone out from the raw and found that in it.
Logged

Tierre

  • Bay Watcher
    • View Profile
Re: Adding new stone types (Issue)
« Reply #1 on: May 21, 2012, 08:40:40 am »

Maybe you just didn't foind it? Try embarking a few more times. You won't find all the stones in each embark. Also use prospector to check if this stone is there.
Logged

TomiTapio

  • Bay Watcher
  • OldGenesis since 2012
    • View Profile
    • My Flickr animal photos
Re: Adding new stone types (Issue)
« Reply #2 on: May 21, 2012, 08:44:25 am »

[IGNEOUS_EXTRUSIVE] is pretty rare, like Obsidian and Basalt. Look around active volcanoes!
For testing, make it [ENVIRONMENT:SEDIMENTARY:CLUSTER:100] or [SEDIMENTARY].
Logged
==OldGenesis mod== by Deon & TomiTapio. Five wood classes, four leather classes. Nine enemy civs. So much fine-tuning.
47.05e release: http://dffd.bay12games.com/who.php?id=1538
OldGenesis screenshots: https://twitter.com/hashtag/OldGenesis?src=hashtag_click&f=image
My Finnish language file: http://dffd.bay12games.com/file.php?id=14884

Xplicit

  • Escaped Lunatic
    • View Profile
Re: Adding new stone types (Issue)
« Reply #3 on: May 21, 2012, 11:51:30 am »

I fixed the issue, it was a rather silly issue...basically was how dwarf fortress read the new line characters compared to how my program was writing them.

Some stones generated from the program, I had it generate 12800 stone types for testing ^^
Quote
Generated stone stats for 12800 stones
Magma Safe: 7505
Flux: 732
Igneous intrusive layer: 35.1484375%
Igneous Extrusive layer: 15.3203125%
Sedimentary layer: 34.53125%
Metamorphic layer: 13.9921875%
Metamorphic flux: 108
Ocean: 1383
Ocean shallow: 688
Ocean deep: 695

Quote
[INORGANIC:ORTIZITE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:ortizite][DISPLAY_COLOR:0:7:0][TILE:138]
[STATE_NAME:ALL_SOLID:ortizite]
[IGNEOUS_EXTRUSIVE]
[IS_STONE]
[SOLID_DENSITY:2404]
[MELTING_POINT:11173]

[INORGANIC:BSITSTONE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:bsitstone][DISPLAY_COLOR:7:0:1][TILE:132]
[STATE_NAME:ALL_SOLID:bsitstone]
[SEDIMENTARY]
[IS_STONE]
[SOLID_DENSITY:2414]
[MELTING_POINT:12764]

[INORGANIC:STRINGERITE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:stringerite][DISPLAY_COLOR:0:7:0][TILE:137]
[STATE_NAME:ALL_SOLID:stringerite]
[SEDIMENTARY][SEDIMENTARY_OCEAN_DEEP]
[IS_STONE]
[SOLID_DENSITY:2916]
[MELTING_POINT:12163]

[INORGANIC:GERMANYIAN]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:germanyian][DISPLAY_COLOR:7:7:1][TILE:134]
[STATE_NAME:ALL_SOLID:germanyian]
[IGNEOUS_EXTRUSIVE]
[IS_STONE]
[SOLID_DENSITY:2050]
[MELTING_POINT:11898]

[INORGANIC:NEWTATE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:newtate][DISPLAY_COLOR:7:7:1][TILE:138]
[STATE_NAME:ALL_SOLID:newtate]
[METAMORPHIC]
[IS_STONE]
[SOLID_DENSITY:2057]
[MELTING_POINT:11265]

The program is for a project I am working on, as I wanted a completely generated world from creatures all the way down to soils. I currently have the creature generation more or less done, it just needs some final tweaking to make the creatures less like abominations ^^. Along with metals, minerals, stones, plants, gems, smelter reactions, entitys etc, just needs some final tweaks and testing before I release to the public.
« Last Edit: May 21, 2012, 11:53:40 am by Xplicit »
Logged