http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=535
Summary: Item plotscript commands
Product: OHRRPGCE
Version: 20080??? Voxhumana
Platform: PC
OS/Version: All
Status: NEW
Severity: feature request
Priority: P3
Component: Plotscripts
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I think that some of the following commands for manipulating items could be
very useful in many endeavors:
use item (itemID) - simple enough. Does no cost checking; use tags defined in
item editor and delete item for that.
item in slot (slot number) - return item ID of item in given slot in the
inventory, or false if none in that slot.
item count in slot (slot number) - like above, but returns the amount of items
in the relevant slot.
read item (itemID,dataslot) - would work much like read NPC, returning relevant
data like the item's inbattle attack ID, out of battle attack ID (or negative
textbox ID), equippability, stat bonuses (each stat has it's own constant like
"itemdata:HPbonus"), and even item name if possible. The only thing that I can
see causing serious problems would be who can equip. I guess each hero could
be his own constant (itemdata:Hero1canEquip).
Note that if bug 516 is fulfilled and we have PS commands to trigger attacks by
ID, the 'use item' command is not really needed if we have at least some of the
'read item' command.
--
Configure bugmail:
http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org