Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 352 353 [354] 355 356 ... 373

Author Topic: DFHack 0.34.11 r3  (Read 1457110 times)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5295 on: March 01, 2014, 04:12:02 pm »

Workflow.

There's also a file called dfhack.init-example. You might want to rename that to dfhack.init.

Aaarrgh!

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5296 on: March 01, 2014, 06:23:53 pm »

Workflow.

There's also a file called dfhack.init-example. You might want to rename that to dfhack.init.

Thanks, that really helped! Also, is there a dictionary or flowchart of some sort to help with the constraint spec?
Logged

Chaos17

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5297 on: March 03, 2014, 05:11:43 am »

Hi,

How do I use get plants to get all the plants like in the plugins autchop, please?
I tried to trad the documentation and using some commands but I'm just a newbie...
Logged

Bo-Rufus CMVII

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5298 on: March 03, 2014, 05:45:41 am »

Hi,

How do I use get plants to get all the plants like in the plugins autchop, please?
I tried to trad the documentation and using some commands but I'm just a newbie...
I haven't tried the autochop, but you can use getplants thus:

getplants -t WILLOW

will mark all the willow trees on the map for choping.

You can also use d->t to make some trees to chop, and then do:

getplants -c CEDAR

to *unmark* any cedar trees that were marked for choping.
Logged

Chaos17

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5299 on: March 03, 2014, 03:13:09 pm »

thanks  :)
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.34.11 r3
« Reply #5300 on: March 04, 2014, 03:04:13 pm »

getplants -t WILLOW

will mark all the willow trees on the map for choping.
Technically, you don't need "-t" if you're specifying by name - the "-t" (trees only) and "-s" (shrubs only) options are meant to be used with "-a" (select all) and "-x" (exclude) options (e.g. so you can say "all trees except CEDAR" as compared to "all trees and shrubs except for CEDAR and MUSHROOM_HELMET_PLUMP).
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Sutremaine

  • Bay Watcher
  • [ETHIC:ATROCITY: PERSONAL_MATTER]
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5301 on: March 04, 2014, 09:45:13 pm »

Reasking this infection-viewing question, since it wasn't answered and ended up tucked away at the bottom of a page.
Logged
I am trying to make chickens lay bees as eggs. So far it only produces a single "Tame Small Creature" when a hen lays bees.
Honestly at the time, I didn't see what could go wrong with crowding 80 military Dwarves into a small room with a necromancer for the purpose of making bacon.

Roses

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5302 on: March 05, 2014, 02:24:37 am »

Reasking this infection-viewing question, since it wasn't answered and ended up tucked away at the bottom of a page.

Are you using the correct unit.body.infection_level (not the one with T_body)?
Logged

Sutremaine

  • Bay Watcher
  • [ETHIC:ATROCITY: PERSONAL_MATTER]
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5303 on: March 05, 2014, 06:55:35 pm »

Here's the working script for blood count:

Spoiler (click to show/hide)

Uses unit.body.blood_count. Substituting that for unit.body.infection_level gives me the T_body error.
Logged
I am trying to make chickens lay bees as eggs. So far it only produces a single "Tame Small Creature" when a hen lays bees.
Honestly at the time, I didn't see what could go wrong with crowding 80 military Dwarves into a small room with a necromancer for the purpose of making bacon.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5304 on: March 05, 2014, 07:14:52 pm »

You probably want df.unit.find rather than df.global.world.units.all.

Also, are you on r3? The structure xml is for r4.

Roses

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5305 on: March 05, 2014, 07:55:28 pm »

Here's the working script for blood count:

Spoiler (click to show/hide)

Works fine for me on r4

Uses unit.body.blood_count. Substituting that for unit.body.infection_level gives me the T_body error.
Logged

Sutremaine

  • Bay Watcher
  • [ETHIC:ATROCITY: PERSONAL_MATTER]
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5306 on: March 05, 2014, 09:22:01 pm »

Ah. What's the status of r4 now?
Logged
I am trying to make chickens lay bees as eggs. So far it only produces a single "Tame Small Creature" when a hen lays bees.
Honestly at the time, I didn't see what could go wrong with crowding 80 military Dwarves into a small room with a necromancer for the purpose of making bacon.

ag

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5307 on: March 06, 2014, 01:06:40 am »

r4 has been unofficially released quite a while back now, and there won't be an official release of it because things have changed since then. Instead, there may be an r5 eventually.
Logged

IndigoFenix

  • Bay Watcher
  • All things die, but nothing dies forever.
    • View Profile
    • Boundworlds: A Browser-Based Multiverse Creation and Exploration Game
Re: DFHack 0.34.11 r3
« Reply #5308 on: March 06, 2014, 06:21:00 pm »

Anyone know how to read data on an attack?  All I see is a bunch of 'userdata'.

Bo-Rufus CMVII

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #5309 on: March 07, 2014, 02:01:29 am »

Is it possible to make a script re-execute periodically, or would you have to make a plugin for that?
Logged
Pages: 1 ... 352 353 [354] 355 356 ... 373