Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Custom Workshop not... Working.  (Read 932 times)

Redmega

  • Escaped Lunatic
    • View Profile
Custom Workshop not... Working.
« on: August 07, 2014, 11:16:05 pm »

Hello, all! Long time lurker, first time poster. I've recently gotten back into Dwarf Fortress and I tried my hand at making a cheat workshop to help me test some things with glass and leather. I seem to have run into a problem, though. My workshop does not appear in game, and I can't for the life of me figure out why. I based it off of the Creation Forge by someone on these forums and I've looked through that thread for help but I can't find anything related to why my workshop isn't showing.

The following are the changes I have made to the RAW.

The problem was my filenames. Thanks for the help!
[/b]

m_custom_building.txt ---> building_custom_m.txt
Code: [Select]
m_custom_building ---> building_custom_m

[OBJECT:BUILDING]
[BUILDING_WORKSHOP:CREATION_FORGE]
   [NAME:Homeland Warpgate]
   [NAME_COLOR:7:0:1]
   [WORK_LOCATION:2:2]
   [BUILD_LABOR:SMELT]
   [BUILD_KEY:CUSTOM_SHIFT_C]
   [BLOCK:1:0:0:0]
   [BLOCK:2:1:0:1]
   [BLOCK:3:1:0:0]
   [DIM:3:3]
   [TILE:0:1:218:32:32]
   [TILE:0:2:32:240:8]
   [TILE:0:3:176:32:32]
   [COLOR:0:1:7:0:0:0:0:0:0:0:0]
   [COLOR:0:2:0:0:0:7:0:0:7:0:0]
   [COLOR:0:3:7:0:0:0:0:0:0:0:0]
   [TILE:1:1:218:32:32]
   [TILE:1:2:32:32:8]
   [TILE:1:3:176:32:32]
   [COLOR:1:1:7:0:0:0:0:0:0:0:0]
   [COLOR:1:2:0:0:0:0:0:0:7:3:0]
   [COLOR:1:3:7:0:0:0:0:0:0:0:0]
   [TILE:2:1:32:32:187]
   [TILE:2:2:7:32:8]
   [TILE:2:3:176:32:32]
   [COLOR:2:1:0:0:0:0:0:0:7:0:0]
   [COLOR:2:2:3:7:1:0:0:0:7:3:0]
   [COLOR:2:3:7:0:0:0:0:0:0:0:0]
   [TILE:3:1:213:205:187]
   [TILE:3:2:7:91:8]
   [TILE:3:3:176:0:240]
   [COLOR:3:1:7:0:0:7:0:0:7:0:0]
   [COLOR:3:2:3:7:1:7:0:0:7:3:0]
   [COLOR:3:3:7:0:0:3:0:1:7:0:0]
   [BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]

m_custom_reactions.txt ---> reaction_custom_m.txt
Code: [Select]
m_custom_reactions ---> reaction_custom_m

[OBJECT:REACTION]


[REACTION:FREE_COKE]
[NAME:request coke warp]
[BUILDING:CREATION_FORGE:CUSTOM_C]
[PRODUCT:100:10:BAR:NONE:COAL:COKE][PRODUCT_DIMENSION:150]
[SKILL:SMELT]

[REACTION:FREE_ANVIL]
[NAME:request anvil warp]
[BUILDING:CREATION_FORGE:CUSTOM_A]
[PRODUCT:100:1:ANVIL:NONE:INORGANIC:STEEL]
[SKILL:FORGE_FURNITURE]

[REACTION:FREE_LEATHER]
   [NAME:request dragon leather warp]
   [BUILDING:CREATION_FORGE:CUSTOM_L]
   [PRODUCT:100:10:SKIN_TANNED:NONE:CREATURE_MAT:DRAGON:SCALE]
   [SKILL:LEATHERWORK]

[REACTION:FREE_SAND]
   [NAME:request sand warp]
   [BUILDING:CREATION_FORGE:CUSTOM_S]
   [REAGENT:A:1:BOX:NONE:NONE][BAG][EMPTY][PRESERVE_REAGENT]
   [PRODUCT:100:1:POWDER_MISC:NONE:INORGANIC:SAND_BLACK][PRODUCT_TO_CONTAINER:A]
   [SKILL:GLASSMAKER]

entity_default.txt (This is all inside of [ENTITY:MOUNTAIN])
Code: [Select]
[PERMITTED_BUILDING:CREATION_FORGE]
[PERMITTED_REACTION:FREE_COKE]
[PERMITTED_REACTION:FREE_ANVIL]
[PERMITTED_REACTION:FREE_LEATHER]
[PERMITTED_REACTION:FREE_SAND]

I apologize for all the text, but I wanted to document exactly all the changes I made. The workshop doesn't show up in my build menu, for whatever reason. Am I missing something changed somewhere else? Is there something wrong with my syntax? I'm very keen to know as I am planning on adding custom (non-cheat) workshops and other custom things (a creature and civilization for that creature, for example), and if there's a rookie mistake I am making I would like to fix it.

Thank you for your time, modders. Cheers.
« Last Edit: August 08, 2014, 01:49:07 am by Redmega »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Custom Workshop not... Working.
« Reply #1 on: August 08, 2014, 12:15:37 am »

Your filenames are wrong, AFAIK DF when looking for files to start building the lists it goes "building_" and since you have "m_custom_" it's not in it's list to search

so reaname it to "building_m_custom.txt" same with your reaction file "reaction_m_custom.txt"
Logged

Redmega

  • Escaped Lunatic
    • View Profile
Re: Custom Workshop not... Working.
« Reply #2 on: August 08, 2014, 01:44:54 am »

This was exactly the problem. That should be more specific in the wiki, I actually found it after searching through file naming and modding on after I read your reply but I had overlooked it previously. Maybe it should be bolded or something?

Anyway, that was a very silly mistake. Thank you for your help :)
Logged