- Status New
- Percent Complete
- Task Type Planned Feature
- Category Bot → B.Database
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version 0.10.0045
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
QB#67 - Move custom messages to the database
Trac Ticket #22 - Originally reported by: Krayon
Customisable messages are currently stored in the config.py file. They should be moved to the
When this is done, the messages should be changed from REQUIRING the data placeholders (%s etc) to optionally containing them. The system can be made more advanced, for
1. %normal_cost% = cost of item before
2. %cost% = item
3. %discount% = discount percent
4. %guild% = guild they belong to, %player player’‘s
msg_trade_total_guild_discount = “Well %player%, because you belong to guild %guild%, we are
give you a %discount% percent discount off the price. This will therefore only be %cost%gc
This would allow for much better customisability with messages.
From revision [23]: