Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 193 194 [195] 196 197 ... 544

Author Topic: [MODDING] 0.34. QUESTIONS THREAD  (Read 1042941 times)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2910 on: October 21, 2012, 11:28:40 pm »

You'll want GET_MATERIAL_FROM_REAGENT:reagent identifier for reagent you want material from:NONE.

Stirk

  • Bay Watcher
  • Full Metal Nutball
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2911 on: October 21, 2012, 11:35:46 pm »

Quote
More than likely I'll have to fiddle with it for a while. Dorfs still will just make the swords out of thin air, and I can't seem to find the job listing in either the forge menu or from the manager, thought once I jack a smelter reaction I can find the job fine. I might make my own workshop instead and take it from there. I'm betting there's just a bunch of little errors in the reaction that add up.

That is another thing, I am not sure that the "FORGE"'s tag is "FORGE", which would mean it won't show up in the forge. Try "METALSMITHSFORGE"? I have just been making my own buildings.
Logged
This is my signature. There are many like it, but this one is mine.

This is my waifu, this is my gun. This one's for fighting, this ones for fun.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2912 on: October 21, 2012, 11:39:44 pm »

Quote
More than likely I'll have to fiddle with it for a while. Dorfs still will just make the swords out of thin air, and I can't seem to find the job listing in either the forge menu or from the manager, thought once I jack a smelter reaction I can find the job fine. I might make my own workshop instead and take it from there. I'm betting there's just a bunch of little errors in the reaction that add up.

That is another thing, I am not sure that the "FORGE"'s tag is "FORGE", which would mean it won't show up in the forge. Try "METALSMITHSFORGE"? I have just been making my own buildings.

