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 |
|---|---|---|---|---|---|
nyczducky/darkstar | scripts/zones/Northern_San_dOria/npcs/Shakir.lua | 14 | 1059 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Shakir
-- Type: Standard NPC
-- @zone 231
-- @pos 48.952 -2.999 -16.687
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----... | gpl-3.0 |
mehrpouya81/giantbot | plugins/translate.lua | 674 | 1637 |
--[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local p... | gpl-2.0 |
hacker44-h44/teleguard-v2 | plugins/translate.lua | 674 | 1637 |
--[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local p... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/PsoXja/npcs/_090.lua | 14 | 3070 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _090 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 341.600 -1.925 -50.000 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Temenos/mobs/Thrym.lua | 28 | 1188 | -----------------------------------
-- Area: Temenos N T
-- NPC: Thrym
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- ... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Davoi/npcs/qm1.lua | 14 | 1416 | -----------------------------------
-- 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");
require("scr... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Misareaux_Coast/npcs/_0p3.lua | 17 | 1069 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Dilapidated Gate
-- Notes: Entrance to Misareaux Coast
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/... | gpl-3.0 |
SamOatesPlugins/cuberite | Server/Plugins/APIDump/Hooks/OnSpawningMonster.lua | 44 | 1195 | return
{
HOOK_SPAWNING_MONSTER =
{
CalledWhen = "Before a monster is spawned in the world.",
DefaultFnName = "OnSpawningMonster", -- also used as pagename
Desc = [[
This hook is called before the server spawns a {{cMonster|monster}}. The plugins may modify the
monster's parameters in the {{cMonster}} cla... | apache-2.0 |
nyczducky/darkstar | scripts/globals/items/baked_popoto.lua | 12 | 1273 | -----------------------------------------
-- ID: 4436
-- Item: Baked Popoto
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity -1
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Kazham/npcs/Dakha_Topsalwan.lua | 14 | 1145 | -----------------------------------
-- 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 |
wenhulove333/ScutServer | Sample/Doudizhu/Client/lua/lib/ZyBit.lua | 2 | 2374 |
module("ZyBit", package.seeall)
bit={data32={}}
for i=1,32 do
bit.data32[i]=2^(32-i)
end
function bit:d2b(arg)
local tr={}
for i=1,32 do
if arg >= self.data32[i] then
tr[i]=1
arg=arg-self.data32[i]
else
tr[i]=0
end
end
return t... | mit |
nyczducky/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/qm2.lua | 14 | 1423 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm2 (???)
-- Spawns Dhorme Khimaira
-- @pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tr... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Blue_Rafflesia.lua | 14 | 6365 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Blue Rafflesia
-- Used in quest Even More Gullible Travels
-- @pos -468.876 -1 220.247 123 <many>
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Northern_San_dOria/npcs/Madaline.lua | 17 | 1634 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Madaline
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/globals/... | gpl-3.0 |
sjznxd/lc-20121231 | modules/niu/luasrc/model/cbi/niu/network/wandevice.lua | 51 | 1346 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 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$
]]--
loc... | apache-2.0 |
abcdefg30/OpenRA | mods/cnc/maps/cnc64gdi01/cnc64gdi01.lua | 6 | 4254 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_Bastok/npcs/Hilda.lua | 26 | 5026 | -----------------------------------
-- Area: Port Bastok
-- NPC: Hilda
-- Involved in Quest: Cid's Secret, Riding on the Clouds
-- Starts & Finishes: The Usual
-- @pos -163 -8 13 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
sevu/wesnoth | data/campaigns/World_Conquest/lua/map/generator/podzol.lua | 7 | 6295 |
local function generate(length, villages, castle, iterations, size, players, island)
local res = wct_generator_settings_arguments( length, villages, castle, iterations, size, players, island)
res.max_lakes=30
res.min_lake_height=170
res.lake_size=75
res.river_frequency=80
res.temperature_size=9
res.roads=11
r... | gpl-2.0 |
lgeek/koreader | frontend/apps/reader/modules/readerkoptlistener.lua | 15 | 2686 | local EventListener = require("ui/widget/eventlistener")
local Event = require("ui/event")
local ReaderKoptListener = EventListener:new{}
function ReaderKoptListener:setZoomMode(zoom_mode)
if self.document.configurable.text_wrap == 1 then
-- in reflow mode only "page" zoom mode is valid so override any ot... | agpl-3.0 |
weweadsl/thrift | lib/lua/TServer.lua | 74 | 3988 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
nyczducky/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Three_Steps_IM.lua | 14 | 3357 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Three Steps, I.M.
-- Type: Border Conquest Guards
-- @pos -120.393 -25.822 -592.604 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Metalworks/npcs/relic.lua | 14 | 1857 | -----------------------------------
-- Area: Metalworks
-- NPC: <this space intentionally left blank>
-- @pos -20 -11 33 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
------------------... | gpl-3.0 |
francot514/CardGamePRO-Simulator | data/cards/c1350.lua | 1 | 3059 | --Beowulf
function c1350.initial_effect(c)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(c1350.splimit)
c:RegisterEffect(e1)
--special summon rule
local e2=E... | gpl-2.0 |
micdah/LrControl | Source/LrControl.Plugin/ModulesLrUndo.lua | 1 | 1677 | --[[----------------------------------------------------------------------------
Copyright ? 2016 Michael Dahl
This file is part of LrControl.
LrControl 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 ve... | gpl-3.0 |
ddRPB/rpb-pacs | conquest/web/move-dicom-studies.lua | 1 | 6925 | -- This script is querying ConQuest PACS in order to retrieve
-- DICOM Study instance restricted via QueryString parameters
-- and move all patient data to different AE title
-- UseCases:
-- should be deployed on DICOM proxy (clinical/research) or DICOM data (clinical/research) nodes
local patientid = CGI('PatientID'... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Selbina/npcs/Elfriede.lua | 14 | 2015 | -----------------------------------
-- Area: Selbina
-- NPC: Elfriede
-- Involved In Quest: The Tenshodo Showdown
-- @pos 61 -15 10 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scri... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/sis_kebabi_+1.lua | 12 | 1661 | -----------------------------------------
-- ID: 5599
-- Item: sis_kebabi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 6
-- Vitality -1
-- Intelligence -1
-- Attack % 22
-- Attack Cap 75
-- Ranged ATT % 22
-- Ranged ATT Cap 75
-----------------------------------------
requi... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Alchemist.lua | 14 | 1211 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- MOB: Goblin Alchemist
-- Note: Place holder Soulstealer Skullnix
-----------------------------------
require("scripts/globals/groundsofvalor");
require("scripts/zones/Labyrinth_of_Onzozo/MobIDs");
-----------------------------------
-- onMobDeath
--... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/maps/node_enter_mithalas.lua | 6 | 1113 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
sjznxd/lc-20121231 | libs/web/luasrc/sauth.lua | 78 | 2928 | --[[
Session authentication
(c) 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$
]]--
--- LuCI sess... | apache-2.0 |
jbeich/Aquaria | files/scripts/entities/13_progression.lua | 6 | 4774 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm3.lua | 14 | 1791 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: ???
-- Involved In Quest: The Sacred Katana
-- @zone 121
-- @pos -416 0 46
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Wajaom_Woodlands/npcs/qm3.lua | 30 | 1356 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: ??? (Spawn Gotoh Zha the Redolent(ZNM T3))
-- @pos -337 -31 676 51
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wajaom_Woodlands/TextID... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/spells/bluemagic/screwdriver.lua | 35 | 1877 | -----------------------------------------
-- Spell: Screwdriver
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 21 MP
-- Monster Type: Aquans
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1, CHR+1, HP+10
-- Level: 26
-- Casting Time: 0.5 seconds
-- Recast T... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/maps/node_mainarea_energytemple_rock.lua | 6 | 1445 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
francot514/CardGamePRO-Simulator | data/levels/4-Celtic-VS-Norse.lua | 1 | 1727 | --Celtic vs Norse
Debug.SetAIName("Norse")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,40,0,0)
Debug.SetPlayerInfo(1,40,0,0)
local c = 0
local val = 1000
local ai =Debug.AddCard(1,1,1,LOCATION_REMOVED,1,POS_FACEDOWN)
math.randomseed( require("os").time())
for i = 1,20 do
c = m... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Tahrongi_Cacti.lua | 27 | 1753 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Tahrongi Cacti
-- Involved in Quest: Say It with Flowers
--
-- @pos -308.721 7.477 264.454
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Temenos/mobs/Telchines_Monk.lua | 28 | 1126 | -----------------------------------
-- Area: Temenos N T
-- NPC: Telchines_Monk
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
sevu/wesnoth | data/campaigns/World_Conquest/lua/map/postgeneration/3F_Wetland.lua | 7 | 5057 | -- Wetland
function world_conquest_tek_map_repaint_3f()
set_terrain { "Ur",
f.terrain("U*^Tf,U*"),
fraction = 10,
}
wct_reduce_wall_clusters("Uu,Uu^Tf,Uh,Uu^Tf,Uu,Uh,Uu,Uu,Qxu,Uu,Wwf")
-- soft rough terrain generated
local terrain_to_change = wct_store_cave_passages_candidates()
while #terrain_to_change > 0... | gpl-2.0 |
abcdefg30/OpenRA | mods/d2k/maps/harkonnen-02b/harkonnen02b.lua | 7 | 2638 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Windurst_Waters/npcs/Serukoko.lua | 14 | 1053 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Serukoko
-- Type: Standard NPC
-- @zone 238
-- @pos -54.916 -7.499 114.855
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------... | gpl-3.0 |
tgregory/lua-pb | pb/handlers.lua | 7 | 1118 | -- Copyright (c) 2011, Robert G. Jakabosky <bobby@sharedrealm.com> All rights reserved.
local setmetatable = setmetatable
local rawset = rawset
local error = error
local unpack = unpack
local print = print
-- handler callback registry.
local handler_registry = setmetatable({
}, {
__index = function(reg, _type)
-- cr... | mit |
Kthulupwns/master | scripts/zones/Temenos/mobs/Enhanced_Tiger.lua | 12 | 1044 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Tiger
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------... | gpl-3.0 |
PhilmacFLy/naev | dat/factions/equip/empire.lua | 13 | 5297 | -- Generic equipping routines, helper functions and outfit definitions.
include("dat/factions/equip/generic.lua")
--[[
-- @brief Does empire pilot equipping
--
-- @param p Pilot to equip
--]]
function equip( p )
-- Start with an empty ship
p:rmOutfit("all")
p:rmOutfit("cores")
-- Get ship info
local... | gpl-3.0 |
e-lab/imagenet-multiGPU.torch | models/squeezenet.lua | 2 | 1954 | -- implementation of squeezenet proposed in: http://arxiv.org/abs/1602.07360
local function fire(ch, s1, e1, e3)
local net = nn.Sequential()
net:add(nn.SpatialConvolution(ch, s1, 1, 1))
net:add(nn.ReLU(true))
local exp = nn.Concat(2)
exp:add(nn.SpatialConvolution(s1, e1, 1, 1))
... | bsd-2-clause |
Kthulupwns/master | scripts/zones/East_Ronfaure_[S]/npcs/qm5.lua | 27 | 1615 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: qm5 "???"
-- Involved in Quests: Steamed Rams
-- @pos 380.015 -26.5 -22.525
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
Kthulupwns/master | scripts/zones/Aht_Urhgan_Whitegate/npcs/Dkhaaya.lua | 17 | 2378 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Dkhaaya
-- Type: Standard NPC
-- @pos -73.212 -1 -5.842 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitem... | gpl-3.0 |
Cristianohh/likwid | examples/Lua-likwidAPI.lua | 7 | 1932 | #!/usr/local/bin/likwid-lua
--[[
=======================================================================================
Filename: Lua-markerAPI.lua
Description: Example how to use the LIKWID API in Lua scripts
Version: <VERSION>
Released: <DATE>
Author: Thomas Roehl (tr), thoma... | gpl-3.0 |
Abedzadeh5928/alireza5928 | plugins/translate.lua | 6 | 1636 | --[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local pa... | gpl-2.0 |
teletele95/Abo-ALRomm | plugins/translate.lua | 1 | 1549 | --[[
$ :)
-- - ( #Romeo ) - --
$ :)
-- - ( @Tele_Tele ) - --
$ :)
--Channel-( @Oo_oO95 )--
$ :)
]]--
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local params = {
client = "gtx",
ie = "UTF-8",
... | gpl-3.0 |
jfarrell/thrift | lib/lua/TMemoryBuffer.lua | 100 | 2266 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
Kthulupwns/master | scripts/globals/mobskills/Luminous_Lance.lua | 19 | 1379 | ---------------------------------------------
-- Luminous Lance
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-------------------------------------------... | gpl-3.0 |
AzamYahya/shogun | examples/undocumented/lua_modular/evaluation_contingencytableevaluation_modular.lua | 21 | 1809 | require 'modshogun'
require 'load'
ground_truth = load_labels('../data/label_train_twoclass.dat')
math.randomseed(17)
predicted = {}
for i = 1, #ground_truth do
table.insert(predicted, math.random())
end
parameter_list = {{ground_truth,predicted}}
function evaluation_contingencytableevaluation_modular(ground_truth,... | gpl-3.0 |
Kthulupwns/master | scripts/zones/Aht_Urhgan_Whitegate/npcs/Rytaal.lua | 13 | 4534 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Rytaal
-- Type: Standard NPC
-- @pos 112.002 -1.338 -45.038 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
roboplus12/ali | plugins/chats.lua | 1 | 1070 | local function run(msg)
if msg.text == "hi" then
return "Hello bb"
end
if msg.text == "Hi" then
return "Hello honey"
end
if msg.text == "Hello" then
return "Hi bb"
end
if msg.text == "hello" then
return "Hi honey"
end
if msg.text == "Salam" then
return "Salam aleykom"
end
if msg.text == "salam" then
return "va al... | gpl-2.0 |
Kthulupwns/master | scripts/globals/spells/bluemagic/frypan.lua | 28 | 1783 | -----------------------------------------
-- Spell: Frypan
-- Delivers an area attack. Additional effect: "Stun." Accuracy varies with TP
-- Spell cost: 65 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+2
-- Level: 63
-- Casting Time: 1 seconds
-- Recas... | gpl-3.0 |
Kthulupwns/master | scripts/globals/weaponskills/viper_bite.lua | 12 | 1673 | -----------------------------------
-- Viper Bite
-- Dagger weapon skill
-- Skill level: 100
-- Deals double damage and Poisons target. Duration of poison varies with TP.
-- Doubles attack and not damage.
-- Despite the animation showing two swings, this is a single-hit weapon skill.
-- Will stack with Sneak Att... | gpl-3.0 |
Telecatfullbot/-TelecaT | plugins/inpm.lua | 243 | 3007 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
ashhher3/koreader | frontend/document/credocument.lua | 1 | 14488 | local CreOptions = require("ui/data/creoptions")
local Document = require("document/document")
local Configurable = require("configurable")
local Blitbuffer = require("ffi/blitbuffer")
local lfs = require("libs/libkoreader-lfs")
local Geom = require("ui/geometry")
local Device = require("device")
local Screen = require... | agpl-3.0 |
Kthulupwns/master | scripts/zones/Windurst_Walls/npcs/Zayhi-Bauhi.lua | 19 | 5249 | -----------------------------------
-- Area: Windurst Walls
-- Location: X:-91 Y:-9 Z:109
-- NPC: Zayhi-Bauhi
-- Working 100%
-- Starts and Finishes Quest: To Bee or Not to Bee?
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
Kthulupwns/master | scripts/globals/items/bowl_of_adoulin_soup_+1.lua | 36 | 1507 | -----------------------------------------
-- ID: 5999
-- Item: Bowl of Adoulin Soup +1
-- Food Effect: 240 Min, All Races
-----------------------------------------
-- HP % 4 Cap 45
-- Vitality 4
-- Defense % 16 Cap 75
-- HP Healing 7
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
Kthulupwns/master | scripts/zones/Southern_San_dOria_[S]/npcs/AshmeaBGreinner1.lua | 36 | 1124 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Ashmea B Greinner
-- @zone 80
-- @pos 2 2 -81
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
------------------------... | gpl-3.0 |
jfarrell/thrift | lib/lua/TCompactProtocol.lua | 30 | 13135 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
dmccuskey/dmc-navigator | dmc_corona/lib/dmc_lua/lua_patch.lua | 3 | 5782 | --====================================================================--
-- lua_patch.lua
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Copyright (c) 2014-2015 David McCuskey
Permission is hereby granted, free ... | mit |
Kthulupwns/master | scripts/globals/items/plate_of_ikra_gunkan_+1.lua | 35 | 1733 | -----------------------------------------
-- ID: 5220
-- Item: plate_of_ikra_gunkan_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 30
-- Magic 12
-- Dexterity 3
-- Mind -1
-- Accuracy % 17
-- Accuracy Cap 30
-- Ranged ACC % 17
-- Ranged ACC Cap 30
------------------... | gpl-3.0 |
Kthulupwns/master | scripts/globals/spells/hunters_prelude.lua | 13 | 1489 | -----------------------------------------
-- Spell: Hunter's Prelude
-- Gives party members ranged attack accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingChe... | gpl-3.0 |
Mojtaba-mp/telemp | plugins/banhammer.lua | 22 | 5639 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
partgit/partbot | plugins/anti_spam.lua | 191 | 5291 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
-- Save... | agpl-3.0 |
tectronics/microlua-sim | clp/mls/Sys.lua | 2 | 15376 | -------------------------------------------------------------------------------
-- OS, filesystem and memory utilities.
--
-- @class module
-- @name clp.mls.Sys
-- @author Ced-le-pingouin <Ced.le.pingouin@gmail.com>
-------------------------------------------------------------------------------
-- Copyright (C) 2009-... | gpl-3.0 |
Kthulupwns/master | scripts/zones/Nashmau/npcs/Kyokyoroon.lua | 17 | 1758 | -----------------------------------
-- Area: Nashmau
-- NPC: Kyokyoroon
-- Standard Info NPC
-- @pos 18.020 -6.000 10.467 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globa... | gpl-3.0 |
Kthulupwns/master | scripts/zones/Bastok_Mines/npcs/Proud_Beard.lua | 30 | 1726 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Proud Beard
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones/Bastok_Mines/TextIDs");
require("scripts/globals/events... | gpl-3.0 |
dnc40085/nodemcu-firmware | lua_modules/http/http.lua | 89 | 6624 | ------------------------------------------------------------------------------
-- HTTP server module
--
-- LICENCE: http://opensource.org/licenses/MIT
-- Vladimir Dronnikov <dronnikov@gmail.com>
------------------------------------------------------------------------------
local collectgarbage, tonumber, tostring = col... | mit |
Kthulupwns/master | scripts/zones/Windurst_Waters/npcs/Zelala.lua | 38 | 1035 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Zelala
-- Type: Map Marker
-- @zone: 238
-- @pos 169.855 -1.295 -3.238
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------------... | gpl-3.0 |
Kthulupwns/master | scripts/zones/QuBia_Arena/mobs/Archlich_Taber_quoan.lua | 27 | 4133 | -----------------------------------
-- Area: Qu'Bia Arena
-- NM: Archlich Taber'quoan
-- Mission 5-1 BCNM Fight
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
e... | gpl-3.0 |
Kthulupwns/master | scripts/zones/Port_Windurst/npcs/Sheia_Pohrichamaha.lua | 36 | 1535 | -----------------------------------
-- Area: Port Windurst
-- NPC: Sheia Pohrichamaha
-- Only sells when Windurst controlls Fauregandi Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/z... | gpl-3.0 |
jhysek/Minimal-Corona-SDK-Template | app/calculators/calculator_kamzik.lua | 1 | 1853 | --------------------------------------------------------------------------------
local class = require "lib.middleclass"
local GenericCalculator = require "app.calculators.generic_calculator"
--------------------------------------------------------------------------------
local Calculator = class("Calculat... | mit |
Kthulupwns/master | scripts/zones/Tavnazian_Safehold/npcs/Quelveuiat.lua | 34 | 2668 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Quelveuiat
-- Standard Info NPC
-- @pos -3.177 -22.750 -25.970 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");... | gpl-3.0 |
Kthulupwns/master | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_GK.lua | 27 | 1373 | -----------------------------------
-- Area: LaLoff Amphitheater
-- NPC: Ark Angel GK
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-----------------------------------
-- TODO: Allegedly has a 12 hp/sec regen. Determine if true, and add to onMobInitialize if so.... | gpl-3.0 |
m1cr0man/EightyTwentyFive | ComputerCraft/Big Reactors/big-interfaces.lua | 1 | 3985 | -- 2017 m1cr0man
os.loadAPI("commonlib")
-- Reactor class
Reactor = commonlib.class()
function Reactor.new(name, log_size)
local self = setmetatable({}, Reactor)
self.name = name
self.logs = commonlib.Stack(log_size)
-- Initialize the statistics
self.uptime = 0
self.steam_delta = 0
self.fuel_delta = 0
self.t... | gpl-3.0 |
pkulchenko/ZeroBranePackage | documentmap.lua | 2 | 8566 | -- Copyright 2014-18 Paul Kulchenko, ZeroBrane LLC; All rights reserved
local mappanel = "documentmappanel"
local markers = {CURRENT = "docmap.current", BACKGROUND = "docmap.background"}
local editormap, editorlinked
local id
local win = ide.osname == 'Windows'
local needupdate
local colors = { -- default values if no... | mit |
roboplus12/ali | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
Kthulupwns/master | scripts/globals/spells/absorb-mnd.lua | 11 | 1191 | --------------------------------------
-- Spell: Absorb-MND
-- Steals an enemy's mind.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---------------... | gpl-3.0 |
Kthulupwns/master | scripts/globals/items/zebra_eel.lua | 17 | 1390 | -----------------------------------------
-- ID: 4288
-- Item: Zebra Eel
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
cnsuperx/Cocos2d-x-2.2.5 | scripting/lua/script/extern.lua | 14 | 2587 | function clone(object)
local lookup_table = {}
local function _copy(object)
if type(object) ~= "table" then
return object
elseif lookup_table[object] then
return lookup_table[object]
end
local new_table = {}
lookup_table[object] = new_table
... | mit |
Kthulupwns/master | scripts/zones/Dynamis-Buburimu/mobs/Adamantking_Effigy.lua | 17 | 2272 | -----------------------------------
-- Area: Dynamis Buburimu
-- NPC: Adamantking_Effigy
-----------------------------------
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Buburimu/TextIDs... | gpl-3.0 |
ProgrammerHero/Pulsar4x | functions.lua | 2 | 4447 | -- functions.lua
-- Includes Utility functions used by the main Premake4.lua script.
-- Allows copying directories.
-- It uses the premake4 patterns (**=recursive match, *=file match)
-- NOTE: It won't copy empty directories!
-- Example: we have a file: src/test.h
-- os.copydir("src", "include") simple copy, makes in... | mit |
Kthulupwns/master | scripts/zones/Jugner_Forest/npcs/Mionie.lua | 17 | 1855 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Mionie
-- Type: Outpost Vendor
-- @pos 54 0 -11 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/global... | gpl-3.0 |
Kthulupwns/master | scripts/zones/Selbina/npcs/Oswald.lua | 17 | 4682 | -----------------------------------
-- Area: Selbina
-- NPC: Oswald
-- Starts and Finishes Quest: Under the sea (finish), The gift, The real gift
-- @pos 48 -15 9 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
MinoaveDev/EccoDev | scripts/npcs/friend01.lua | 1 | 2824 | --[[
Copyright (C) 2008-2011 Vana Development Team
This program 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; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
gianlucaborello/sysdig | userspace/sysdig/chisels/fdbytes_by.lua | 18 | 1508 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
ChrisBird/ardupilot | libraries/AP_Scripting/applets/SmartAudio.lua | 24 | 3510 | --------------------------------------------------
--------------------------------------------------
--------- VTX LUA for SMARTAUDIO 2.0 -------------
------------based on work by----------------------
---------Craig Fitches 07/07/2020 ----------------
-------------Mods by H. Wurzburg -----------------
--------... | gpl-3.0 |
apaikan/myCub | main/tools/myCubGui/samples/media.wx.lua | 1 | 12419 | -----------------------------------------------------------------------------
-- Name: media.wx.lua
-- Purpose: wxMediaCtrl wxLua sample
-- Author: John Labenski
-- Modified by:
-- Created: 07/01/2007
-- RCS-ID:
-- Copyright: (c) 2007 John Labenski. All rights reserved.
-- Licence: wxWidgets l... | lgpl-3.0 |
wimstefan/lain | widget/cal.lua | 1 | 4800 | --[[
Licensed under GNU General Public License v2
* (c) 2018, Luca CPZ
--]]
local helpers = require("lain.helpers")
local markup = require("lain.util.markup")
local awful = require("awful")
local naughty = require("naughty")
local floor = math.floor
local os = os
local pairs = pairs
loc... | gpl-2.0 |
Kthulupwns/master | scripts/zones/Buburimu_Peninsula/npcs/Five_of_Spades.lua | 17 | 1482 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Five of Spades
-- Invloved in quests: A Greeting Cardian
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Peninsula/... | gpl-3.0 |
Kthulupwns/master | scripts/zones/Castle_Oztroja/npcs/_47b.lua | 17 | 1929 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47b (Handle)
-- Notes: Opens Trap Door (_47a) or Brass Door (_470)
-- @pos 22.310 -1.087 -14.320 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
Kthulupwns/master | scripts/globals/mobskills/Metatron_Torment.lua | 7 | 1098 | ---------------------------------------------
-- Metatron Torment
--
-- Description: Lowers target's defense. Additional effect: temporarily lowers damage taken from enemies.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
wec22/sports-ball | lib/tactile.lua | 1 | 5142 | local tactile = {
_VERSION = 'Tactile v1.1.1',
_DESCRIPTION = 'A simple and straightfoward input library for LÖVE.',
_URL = 'https://github.com/tesselode/tactile',
_LICENSE = [[
The MIT License (MIT)
Copyright (c) 2015 Andrew Minnich
Permission is hereby granted, free of charge, to... | gpl-2.0 |
UB12/ub1 | plugins/LinkPv.lua | 107 | 31031 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
Kthulupwns/master | scripts/globals/items/kaplumbaga.lua | 18 | 1258 | -----------------------------------------
-- ID: 5464
-- Item: Kaplumbaga
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
Kthulupwns/master | scripts/zones/Navukgo_Execution_Chamber/Zone.lua | 28 | 1358 | -----------------------------------
--
-- Zone: Navukgo_Execution_Chamber (64)
--
-----------------------------------
package.loaded["scripts/zones/Navukgo_Execution_Chamber/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Navukgo_Execution_Chamb... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.