Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 157 158 [159] 160 161 ... 247

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

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2370 on: April 09, 2015, 04:10:05 pm »

Really? I had always thought that line was required, but I've never tested without it. So if it isn't required, I stand corrected.
Adventure tier just allows you to play as a creature that belongs to an in-world entity as opposed to an outsider, which for dummy entities like that dragon one is superfluous. Also, the number does not need to be unique. It's just for sorting.
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

Nathail

  • Bay Watcher
  • Dabbling Modder
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2371 on: April 09, 2015, 09:32:36 pm »

Is it possible to have a reaction require a specific material from a specific creature? Like, say. hydra heart?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2372 on: April 09, 2015, 09:37:52 pm »

CREATURE_MAT:HYDRA:HEART

though I forgot what he exact name of the heart tissue is

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2373 on: April 09, 2015, 09:59:39 pm »

Is it possible to have a reaction require a specific material from a specific creature? Like, say. hydra heart?
CREATURE_MAT:HYDRA:HEART

though I forgot what he exact name of the heart tissue is
It is HEART and so is the material so you have the right of it.
And Nathail also remember that the reaction's reagent goes
Code: [Select]
[REAGENT:<reference usually A,B,C, etc>:<number created>:<Item token>:<Item subtype>:<material type>:<material argument>]"CREATURE_MAT" goes in material type and "HYDRA:HEART" goes in material argument. If Item token and Item subtype are both NONE then any item with hydra heart material should be accepted.
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;

Nathail

  • Bay Watcher
  • Dabbling Modder
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2374 on: April 10, 2015, 08:27:17 am »

Excellent, thanks!
Logged

Propman

  • Bay Watcher
  • Eh.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2375 on: April 10, 2015, 08:35:20 am »

How does one use "CE_SKILL_ROLL_ADJUST" to reset a creature's skills to 0, and is it possible to target specific skills?
Logged
Quote from: from Pathos on April 07, 2010, 08:29:05 pm »
( It was inevitable, really. )

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2376 on: April 10, 2015, 08:39:50 am »

It doesn't reset it to a different level, it just forces the creature to act as if its current skill is a set percentage of it instead.

To make a creature effectively level zero every time, you would use CE_SKILL_ROLL_ADJUST:0:100

It cannot apply to specific skills. It's all or none.
Logged

Nathail

  • Bay Watcher
  • Dabbling Modder
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2377 on: April 10, 2015, 01:23:38 pm »

Tiny issue with a reaction I'm working on.

Code: [Select]
[REACTION:ALCHEMIZE]
[NAME:make megabeast balm]
[ADVENTURE_MODE_ENABLED]
[REAGENT:hydra heart:1:NONE:NONE:CREATURE_MAT:HYDRA:HEART]
[REAGENT:dragon heart:1:NONE:NONE:CREATURE_MAT:DRAGON:HEART]
[REAGENT:roc heart:1:NONE:NONE:CREATURE_MAT:ROC:HEART]
[PRODUCT:100:1:PLANT:NONE:PLANT_MAT:BALM_MEGA:STRUCTURAL]
[SKILL:ALCHEMY]

In theory, one bit of butchered heart from each creature will make the balm. Well, you do need a bit from each creature, and it will produce the balm (which I have based very loosely on the balms from DF Wanderer). Trouble is, the bit doesn't seem to need to be a heart. I'm not sure what's up with that, but it's a little odd to make a fragrant ointment out of a skull, a toenail, and a serving of prepared kidney.
Logged

TheFlame52

  • Bay Watcher
  • Certified geezer & only man to win 0.40.24
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2378 on: April 10, 2015, 03:51:06 pm »

Okay, so I had an epiphany:

A while ago I learned that alcoholism of a beverage is determined by whether or not it is a drink that goes in a stockpile.

So why not make dwarf blood from the alcohol template, giving vampires the alcohol they need to keep going? No weird syndromes or workarounds!

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2379 on: April 10, 2015, 03:54:39 pm »

Vampires' thirsts are slaked by draining blood. They do not get slaked from drinking it.

TheFlame52

  • Bay Watcher
  • Certified geezer & only man to win 0.40.24
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2380 on: April 10, 2015, 03:56:14 pm »

I know, that's not what I meant. I meant doing so in order to prevent alcohol-deprivation slowdown in vampires.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2381 on: April 10, 2015, 03:57:56 pm »

I doubt they'd drink it.

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2382 on: April 10, 2015, 04:09:31 pm »

I think the question is if dwarf blood is considered a type of alcohol, would a vampire that drinks blood-beer out of a victim solve the common vampire slowdown problem?

I've seen it mentioned before, but I haven't tested to see if it works.
Logged

TheFlame52

  • Bay Watcher
  • Certified geezer & only man to win 0.40.24
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2383 on: April 10, 2015, 04:19:24 pm »

I'd test if I knew how to.

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2384 on: April 10, 2015, 07:07:46 pm »

I'd test if I knew how to.
Well, the first step is to find a vampire willing to bite you.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map
Pages: 1 ... 157 158 [159] 160 161 ... 247