Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Hacking in rock crystal trade?  (Read 2147 times)

Riemann

  • Bay Watcher
    • View Profile
Hacking in rock crystal trade?
« on: December 05, 2007, 05:40:00 pm »

Is it possible to edit the raws to make traders sell raw rock crystal? How about other kinds of raw gems?

Going a step further, is it possible to edit the raws to make it possible to request raw gems from the output liason?

Logged

Torak

  • Bay Watcher
  • God of Gods of Blood.
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #1 on: December 05, 2007, 05:56:00 pm »

Or you could simply put the [GLASS] tag onto all gems in matgloss_stone_gem.txt in C:\xxxx\dwarffortress\raw\objects\
Logged
As you journey to the center of the world, feel free to read the death announcements of those dwarves that suffer your neglect.

One billion b-balls dribbling simultaneously throughout the galaxy. One trillion b-balls being slam dunked through a hoop throughout the cosmos. I can feel every single b-ball that has ever existed at my fingertips, I can feel their collective knowledge channeling through my veins. Every jumpshot, every rebound and three-pointer, every layup, dunk and free throw.

Karlito

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #2 on: December 05, 2007, 05:56:00 pm »

traders sell gems already.
Logged
This sentence contains exactly threee erors.

Riemann

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #3 on: December 05, 2007, 05:58:00 pm »

Not, as far as I know, raw gems.
Logged

Torak

  • Bay Watcher
  • God of Gods of Blood.
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #4 on: December 05, 2007, 06:01:00 pm »

quote:
Originally posted by Karlito:
<STRONG>traders sell gems already.</STRONG>

Not raw gems. Only those of the "large" variety.

Logged
As you journey to the center of the world, feel free to read the death announcements of those dwarves that suffer your neglect.

One billion b-balls dribbling simultaneously throughout the galaxy. One trillion b-balls being slam dunked through a hoop throughout the cosmos. I can feel every single b-ball that has ever existed at my fingertips, I can feel their collective knowledge channeling through my veins. Every jumpshot, every rebound and three-pointer, every layup, dunk and free throw.

Zurai

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #5 on: December 05, 2007, 07:08:00 pm »

No, they sell normal cut gems as well.
Logged

Riemann

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #6 on: December 05, 2007, 07:13:00 pm »

Yes, they sell small and large cut gems. I want to know if it is possible to mod in raw gems for trade.
Logged

Zurai

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #7 on: December 05, 2007, 07:16:00 pm »

The answer to almost any "can I mod in..." question is "No."

You can add in new types of already existing things, but you cannot change the functionality of the game through modding.

Of course, the easy answer was the very first response to your post. Just add [GLASS] to every common gem type (I doubt you want to use diamonds for glassmaking...).

[ December 05, 2007: Message edited by: Zurai ]

Logged

AlanL

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #8 on: December 05, 2007, 08:12:00 pm »

Make a smelter reaction that uncuts the cut rock crystal.
Logged

Vanigo

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #9 on: December 05, 2007, 09:06:00 pm »

I was just about to say that. This should work:

[REACTION:UNCUT_ROCK_CRYSTAL]
[NAME:uncut rock crystal]
[SMELTER]
[REAGENT:1:SMALLGEM:NO_SUBTYPE:STONE:CRYSTAL_ROCK]
[PRODUCT:1:ROUGH:NO_SUBTYPE:STONE:CRYSTAL_ROCK]

You'll have to generate a new world, unfortunately.

Logged

Zurai

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #10 on: December 05, 2007, 09:33:00 pm »

Yeah, there's a few things you can do if you want to generate a new world. Adding [GLASS] and restarting DF is the only thing I know of that works mid-fortress, though.
Logged

Karlito

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #11 on: December 06, 2007, 01:14:00 am »

If we're all about adding in the [GLASS] tag, couldn't you just trade for your crystal glass and save yourself this hassle.  Or can we not trade for crystal glass?
Logged
This sentence contains exactly threee erors.

Greenwolf

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #12 on: December 06, 2007, 02:40:00 am »

hmm, my solution to lack of rock crystal was slightly different.

added this to the entry for rock crystal in the raws

[ENVIRONMENT_SPEC:MICA:CLUSTER_SMALL:100]
[ENVIRONMENT_SPEC:PERICLASE:CLUSTER_SMALL:100]
[ENVIRONMENT_SPEC:ORTHOCLASE:CLUSTER_SMALL:100]
[ENVIRONMENT_SPEC:MICROCLINE:CLUSTER_SMALL:100]
[ENVIRONMENT_SPEC:CALCITE:CLUSTER_SMALL:100]

I usually plant fortresses in granite/marble areas, and I wind up with lots of big O's of these lesser stones, with nothing interesting in them.  Adding these lines adds 1-2 clusters of rock crystal in almost all of those O's of lesser rock.  You can add any stone type you want, just make sure it's a type of stone that never contains metal ore, otherwise the ore take precedence over gems.

Logged

Zurai

  • Bay Watcher
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #13 on: December 06, 2007, 10:47:00 am »

quote:
Originally posted by Karlito:
<STRONG>If we're all about adding in the [GLASS] tag, couldn't you just trade for your crystal glass and save yourself this hassle.  Or can we not trade for crystal glass?</STRONG>

You can't trade for glass of any sort. And moods require RAW crystal glass anyhow.

Logged

Sean Mirrsen

  • Bay Watcher
  • Resident GM
    • View Profile
Re: Hacking in rock crystal trade?
« Reply #14 on: December 07, 2007, 04:35:00 pm »

Yours or mine, Greenwolf?   ;)

Diamonds and Rock Crystals mod.

This has been lying around for a while. People don't seem to like to use it though. Maybe it's just me..

Heh, now that I look at your post, I realise I probably forgot periclase...  or not?..  I think I checked thoroughly enough...

[ December 07, 2007: Message edited by: Sean Mirrsen ]

Pages: [1] 2