Retrievable Game Information

After noticing you can do several useful things via script calls I came up with a question (which may have a rather long answer).

What sort of information can I retrieve from the game? (Aiming for numbers and boolean)

In other words...

Can I...?:

Retrieve the number of battles I've been at?

Number of times Item No. X has been used?

Number of deaths? (Or times state no. X has been applied)

Times Enemy No. X was defeated?

Times Player ran away?

Times Skill No. X was used?

And so on...

Or maybe something more general:

Times any state has been applied?

Times any item has been used?

Number of enemies defeated (any).

etc...

(I suppose there isn't any track of these, but it is worth asking).

Can I know the total amount of damage dealt/taken/recovered?

Times a button was pressed?

If an actor currently has equipped X weapon/armor, or has X state? (true/false)

Mostly aiming for those variables I don't have complete control of, because it depends on the player's gameplay.

I know you can tell things such as if the player is running, just wondered what else you can retrieve.

Does anyone has a list of all these retrievable pieces of information?

I'm not aiming to know how to make a script call, but rather to know what things can be script called.

Thank You In Advance~ :3
Most of the things you mentioned are not tracked in game by default. You need custom scripts to do so. Current things, though (actor's equipments, states, party size, etc.) can be checked easily.

You can check the number of steps total ($game_party.steps), play time ($game_system.playtime) and battle count ($game_system.battle_count). You can check many things, basically whatever methods that can be called from those global variables, but those three are the things that first came to mind.
if you need to know which can be script called by default, the help file can be used... and checking the default scripts can answer that too...
if you need to know which can be script called by default, the help file can be used... and checking the default scripts can answer that too...
Do you know exactly what part of the Help file I'm looking for?
the RGSS3 part of course... It lists all the available classes and their methods so you get a grasp unto what things are obtainable per Class... like what are obtainable for the Weapons class for example...

Original thread: https://forums.rpgmakerweb.com/threads/retrievable-game-information.25421/