RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

REQUEST: Upgrade weapons

Started by Fou, July 08, 2009, 01:58:10 PM

0 Members and 1 Guest are viewing this topic.

Fou

I think I've seen a script that allows to upgrade weapons:S But i'm not really sure.

Well, I want a script that allows to upgrade a weapon. I don't want to have new weapons for sale, but a single weapon that can be powered up instead.
Sorry, my english is bad:S
Is there some kind of scipt that can do that?

Thanks.

bledfear13

#1
you could try something like this
<>Message: Hi im steve the upgrader. Would you like to upgrade a weapon?
<>Show Choices:Yes/No
:[Yes] Handler
<>Message:Which item would you like to upgrade?
<>Show Choices:Long sword/Long Bow/[Any Weapon]
:[Long Sword] Handler
 <>Branch if Long Sword Not Possessed
   <>Message:You need a still need a Long Sword
   <>
 :Else Handler
  <>
 :End
 <>Branch if Long Sword Possessed
  <>Message: What would you like to upgrade to?
  <>Show Choices:Iron Sword/Dragon Sword
  :[Iron Sword] Handler
   <>Message:You need a iron ore to to upgrade. Continue?
   <>Show Choices:Yes/No
   :[Yes] Handler
    <>Branch if Iron Ore Not Possessed
     <>Message:You still need a iron ore
     <>
    :Else Handler
     <>
    :End
    <>Branch if Iron Ore Possessed
     <>Message: Your Long Sword and Iron Ore have been combine
     <>Change Items: Long Sword 1 Remove
     <>Change Items: Iron Ore 1 Remove
     <>Change Items: Iron Sword 1 Add
     <>Message: Long Sword Removed
     <>Message: Iron Ore Removed
     <>Message: Iron Sword Added
     <>
    :Else Handler
     <>
    :End
    <>
   :[No] Handler
    <>
   :End
   <>
  :[Dragon Sword] Handler
   <>
  :End
  <>
 :Else Handler
  <>
 :End
 <>
:[Long Bow]
 <>
:End
<>
:[No] Handler
<>
:End
<>