Open marcel-valdez opened 2 years ago
Create a tool to manage the item repository in the JSON config file.
The way it should ADD an item is as follows:
The way it should MODIFY an item's colors by adding more colors is as follows:
The way it should MODIFY an item's colors by removing colors is as follows:
Context
Currently the user has to manually get colors from the screen using the screen_reader.py tool and then copy-pasting values into python.
Problem
This processs is very slow, painful and error prone. Slow because the user has to interact with tibia manually and then execute an instruction manually multiple times to get the right color, painful because the user has to alt-tab multiple times between tibia and the terminator and error prone because the user is never certain whether they got the right pixel or not.
Solution
It'd be much better if there was a tool that generated the color profile in a format that terminator can understand and also put it in the correct repository (probably a JSON file).