Quote from: The Wiki
Valid buildings are KILN, SMELTER, TANNER, KITCHEN, QUERN, MILLSTONE, STILL, CRAFTSMAN, and any custom buildings (SOAP_MAKER, SCREW_PRESS, and anything you've added).

Stirk

  • Bay Watcher
  • Full Metal Nutball
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2913 on: October 22, 2012, 12:01:30 am »

Quote
    Valid buildings are KILN, SMELTER, TANNER, KITCHEN, QUERN, MILLSTONE, STILL, CRAFTSMAN, and any custom buildings (SOAP_MAKER, SCREW_PRESS, and anything you've added).

So it doesn't have any then. Your going to have to make your own building, or use one of the existing ones, if you really want.
Logged
This is my signature. There are many like it, but this one is mine.

This is my waifu, this is my gun. This one's for fighting, this ones for fun.

Akjosch

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2914 on: October 22, 2012, 12:03:48 am »

It's like defining variables in pretty much every programming language that uses them, which is pretty much every programming language :P

Heh. I figured it's in all programming languages, I just couldn't state that as a fact since at the moment all I'm really familiar with is Java, as a part of my high school's computer science class. I know some HTML, CSS, and Javascript, but that's more for web site design, blah blah blah, basically I didn't want to assume something and end up getting corrected.

It's really simple: The raws are written in a custom programming language, despite the configuration file like syntax. Every tag you put in there is a command, most of them setting up some attributes on the current object.
Logged

dei

  • Bay Watcher
  • Someone.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2915 on: October 22, 2012, 12:26:57 pm »

Can you make a creature with [PET] and non-[PET] castes?
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2916 on: October 22, 2012, 12:39:47 pm »

Yes. Keep in mind that if you have a female [PET] caste it will produce offspring every single years just like animals do.
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.

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2917 on: October 22, 2012, 08:44:37 pm »

I did not realize wild animals could give birth on screen...   :o <- my face when i saw a couple of hippos give birth

anyways :D my only question is that my reaction to fill barrels with alcohol is producing Drinks instead of my fresh water(modded kobold bulb)

reaction:
Code: [Select]
[REAGENT:A:1:BARREL:NONE:NONE:NONE]
[EMPTY]
[NOT_IMPROVED]
[PRESERVE_REAGENT]
[DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
  [DOES_NOT_ABSORB]
[PRODUCT:100:5:DRINK:NONE:BULB_KOBOLD:NONE][PRODUCT_DIMENSION:150][PRODUCT_TO_CONTAINER:A]

im doing something wrong but im not sure :/


EDIT: Should note that the Drinks are edible oddly enough...
Logged
Quote from: Discord
Suika, Drinker of Sake - Today at 9:11 PM
"...I really don't know why Cu chulainn made that last promise because he is physically incapable of keeping it in his pants, it is like his junk is some kind of unruly seamonster or moray eel telescoping out of its holster and harpooning ladies left and right"
Johnny Jokotaru sent Kars down under

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2918 on: October 22, 2012, 08:51:17 pm »

This:

Code: [Select]
[PRODUCT:100:5:DRINK:NONE:BULB_KOBOLD:NONE]
Is completely wrong.

What you want is probably this:

Code: [Select]
[PRODUCT:100:15:DRINK:NONE:PLANT_MAT:BULB_KOBOLD:DRINK]

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2919 on: October 22, 2012, 09:43:33 pm »

Putnam, Thank you as always. That did the trick
Logged
Quote from: Discord
Suika, Drinker of Sake - Today at 9:11 PM
"...I really don't know why Cu chulainn made that last promise because he is physically incapable of keeping it in his pants, it is like his junk is some kind of unruly seamonster or moray eel telescoping out of its holster and harpooning ladies left and right"
Johnny Jokotaru sent Kars down under

dei

  • Bay Watcher
  • Someone.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2920 on: October 22, 2012, 10:14:47 pm »

Yes. Keep in mind that if you have a female [PET] caste it will produce offspring every single years just like animals do.

Thank you very much. This gives me some really weird ideas that I might actually be able to mod.
Logged

MCipher

  • Bay Watcher
  • The worlding of the words is AMARANTH.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2921 on: October 23, 2012, 12:39:27 am »

I am trying to mod a Reaction in so you can make a Specific type of Booze. I know how simple reactions work, and I've made a custom workshop before, but I don't know what the "ID" of the still is...
And I don't know how to use plants or wood in a reaction, only metals and gems....
And I don't know how to put alcohol as a product, let alone a SPECIFIC alcohol.
I can finish up the reaction after I figure out how to do the above,

Here is the reaction so far:

Spoiler: reaction (click to show/hide)
-note:
I am using this so you can brew a draught that makes dwarves sterile.
Logged
No longer at critical sig mass!
Quote
OOC: Hans Panda: Everyone's going to die. That's how they usually end.
OOC: Hans Panda: I try not to run them that way.
OOC: Hans Panda: But apparently when I'm the villain, I'm too efficient.
OOC: Hans Panda: Even when I monologue.

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2922 on: October 23, 2012, 08:22:14 am »

-snip-

This is the modified version of my make fresh water reaction:

Code: [Select]
[REAGENT:A:1:PLANT:NONE:PLANT_MAT:BULB_KOBOLD:PLANT] <--Replace BULB_KOBOLD With your plant
[REAGENT:B:1:BARREL:NONE:NONE:NONE] <-- so it has a place to be stored
[EMPTY] <-- empty barrels only
[NOT_IMPROVED]
[PRESERVE_REAGENT] <-- barrel will remain
[DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
  [DOES_NOT_ABSORB] <-- will not make liquids disappear
[PRODUCT:100:15:DRINK:NONE:PLANT_MAT:BULB_KOBOLD:DRINK] <-- replace BULB_KOBOLD with your plant (theirs an easier way but this is safest, atleast for me)
[PRODUCT_DIMENSION:150] <-- bars and liquids have this if i saw correctly
[PRODUCT_TO_CONTAINER:B] <-- stores your drink inside the barrel

PS. Thanks again putnam, the reaction now makes delicious fresh water whenever i assign someone to the reaction.
Logged
Quote from: Discord
Suika, Drinker of Sake - Today at 9:11 PM
"...I really don't know why Cu chulainn made that last promise because he is physically incapable of keeping it in his pants, it is like his junk is some kind of unruly seamonster or moray eel telescoping out of its holster and harpooning ladies left and right"
Johnny Jokotaru sent Kars down under

Stirk

  • Bay Watcher
  • Full Metal Nutball
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2923 on: October 23, 2012, 07:10:18 pm »

Quote
I am trying to mod a Reaction in so you can make a Specific type of Booze. I know how simple reactions work, and I've made a custom workshop before, but I don't know what the "ID" of the still is...

Using the "Legend of Forlorn realms" version as a base (It has an individual reaction for every kind of plant. Ill just show you one as an example)
 
Here is one for plump helmets, I am sure you can change it to fit your needs.

Spoiler (click to show/hide)

I hope the guy who made it doesn't mind...
Logged
This is my signature. There are many like it, but this one is mine.

This is my waifu, this is my gun. This one's for fighting, this ones for fun.

MCipher

  • Bay Watcher
  • The worlding of the words is AMARANTH.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2924 on: October 23, 2012, 07:41:11 pm »

Quote from: Stirk
-snip-
Quote from: Sanure
-snip-
Thanks.
Logged
No longer at critical sig mass!
Quote
OOC: Hans Panda: Everyone's going to die. That's how they usually end.
OOC: Hans Panda: I try not to run them that way.
OOC: Hans Panda: But apparently when I'm the villain, I'm too efficient.
OOC: Hans Panda: Even when I monologue.
Pages: 1 ... 193 194 [195] 196 197 ... 544