Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Need help modding a weapon  (Read 967 times)

danmanthedog

  • Bay Watcher
    • View Profile
Need help modding a weapon
« on: April 16, 2014, 07:42:39 am »

Okay i am modding in a weapon that is basically a Macuahuitl for aztecs. So what I need help is how do I make it that it can only be build in the crafts workshop.
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Need help modding a weapon
« Reply #1 on: April 16, 2014, 08:05:27 am »

[CAN_STONE]

or a custom reaction that has [BUILDING:CRAFTSMAN:NONE] and permitted in the entity [PERMITTED_REACTION:MAKE_MACHUAHUITL]
Logged

danmanthedog

  • Bay Watcher
    • View Profile
Re: Need help modding a weapon
« Reply #2 on: April 16, 2014, 08:46:54 am »

[CAN_STONE]

or a custom reaction that has [BUILDING:CRAFTSMAN:NONE] and permitted in the entity [PERMITTED_REACTION:MAKE_MACHUAHUITL]
so that will make it only make able in the crafts workshop?
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Need help modding a weapon
« Reply #3 on: April 16, 2014, 09:15:40 am »

no they still can be forged, only way to make sure it shows up there only is to not allow it in the ENTITY aka leave out it's WEAPON call. and just have a custom reaction make it in the craftshop. Then when making the military you will have to assign the foreign weapon
Logged

danmanthedog

  • Bay Watcher
    • View Profile
Re: Need help modding a weapon
« Reply #4 on: April 16, 2014, 11:02:11 am »

no they still can be forged, only way to make sure it shows up there only is to not allow it in the ENTITY aka leave out it's WEAPON call. and just have a custom reaction make it in the craftshop. Then when making the military you will have to assign the foreign weapon
ARHHH so much trouble but thanks guys for the help.
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Need help modding a weapon
« Reply #5 on: April 16, 2014, 12:34:13 pm »

Secret tip: open the mdf weapon raws and search for the entry with macuahuitl. (The orcs use those)
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::