mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Added popcorn
This commit is contained in:
@@ -46,6 +46,7 @@ local commands = {
|
|||||||
['lenny']={'chat-bot.lenny'},
|
['lenny']={'chat-bot.lenny'},
|
||||||
['feedback']={'chat-bot.feedback'},
|
['feedback']={'chat-bot.feedback'},
|
||||||
['wiki']={'chat-bot.wiki'},
|
['wiki']={'chat-bot.wiki'},
|
||||||
|
['blame']=function(player) local options = {'?','.','!','!!!'} return {'chat-bot.hodor',options[math.random(#options)]} end,
|
||||||
['evolution']=function(player) return {'chat-bot.current-evolution',string.format('%.2f',game.forces['enemy'].evolution_factor)} end,
|
['evolution']=function(player) return {'chat-bot.current-evolution',string.format('%.2f',game.forces['enemy'].evolution_factor)} end,
|
||||||
--Jokes about food and drink
|
--Jokes about food and drink
|
||||||
['whattoeat']={'chat-bot.food'},
|
['whattoeat']={'chat-bot.food'},
|
||||||
@@ -96,6 +97,11 @@ local commands = {
|
|||||||
}:on_event('timeout',function(self)
|
}:on_event('timeout',function(self)
|
||||||
if self.data then game.print{'chat-bot.message',{'chat-bot.make-tea-2',self.data}} end
|
if self.data then game.print{'chat-bot.message',{'chat-bot.make-tea-2',self.data}} end
|
||||||
end):open() return {'chat-bot.make-tea-1'} end,
|
end):open() return {'chat-bot.make-tea-1'} end,
|
||||||
|
['popcorn']=function(player) Server.new_thread{
|
||||||
|
timeout=math.floor(180*(math.random()+0.5)),data=player.name
|
||||||
|
}:on_event('timeout',function(self)
|
||||||
|
if self.data then game.print{'chat-bot.message',{'chat-bot.get-popcorn-2',self.data}} end
|
||||||
|
end):open() return {'chat-bot.get-popcorn-1'} end,
|
||||||
['meadplease']=function(player) Server.new_thread{
|
['meadplease']=function(player) Server.new_thread{
|
||||||
timeout=math.floor(180*(math.random()+0.5)),data=player.name
|
timeout=math.floor(180*(math.random()+0.5)),data=player.name
|
||||||
}:on_event('timeout',function(self)
|
}:on_event('timeout',function(self)
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ ranks['Donator']:edit('allow',false,{
|
|||||||
})
|
})
|
||||||
|
|
||||||
ranks['Partner']:edit('allow',false,{
|
ranks['Partner']:edit('allow',false,{
|
||||||
|
['global-chat']=true
|
||||||
})
|
})
|
||||||
ranks['Veteran']:edit('allow',false,{
|
ranks['Veteran']:edit('allow',false,{
|
||||||
['tree-decon']=true,
|
['tree-decon']=true,
|
||||||
|
|||||||
@@ -44,3 +44,4 @@ get-popcorn-1=Heating the oil and waiting for the popping sound...
|
|||||||
get-popcorn-2=__1__ your popcorn is finished. Lean backwards and watch the drama unfold.
|
get-popcorn-2=__1__ your popcorn is finished. Lean backwards and watch the drama unfold.
|
||||||
wiki=You can get more information about us and the custom scenario from our wiki: https://wiki.explosivegaming.nl/
|
wiki=You can get more information about us and the custom scenario from our wiki: https://wiki.explosivegaming.nl/
|
||||||
feedback=Do you have feedback? leave it at https://exp.fider.io/
|
feedback=Do you have feedback? leave it at https://exp.fider.io/
|
||||||
|
hodor=Hodor!
|
||||||
Reference in New Issue
Block a user