supa-splat Posted October 29, 2005 Share Posted October 29, 2005 i have made a new faction, 'the guild of brewers', for a mod that i am making. it just allows you to make different stuff for alchemy (drinks and ales) but i don't know how to get the player to join. can someone help me please? :/ Link to comment Share on other sites More sharing options...
Marxist ßastard Posted October 29, 2005 Share Posted October 29, 2005 In a dialog results box or script, enter in... PCJoinFaction "WOHO MIEY BEER-DRUNKING FACSHUN WERE ALL DRUNK!!!11!" Upon execution, this code will make the PC join the faction with unique identifier (note that this is different than the formal name, which the player sees in his factions list and may or may not be unique) "WOHO MIEY BEER-DRUNKING FACSHUN WERE ALL DRUNK!!!11!" Link to comment Share on other sites More sharing options...
supa-splat Posted October 29, 2005 Author Share Posted October 29, 2005 ok, thanks.oh... i just remembered, how do i get it so the player can make the drinks in the game? i have made them in cs and placed them in the guild hall, but i don't know how to set the ingredients ect... Link to comment Share on other sites More sharing options...
Marxist ßastard Posted October 29, 2005 Share Posted October 29, 2005 Although some very clever scripting can be done to get around this limitation, the short answer is that you cannot specify that a specific potion will be made upon mixing certain ingredients -- the behavior of a potion being generated that contains all the effects that match between the ingredients is hardcoded. You can, however, quite easily implement this via dialog. Simply add in some dialog responses under the heading of the brew you want the PC to make, the one up top having a condition checking for the NPC being of a proper rank in your guild to make drinks, and another condition checking to see that the PC doesn't have the ingredients necessary, that informs the PC of this unfortunate scenario. Directly below that, place a response that only checks that the NPC is of proper rank, that has a results box like the following... messagebox "LIEK OMG SHE HANDS JOO A MICKS HARD LAME-ONADE LOL!" player->removeitem "DEESGUSTING BITS OF ROTING FLES!!1" 3 player->removeitem "FARY TEEF!!111!" 1 player->additem "OMG MICKS HARD LAME-ONADE11" 1 Link to comment Share on other sites More sharing options...
supa-splat Posted October 29, 2005 Author Share Posted October 29, 2005 thanks. :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.