Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Quick Question for a noob Modder  (Read 387 times)

Fortron

  • Bay Watcher
  • Camp Leader
    • View Profile
Quick Question for a noob Modder
« on: June 30, 2011, 11:31:58 pm »

Hey Forum 8)
what am I doing wrong with this reaction
Spoiler (click to show/hide)
also, is it possible to create a stone from bone using the Reagent material of the bone itself
or do I have to create a new type of stone?

Logged
I never ask a man what his business is, for it never interests me. What I ask him about are his thoughts and dreams.

rutsber

  • Bay Watcher
    • View Profile
Re: Quick Question for a noob Modder
« Reply #1 on: June 30, 2011, 11:41:09 pm »

I have a question. Why mod coal in with the same reaction used for charcoal if charcoal is already in the game? Or does this produce 2 rather than the usual 1?
Logged
Gave me an idea. I'm gonna add the milkable tag to the male minotaur. MMMMmmm minotaur cheese.
A loud angry voice and instinct. "FUCK OFF URIST THIS TABLE IS MINE!"

NecroRebel

  • Bay Watcher
    • View Profile
Re: Quick Question for a noob Modder
« Reply #2 on: June 30, 2011, 11:48:27 pm »

The NAME line needs the brackets closed - add a ] to the end of it.

The REAGENT line has a minor problem; the item subtype should be NONE, not NO_SUBTYPE. I am uncertain if it matters, but it might.

The PRODUCT line is all wrong. You're trying to produce a bar of the subtype COAL of a material whose type is CHARCOAL and whose material subtype is A. You are, presumably, trying to make a bar out of the type of coal known as charcoal; the proper line for that would be [PRODUCT:100:5:BAR:NO_SUBTYPE:COAL:CHARCOAL], and should probably have a [PRODUCT_DIMENSION:150] on there as well. Charcoal doesn't inherit any material subtypes from the wood it is made from.



It... might be possible to make an item of the type BOULDER made from a bone material. Should be, actually. The game might not recognize that the item exists, though, probably won't actually recognize the material the item is made of (it'll show up as " boulder" or even just " "), and might not be usable for building anything regardless.



I have a question. Why mod coal in with the same reaction used for charcoal if charcoal is already in the game? Or does this produce 2 rather than the usual 1?
The reaction Fortron attempted to make would create 5 charcoal from 1 wood. It's a relatively-minor cheat reaction, in other words.
Logged
A Better Magma Pump Stack: For all your high-FPS surface-level magma installation needs!

rutsber

  • Bay Watcher
    • View Profile
Re: Quick Question for a noob Modder
« Reply #3 on: June 30, 2011, 11:52:16 pm »

Oh okay. I don't understand code to well as you can tell.
Logged
Gave me an idea. I'm gonna add the milkable tag to the male minotaur. MMMMmmm minotaur cheese.
A loud angry voice and instinct. "FUCK OFF URIST THIS TABLE IS MINE!"

Fortron

  • Bay Watcher
  • Camp Leader
    • View Profile
Re: Quick Question for a noob Modder
« Reply #4 on: July 01, 2011, 12:21:41 am »

First off thank you for responding, i can't tell you how nice this forum is compared to other forums.
I understand the code a lot better now. the bracket things is a little embarsing thou ::)

you might find this interesting, i attempted to create a stone from the bones and its kinda works
Spoiler (click to show/hide)
its create a stone called whatever the bones was, in my test its was donkey bone,
and it goes into the stock pile and even shows up as a stone in the stocks screen, however the mason can't use it :( also its still a bone too, the Bone to stone reaction used the stoned bone for its reagent,also you can use the bone stone to make buildings.
« Last Edit: July 01, 2011, 12:42:33 am by Fortron »
Logged
I never ask a man what his business is, for it never interests me. What I ask him about are his thoughts and dreams.