Custom Crafting stations?

Post » Tue Jun 19, 2012 7:01 pm

Is this possible? I basically want to add beer brewing to my mod and Im not sure the best place to start.

I have recipes that currently use food crafting I just need to set something up they are only craft-able at a custom crafting station.
User avatar
Brentleah Jeffs
 
Posts: 3341
Joined: Tue Feb 13, 2007 12:21 am

Post » Tue Jun 19, 2012 12:37 pm

you can make your own crafting equipment

but here's the catch: you canot make an exclusive crafter, it can only be a specialized crafter.


for example the skyforge is a special forge, only certain weapons can be made on it, but every single weapon craftable at the forge can also be made on it.



likewise, if you have a brewer, you can have it so only your brewing recipes will br created on it, but also every single food recipe will also be created at the brewer (if you are using food crafting as a base)


you cannot make a crafter that only brews alcohol and nothing else (not that i know of)



you can make a ghetto crafter that works sort of like the atronach forge. basically you make an activator and attach a script to the keg that removes specific items from the players inventory and gives specific items back.


for example:


event OnActivate

game.getplayer().removeitem(yeast)
game.getplayer().removeitem(water)
game.getplayer().additem(beer)

endevent

(and obviously add conditionals to see if the player even has the items in the first place, and if not display a messagebox to the player)


you would probabl;y make some in-game recipe books to give to the player so they know what ingredients to use
User avatar
Nina Mccormick
 
Posts: 3507
Joined: Mon Sep 18, 2006 5:38 pm

Post » Wed Jun 20, 2012 12:38 am

Hmm create a new crafting station by either duplicating a preexisting one or simply creating a new furniture and selecting benchtype "Create Object".

Create a new keyword for instance "CraftingBrewingBeer". Add that keyword (by drag'n'drop) to the keywords of your crafting stations. If you duplicated an existing station remove the crafting keyword that already was in the list (look up the according recipes to get the keyword). Then in your recipes also select the new keyword under "Workbench Keyword".

Now your beer recipes and only them should be available at your new crafting station exclusively.
User avatar
Hearts
 
Posts: 3306
Joined: Sat Oct 20, 2007 1:26 am

Post » Tue Jun 19, 2012 9:51 am

Now your beer recipes and only them should be available at your new crafting station exclusively.

problem is if you duplicate cooking spit, you will also be able to "brew" apple pies and mammoth steaks
User avatar
Scared humanity
 
Posts: 3470
Joined: Tue Oct 16, 2007 3:41 am

Post » Tue Jun 19, 2012 6:12 pm

problem is if you duplicate cooking spit, you will also be able to "brew" apple pies and mammoth steaks

I believe if you simply change the keyword, this will fix your issue.
User avatar
Zualett
 
Posts: 3567
Joined: Mon Aug 20, 2007 6:36 pm

Post » Wed Jun 20, 2012 12:09 am

removing any of the default crafting keywords also removes the ability to craft, regardless if you select Craft Object

Edit: well i'll be a monkey's ******

it works. how strange it didn't work for me earlier. good to know though. thanks
User avatar
Andrew
 
Posts: 3521
Joined: Tue May 08, 2007 1:44 am

Post » Wed Jun 20, 2012 12:38 am

As long as you make the furniture a workbench by selecting an existing "bench type" ("create object" being the choice if you want to work with recipes) a crafting menu appears upon activation. What is craftable then is controlled by the keyword system.
User avatar
bimsy
 
Posts: 3541
Joined: Wed Oct 11, 2006 3:04 pm

Post » Tue Jun 19, 2012 7:13 pm

Thanks all, given my mod a whole new direction to go in. :smile:
User avatar
JESSE
 
Posts: 3404
Joined: Mon Jul 16, 2007 4:55 am


Return to V - Skyrim