Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 10 11 [12] 13 14 ... 247

Author Topic: [MODDING] 0.40.x QUESTIONS THREAD  (Read 315518 times)

Tabithda

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #165 on: July 09, 2014, 05:17:08 pm »

Apparently, creatures that live in caves will in the post-worldgen activity stuff send out people to "reclaim" other caves, or otherwise send out people to "found" new ones(which if visited will have have nothing in them and no-one there).

I first noticed this with my modded race that lives in caves, and it also happens if you mod humans to live in caves.  I have not yet checked if kobolds do this, but I suspect that they do as well.
Logged

GavJ

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #166 on: July 09, 2014, 05:18:18 pm »

Quote
Make a fake blood tissue layer and remove the [BLOOD] tag from it. you will get weird combat messages but it will bleed and not die.
Isn't the whole point of non-fatal bleeding for the sake of flavorful combat messages?
Logged
Cauliflower Labs – Geologically realistic world generator devblog

Dwarf fortress in 50 words: You start with seven alcoholic, manic-depressive dwarves. You build a fortress in the wilderness where EVERYTHING tries to kill you, including your own dwarves. Usually, your chief imports are immigrants, beer, and optimism. Your chief exports are misery, limestone violins, forest fires, elf tallow soap, and carved kitten bone.

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #167 on: July 09, 2014, 05:19:26 pm »

Do you have to remove eating, sleeping, and drinking to get civilized egg-layers to reproduce successfully?
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Teneb

  • Bay Watcher
  • (they/them) Penguin rebellion
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #168 on: July 09, 2014, 05:59:47 pm »

Do you have to remove eating, sleeping, and drinking to get civilized egg-layers to reproduce successfully?
I don't think so, but it would probably help. I guess you could lock them in the nest-box room.


Has anyone tested if [IMMOBILE] is still valid?
Logged
Monstrous Manual: D&D in DF
Quote from: Tack
What if “slammed in the ass by dead philosophers” is actually the thing which will progress our culture to the next step?

Spehss _

  • Bay Watcher
  • full of stars
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #169 on: July 09, 2014, 06:21:17 pm »

The sponge still has [IMMOBILE] in its raws, so I'd think it's still valid.
Logged
Steam ID: Spehss Cat
Turns out you can seriously not notice how deep into this shit you went until you get out.

Sergarr

  • Bay Watcher
  • (9) airheaded baka (9)
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #170 on: July 09, 2014, 06:21:25 pm »

Do you have to remove eating, sleeping, and drinking to get civilized egg-layers to reproduce successfully?
I don't think so, but it would probably help. I guess you could lock them in the nest-box room.


Has anyone tested if [IMMOBILE] is still valid?
Code: [Select]
[CREATURE:SPONGE]
[DESCRIPTION:A tiny sea creature which dwells on the ocean floor, devoid of senses or motion.]
[NAME:sponge:sponges:sponge]
[CASTE_NAME:sponge:sponges:sponge]
[CREATURE_TILE:'s'][COLOR:4:0:1]
[PETVALUE:10]
[FREQUENCY:100]
[AQUATIC][NOBONES]              [IMMOBILE]             [UNDERSWIM]
[BENIGN][NATURAL]
[NOT_BUTCHERABLE]
[BIOME:ANY_OCEAN]
[BIOME:ANY_LAKE]
[BIOME:ANY_RIVER]
[NO_EAT]
[NO_DRINK]
[NOTHOUGHT]
[NO_THOUGHT_CENTER_FOR_MOVEMENT]
[EXTRAVISION]
[MUNDANE]
[POPULATION_NUMBER:250:500]
[PREFSTRING:squishy texture]
[BODY:BASIC_1PARTBODY_THOUGHT]
[USE_MATERIAL_TEMPLATE:SPONGE:SPONGE_TEMPLATE]
[USE_TISSUE_TEMPLATE:SPONGE:SPONGE_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:ALL:SPONGE]
[HAS_NERVES]
[CREATURE_CLASS:GENERAL_POISON]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[BODY_SIZE:0:0:50000]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[MAXAGE:20:30] 2 to 200?
[ALL_ACTIVE]
[NO_SLEEP]
[NO_DIZZINESS]
[SET_TL_GROUP:BY_CATEGORY:ALL:SPONGE]
[TL_COLOR_MODIFIER:RED:1]
[TLCM_NOUN:body:SINGULAR]
yes

EDIT: ninja'd by EIGHT SECONDS ARGHBLARG
Logged
._.

Spehss _

  • Bay Watcher
  • full of stars
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #171 on: July 09, 2014, 06:22:41 pm »

Hooray I'm helpful!
Logged
Steam ID: Spehss Cat
Turns out you can seriously not notice how deep into this shit you went until you get out.

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #172 on: July 09, 2014, 06:26:35 pm »

