Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: new items  (Read 470 times)

Spaghetti

  • Bay Watcher
    • View Profile
new items
« on: September 08, 2010, 02:24:58 pm »

so i made a new item

Spoiler (click to show/hide)

and changed the entity file so that...

[GLOVES:ITEM_GLOVES_Nordic Chaingloves:COMMON]

and it still shows up as a foreign object to them any suggestions?

also having trouble making bodkin arrows unforeign
Logged

Spaghetti

  • Bay Watcher
    • View Profile
Re: new items
« Reply #1 on: September 09, 2010, 01:09:48 pm »

help would be aprecciated.

danke shun
Logged

Mephansteras

  • Bay Watcher
  • Forger of Civilizations
    • View Profile
Re: new items
« Reply #2 on: September 09, 2010, 01:43:31 pm »

1) I'm not 100% sure if it matters, but it's best for consistency sake to have the name be ITEM_GLOVES_NORDIC_CHAINGLOVES. The space you have in there could cause some problems.

2) Entities are only guaranteed to have ONE of their COMMON items for a given type/level. All the others may or may not be used by that entity. So it's possible that you just need to test it some more. I know I've got several armorlevel 2 gloves in my mod and I don't always get all of them with a given civ.
Logged
Civilization Forge Mod v2.80: Adding in new races, equipment, animals, plants, metals, etc. Now with Alchemy and Libraries! Variety to spice up DF! (For DF 0.34.10)
Come play Mafia with us!
"Let us maintain our chill composure." - Toady One

Spaghetti

  • Bay Watcher
    • View Profile
Re: new items
« Reply #3 on: September 09, 2010, 03:09:02 pm »

could it be possible that the armor simply dosent fit the entitys body?

i got bodkin arrows able to be used by nords thank you

Logged

Mephansteras

  • Bay Watcher
  • Forger of Civilizations
    • View Profile
Re: new items
« Reply #4 on: September 09, 2010, 05:16:24 pm »

Maybe?

Here is the code for the chain mail gloves I have in my mod. They work just fine:

Code: [Select]
[ITEM_GLOVES:ITEM_GLOVES_CHAIN]
[NAME:chain gauntlet:chain gauntlets]
[ARMORLEVEL:2]
[MATERIAL_SIZE:1]
[LAYER:UNDER]
[COVERAGE:100]
[LAYER_SIZE:10]
[LAYER_PERMIT:10]
[HARD]
[METAL]
[SHAPED]
[STRUCTURAL_ELASTICITY_CHAIN_METAL]
Logged
Civilization Forge Mod v2.80: Adding in new races, equipment, animals, plants, metals, etc. Now with Alchemy and Libraries! Variety to spice up DF! (For DF 0.34.10)
Come play Mafia with us!
"Let us maintain our chill composure." - Toady One

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: new items
« Reply #5 on: September 09, 2010, 05:54:26 pm »

Yeah, it's a wrong ID. ID should be a single word.

Make ITEM_GLOVES_Nordic Chaingloves into ITEM_GLOVES_NORDIC_CHAINGLOVES.

Also it shouldn't have [UBSTEP:1] because it's for body armor only.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository