Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [modding] This is definetly weird. (bone & shell ite  (Read 475 times)

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
[modding] This is definetly weird. (bone & shell ite
« on: February 12, 2008, 06:42:00 am »

First, I thought the issue was less pronounced. Now, it has turned out to be quite weird.

The backstory:
I have modded into the game a set of armor craftable exclusively from bone, and a smaller set craftable from shell.
Now, the basic principle works like a charm. These items do appear in the craft workshops.
The thing is, the items appear haphazardly.

For example, of the five items in the set of bone armor (mail, crown, gauntlets, greaves, boots), the human nations in the world I use for testing only have the greaves available at the 'shop. The dark elves have the gauntlets, the crown, and the greaves, again. The goblins have the boots and again, the greaves. The dwarves have only the shell helmet. These entities have the sets assigned. The items are set up correctly, as proven by the fact that they do appear. Why don't the sets appear in their entirety?

I'm aware that only one item per type can be craftable from the 'shop, that was the reason I made the set. All other items had the BARRED and SCALED tags removed, disallowing their crafting with bone or shell.

It's no longer just an interface problem, methinks. Either something's very wrong with the way I set items up, or something's wrong with the system.

[ February 12, 2008: Message edited by: Sean Mirrsen ]

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

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: [modding] This is definetly weird. (bone & shell ite
« Reply #1 on: February 12, 2008, 12:17:00 pm »

These are the contents of the files where I set the items up:
quote:
item_addarmor

[OBJECT:ITEM]

[ITEM_ARMOR:ITEM_ARMOR_CHESTPIECE]
[NAME:chest armor:chest armor]
[WEIGHT:30]
[VALUE:30]
[MAINBLOCK:20]
[SECONDBLOCK:8]
[ARMORLEVEL:3]
[UBSTEP:0]
[LBSTEP:0]
[LAYER:ARMOR]
[COVERAGE:50]
[LAYER_SIZE:12]
[LAYER_PERMIT:50]
[MATERIAL_SIZE:3]
[SHAPED]
[SCALED]

[ITEM_ARMOR:ITEM_ARMOR_BONEPLATE]
[NAME:splint armor:splint armor]
[PREPLURAL:suits of ]
[WEIGHT:180]
[VALUE:180]
[ARMORLEVEL:4]
[MAINBLOCK:80]
[SECONDBLOCK:50]
[UBSTEP:1]
[LBSTEP:2]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:20]
[LAYER_PERMIT:50]
[MATERIAL_SIZE:4]
[SHAPED]
[BARRED]  



quote:
item_addgloves

[OBJECT:ITEM]

[ITEM_GLOVES:ITEM_GLOVES_BONE]
[NAME:gauntlet:gauntlets]
[WEIGHT:15]
[VALUE:15]
[ARMORLEVEL:2]
[BLOCKPOWER:60]
[MATERIAL_SIZE:2]
[UPSTEP:1]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:10]
[LAYER_PERMIT:10]
[SHAPED]
[BARRED]  



quote:
item_addhelm

[OBJECT:ITEM]

[ITEM_HELM:ITEM_HELM_BONE]
[NAME:crown:crowns]
[WEIGHT:20]
[VALUE:20]
[ARMORLEVEL:2]
[BLOCKPOWER:60]
[SHAPED]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:30]
[LAYER_PERMIT:20]
[MATERIAL_SIZE:2]
[BARRED]

[ITEM_HELM:ITEM_HELM_SHELL]
[NAME:helmet:helmets]
[WEIGHT:20]
[VALUE:20]
[ARMORLEVEL:2]
[BLOCKPOWER:60]
[SHAPED]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:30]
[LAYER_PERMIT:20]
[MATERIAL_SIZE:1]
[SCALED]  



quote:
item_addpants

[OBJECT:ITEM]

[ITEM_PANTS:ITEM_PANTS_BONE]
[PREPLURAL:pairs of ]
[NAME:greaves:greaves]
[WEIGHT:30]
[VALUE:15]
[ARMORLEVEL:1]
[BLOCKPOWER:50]
[LBSTEP:MAX]
[SHAPED]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:15]
[LAYER_PERMIT:30]
[MATERIAL_SIZE:3]
[BARRED]  



quote:
item_addshoes

[OBJECT:ITEM]

[ITEM_SHOES:ITEM_SHOES_BOOTS_BONE]
[NAME:boot:boots]
[WEIGHT:15]
[VALUE:20]
[ARMORLEVEL:2]
[BLOCKPOWER:60]
[LAYER:ARMOR]
[SHAPED]
[UPSTEP:1]
[COVERAGE:100]
[LAYER_SIZE:25]
[LAYER_PERMIT:15]
[MATERIAL_SIZE:1]
[BARRED]  



There's nothing extraordinarily wrong that I can see. Bug or my error?
Note: adding HARD tags doesn't seem to help.
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

Alfador

  • Bay Watcher
  • Dangerous Lunatic
    • View Profile
Re: [modding] This is definetly weird. (bone & shell ite
« Reply #2 on: February 12, 2008, 01:13:00 pm »

Can you access them from the Manager screen?
Logged
This is a fox skull helmet. All craftsdwarfship is of the highest quality. It menaces with spikes of fox bone and is encircled with bands of fox leather. This item is haunted by the ghost of Alfador Angrorung the fox.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: [modding] This is definetly weird. (bone & shell ite
« Reply #3 on: February 12, 2008, 01:27:00 pm »

Hm? Haven't tried, actually...

Nope. Nothing in the manager.

[ February 12, 2008: Message edited by: Sean Mirrsen ]

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

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: [modding] This is definetly weird. (bone & shell ite
« Reply #4 on: February 12, 2008, 04:38:00 pm »

Wait, that's what [BARRED] and [SCALED] do?
Logged

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: [modding] This is definetly weird. (bone & shell ite
« Reply #5 on: February 12, 2008, 05:07:00 pm »

I don't know all the side effects, but apparently BARRED allows crafting the item with bone, and SCALED allows crafting it with shell.
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

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: [modding] This is definetly weird. (bone & shell ite
« Reply #6 on: February 12, 2008, 05:30:00 pm »

In another world (non-crashing worlds are becoming rare with a lot of races), the humans have both the shell items, and the dwarves have only those too. The dark elves and goblins have three of the five bone items (greaves, mail, boots), and one of the shell ones. I am, quite simply, at a loss here. I can provide the mod for experimentation, if you need it, Toady. You can also use it to determine worldgen crash causes - the worlds crash on a per-seed basis.
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

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: [modding] This is definetly weird. (bone & shell ite
« Reply #7 on: February 12, 2008, 08:09:00 pm »

I think even if they are marked as "COMMON" in the entity, it will only force one of each type per entity realization (though it can add more than one).  Perhaps there should be a new rarity value "FORCED" to force the item to be used.
Logged
The Toad, a Natural Resource:  Preserve yours today!