Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: My First Mod: Kludging Quicksilver  (Read 892 times)

arcane

  • Bay Watcher
    • View Profile
My First Mod: Kludging Quicksilver
« on: March 14, 2009, 10:44:16 am »

I know many people have been clamoring for Cinnabar -> Mercury as a liquid, but since tweaking the raws would just end up with spilled mercury all over the place here's my idea to give us quicksilver "blocks"

Code: [Select]
[MATGLOSS_STONE:CINNABAR]
[NAME:cinnabar][COLOR:4:7:1][TILE:156]
[ENVIRONMENT:IGNEOUS_EXTRUSIVE:VEIN:100]
[ENVIRONMENT_SPEC:SHALE:VEIN:100]
[ENVIRONMENT_SPEC:QUARTZITE:VEIN:100]
[ITEM_SYMBOL:'*']
[VALUE:8]

[MATGLOSS_METAL:QUICKSILVER]
[NAME:quicksilver][ADJ:mercurial][COLOR:7:7:1]
[VALUE:10]
[SPEC_HEAT:123]
[MELTING_POINT:10488]
[BOILING_POINT:12815]
[BRITTLE]
[SOLID_DENSITY:9780]

[REACTION:SMELT_QUICKSILVER]
[NAME:Extract quicksilver from cinnabar]
[SMELTER]
[REAGENT:1:STONE:NO_SUBTYPE:STONE:CINNABAR]
[REAGENT:1:BAR:NO_SUBTYPE:GLASS_GREEN:NO_MATGLOSS]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:QUICKSILVER]
[FUEL]

The stats for Quicksilver are cribbed directly from bismuth.  Hopefully the BRITTLE tag will prevent the creation of such oddities as a Mercurial Statue.  I have not yet installed and tested this mod, because I have a sneaking suspicion that the line calling for a block of clear glass is incorrect.  Unfortunately the DF Wiki is currently FUBAR.  So I decided to post it here instead for you guys to look over and tell me what I've done wrong.

Be gentle, it's my first time.
« Last Edit: March 14, 2009, 02:30:59 pm by arcane »
Logged

Rochndil

  • Bay Watcher
  • Mad Modder
    • View Profile
Re: My First Mod: Kludging Quicksilver
« Reply #1 on: March 14, 2009, 05:45:50 pm »

Good afternoon.

This may point you in the right direction, though it's not exactly what you were after:

[REAGENT:1:GEM:NO_SUBTYPE:GLASS_GREEN:LARGE_GREEN_GLASS]


This is from Sean Mirrsen's Metals Mod, and you may (or may not) be able to change that to RAW_GREEN_GLASS - I haven't tested that, but it's likely to work.

Rochndil, who will test that exact reaction shortly...
Logged
Build an Elf a fire, keep him warm for a day.
Drown an Elf in magma, keep him warm for the rest of his life!

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: My First Mod: Kludging Quicksilver
« Reply #2 on: March 14, 2009, 11:58:58 pm »

Another thing that is close is [REAGENT:1:ROUGH:NO_SUBTYPE:GLASS_GREE:GLASS_GREEN] I have used that and know that it works for rough green glass.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.