The Steal and Peep Script
#9
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. Laughing

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.  Sweat


Attached Files Thumbnail(s)
   
[Image: SP1-Writer.png]
[Image: SP1-PixelArtist.png]
Reply


Messages In This Thread
The Steal and Peep Script - by DerVVulfman - 02-13-2025, 08:49 PM
RE: The Steal and Peep Script - by Ace_V - 02-14-2025, 05:50 PM
RE: The Steal and Peep Script - by Ace_V - 02-16-2025, 12:37 PM
RE: The Steal and Peep Script - by DerVVulfman - 02-16-2025, 07:06 PM
RE: The Steal and Peep Script - by Ace_V - 02-17-2025, 02:51 PM
RE: The Steal and Peep Script - by DerVVulfman - 02-17-2025, 03:51 PM
RE: The Steal and Peep Script - by Ace_V - 02-17-2025, 04:39 PM
RE: The Steal and Peep Script - by DerVVulfman - 02-17-2025, 08:00 PM
RE: The Steal and Peep Script - by Ace_V - 02-18-2025, 05:08 AM
RE: The Steal and Peep Script - by kyonides - 02-18-2025, 02:46 PM
RE: The Steal and Peep Script - by Ace_V - 02-18-2025, 04:44 PM
RE: The Steal and Peep Script - by DerVVulfman - 02-18-2025, 05:42 PM
RE: The Steal and Peep Script - by Ace_V - 02-19-2025, 07:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   DubeAlex's Text Scroll Script - Updated DerVVulfman 1 389 06-18-2026, 11:33 AM
Last Post: Ace_V
   Zeriab's Caterpillar Script Zeriab 2 8,680 02-14-2026, 05:58 AM
Last Post: DerVVulfman
   Script Commands Bug Fixes kyonides 2 5,874 02-27-2025, 07:24 AM
Last Post: kyonides
   Text Scroll Script - Enhanced DerVVulfman 23 57,977 02-18-2021, 04:16 AM
Last Post: DerVVulfman
   Cursor Script Selwyn 7 24,955 09-28-2019, 02:13 PM
Last Post: DerVVulfman
   ACBS FIX SCRIPT #2: Advanced Cry Correction DerVVulfman 1 8,769 08-09-2019, 03:42 PM
Last Post: aeliath
   ACBS FIX SCRIPT #1: Victory Cries Patch DerVVulfman 1 9,043 08-08-2019, 02:53 PM
Last Post: aeliath
   Spritesheet Generator Conversion Script DerVVulfman 0 7,749 11-21-2018, 04:48 AM
Last Post: DerVVulfman
   Neo Mode 7 Script by MGCaladtogel MGC 59 180,987 09-29-2017, 03:48 AM
Last Post: DerVVulfman
   Longer Script Calls LiTTleDRAgo 0 7,881 05-17-2017, 12:36 AM
Last Post: LiTTleDRAgo



Users browsing this thread: 1 Guest(s)