Add CSS color classes based on tile type in DB #13
Notifications
Total Time Spent: 34 minutes
Due Date
Jonathan
34 minutes
No due date set.
Dependencies
No dependencies set.
Reference: Jonathan/Peradventure#13
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For example, floor_wood would be displayed as a brown - while floor_stone is gray.
The system needs to return a variable for each XY coordinate that tells CSS which class to assign to it.
Therefore, this should be done in mapDecrypt, which will use string:find to determine what material type we are looking at (stone, wood, etc) and what tile type (wall, floor).
The tile type determination will encode the character as before (w for wall, - for floor) but the material type query will assign the type to another variable which etlua will then encode into CSS for that character, giving it a color.
All work on this issue was lost.
I feel like killing someone.