Tmc in the "Let's talk about battlescripting" thread:
How to add a new script command:If you're willing to write FreeBASIC code, adding new script commands to read attack data would be very helpful. Currently you can only get attack names and captions. Adding script commands is read existing data is easy, requires almost no knowledge of the codebase, and we even have an article explaining how to do it.
https://rpg.hamsterrepublic.com/ohrrpgc ... pt_command
So let's discuss it.But do discuss it before starting.
Wishlist so far:
Command to read foemap data at a certain tile - Foxley
Access to item data - Kyle
-------tmc (read his post a few posts down for context):
read foemap (not sure if this is different from Foxley's request)
equippable in slot
get equip slot # Would only return first slot. This is very similar to "equip where" but doesn't check hero
get equip stat bonus
get equip elemental resist as int
equip elemental resist as int # alias, for consistency with herobaseelementalresistasint, enemyelementalresistasint
get item value
get item consumed
get weapon picture
get weapon palette
get weapon attack
get item attack as weapon
get item attack in battle
get item attack out of battle
-------bob votes for ("item" instead of "equip")
get item stat bonus
get item elemental resist as int