Welcome Guest [Log In] [Register]

About Me

Tips, tricks, and projects from the Generation Studio team. Updated often.
Categories
Code Release (2)
Coding Tips (1)
Other (2)
RPGeneration (2)

Readers Online

0 Members, 1 Guest

Jan 10

RPGeneration new item syntax

We're looking for your opinion!

Currently in RPGeneration, a new item (Items include weapons, armor, awards, etc) via this syntax:
Code:
 

RPGen.make(makewhat, makeobj)

makewhat is the TYPE of item you are creating, such as "meleeWeapon". RPGeneration comes with these default item types:
accessory
archeryWeapon
armor
award
magicWeapon
meleeWeapon
other

makeobj is simply the name of the item you are creating. For example, "Super Ice Sword".
You'll be able to manipulate item objects later on using RPGen.modify.

Now then, with that information revealed - do you like this "make" syntax? Or would you prefer a different way to code new items? Post comments in this blog!
Posted in RPGeneration at 7:16 pm · No comments
  1. Add new comment: