Version 1.04 is out.
https://github.com/gilgamar/ABS
I split the script up further.
GIL_Core > GIL_EventEnemies > GIL_EventDamage > GIL_ABS
is the bare minimum to get it working.
If you prefer less scripts you can probably merge EventEnemies with EventDamage but I separated them for clarity.
EventEnemies adds code to the Game_Event class to register events as enemies (you just have to tag the event with a comment 'Game_Enemy')
It also adds the Game_Enemies class and $gameEnemies object which is somewhat analogous to $gameActors except it is indexed by eventId.
The purpose of this script is to assign a battler to an event so that we can attack it or be attacked and take damage. You can use this to create map battles, hunting games, traps that deal damage with damage popups, walls that can be attacked to break them down. You just have to add a corresponding battler in the enemies database to represent the type of object you are encountering. The enemy does not need to have an image since it uses the event sprite instead of the battler sprite. Finally, this script modifies $gameTroop. It will just add all the enemy events to the $gameTroop for the current map. It doesn't affect $gameTroop for normal battles in the Battle scene so normal battles should work normally.
EventDamage is responsible for the damage popups. It extends the Game_Player Game_CharacterBase and Sprite_Character to support damage popups. I basically borrowed code from Sprite_Battler and Game_Battler with some edits to make the popups appear nicely on the map. All the popup settings are at the top of the script and can be changed to suit your needs. For the damage popups to work there needed to be a battler associated with the event for us to get the damage results from.
GIL_ABS is a rudimentary action battle manager. I really only added the 'battle' command in here. It's accessible from the plugin commands as 'ABS battle'. Just add that plugin command to an event and it will exchange blows with the player. If you want the battle to be one sided you'll have to edit the script. This script is really short and can be easily modified to suit your needs.
GIL_ABS.battle() is the main part of the script.
actor/enemy represent the map actor/enemy event.
a/b represent the associated battlers. We process a/b for damage/actions but we process actor/enemy for animations since they are the visible sprite (battler sprite is hidden).