repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsJointRatchet.lua | 6 | 1308 |
--------------------------------
-- @module PhysicsJointRatchet
-- @extend PhysicsJoint
--------------------------------
-- @function [parent=#PhysicsJointRatchet] getAngle
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PhysicsJointRatc... | mit |
kitala1/darkstar | scripts/zones/Kazham/npcs/Eron-Tomaron.lua | 15 | 3605 | -----------------------------------
-- Area: Kazham
-- NPC: Eron-Tomaron
-- Title Change NPC
-- @pos -22 -4 -24 250
-----------------------------------
require("scripts/globals/titles");
local title2 = { DISCERNING_INDIVIDUAL , VERY_DISCERNING_INDIVIDUAL , EXTREMELY_DISCERNING_INDIVIDUAL , 0 , 0 , 0 , 0 , 0 ... | gpl-3.0 |
d-o/LUA-LIB | src/rinLibrary/namings.lua | 2 | 3536 | -------------------------------------------------------------------------------
--- Name encoding and decoding functions.
-- Functions intended for internal library use but they might be useful
-- to applications. These functions deal with converting names into values
-- and the inverse.
-- @module rinLibrary.namings
-... | gpl-3.0 |
CopierTeam/Umbrella-Cp | plugins/Time.lua | 5 | 2600 | api_key = nil
base_api = "https://maps.googleapis.com/maps/api"
dateFormat = "%A %d %B - %H:%M:%S"
-- Need the utc time for the google api
function utctime()
return os.time(os.date("!*t"))
end
-- Use the geocoding api to get the lattitude and longitude with accuracy specifier
-- CHECKME: this seems to work withou... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Windurst_Woods/npcs/Perih_Vashai.lua | 17 | 6983 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Parih Vashai
-- Starts and Finishes Quest: The Fanged One
-- @zone 241
-- @pos 117 -3 92
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
zhaoluxyz/Hugula | Client/Assets/Lua/const/importClass.lua | 5 | 1263 | ------------------------------------------------
-- Copyright © 2013-2014 Hugula: Arpg game Engine
--
-- author pu
------------------------------------------------
-- local luanet=luanet
-- UnityEngine=luanet.UnityEngine
local UnityEngine = UnityEngine
----------------------global-------------------------
GameOb... | mit |
kitala1/darkstar | scripts/zones/Kazham/npcs/Dakha_Topsalwan.lua | 20 | 1147 | -----------------------------------
-- Area: Kazham
-- NPC: Dakha Topsalwan
-- @zone 250
-- @pos
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Kazham/TextIDs");
---... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Cape_Teriggan/Zone.lua | 28 | 2719 | -----------------------------------
--
-- Zone: Cape_Teriggan (113)
--
-----------------------------------
package.loaded[ "scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Cape_Teriggan/TextIDs");
require("scripts/globals/icanheararainbow");
require("sc... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Mine_Shaft_2716/npcs/_0d0.lua | 12 | 1980 | -----------------------------------
-- Area: Mine_Shaft_2716
-- NPC: Shaft entrance
-----------------------------------
package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globa... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Upper_Delkfutts_Tower/TextIDs.lua | 3 | 1129 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6414; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6417; -- Obtained: <item>.
GIL_OBTAINED = 6418; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6420; -- Obtained... | gpl-3.0 |
kitala1/darkstar | scripts/globals/weaponskills/mordant_rime.lua | 12 | 4867 | -----------------------------------
-- Mordant Rime
-- Dagger weapon skill
-- Skill level: N/A
-- Description: Delivers a twofold attack that decreases target's movement speed. Chance of decreasing movement speed varies with TP. Carnwenhan: Aftermath effect varies with TP.
-- Aligned with the Breeze Gorget, Thunde... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Beadeaux/npcs/qm2.lua | 17 | 1459 | --------------------------
-- Area: Beadeaux
-- NPC: ??? (qm2)
-- Type: Quest NPC
-- @pos -79 1 -99 147
--------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
--------------------------
require("scripts/zones/Beadeaux/TextIDs");
require("scripts/globals/keyitems");
require("scrip... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Northern_San_dOria/npcs/Arnau.lua | 12 | 1723 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Arnau
-- Involved in Mission: Save the Children
-- @pos 148 0 139 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions... | gpl-3.0 |
Firef0x/burg-new | util/osdetect.lua | 4 | 3450 | #!lua
--
-- Copyright (C) 2009 Free Software Foundation, Inc.
--
-- GRUB is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- GRUB... | gpl-3.0 |
fqrouter/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk/meetme.lua | 80 | 1246 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
lo... | apache-2.0 |
kitala1/darkstar | scripts/zones/Norg/npcs/Quntsu-Nointsu.lua | 15 | 2845 | -----------------------------------
-- Area: Norg
-- NPC: Quntsu-Nointsu
-- Title Change NPC
-- @pos -67 -1 34 252
-----------------------------------
require("scripts/globals/titles");
local title2 = { HONORARY_DOCTORATE_MAJORING_IN_TONBERRIES , BUSHIDO_BLADE , BLACK_MARKETEER , CRACKER_OF_THE_SECRET_CODE ,... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Northern_San_dOria/npcs/Aurege.lua | 38 | 1960 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Aurege
-- Type: Quest Giver NPC
-- Starts Quest: Exit the Gambler
-- @zone: 231
-- @pos -156.253 11.999 253.691
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/glob... | gpl-3.0 |
kiarash14/be | plugins/service_entergroup.lua | 279 | 2147 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = chat_name or ''
chat_id = "chat#id" .. (... | gpl-2.0 |
kitala1/darkstar | scripts/zones/North_Gustaberg_[S]/Zone.lua | 12 | 1336 | -----------------------------------
--
-- Zone: North_Gustaberg_[S] (88)
--
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/North_Gustaberg_[S]/TextIDs");
-... | gpl-3.0 |
lvdmaaten/nn | Add.lua | 61 | 1699 | local Add, parent = torch.class('nn.Add', 'nn.Module')
function Add:__init(inputSize,scalar)
parent.__init(self)
local size = inputSize
if scalar then size=1 end
self.scalar = scalar
self.bias = torch.Tensor(size)
self.gradBias = torch.Tensor(size)
self._ones = torch.Tensor{1}
self:rese... | bsd-3-clause |
kitala1/darkstar | scripts/zones/Crawlers_Nest/npcs/Treasure_Chest.lua | 12 | 3190 | -----------------------------------
-- Area: Crawler Nest
-- NPC: Treasure Chest
-- Involved In Quest: Enveloped in Darkness
-- @pos 41 0.1 -314 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Port_San_dOria/npcs/Bricorsant.lua | 36 | 1376 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Bricorsant
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Te... | gpl-3.0 |
TeleDALAD/2DALAD2 | plugins/anti_spam.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
umbrellaTG/sphero | plugins/lock_emoji.lua | 7 | 2768 | local function run(msg)
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['antiemoji'] == 'no' then
if not is_momod(msg) then
chat_del_user('chat#id'..msg.to.id, 'user#id'..msg.from.id, ok_cb, true)
local msgads = 'ForbiddenAdText'
l... | gpl-2.0 |
kitala1/darkstar | scripts/globals/weaponskills/knights_of_round.lua | 12 | 2071 | -----------------------------------
-- Knights Of Round
-- Sword Weapon Skill
-- Skill Level: N/A
-- Caliburn/Excalibur: Additional Effect: Regen.
-- Regen 10HP/Tick, duration varies with TP.
-- Available only when equipped with the Relic Weapons Caliburn (Dynamis use only) or Excalibur.
-- Also available withou... | gpl-3.0 |
Mechaniston/FibaroHC_mechHomeBcfg | old vers/T_light.lua | 1 | 1791 | --[[ ***** OPTIONS ***** ]]--
-- Devices ID's
local doorID = 29;
local lightID = 33;
-- Light actuator type
local lightIsRGBW = 1;
local lightRGBWChannel = 2; -- RGBW <=> 1234
-- Debug mode
local debug = true;
--[[ ***** ROUTINES ***** ]]--
function split(s, pattern, maxsplit)
local pattern = pattern or ' ';... | mit |
kitala1/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Misseulieu.lua | 29 | 1544 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Misseulieu
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Dynamis-Windurst/mobs/Avatar_Icon.lua | 16 | 5149 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Avatar Icon
-- Map1 Position: http://images2.wikia.nocookie.net/__cb20090312004752/ffxi/images/8/84/Win1.jpg
-- Map2 Position: http://images2.wikia.nocookie.net/__cb20090312004839/ffxi/images/6/61/Win2.jpg
-----------------------------------
p... | gpl-3.0 |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/Settings/Pages/ShareGame/Reducers/Toasts.lua | 1 | 1179 | local CorePackages = game:GetService("CorePackages")
local AppTempCommon = CorePackages.AppTempCommon
local Modules = game:GetService("CoreGui").RobloxGui.Modules
local ShareGame = Modules.Settings.Pages.ShareGame
local Immutable = require(AppTempCommon.Common.Immutable)
local ReceivedUserInviteStatus = require(Share... | apache-2.0 |
apletnev/koreader | frontend/ui/widget/opdsbrowser.lua | 2 | 25350 | local ButtonDialog = require("ui/widget/buttondialog")
local ButtonDialogTitle = require("ui/widget/buttondialogtitle")
local Cache = require("cache")
local CacheItem = require("cacheitem")
local ConfirmBox = require("ui/widget/confirmbox")
local InfoMessage = require("ui/widget/infomessage")
local LoginDialog = requir... | agpl-3.0 |
molovik/Starbound_RU | translations/others/quests/scripts/portraits.lua | 9 | 1103 | function setPortraits(titleFn)
quest.setParameter("sail", {
type = "noDetail",
name = "К.Э.П",
portrait = {
{ image = string.format("/ai/portraits/%squestportrait.png", player.species()) }
}
})
local config = config.getParameter("portraits")
local portraitParameters = {
QuestStarted... | apache-2.0 |
paulosalvatore/maruim_server | data/migrations/15.lua | 58 | 2534 | function onUpdateDatabase()
print("> Updating database to version 16 (moving skills into players table)")
db.query("ALTER TABLE `players` ADD `skill_fist` int(10) unsigned NOT NULL DEFAULT 10, ADD `skill_fist_tries` bigint(20) unsigned NOT NULL DEFAULT 0, ADD `skill_club` int(10) unsigned NOT NULL DEFAULT 10, ADD `sk... | gpl-2.0 |
amirkingred/nod2 | plugins/invite.lua | 84 | 2540 | --[[
Invite other user to the chat group.
Use !invite ********* (where ********* is id_number) to invite a user by id_number.
This is the most reliable method.
Use !invite @username to invite a user by @username.
Less reliable. Some users don't have @username.
Use !invite Type print_name Here to invite a user by ... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Cape_Teriggan/TextIDs.lua | 3 | 1400 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6381; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6382; ... | gpl-3.0 |
fqrouter/luci | applications/luci-statistics/luasrc/model/cbi/luci_statistics/tcpconns.lua | 80 | 1407 | --[[
Luci configuration model for statistics - collectd tcpconns plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the Lice... | apache-2.0 |
fqrouter/luci | modules/admin-mini/luasrc/model/cbi/mini/passwd.lua | 83 | 1134 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
fqrouter/luci | libs/lucid-http/luasrc/lucid/http/handler/file.lua | 44 | 7477 | --[[
HTTP server implementation for LuCI - file handler
(c) 2008 Steven Barth <steven@midlink.org>
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a cop... | apache-2.0 |
apletnev/koreader | plugins/goodreads.koplugin/goodreadsapi.lua | 2 | 6689 | local InputContainer = require("ui/widget/container/inputcontainer")
local GoodreadsBook = require("goodreadsbook")
local InfoMessage = require("ui/widget/infomessage")
local UIManager = require("ui/uimanager")
local url = require('socket.url')
local socket = require('socket')
local https = require('ssl.https')
local l... | agpl-3.0 |
fastmailops/prosody | util/openssl.lua | 5 | 4389 | local type, tostring, pairs, ipairs = type, tostring, pairs, ipairs;
local t_insert, t_concat = table.insert, table.concat;
local s_format = string.format;
local oid_xmppaddr = "1.3.6.1.5.5.7.8.5"; -- [XMPP-CORE]
local oid_dnssrv = "1.3.6.1.5.5.7.8.7"; -- [SRV-ID]
local idna_to_ascii = require "util.encodings".idna... | mit |
kitala1/darkstar | scripts/zones/Bastok_Markets/npcs/Aquillina.lua | 36 | 2383 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Aquillina
-- Starts & Finishes Repeatable Quest: A Flash In The Pan
-- Note: Reapeatable every 15 minutes.
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/istakoz.lua | 18 | 1337 | -----------------------------------------
-- ID: 5453
-- Item: Istakoz
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 3
-- Defense +15.4%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
apletnev/koreader | spec/unit/kosync_spec.lua | 4 | 6674 | local service = [[
{
"base_url" : "https://sync.koreader.rocks:443/",
"name" : "api",
"methods" : {
"register" : {
"path" : "/users/create",
"method" : "POST",
"required_params" : [
"username",
"password",
],
... | agpl-3.0 |
d-o/LUA-LIB | tests/network/stream.lua | 2 | 2581 | -------------------------------------------------------------------------------
-- Streaming network test.
-- @author Pauli
-- @copyright 2014 Rinstrum Pty Ltd
-------------------------------------------------------------------------------
require "tests.assertions"
describe("Streaming #stream", function ()
local ... | gpl-3.0 |
nicodinh/cuberite | MCServer/Plugins/APIDump/Hooks/OnDisconnect.lua | 36 | 1597 | return
{
HOOK_DISCONNECT =
{
CalledWhen = [[
A client has disconnected, either by explicitly sending the disconnect packet (in older protocols) or
their connection was terminated
]],
DefaultFnName = "OnDisconnect", -- also used as pagename
Desc = [[
This hook is called when a client has disconnected... | apache-2.0 |
paulosalvatore/maruim_server | data/migrations/13.lua | 58 | 2963 | function onUpdateDatabase()
print("> Updating database to version 14 (account_bans, ip_bans and player_bans)")
db.query("CREATE TABLE IF NOT EXISTS `account_bans` (`account_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expires_at` bigint(20) NOT NULL, `banned_by` int(11) NOT... | gpl-2.0 |
kitala1/darkstar | scripts/globals/abilities/fighters_roll.lua | 11 | 2170 | -----------------------------------
-- Ability: Fighter's Roll
-- Improves "Double Attack" rate for party members within area of effect
-- Optimal Job: Warrior
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 49
--
-- Die Roll |No WAR |With WAR
-- -------- -------- -----------
-- 1 |2% ... | gpl-3.0 |
wilcox-liam/ageofwar | game/scripts/vscripts/heroes/hero_firelord/ignite.lua | 1 | 1283 | function Ignite( keys )
local caster = keys.caster
local target = keys.target
local ability = keys.ability
local caster_int = caster:GetIntellect()
local int_multiplier = ability:GetLevelSpecialValueFor("power", (ability:GetLevel() -1))
local duration = ability:GetLevelSpecialValueFor("duration", (ability:GetLeve... | gpl-2.0 |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/PlayerDropDown.lua | 1 | 24054 | --[[
// FileName: PlayerDropDown.lua
// Written by: TheGamer101
// Description: Code for the player drop down in the PlayerList and Chat
]]
local moduleApiTable = {}
local CoreGui = game:GetService('CoreGui')
local HttpService = game:GetService('HttpService')
local HttpRbxApiService = game:GetService('HttpRbxApiSer... | apache-2.0 |
kitala1/darkstar | scripts/zones/Port_San_dOria/npcs/Phersula.lua | 36 | 1376 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Phersula
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Text... | gpl-3.0 |
fqrouter/luci | modules/freifunk/luasrc/controller/freifunk/freifunk.lua | 13 | 8676 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
mod... | apache-2.0 |
klukonin/openwisp-config | openwisp-config/tests/test_restore_unmanaged.lua | 1 | 1640 | -- manually add lib dir to lua package path
package.path = package.path .. ';../files/lib/?.lua'
require('os')
require('io')
luaunit = require('luaunit')
restore_unmanaged = assert(loadfile("../files/sbin/openwisp-restore-unmanaged.lua"))
write_dir = './unmanaged/'
TestRestoreUnmanaged = {
setUp = function()
... | gpl-3.0 |
adiyoss/DeepWDM | back_end/run.lua | 1 | 4684 | ----------------------------------------------------------------------
require 'torch'
--require('mobdebug').start()
----------------------------------------------------------------------
print '==> processing options'
cmd = torch.CmdLine()
cmd:text()
cmd:text('Options:')
-- global:
cmd:option('-seed', 1, 'fixed inpu... | mit |
Roblox/Core-Scripts | PlayerScripts/StarterPlayerScripts/ControlScript/MasterControl/Thumbpad.lua | 2 | 8574 | --[[
// FileName: Thumbpad
// Version 1.0
// Written by: jmargh
// Description: Implements thumbpad controls for touch devices
--]]
local Players = game:GetService('Players')
local UserInputService = game:GetService('UserInputService')
local GuiService = game:GetService('GuiService')
local Thumbpad = {}
local Ma... | apache-2.0 |
kitala1/darkstar | scripts/zones/Lower_Jeuno/npcs/Sutarara.lua | 17 | 1649 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Sutarara
-- Involved in Quests: Tenshodo Menbership (before accepting)
-- @pos 30 0.1 -2 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Davoi/npcs/qm1.lua | 17 | 1419 | -----------------------------------
-- Area: Davoi
-- NPC: ??? (qm1)
-- Involved in Quest: To Cure a Cough
-- @pos -115.830 -0.427 -184.289 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/Onslaught.lua | 7 | 1102 | ---------------------------------------------
-- Onslaught
--
-- Description: Lowers target's accuracy. Additional effect: temporarily increases Attack.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/piece_of_cascade_candy.lua | 36 | 1148 | -----------------------------------------
-- ID: 5942
-- Item: Piece of Cascade Candy
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Mind +4
-- Charisma +4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
zhaoluxyz/Hugula | Client/tools/netProtocal/parseProtocal.lua | 8 | 2738 | require("helperFunction")
io.output("../../Assets/Lua/net/netProtocalPaser.lua")
io.input("NetProtocalParserCode.lua")
local preCode = io.read("*all")
io.write(preCode)
-- function isEndStruct(line)
-- return line == "==="
-- end
function genParseFunction(startLine)
local structName = string.match(startLi... | mit |
apletnev/koreader | defaults.lua | 2 | 9121 | -- To make configuration changes that persists between (nightly) releases,
-- copy defaults.lua to defaults.persistent.lua and make the changes there.
-- number of page turns between full screen refresh
-- default to do a full refresh on every 6 page turns
DRCOUNTMAX = 6
-- number of pages for hinting
-- default to p... | agpl-3.0 |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/DevConsole/Constants.lua | 1 | 6593 | local Constants = {
MainWindowInit = {
Position = UDim2.new(.5, -486, .02, 16),
Size = UDim2.new(0, 992, .96, -32),
Transparency = .36,
Padding = UDim.new(0, 5),
MinSize = Vector2.new(400, 250),
},
FormFactor = {
Large = 0,
Middle = 1,
Small = 2,
Console = 3,
},
Color = {
Black = Color3.fromRGB... | apache-2.0 |
ESAI-CEU-UCH/2014EnergyAndBuildings | scripts/train-ONLINE.lua | 1 | 8543 | -- package.path=arg[0]:get_path() .. "modules/?.lua" .. ";/home/experimentos/HERRAMIENTAS/LUA_MODULES/share/;" .. package.path
april_print_script_header(arg)
hidden_layers = {}
columns = {}
cmd_opt_parser = cmdOpt{
program_name = string.basename(arg[0]),
argument_description = "",
main_description = "Trains a ... | mit |
kitala1/darkstar | scripts/globals/items/cup_of_chamomile_tea.lua | 35 | 1384 | -----------------------------------------
-- ID: 4603
-- Item: cup_of_chamomile_tea
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 8
-- Vitality -2
-- Charisma 2
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Sealions_Den/mobs/Tenzen.lua | 27 | 1077 | -----------------------------------
-- Area: Sealion den
-- NPC: Tenzen
-----------------------------------
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobEngaged
--------------------------... | gpl-3.0 |
crabman77/minetest-minetestforfun-server | mods/maptools/aliases.lua | 11 | 5597 | --[[
Map Tools: alias definitions
Copyright (c) 2012-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]
minetest.register_alias("adminpick", "maptools:pick_admin")
minetest.register_alias("adminpickaxe", "maptools:pick_admin")
minetest.register_alias("admin_pick"... | unlicense |
zhaoluxyz/Hugula | Client/Assets/Lua/components/cooldownLabel.lua | 5 | 2214 | ------------------------------------------------
-- Copyright © 2013-2014 Hugula: Arpg game Engine
--
-- author pu
------------------------------------------------
local LuaHelper=LuaHelper
local CUtils=CUtils
local delay = delay
-- local Timer = luanet.Timer
local fun = fun
local CooldownLabel=class(function(se... | mit |
omideblisss/omid | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
crabman77/minetest-minetestforfun-server | mods/invtweak/init.lua | 6 | 7167 | local auto_refill = minetest.setting_getbool("invtweak_auto_refill") or true
local tweak = {}
tweak.formspec = {}
tweak.buttons = {
--sort_asc
"0.8,0.6;sort_asc;^]".."tooltip[sort_asc;sort Items asc.;#30434C;#FFF]",
--sort_desc
"0.8,0.6;sort_desc;v]".."tooltip[sort_desc;sort Items desc.;#30434C;#FFF]",
--concatenate
... | unlicense |
JavidTeam/TeleJavid | plugins/groupmanager.lua | 1 | 144627 | local function modadd(msg)
local hash = "gp_lang:"..msg.to.id
local lang = redis:get(hash)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
if not lang then
return '_You are not bot admin_'
else
return 'شما مدیر ربات نمیباشید'
end
end
local d... | gpl-3.0 |
ZenityRTS/Zenity | lups/ParticleClasses/UnitPieceLight.lua | 1 | 10283 | -- $Id: UnitPieceLight.lua 3171 2008-11-06 09:06:29Z det $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local UnitPieceLight = {}
UnitPi... | gpl-2.0 |
umbrellaTG/sphero | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
dani-sj/danyalevil | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
jjimenezg93/ai-state_machines | moai/3rdparty/luasocket-2.0.2/samples/tinyirc.lua | 58 | 2789 | -----------------------------------------------------------------------------
-- Select sample: simple text line server
-- LuaSocket sample files.
-- Author: Diego Nehab
-- RCS ID: $Id: tinyirc.lua,v 1.14 2005/11/22 08:33:29 diego Exp $
-----------------------------------------------------------------------------
local... | mit |
kitala1/darkstar | scripts/zones/Northern_San_dOria/npcs/Pagisalis.lua | 17 | 2921 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pagisalis
-- Involved In Quest: Enveloped in Darkness
-- @zone 231
-- @pos
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
aliyousefi8370/Srdarbot | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Crawlers_Nest/mobs/Aqrabuamelu.lua | 21 | 1463 | -----------------------------------
-- Area: Maze of Shakhrami
-- NM: Aqrabuamelu
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob... | gpl-3.0 |
kitala1/darkstar | scripts/commands/togglegm.lua | 26 | 1924 | ---------------------------------------------------------------------------------------------------
-- func: togglegm
-- desc: Toggles a GMs nameflags/icon.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = ""
... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/sis_kebabi.lua | 35 | 1656 | -----------------------------------------
-- ID: 5598
-- Item: sis_kebabi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 6
-- Vitality -2
-- Intelligence -2
-- Attack % 20
-- Attack Cap 70
-- Ranged ATT % 20
-- Ranged ATT Cap 70
---------------------------------------... | gpl-3.0 |
fastmailops/prosody | plugins/mod_storage_sql.lua | 4 | 13370 |
--[[
DB Tables:
Prosody - key-value, map
| host | user | store | key | type | value |
ProsodyArchive - list
| host | user | store | key | time | stanzatype | jsonvalue |
Mapping:
Roster - Prosody
| host | user | "roster" | "contactjid" | type | value |
| host | user | "roster" | NULL | "json" | roster[fal... | mit |
marczych/PeggleDamacy | utils/utils.lua | 1 | 3835 | local Utils = {}
-- Make sure we get "real random" numbers
math.randomseed(os.time())
-- It's not really random. We want the sparkles to be somewhat bright
-- so we don't allow low values.
function Utils.randomSparkleColorValue()
return math.random(60, 255)
end
-- Don't allow pegs to spawn in the top 25%, bottom 1... | apache-2.0 |
fqrouter/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk/dialplan_out.lua | 80 | 3231 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
l... | apache-2.0 |
wright8191/dotfiles | Linux/config.symlink/awesome/rc.lua | 2 | 26176 | -- Standard awesome library
local gears = require("gears")
local awful = require("awful")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
-- Theme handling library; global for awesome-client
beautiful = require("beautiful")
-- Notification library; global for awesome-client
naught... | mit |
kitala1/darkstar | scripts/globals/mobskills/Gate_of_Tartarus.lua | 7 | 1068 | ---------------------------------------------
-- Gate of Tartarus
--
-- Description: Lowers target's attack. Additional effect: Refresh
-- Type: Physical
-- Shadow per hit
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require(... | gpl-3.0 |
Pulse-Eight/drivers | Control4/neo4_professional_pulse-eight/lib/c4_log.lua | 9 | 17977 | --[[=============================================================================
c4_log Class
Copyright 2015 Control4 Corporation. All Rights Reserved.
===============================================================================]]
require "common.p8declares"
require "lib.c4_object"
c4_log = inheritsFrom(n... | apache-2.0 |
kitala1/darkstar | scripts/zones/Windurst_Waters/npcs/Baren-Moren.lua | 36 | 7540 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Baren-Moren
-- Starts and Finishes Quest: Hat in Hand
-- Working 100%
-- @zone = 238
-- @pos = -66 -3 -148
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
paulosalvatore/maruim_server | config.lua | 1 | 2530 | -- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "no-pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 30000
removeChargesFromRunes = true
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 *... | gpl-2.0 |
kitala1/darkstar | scripts/globals/items/loaf_of_goblin_bread.lua | 35 | 1287 | -----------------------------------------
-- ID: 4458
-- Item: loaf_of_goblin_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 7
-- Vitality 1
-- Charisma -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/globals/spells/raptor_mazurka.lua | 31 | 1188 | -----------------------------------------
-- Spell: Raptor Mazurka
-- Gives party members enhanced movement
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastin... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Southern_San_dOria/npcs/Estiliphire.lua | 29 | 1068 | -----------------------------------
-- Area: Southern Sandoria
-- NPC: Estiliphire
-- Type: Event Sideshow NPC
-- @zone: 230
-- @pos -41.550 1.999 -2.845
--
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Sauromugue_Champaign/npcs/Cavernous_Maw.lua | 13 | 2388 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Cavernous Maw
-- Teleports Players to Sauromugue_Champaign_S
-- @pos 369 8 -227 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
Roblox/Core-Scripts | CoreScriptsRoot/Modules/DevConsole/Components/Scripts/ServerScriptsEntry.lua | 1 | 4428 | local CorePackages = game:GetService("CorePackages")
local Roact = require(CorePackages.Roact)
local Components = script.Parent.Parent.Parent.Components
local CellLabel = require(Components.CellLabel)
local BannerButton = require(Components.BannerButton)
local LineGraph = require(Components.LineGraph)
local Constants... | apache-2.0 |
apletnev/koreader | frontend/ui/data/keyboardlayouts/ja_keyboard.lua | 5 | 10232 | return {
shiftmode_keys = {["Shift"] = true},
symbolmode_keys = {["記号"] = true, ["かな"] = true},
utf8mode_keys = {["゛"] = true},
umlautmode_keys = {["゜"] = true},
keys = {
-- first row
{ -- 1 2 3 4 5 6 7 8 9 10 11 ... | agpl-3.0 |
kitala1/darkstar | scripts/zones/Riverne-Site_A01/npcs/Spatial_Displacement.lua | 11 | 2971 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Spacial Displacement
-----------------------------------
-----------------------------------
-- onTrade
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- onTrigger
--------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Mhaura/TextIDs.lua | 5 | 1944 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6382; -- Obtained: <item>.
GIL_OBTAINED = 6383; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6385; -- Obtained... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/head_of_napa.lua | 35 | 1195 | -----------------------------------------
-- ID: 5235
-- Item: head_of_napa
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
fqrouter/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-chan.lua | 80 | 1726 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
kitala1/darkstar | scripts/zones/RuLude_Gardens/npcs/Neraf-Najiruf.lua | 19 | 2005 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Neraf-Najiruf
-- Involved in Quests: Save my Sister
-- @zone 243
-- @pos -36 2 60
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
kitala1/darkstar | scripts/globals/spells/foe_lullaby.lua | 11 | 1176 | -----------------------------------------
-- Spell: Foe Lullaby
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/bataquiche_+1.lua | 35 | 1474 | -----------------------------------------
-- ID: 5169
-- Item: Bataquiche +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 10
-- Agility 1
-- Vitality -1
-- Ranged ATT % 7
-- Ranged ATT Cap 20
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ComController.lua | 6 | 1099 |
--------------------------------
-- @module ComController
-- @extend Component,InputDelegate
--------------------------------
-- @function [parent=#ComController] create
-- @param self
-- @return ComController#ComController ret (return value: ccs.ComController)
--------------------------------
-- @function ... | mit |
kitala1/darkstar | scripts/zones/PsoXja/Zone.lua | 13 | 4106 | -----------------------------------
--
-- Zone: PsoXja (9)
--
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/zones/PsoXja/TextIDs");
require... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.