Jump to content

making faction?


supa-splat

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...