The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: wsensor on September 13, 2010, 05:25:14 PM

Title: Recreation of syvkal's Conditional Skills script.
Post by: wsensor on September 13, 2010, 05:25:14 PM
Conditional Skills Script (maybe include armors/weapons/items too?)
9/13/2010




Summary
This is a request for a recreation of syvkal's conditional skills script.
Due to incompatabilities between his script + his NOTES FIELD SYSTEM required addon not wanting to work due to who knows how many other scripts. (Not posting scripts since I would rather have a remade one anyways.)

Features Desired
Total Features in Syvkal's script.
[spoiler]
#  STATE  - Whether certain states are inflicted
#  WEAPON - Whether certain weapons are equipped
#  ARMOUR - Whether certain armours are equipped
#  ITEM   - Whether certain items are in your inventory (which can be used up)
#  HP    - Whether HP is MORE or LESS than a percent of the MAXHP
#  GOLD   - Whether the party has a certain amount of gold (which can be used up)
#  LEVEL  - Whether the LEVEL is MORE or LESS than a certain point
#  CLASS  - Whether the actor is a certain class
#  PARTYMEMBER - Whether a certain actor is in your party (and alive)
#  PARTYNUMBER - Whether a certain amount of actors are in your party (and alive)
#  FREEHAND   - Whether the actor has 1 or 2 free hands
#  ATK  -  Whether the actor has a certain amount of ATK
#  DEF  -  Whether the actor has a certain amount of DEF
#  SPI  -  Whether the actor has a certain amount of SPI
#  AGI  -  Whether the actor has a certain amount of AGI
#
#  NOSHOW - Add this to make a skill not appear when it can't be used.

#
#   Here is a list of examples to show you how to use each condition:
#
#   STATE12   -  State 12 must be inflicted to use the skill
#   WEAPON1   -  Weapon 1 must be equipped to use the skill
#   ARMOUR2,9  -  Both armours 2 and 9 must be equipped to use the skill
#   FREEHAND2  -  Both of the actors hands must be free to use the skill
#   HPLESS25   -  Health must be below 25% to use the skill
#   HPMORE50   -  Health must be above 50% to use the skill
#   ITEM1,2   -  Must have items 1, 2 and 3 to use the skill
#   ITEMUSE1,2 -  Must have and will use 1 of items 1 and 2 to use the skill
#   ITEM1&3,2  -  Must have 3 of item 1 and 1 of item 2 to use the skill
#   ITEMUSE1&3 -  Must have and will use 3 of item 1 to use the skill
#   GOLD1000   -  Must have 1000 Gold to use the skill
#   GOLDUSE100 -  Must have and will use 100 Gold to use the skill
#   CLASS1,2   -  Must be Class 1 or 2 (RTP : Paladin, Warrior) to use the skill
#   LEVELLESS5 -  Must be under Level 5 to use the skill
#   LEVELMORE9 -  Must be over level 9 to use the skill
#   PARTYMEMBER4 -  Must have Actor 4 (RTP : Ylva) to use the skill
#   PARTYNUMBER3 -  Must have 3 or more actors in the party to use the skill
#   ATK100  -  Must have ATK greater than or equal to 100
#   DEF100  -  Must have DEF greater than or equal to 100
#   SPI100  -  Must have SPI greater than or equal to 100
#   AGI100  -  Must have AGI greater than or equal to 100[/spoiler]

Mockups
none

Games its been in




Did you search?
yesh. I found 2 scripts.
1st was just a skills use items. (Was incompatible and was not exactly what I was looking for.)
2nd was Syvkal's conditional skills script. (Did not want to work. I think it might be tankentai, or a different script altogether kgc/yanfly. lol but it will not even read the module from his NOTES FIELDS REQUIREMENTS script.)

Where did you search?

What did you search for?
Title: Re: Recreation of syvkal's Conditional Skills script.
Post by: modern algebra on September 14, 2010, 01:39:31 AM
Well, you can try my Equipment Constraints (http://rmrk.net/index.php/topic,27955.0.html) script. It's old, but it works with skills too so maybe it'll do what you want. I don't really remember it well so I kind of forget whether it works the exact way you want it.
Title: Re: Recreation of syvkal's Conditional Skills script.
Post by: wsensor on September 14, 2010, 05:48:12 AM
This strangely never showed up in a search 0.o... Probably because I wrote consumes items in my searches lol.

I hope you end up rewriting that script and adding in OR features XD. I will try and use it for now. (Just gonna have it check for skills to require a skill learned and an item to use em for now)

lol problem with user.level on line 120 T_T