Announcement

Collapse
No announcement yet.

my take on an Item Fusion NPC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    my take on an Item Fusion NPC

    There are 2 ways to make a simple Item Combination NPC, you can either use Shared Variables or Modes, I will use Shared Variables in this example. Here's what you need:
    1.) 1 Shared Variable slot
    2.) 1 Character Slot (NPC)
    3.) 2 Standard Events/ Characters / Battles
    4.) Items you want to Create

    Example: In order to make an item called "Angel Wings", you need 1 "Left Wing" and 1 "Right Wing". Here's what I did:

    #NPC Mode 1, Event code:

    Message Display ("Hello, If you bring me Left Wing from Left Valley and Right Wing from Right Valley, I can give you an item called Angel Wings")
    Var-Conditional Branch (Shared Variables)
    _If Val = 0
    __Message Display ("Sorry, you don't have any of the items")
    _If Val = 1
    __Message Display ("I see you got Left Wing, get Right Wing From Right Valley")
    _If Val = 2
    __Message Display ("I see you got Right Wing, get Left Wing from Left Valley")
    _If Val = 3
    __Message Display ("Fantastic! You have both! Here's your new item!")
    __Obtain Items (Angel Wings)
    __Modify Mode (2)

    #NPC Mode 2, Event code:

    Message Display ("I have nothing else to give you")

    #Standard Event (Left Wing) Mode 1:

    Message Display ("You have obtained Left Wing")
    Increase Shared Var (+1)
    Obtain Items (Left Wing)
    Modify Mode (2)

    #Standard Event (Left Wing) Mode 2:

    Message Display ("Empty")

    #Character Event code (Right Wing) Mode 1:

    Message Display ("Hey dude! I found this lying around")
    Message Display ("You have obtained Right Wing")
    Increase Shared Var (+2)
    Obtain Items (Right Wing)
    Modify Mode (2)

    #Character Event code (Right Wing) Mode 2:

    Message Display ("Hello")


    Basically, this lets you "fuse" 2 items together to form a different item. If there's anything you don't get, just ask. I've already tested this and it works, if there are any errors, might be in my typing. I'll post this and other tips in a new topic maybe tomorrow coz I just registered and I can't post a lot.

    #2
    Re: my take on an Item Fusion NPC

    Awesome dude!! You're what makes the online rpgm community so cool!

    Comment


      #3
      Re: my take on an Item Fusion NPC

      Lo, who be you, person?

      ~Updates weekly on Sundays~

      Comment


        #4
        Re: my take on an Item Fusion NPC

        what if they get the right wing first, please rethink what you post...
        if that get the right wing first with that code...+2, then they might not be able to get to the other code.

        Comment


          #5
          Re: my take on an Item Fusion NPC

          No, he's got it right. If you get right wing first it goes to it will be 0 +2 which gives you

          If Val = 2
          __Message Display ("I see you got Right Wing, get Left Wing from Left Valley")


          If you get left wing first it will be 1 +2 which gives you

          _If Val = 3
          __Message Display ("Fantastic! You have both! Here's your new item!")
          I want that Mulan McNugget sauce, Morty!

          Comment


            #6
            Re: my take on an Item Fusion NPC

            Thanks Kirk.

            I came from a different board and followed a link going here. I got this game 2 days ago and I almost haven't slept since then. Well, It's actually already 2am of my third day. I've been trying to figure out balanced character classes for my Char vs. Char Arena type RPG, so no random battles, just event battles. -_- it's a pain.

            Comment

            Working...
            X