mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
New module and changes
* Implementing rule violation interface * New popup menu on console text messages * Terminal and Console will no longer history double command/messages
This commit is contained in:
@@ -26,6 +26,7 @@ Module
|
||||
- game_textbooks
|
||||
- game_playertrade
|
||||
- game_questlog
|
||||
- game_ruleviolation
|
||||
|
||||
@onLoad: |
|
||||
importStyle 'styles/items.otui'
|
||||
|
@@ -266,6 +266,11 @@ function GameInterface.createThingMenu(menuPosition, lookThing, useThing, creatu
|
||||
end
|
||||
end
|
||||
|
||||
if RuleViolation.hasWindowAccess() then
|
||||
menu:addSeparator()
|
||||
menu:addOption(tr('Rule Violation'), function() RuleViolation.show(creatureThing:getName()) end)
|
||||
end
|
||||
|
||||
menu:addSeparator()
|
||||
menu:addOption(tr('Copy Name'), function() g_window.setClipboardText(creatureThing:getName()) end)
|
||||
|
||||
|
Reference in New Issue
Block a user