Bay 12 Games Forum

Dwarf Fortress => DF Modding => Topic started by: Manzeenan on December 08, 2014, 10:04:07 pm

Title: Found
Post by: Manzeenan on December 08, 2014, 10:04:07 pm
I'm trying to make a reaction at the screw press to crush obsidian to black sand but its not working please help. This is what I have so far
EDIT: I tested it, doesnt work, the reaction runs with the proper reagents but results in an empty bag, what the heck. Send Help


EDIT2: It now works great, might fiddle with the amount of sand created but now I'm onto the next challenge(s) at the bottom of the page so if anyone could further this thread it is greatly appreciated.
Instructions in case you want to add this little modification to your very own Dwarf Fortress
Paste this into reaction other folder then add [PERMITTED_REACTION:MANZEE] to the entity that you want to use in the entity folder
Spoiler (click to show/hide)
 
BONUS: I want there to be a 1% chance to get a random ore from breaking obsidian is this possible? I know the percent modifier but can it be a random ore?
MEGADWARFBONUS: If possible id like to create an ore for the special metals that are inaccessible except in adventure mode in a special place
Title: Re: lost
Post by: scamtank on December 08, 2014, 11:48:17 pm
[REAGENT:A:1:STONE:NONE:INORGANIC:OBSIDIAN]

Also the glass furnace is hardcoded to hell, so not without your own special workshop and your own special reactions that work off their own special logic, if even then.
Title: Re: lost
Post by: Manzeenan on December 09, 2014, 12:26:35 pm
okay thank you so much will try this, can i produce glass though?
Title: Re: lost
Post by: Manzeenan on December 09, 2014, 12:34:14 pm
doesnt show up
Title: Re: lost
Post by: scamtank on December 09, 2014, 12:40:23 pm
Your civilization (entity_default.txt) needs to have permission to use that reaction.

Make the changes, then generate a new world. These changes don't stick to saved games.
Title: Re: lost
Post by: Manzeenan on December 09, 2014, 03:51:38 pm
Your civilization (entity_default.txt) needs to have permission to use that reaction.

Make the changes, then generate a new world. These changes don't stick to saved games.
Thanks it now shows up
Title: Re: lost
Post by: Putnam on December 09, 2014, 10:57:19 pm
INORGANIC:SAND_BLACK:BAG_ITEM

what is this supposed to be
Title: Re: lost
Post by: Manzeenan on December 10, 2014, 12:04:14 am
INORGANIC:SAND_BLACK:BAG_ITEM

what is this supposed to be
I wanted a bag full of sand/black sand....
Title: Re: lost
Post by: Putnam on December 10, 2014, 12:44:49 am
Okay, yeah, I see. You can't just sorta type things in and expect them to work! Ya gotta be valid. Oddly enough, you actually had the right idea for putting stuff in the bag, just... not? I mean, you did the correct thing, but you also did something completely different immediately before. Here's what you wanted:
Code: [Select]
   [PRODUCT:100:1:POWDER_MISC:NONE:INORGANIC:SAND_BLACK]
      [PRODUCT_TO_CONTAINER:bag]
Title: Re: lost
Post by: Manzeenan on December 10, 2014, 01:09:26 am
Okay, yeah, I see. You can't just sorta type things in and expect them to work! Ya gotta be valid. Oddly enough, you actually had the right idea for putting stuff in the bag, just... not? I mean, you did the correct thing, but you also did something completely different immediately before. Here's what you wanted:
Code: [Select]
   [PRODUCT:100:1:POWDER_MISC:NONE:INORGANIC:SAND_BLACK]
      [PRODUCT_TO_CONTAINER:bag]
WORRKS!!! Thanks Putnam
Title: Re: Found
Post by: Dirst on December 10, 2014, 08:14:14 pm
But can you do anything with custom sands or glasses at the vanilla shop?

There is no intermediate product in glassmaking like there is in forging, so it looks like you'd need to completely replicate the workshop with custom reactions :(
Title: Re: Found
Post by: Putnam on December 10, 2014, 10:06:38 pm
But can you do anything with custom sands or glasses at the vanilla shop?

Sands, yes, as long as they make glass.

Glass, yes, as long as it's a vanilla glass.
Title: Re: Found
Post by: Manzeenan on December 10, 2014, 10:34:34 pm
I added 33% chance to get rock crystal from the reaction. Picture finding rock crystals while breaking down obsidian that is my train of thought. and I'm putting ores in now.