Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Otowa Kotori
Tales of MajEyal
Commits
e96a567f
Commit
e96a567f
authored
6 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
mwawawa
parent
cfec2c5a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/engines/default/engine/UserChat.lua
+4
-2
4 additions, 2 deletions
game/engines/default/engine/UserChat.lua
game/modules/tome/class/UserChatExtension.lua
+8
-0
8 additions, 0 deletions
game/modules/tome/class/UserChatExtension.lua
with
12 additions
and
2 deletions
game/engines/default/engine/UserChat.lua
+
4
−
2
View file @
e96a567f
...
...
@@ -253,8 +253,6 @@ Again, thank you, and enjoy Eyal!
#{italic}#Your malevolent local god of darkness, #GOLD#DarkGod#{normal}#]]
):
format
(
data
.
donated
,
data
.
donated
*
10
,
data
.
items_vault_slots
)
Dialog
:
simpleLongPopup
(
"Thank you!"
,
text
,
600
)
elseif
self
.
uc_ext
then
self
.
uc_ext
:
event
(
e
)
end
elseif
e
.
se
==
"SelfJoin"
then
self
:
addMessage
(
"join"
,
e
.
channel
,
profile
.
auth
.
login
,
e
.
channel
,
"#{italic}#Joined channel#{normal}#"
,
nil
,
true
)
...
...
@@ -329,6 +327,10 @@ Again, thank you, and enjoy Eyal!
self
.
channels_changed
=
true
end
if
self
.
uc_ext
then
self
.
uc_ext
:
event
(
e
)
end
for
fct
,
_
in
pairs
(
self
.
on_event
)
do
fct
(
e
)
end
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/class/UserChatExtension.lua
+
8
−
0
View file @
e96a567f
...
...
@@ -86,5 +86,13 @@ function _M:event(e)
else
self
:
triggerHook
{
"UserChat:event"
,
color
=
color
,
e
=
e
,
data
=
data
}
end
elseif
e
.
se
==
"Talk"
then
-- Shake screen?
if
e
.
login
==
"darkgod"
then
if
e
.
msg
==
e
.
msg
:
upper
()
and
#
e
.
msg
>=
10
then
game
:
shakeScreen
(
30
,
5
)
game
.
log
(
"SHAKING"
)
end
end
end
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment