Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Can't figure out why this weapon isn't creatable  (Read 825 times)

Zaik

  • Bay Watcher
    • View Profile
Can't figure out why this weapon isn't creatable
« on: September 29, 2010, 11:56:58 am »

[ITEM_WEAPON:ITEM_WEAPON_ARBALEST]
[NAME:arbalest:arbalesti]
[SIZE:800]
[SKILL:MISC_WEAPON]
[RANGED:CROSSBOW:SHOT]
[SHOOT_FORCE:2500]
[SHOOT_MAXVEL:2500]
[TWO_HANDED:62500]
[MINIMUM_SIZE:50000]
[MATERIAL_SIZE:8]
[ATTACK:BLUNT:20000:8000:bash:bashes:NO_SUB:3000]


[ITEM_AMMO:ITEM_AMMO_SHOT]
[NAME:arbalest shot:arbalest shots]
[CLASS:SHOT]
[SIZE:525]
[ATTACK:EDGE:7:12000:stab:stabs:NO_SUB:2500]

(under [ENTITY:MOUNTAIN] in entity_default.txt)
[WEAPON:ITEM_WEAPON_ARBALEST]
      [AMMO:ITEM_AMMO_SHOT]

In arena mode it fires the ammo just fine(probably too fine, iron bolts fly through steel armor and stick in the wound every time), and I can craft the ammo in fortress mode, but oddly I can't make the Arbalest.

Any idea what could be wrong with it?
Logged
[MILL_CHILD:ONLY_IF_GOOD_REASON]

ZhangC1459

  • Bay Watcher
    • View Profile
Re: Can't figure out why this weapon isn't creatable
« Reply #1 on: September 29, 2010, 12:55:37 pm »

did you add a reaction to make the thing?

EDIT: you know, [REACTION:MAKE_ARBALEST] and all the stuff under it
EDIT2: And put [PERMITTED_REACTION:MAKE_ARBALEST] or whatever in entitydefault

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Can't figure out why this weapon isn't creatable
« Reply #2 on: September 29, 2010, 01:03:11 pm »

Why? just add [WEAPON:ITEM_WEAPON_ARBALEST] and [AMMO:ITEM_AMMO_SHOT].
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Zaik

  • Bay Watcher
    • View Profile
Re: Can't figure out why this weapon isn't creatable
« Reply #3 on: September 29, 2010, 01:25:44 pm »

Quote from: ZhangC1459
did you add a reaction to make the thing?

EDIT: you know, [REACTION:MAKE_ARBALEST] and all the stuff under it
EDIT2: And put [PERMITTED_REACTION:MAKE_ARBALEST] or whatever in entitydefault

You don't have to create/permit reactions to create weapons, you can add foreign weapons to dwarf civilizations by just copying the [WEAPON:ITEM_WEAPON_WHATEVERWEAPON] from the other entities in the file. Adamantine scourges and Platinum whips are kind of fun, though they still don't really match a plain old battle axe.

Why? just add [WEAPON:ITEM_WEAPON_ARBALEST] and [AMMO:ITEM_AMMO_SHOT].

I've had that for the last 3-4 world gens and i can always make the ammo and never the weapon.

Here's the [ENTITY:MOUNTAIN] from my current world:

Spoiler (click to show/hide)


I guess only the top part mattered, but oh well.
« Last Edit: September 29, 2010, 01:30:34 pm by Zaik »
Logged
[MILL_CHILD:ONLY_IF_GOOD_REASON]

Zaik

  • Bay Watcher
    • View Profile
Re: Can't figure out why this weapon isn't creatable
« Reply #4 on: September 29, 2010, 02:01:18 pm »

Well, i decreased the size and material size of it to 500/5 and it actually let me embark with it, i'll see in a second if i can make them

Edit: It works now. I guess the material size was too high for whatever reason that would be a problem.
« Last Edit: September 29, 2010, 02:03:41 pm by Zaik »
Logged
[MILL_CHILD:ONLY_IF_GOOD_REASON]

ZhangC1459

  • Bay Watcher
    • View Profile
Re: Can't figure out why this weapon isn't creatable
« Reply #5 on: September 29, 2010, 02:32:23 pm »

Quote from: ZhangC1459
did you add a reaction to make the thing?

EDIT: you know, [REACTION:MAKE_ARBALEST] and all the stuff under it
EDIT2: And put [PERMITTED_REACTION:MAKE_ARBALEST] or whatever in entitydefault

You don't have to create/permit reactions to create weapons, you can add foreign weapons to dwarf civilizations by just copying the [WEAPON:ITEM_WEAPON_WHATEVERWEAPON] from the other entities in the file. Adamantine scourges and Platinum whips are kind of fun, though they still don't really match a plain old battle axe.


:O did not know that

Zaerosz

  • Bay Watcher
  • ☼sperm whale leather thong☼
    • View Profile
Re: Can't figure out why this weapon isn't creatable
« Reply #6 on: September 30, 2010, 09:22:07 pm »

...why is your librarian bit in the middle of the permitted reactions bit?

Also, I saw the [PERMITTED_REACTION:TRAIN_THROWING] line and instantly imagined dwarves crushing sieges with thrown trains. Awesome.
Logged
くコ:彡