Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [38a] Dwarf matures while being snatched  (Read 711 times)

Sagabal

  • Bay Watcher
  • Komrade!
    • View Profile
[38a] Dwarf matures while being snatched
« on: February 24, 2008, 03:04:00 pm »

I was looking at my unit list, and noticed that it only listed one child.  Normally I have two.  Then I got an announcement that a child has grown into a peasant.  I check my unit list again, and found no new peasant, and still one child.  An announcement let me know that a donkey foal bumped into a goblin snatcher, who was near the edge of the map.  And so I came up with this in the log:

code:
Minkot Bidokoddom, Animal Dissector cancels Hunt: Interrupted by hoary marmot.
*** STARTING NEW GAME ***
** Loading Fortress **
x2
DŒshmab Vucarmor has grown to become a Peasant.
Snatcher!  Protect the children!
A kidnapper has made off with the Peasant DŒshmab Vucarmor!
A human caravan from Quabbehal has arrived.
A human Guild Representative from Quabbehal has arrived.
** Loading Fortress **
Deduk Olinodur, Child cancels Sleep: Caged.
Snatcher!  Protect the children!
Tholtig Kosothlerteth has become a Recruit.

I didn't see this mentioned in the bug reports when I searched, and I couldn't find anything about it in the recent fix.

Logged

Jothki

  • Bay Watcher
    • View Profile
Re: [38a] Dwarf matures while being snatched
« Reply #1 on: February 24, 2008, 03:19:00 pm »

Do goblin snatchers pick their target when they spawn and beeline for it, or do they wander around until they see a child? If it's the first, the code probably isn't bothering to check that the the child hasn't matured since then.

The most efficient place to put the check would probably be at snatch-time, though it might make more sense to the player to allow the goblin to pick a new target midway through.

Logged

Griz

  • Bay Watcher
    • View Profile
Re: [38a] Dwarf matures while being snatched
« Reply #2 on: February 24, 2008, 03:31:00 pm »

I remember in one of the earlier versions, I didn't have any children, so the goblin grabbed a peasant who had grown up a few months before.
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: [38a] Dwarf matures while being snatched
« Reply #3 on: February 25, 2008, 09:29:00 pm »

Yeah, I think they just don't bother to check the state of their target once they've made up their mind (they'll refresh the target if it dies though).  I'll note it down.
Logged
The Toad, a Natural Resource:  Preserve yours today!