Yeah I think I've gotta fix this bone pain nonsense before I do any further modding. Will post fix when it's done.

EDIT:
https://www.dropbox.com/s/ohpogozse5pqy74/tissue_template_default.txt

Here, this seems a lot more fair. I also upped organ pain so that you can't just fight at 100% with two busted lungs and a knife in your gut.
« Last Edit: July 09, 2014, 07:15:12 pm by Xangi »
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

lanp

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #173 on: July 09, 2014, 06:34:22 pm »

Now if only I could get it to bleed but not die from blood loss it would be complete...

Make a fake blood tissue layer and remove the [BLOOD] tag from it. you will get weird combat messages but it will bleed and not die.

Code: [Select]
[TISSUE:BLOOD]
[TISSUE_NAME:blood:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:BLOOD]
[TISSUE_MAT_STATE:LIQUID]
[RELATIVE_THICKNESS:1]
[CONNECTS]
[HEALING_RATE:1]
[TISSUE_SHAPE:LAYER]

[TISSUE_LAYER_UNDER:BY_CATEGORY:ALL:BLOOD] -- this should place the blood under the topmost layer if you use it after the BDP that layers your creature.

I think you suggested this idea to me once before. I find that the combat logs really break my immersion when I do this.

Maybe Toady will be extra kind and in the next update we'll get a [NOBLOODLOSS] token.
Logged

Spehss _

  • Bay Watcher
  • full of stars
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #174 on: July 09, 2014, 08:50:25 pm »

When a megabeast attacks a fort, does the announcement that pops up use the content from the [DESCRIPTION: ] tag in the megabeast's raws?
Logged
Steam ID: Spehss Cat
Turns out you can seriously not notice how deep into this shit you went until you get out.

FallenAngel

  • Bay Watcher
  • !!x(oᴥo)x!!
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #175 on: July 09, 2014, 08:57:10 pm »

Yes, it does.
In fact, it does that for any non-siege attack - werebeasts in human form will give the human description.

TheDorf

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #176 on: July 09, 2014, 09:17:33 pm »

I'm currently trying to create a reaction for magical potions/elixirs. I've got an inorganic material that looks like this:
Spoiler (click to show/hide)

How would I go about accessing the drink? Would the following work?
Spoiler (click to show/hide)

Does that look right? How would I go about making it require water instead of "any liquid"? Is WATER a material?
« Last Edit: July 09, 2014, 09:35:20 pm by TheDorf »
Logged
I love this community. Somebody asks "hay guise how do i tame shark", and then everybody is like "why don't we fling sharks at things with complex mechanical devices?".

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #177 on: July 09, 2014, 09:37:55 pm »

What you did there is what you do for a plant, not for an inorganic. You probably want to use material reaction products.

TheDorf

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #178 on: July 09, 2014, 09:44:44 pm »

What you did there is what you do for a plant, not for an inorganic. You probably want to use material reaction products.

Yeah, I looked at a plump helmet for hints :-[ So I should just create another inorganic that is permanently in liquid form, and let this be the product of the reaction? And how do I make it only accept water? :)
« Last Edit: July 09, 2014, 09:49:03 pm by TheDorf »
Logged
I love this community. Somebody asks "hay guise how do i tame shark", and then everybody is like "why don't we fling sharks at things with complex mechanical devices?".

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #179 on: July 09, 2014, 09:52:36 pm »

Yeah, use the plump helmet raw for hints on that, like this:

Code: [Select]
   [INORGANIC:DRAUGHT_OF_REINVIGORATION]
      [USE_MATERIAL_TEMPLATE:PLANT_ALCOHOL_TEMPLATE]
      [STATE_NAME_ADJ:ALL_SOLID:frozen draught of reinvigoration]
      [STATE_NAME_ADJ:LIQUID:draught of reinvigoration]
      [STATE_NAME_ADJ:GAS:boiling draught of reinvigoration]
      [MATERIAL_VALUE:10]
      [DISPLAY_COLOR:5:0:0]
      [EDIBLE_RAW]
      [PREFIX:NONE]
      [SYNDROME]
         [SYN_NAME:draught of reinvigoration]
         [SYN_AFFECTED_CLASS:GENERAL_POISON]
         [SYN_IMMUNE_CREATURE:RATTLESNAKE:ALL]
         [SYN_INJECTED]
         [CE_ADD_TAG:NO_EAT:NO_DRINK:NO_SLEEP:START:0:END:5]

You'll want the reaction to create that as a DRINK item. The rest is fine, except that you want SYN_INGESTED rather than SYN_INJECTED (since it's being drunk). You may not want rattlesnakes to be immune to it, either. Water is a material
Pages: 1 ... 10 11 [12] 13 14 ... 247