# irpgsite.v0.5+mapitems+fgets.patch

**Category:** Standalone_Bot
**Original Author:** Unknown

## Description
This patch modifies an IRC-based role-playing game (RPG) client to include a world map feature that displays player locations and items on a map image, using PHP.

## Key Features
- Modifies the configuration file (`config.php`) to add support for item databases.
- Enhances the `makeworldmap.php` script to draw both player positions and item locations on an image map.
- Updates the `worldmap.php` script to generate HTML `<area>` elements for clickable player and item markers.

## File Analysis
- **irpgsite.v0.5+mapitems+fgets.patch** — A patch file that modifies existing PHP scripts to include a world map feature.
- **config.php** — Adds support for an additional database (`$irpg_itemdb`) and changes the size of player crosses on the map.
- **makeworldmap.php** — Draws both player positions and item locations on a map image, using different colors based on their status.
- **worldmap.php** — Generates HTML `<area>` elements to create clickable markers for players and items on an interactive world map.