<commit_before># terraria-map-dump
Terraria Map Dumper

## Overview
`terraria-map-dump` aims to be a Common Lisp system able to access information from a Terraria character's minimap save files. The core module will allow access to a loaded minimap's saved tile data, and supplementary packages will allow useful operations to be performed (such as locating all unmined ore, statues, or chests that have been seen by the character).

## Example Usage
```common-lisp
(defvar *map* (tmapdump:read-map #P"world.map"))  => *MAP*
(tmapdump:render-png *map* #P"map.png")  => #P"map.png"
```
<commit_msg>Added information about map render types to README<commit_after># terraria-map-dump
Terraria Map Dumper

## Overview
`terraria-map-dump` aims to be a Common Lisp system able to access information from a Terraria character's minimap save files. The core module will allow access to a loaded minimap's saved tile data, and supplementary packages will allow useful operations to be performed (such as locating all unmined ore, statues, or chests that have been seen by the character).

## Example Usage
```common-lisp
(defvar *map* (tmapdump:read-map #P"world.map"))  => *MAP*
(tmapdump:render-png *map* #P"map.png")  => #P"map.png"
(tmapdump:render-png *map* #P"biomes.png" :biome-spread)  => #P"biomes.png"
```

## Map Render Types
Functions which render a map to a file (such as `#'RENDER-PNG`) take an optional parameter `MAP-TYPE` which specifies what kind of map should be generated:

* `:DEFAULT` - Default map generation, aims to be identical to in-game minimap
* `:BIOME-SPREAD` - Corruption/Crimson/Hallow biome visualization; tiles belonging to the listed groups are rendered as normal (though at full brightness), tiles not in those groups are rendered in grayscale at 50% their normal transparency.

{'fraction_non_alphanumeric': 0.09745293466223699, 'fraction_numerical': 0.0011074197120708748, 'mean_word_length': 5.023333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2782396', 'n_tokens_mistral': 553, 'n_tokens_neox': 522, 'n_words': 235}