Save-Point
Cursed Weapons and Armor - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Cursed Weapons and Armor (/thread-2751.html)



Cursed Weapons and Armor - RPG Advocate - 03-03-2008

Cursed Weapons and Armor
by RPG Advocate
saved from Phylomortis.Com


Introduction
This script allows you to create weapons and armor that can't be unequipped normally. The only way these items can be unequipped is through the "Change Equipped Items" event command. Once equipped, cursed weapons and armor will show up in purple (by default).

To add a cursed weapon, add the weapon's database ID to the "cursed_weapons" array in Game_System. To add a cursed armor, add the armor's database ID to the "cursed_armors" array in Game_System.

Note: If copied as directed, this script will mess up my two-handed weapon script. The two-handed weapon script can be used with this script, but you'll need to know how to merge them on your own.

Note by DerVVulfman: Be aware that the weapon optimization script was modified so it can still exclude cursed weapons and armors if using the revised version I edited before posting in this forum.


Demo
>Click<


Script
Cursed Weapons and Armor