PDA

View Full Version : Need Script Advice



Lelouche Vi Britannia
06-27-2019, 04:01 PM
Been a while since I played with the editor. Had an idea for a way to handle some items but I'm unsure how to implement it.

Basically I want to break an item down into collectable parts, with each replacement part changing how the weapon works. For example, the Sword.

The Sword is separated into 2 parts; blade and and Crystal. Improved blades will increase base damage while improved crystal improves the damage of sword beams. If there are 5 variants of each, that's 25 possible configurations.

Is it possible to write a script that allows an item on pick up to modify the data of an existing item up to and including sprites used? Im trying to prevent using 20+ item ids for one item. Theoretically the above example would require 34 ids, but if this script is possible, only 9 become necessary.

ZoriaRPG
07-01-2019, 04:37 AM
I did this years ago with Futhark.

In 2.55,b it is much sinpler.