02-18-2025, 05:08 AM
Quote:As a rule, it is better to have an outside script that performs changes than to directly edit the already-existing default scripts. Those changes are typically untraceable and can cause issues down the line.
Definitely! I was still very inexperienced back in 2005. I'd never apply something like that today, but alas this is an old project.

Armor bonuses are so cool! Didn't occur to me to make them temporary. I just used regular stat-boosting equipment.
I implemented the script, and hashed out the armor penalties (as most of the headgear are bandanas, masks, etc). I did add two bits of headgear, and made the second one give bonuses to both peep and steal:
Code:
# SKILL ARMOR
# ===========
# These hash arrays allows you to give a bonus or penalty to worn armor that
# specifically affects a steal or peep effect.
#
# SYNTAX: ARMOR[armor_id] = [steal)bonus, peep_bonus]
#--------------------------------------------------------------------------
#
# ARMOR[5] = [ 0,-10] # The default helmets are 5-8
# ARMOR[6] = [ 0,-10] # I made it a -10 to their agility check
# ARMOR[7] = [ 0,-10] # when trying to 'peep' on an enemy. There
# ARMOR[8] = [ 0, -5] # is a -5 for Mythril... just because
#
# ARMOR[14] = [ 0, 5] # EXAMPLE: Thief Gloves: Gives +10 to wearer's dex for steals
ARMOR[14] = [ 5, 5] # Pink Okami Mask: Gives +5 to wearer's agi for peeps
ARMOR[15] = [10, 10] # Purple Okami Mask: Gives +10 to wearer's agi and dex for peeps and steals
However, whenever I use either peep / steal, this tiny error pops up (see attached) and after I click OK, the battle continues. (The numbers are different for another character)
I searched the code for those numbers thinking I messed up the item or skill table, but there were no lines that matched those numbers exactly.

![[Image: SP1-Writer.png]](https://www.save-point.org/images/userbars/SP1-Writer.png)
![[Image: SP1-PixelArtist.png]](https://www.save-point.org/images/userbars/SP1-PixelArtist.png)