Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Basic 0.42.x compatibility guide  (Read 1007 times)

Valikdu

  • Bay Watcher
  • Ruin... has come to our family.
    • View Profile
Basic 0.42.x compatibility guide
« on: December 24, 2015, 10:45:09 am »

I've taken some notes as I've been comparing each newly-changed file in 0.42 with the 0.40 version and adapting my mod files.
What I've found to be necessary for 0.42.x for major mods:


-Look into the plant files. Your plants will need to be modified for the paper reactions.

Add code fragments:

[MATERIAL_REACTION_PRODUCT:PRESS_PAPER_MAT:LOCAL_PLANT_MAT:THREAD] >> into the structural material template of plants that have thread

[STATE_NAME_ADJ:SOLID:x]
[STATE_NAME_ADJ:SOLID_PASTE:x slurry]
[STATE_NAME_ADJ:SOLID_PRESSED:x paper]
[PREFIX:NONE]
[REACTION_CLASS:PAPER_SLURRY] >> into the thread material template

[STATE_NAME_ADJ:SOLID_PRESSED:papyrus]    
[PREFIX:NONE]          
[REACTION_CLASS:PAPER_PLANT] >> into the structural materal template of a papyrus plant (paper made directly from plant)


-Look into the creature and material template files.
   -All creatures that have a skin layer must use a parchment material.
   -Add the parchment material reaction product to skin. Copy over the parchment material template to your material templates.
        -Add the inebriation syndrome to alcohol.
   -Add inebration Syndrome dilution tag for alcohol-loving creatures
   -Add [STRANGE_MOODS] for playable entity creatures
   -Some syndrome immune creature tag usage have been corrected in 0.42
   -Add [LOCAL_POPS_CONTROLLABLE] and [LOCAL_POPS_PRODUCE_HEROES] for non-aquatic beast-men, or your equivalents (for the c_var), and other sentient creatures where deemed appropriate


-Look into inorganics
   -Add [IS_CERAMIC] to all produced ceramics
   -New inorganics are quicklime, milk of lime; copy them over
   -Add [REACTION_CLASS:CALCIUM_CARBONATE] to flux stones, except for dolomite


-Helms are no longer shaped, for some reason

-Add all the new writing-related tools in item_tool

-Copy over the NAME_BUILDING_LIBRARY and NAME_FESTIVAL tokens from Language_SYM if you're using custom language files, otherwise just copy all the new files over


-Look into entities.
   -The [ADVENTURE_TIER:], [INDIV_CONTROLLABLE] tags are deprecated, replace them with ALL_MAIN_POPS_CONTROLLABLE
   -Replace CIV_CONTROLLABLE with SITE_CONTROLLABLE
   -The [INSTRUMENT:] tag is retired. The default instruments are also retired, so get rid of the item_instrument file.
   -Add new book-making tools
   -Add [SELECT_SYMBOL:TEMPLE:NAME_BUILDING_TEMPLE] and [SELECT_SYMBOL:LIBRARY:NAME_BUILDING_LIBRARY]
   -Add the [SCHOLAR:] tags as deemed appropriate
   -Add the new jobs: [PERMITTED_JOB:PAPERMAKER] , [PERMITTED_JOB:BOOKBINDER]
   -Add the cluster of new reactions (from MAKE_QUICKLIME to BIND_BOOK)
   -Add the KNOWLEDGE value
   -Look for GENERATE_... instrument-generating tags at the end, add them as you see fit to your entities

-Copy over all the new reactions from reaction_other (starts with make_quicklime)

Bearskie

  • Bay Watcher
  • Nyam nyam
    • View Profile
Re: Basic 0.42.x compatibility guide
« Reply #1 on: December 24, 2015, 11:48:46 am »

Handy. INSTRUMENT is still used for custom instruments though.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Basic 0.42.x compatibility guide
« Reply #2 on: December 25, 2015, 05:59:40 am »

Yeah, [INSTRUMENT:x] isn't actually retired.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Basic 0.42.x compatibility guide
« Reply #3 on: December 25, 2015, 06:37:34 am »

Toady also fixed references to GIANT_CAVE_SPIDER VENOM in bark scorpions and other venomous creatures.

And he removed parchment from any non-skin/leather bearing creatures, which is most fishes and reptiles. Since they have skin but scales, they cant make parchment.
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 :::

Jake

  • Bay Watcher
  • Remember Boatmurdered!
    • View Profile
    • My Web Fiction
Re: Basic 0.42.x compatibility guide
« Reply #4 on: December 25, 2015, 06:55:48 am »

Yeah, [INSTRUMENT:x] isn't actually retired.
So will this still work?

Code: [Select]
[BUILDING_WORKSHOP:EXHIBIT16]
[NAME:Instrument Exhibit]
[NAME_COLOR:7:0:1]
[DIM:1:1]
[WORK_LOCATION:1:1]
[BUILD_LABOR:ARCHITECT]
[BLOCK:1:0]
[TILE:0:1:'#']
[COLOR:0:1:7:0:0]
[TILE:1:1:'#']
[COLOR:1:1:7:0:0]
[TILE:2:1:'#']
[COLOR:2:1:7:0:0]
[TILE:3:1:8]
[COLOR:3:1:7:0:0]
[BUILD_ITEM:1:BLOCKS:NONE:NONE:NONE]
[BUILD_ITEM:1:BOX:NONE:NONE:NONE][CAN_USE_ARTIFACT][GLASS_MATERIAL]
[BUILD_ITEM:1:INSTRUMENT:NONE:NONE:NONE][CAN_USE_ARTIFACT]
Logged
Never used Dwarf Therapist, mods or tilesets in all the years I've been playing.
I think Toady's confusing interface better simulates the experience of a bunch of disorganised drunken dwarves running a fort.

Black Powder Firearms - Superior firepower, realistic manufacturing and rocket launchers!

scamtank

  • Bay Watcher
    • View Profile
Re: Basic 0.42.x compatibility guide
« Reply #5 on: December 25, 2015, 07:15:54 am »

Helms are still shaped, Toady just got rid of the second tag that'd slipped in for some reason. Good on you for collating this lot, though.
Logged

Bearskie

  • Bay Watcher
  • Nyam nyam
    • View Profile
Re: Basic 0.42.x compatibility guide
« Reply #6 on: December 25, 2015, 10:45:07 am »

@ Jake: It should.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Basic 0.42.x compatibility guide
« Reply #7 on: December 25, 2015, 04:26:33 pm »

Yeah, [INSTRUMENT:x] isn't actually retired.
So will this still work?

That's not what I was talking about (I meant the entity token), but yes.

Jake

  • Bay Watcher
  • Remember Boatmurdered!
    • View Profile
    • My Web Fiction
Re: Basic 0.42.x compatibility guide
« Reply #8 on: December 25, 2015, 04:52:09 pm »

Thanks guys.
Logged
Never used Dwarf Therapist, mods or tilesets in all the years I've been playing.
I think Toady's confusing interface better simulates the experience of a bunch of disorganised drunken dwarves running a fort.

Black Powder Firearms - Superior firepower, realistic manufacturing and rocket launchers!