Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Entity not spawning with custom items  (Read 1641 times)

nunix

  • Bay Watcher
    • View Profile
Entity not spawning with custom items
« on: March 05, 2008, 03:35:00 pm »

I've change my kobolds/skulking entity to.. something else. Virtually all of the data remains the same, but the creatures are size 2, and I changed the weapon and clothes they have access to. Specifically, they have one weapon and one pants item:

[WEAPON:ITEM_WEAPON_SWORD_FEEGLE]
[PANTS:ITEM_PANTS_KILT:COMMON]

The weapon entry is:

[ITEM_WEAPON:ITEM_WEAPON_SWORD_FEEGLE]
[NAME:Feegle sword:Feegle swords]
[DAMAGE:120:SLASH]
[WEIGHT:10]
[SKILL:SWORD]
[CRIT_BOOST:1]
[TWO_HANDED:2]
[MINIMUM_SIZE:2]
[MATERIAL_SIZE:1]

The pants entry is:

[ITEM_PANTS:ITEM_PANTS_KILT]
[NAME:kilt:kilts]
[WEIGHT:13]
[VALUE:10]
[BLOCKPOWER:15]
[LBSTEP:1]
[LAYER:OVER]
[COVERAGE:100]
[LAYER_SIZE:10]
[LAYER_PERMIT:100]
[MATERIAL_SIZE:1]
[SOFT]
[LEATHER]

The problem is that when kobolds spawn, they always have at least a dagger and a pair of pants or a tunic or something. When my Feegles spawn, they have absolutely nothing. The kilt is just (for now) a numbers copy of a skirt, and the sword is just a normal sword except for minimum_size, material_size, and two_handed number changes to reflect the creature size.

Does anything there look out of place?

[ March 05, 2008: Message edited by: nunix ]

Logged

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Entity not spawning with custom items
« Reply #1 on: March 05, 2008, 03:52:00 pm »

There's nothing spectacularly wrong.

You could be forgetting to properly initialize your critters, especially if you have them in new files.

Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

nunix

  • Bay Watcher
    • View Profile
Re: Entity not spawning with custom items
« Reply #2 on: March 05, 2008, 03:54:00 pm »

Nah, the creature is in creature_standard, and the creature spawns properly itself (little bastards are always breaking into the fort), they just don't show up with any items.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Entity not spawning with custom items
« Reply #3 on: March 05, 2008, 04:20:00 pm »

You've made a new world, do you?
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

nunix

  • Bay Watcher
    • View Profile
Re: Entity not spawning with custom items
« Reply #4 on: March 05, 2008, 04:23:00 pm »

Yes. I make a new world and clean out data/objects and /save every time I do changes like this.
Logged

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Entity not spawning with custom items
« Reply #5 on: March 05, 2008, 04:40:00 pm »

And the items? Are the items in existing files?

Also, are the creatures complete copies of another, or did you make a completely new creature? The lack of an [EQUIPS] tag could do this...

Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

nunix

  • Bay Watcher
    • View Profile
Re: Entity not spawning with custom items
« Reply #6 on: March 05, 2008, 04:42:00 pm »

It's got EQUIPS. The weapon is at the bottom of item_weapon and the pants at the bottom of item_pants
Logged

Chariot

  • Bay Watcher
  • Turtle Trainer
    • View Profile
Re: Entity not spawning with custom items
« Reply #7 on: March 05, 2008, 08:04:00 pm »

if the feegles are thieves, and thats what you're checking, thats why. thieves equip a [SKILL :DAGGER] weapon, while that is a [SKILL:SWORD] weapon
Logged

nunix

  • Bay Watcher
    • View Profile
Re: Entity not spawning with custom items
« Reply #8 on: March 05, 2008, 09:17:00 pm »

Huhhh. That's verrra' interesting. Well, that's the weapon explained. Is the clothing issue likely the same thing?
Logged