repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
DarkRainX/ufoai | base/ufos/ui/base.section.lua | 2 | 4092 | --!usr/bin/lua
--[[
-- @file
-- @brief Base menu section builder
--]]
--[[
Copyright (C) 2002-2020 UFO: Alien Invasion.
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; either version 2
of the Licen... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/qm1.lua | 17 | 1075 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: ??? (Tonberry Rattle ITEM)
-- @pos 269 0 91 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Temple_of_Uggalepih/TextIDs... | gpl-3.0 |
4Evergreen4/trash_can | init.lua | 1 | 7577 | --
-- Functions
--
local fdir_to_front = {
{x=0, z=1},
{x=1, z=0},
{x=0, z=-1},
{x=-1, z=0}
}
local function checkwall(pos)
local fdir = minetest.get_node(pos).param2
local second_node_x = pos.x + fdir_to_front[fdir + 1].x
local second_node_z = pos.z + fdir_to_front[fdir + 1].z
local second_node_pos = {x=secon... | mit |
jshackley/darkstar | scripts/zones/Northern_San_dOria/npcs/Coullene.lua | 5 | 1527 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Coullene
-- Type: Involved in Quest (Flyers for Regine)
-- @zone: 231
-- @pos 146.420 0.000 127.601
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Dread_Dive.lua | 25 | 1043 | ---------------------------------------------
-- Dread Dive
--
-- Description: Dives into a single target. Additional effect: Knockback + Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes: Used instead of Gliding Spike by certain notorious monsters.
-----------------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/serving_of_elysian_eclair.lua | 36 | 1430 | -----------------------------------------
-- ID: 5560
-- Item: Serving of Elysian Eclair
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10
-- MP +15
-- Intelligence +2
-- HP Recoverd while healing 2
-- MP Recovered while healing 2
--------------------------------... | gpl-3.0 |
Maarcelo-Mk/StarWars | plugins/banhammer.lua | 1 | 16390 |
local function StarWars(msg, matches)
local data = load_data(_config.moderation.data)
----------------kick by replay ----------------Sudo : @lHTMLl
if matches[1] == 'طرد' and is_mod(msg) then
if msg.reply_id then
if tonumber(msg.reply.id) == tonumber(our_id) then
return "عذراً ⚠️ لااستطيع طرد نفسي 🤖"
end
i... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Selbina/npcs/Yaya.lua | 17 | 1465 | -----------------------------------
-- Area: Selbina
-- NPC: Yaya
-- Starts Quest: Under the sea
-- @pos -19 -2 -16 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/glo... | gpl-3.0 |
yagop/telegram-bot | plugins/plugins.lua | 257 | 4732 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
jshackley/darkstar | scripts/globals/weaponskills/tachi_kaiten.lua | 18 | 2209 | -----------------------------------
-- Tachi Kaiten
-- Great Katana weapon skill
-- Skill level: N/A
-- Additional effect: temporarily increases amount of TP stored with each hit.
-- Grants Store TP+7 for the duration of time that it is active. Length of time depends on TP.
-- 100 TP = 20s
-- 200 TP = 40s
-- 30... | gpl-3.0 |
josetaas/YokiRaidCursor | Libs/LibStub/LibStub.lua | 32 | 1397 | -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN RE... | mit |
jshackley/darkstar | scripts/zones/Windurst-Jeuno_Airship/Zone.lua | 28 | 1460 | -----------------------------------
--
-- Zone: Windurst-Jeuno_Airship
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
----------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pettette.lua | 38 | 1049 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pettette
-- Type: Standard NPC
-- @zone: 94
-- @pos 164.026 -0.001 -26.690
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Corrosive_ooze.lua | 16 | 1224 | ---------------------------------------------------
-- Corrosive Ooze
-- Family: Slugs
-- Description: Deals water damage to an enemy. Additional Effect: Attack Down and Defense Down.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Radial
-- Notes:
----------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/abilities/aspir_samba_ii.lua | 18 | 1468 | -----------------------------------
-- Ability: Aspir Samba II
-- Inflicts the next target you strike with Aspir daze, allowing all those engaged in battle with it to drain its MP.
-- Obtained: Dancer Level 60
-- Recast Time: 1:00
-- TP Cost: 25%
-- Duration: 1:30
-----------------------------------
require("... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/nether/nether/pearl.lua | 10 | 4434 | local function table_contains(t, v)
for _,i in pairs(t) do
if v == i then
return true
end
end
return false
end
local creative = minetest.setting_getbool("creative_mode")
local function throw_pearl(item, player)
local playerpos = player:getpos()
playerpos.y = playerpos.y+1.625
local obj = minetest.add_enti... | unlicense |
jshackley/darkstar | scripts/globals/spells/sleep.lua | 18 | 1054 | -----------------------------------------
-- Spell: Sleep I
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targ... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Gamygyn.lua | 1 | 1253 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Marquis Gamygyn
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
funct... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Ship_bound_for_Selbina/Zone.lua | 17 | 1638 | -----------------------------------
--
-- Zone: Ship_bound_for_Selbina (220)
--
-----------------------------------
package.loaded["scripts/zones/Ship_bound_for_Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("sc... | gpl-3.0 |
jshackley/darkstar | scripts/zones/South_Gustaberg/npcs/Stone_Monument.lua | 32 | 1291 | -----------------------------------
-- Area: South Gustaberg
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 520.064 -5.881 -738.356 107
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
men232/greencode-framework | lua/greencode/plugins/territory/plugins/ter_nlr/sh_auto.lua | 1 | 4920 | --[[
© 2013 GmodLive private project do not share
without permission of its author (Andrew Mensky vk.com/men232).
--]]
local greenCode = greenCode;
local os = os;
local CurTime = CurTime;
local math = math;
local PLUGIN = PLUGIN or greenCode.plugin:Loader();
local TER_PLUGIN = greenCode... | mit |
jshackley/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Nhel_Urhahn.lua | 38 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Nhel Urhahn
-- Type: Standard NPC
-- @zone: 94
-- @pos -47.348 -4.499 47.117
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
LWJGL-CI/bgfx | scripts/bgfx-codegen.lua | 33 | 7026 | -- Copyright 2019 云风 https://github.com/cloudwu . All rights reserved.
-- License (the same with bgfx) : https://github.com/bkaradzic/bgfx/blob/master/LICENSE
local codegen = require "codegen"
local idl = codegen.idl "bgfx.idl"
local func_actions = {
c99 = "\n",
c99decl = "\n",
cppdecl ... | bsd-2-clause |
jshackley/darkstar | scripts/zones/Southern_San_dOria/npcs/Tek_Lengyon.lua | 53 | 1848 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Tek Lengyon
-- Type: Leathercraft Synthesis Image Support
-- @pos -190.120 -2.999 2.770 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/modules/niu/luasrc/controller/niu/wireless.lua | 49 | 1057 | --[[
LuCI - Lua Development Framework
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$
]]--
modul... | gpl-2.0 |
SpRoXx/GTW-RPG | [resources]/GTWhospital/hospital_c.lua | 2 | 1529 | --[[
********************************************************************************
Project owner: RageQuit community
Project name: GTW-RPG
Developers: Mr_Moose
Source code: https://github.com/GTWCode/GTW-RPG/
Bugtracker: http://forum.404rq.com/bug-reports/
Suggestions: http://forum.404rq.com/mta-se... | bsd-2-clause |
LiberatorUSA/GUCEF | tools/DuplicateFileFinder/premake5.lua | 1 | 1710 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
SamJBarney/Wasteland | RightClickHooks.lua | 1 | 1562 | PlayerRightClick = {}
PlayerRightClick[E_ITEM_SEEDS] = function(Player, HeldItem, BlockX, BlockY, BlockZ, BlockFace, CursorX, CursorY, CursorZ)
if HeldItem.m_CustomName == w_Items['wasteland:seed'].m_CustomName then
local World = Player:GetWorld()
local Valid, BlockType, BlockMeta = World:GetBlockInfo(BlockX, B... | apache-2.0 |
luastoned/turbo | spec/mustache_spec.lua | 12 | 3827 | --- Turbo.lua Mustache test
--
-- Copyright 2013 John Abrahamsen
--
-- 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
--
-- Unless required by ... | apache-2.0 |
LiberatorUSA/GUCEF | projects/premake5/targets/GUCEF_exe_MyGUI.LayoutEditor/premake5.lua | 1 | 1766 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
saeeidbeygi/Mrbot | 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 |
jan0sch/Ion3 | etc/look_dusky.lua | 3 | 2068 | -- look_dusky.lua drawing engine configuration file for Ion.
if not gr.select_engine("de") then return end
de.reset()
de.defstyle("*", {
shadow_colour = "#404040",
highlight_colour = "#707070",
background_colour = "#505050",
foreground_colour = "#a0a0a0",
padding_pixels = 1,
highlight_pixels ... | lgpl-2.1 |
CapsAdmin/unfinished | client/head.lua | 1 | 1435 | if IsValid(my) then my:Remove() end
my = vgui.Create("DPanel") -- frame is make my main yes, yes
my:SetSize(400,400) -- set size to 100 widht and 100 height in pixelz
my:Dock(LEFT)
my:Dock(TOP)-- center this shit
my:SetPaintBackground(false)
local uhoh = vgui.Create("DModelPanel", my) -- make button and parent it to ... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Labyrinth_of_Onzozo/Zone.lua | 27 | 1914 | -----------------------------------
--
-- Zone: Labyrinth_of_Onzozo (213)
--
-----------------------------------
package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/... | gpl-3.0 |
birkett/MCServer | 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 |
ByteFun/Starbound_mods | smount/tech/mech/mount31/mount31.lua | 2 | 34501 | function checkCollision(position)
local boundBox = mcontroller.boundBox()
boundBox[1] = boundBox[1] - mcontroller.position()[1] + position[1]
boundBox[2] = boundBox[2] - mcontroller.position()[2] + position[2]
boundBox[3] = boundBox[3] - mcontroller.position()[1] + position[1]
boundBox[4] = boundBox[4] - mcon... | gpl-2.0 |
jshackley/darkstar | scripts/globals/abilities/beast_roll.lua | 9 | 2772 | -----------------------------------
-- Ability: Beast Roll
-- Enhances pet attacks for party members within area of effect
-- Optimal Job: Beastmaster
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 34
--
-- Die Roll |No BST |With BST
-- -------- -------- -----------
-- 1 |16 |41
-- 2... | gpl-3.0 |
sugiartocokrowibowo/Algorithm-Implementations | Pi_Algorithms/Lua/Yonaba/pi.lua | 26 | 3259 | -- Pi approximation algorithms implementation
-- See: http://en.wikipedia.org/wiki/Pi
-- Utility functions
-- Computes the factorial of a given number
local function fact(n)
return n == 0 and 1 or n * fact(n - 1)
end
-- Evaluates Pi using a random and statistical approach
-- (Monte-Carlo method) to evaluate pi
-... | mit |
jshackley/darkstar | scripts/globals/mobskills/Catastrophe.lua | 5 | 1050 | ---------------------------------------------
-- Catastrophe
--
-- Drain target's HP. Bec de Faucon/Apocalypse: Additional effect: Haste
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/m... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Crystal_Weapon.lua | 25 | 1036 | ---------------------------------------------
-- Crystal Weapon
--
-- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown
-- Notes: Can be Fire, Earth, Wind, or Water element.... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/fail/init.lua | 10 | 6538 | -- Fails mod By Mg <mg[dot]minetest[at]gmail[dot]com>
--[[
/-----\-\
/ /--] \-\
| |-] |-|
\ | /-/
\-----/-/
"Congratulation, you win a failpoint."
License GPLv2
]]--
-- The FailPoint mod by Mg.
-- The principal purpose of this mod is to allow FailPoints give, and the storage of the... | unlicense |
Victek/wrt1900ac-aa | feeds/xwrt/webif-iw-lua/files/usr/lib/lua/lua-xwrt/html/form.lua | 18 | 15642 | --------------------------------------------------------------------------------
-- form.lua
--
-- Description: library of framework
-- Library to manipulate forms
--
-- Author(s) [in order of work date]:
-- Fabián Omar Franzotti .
--
-- Configuration files referenced:
-- none
-----------------------------... | gpl-2.0 |
ScottNZ/OpenRA | mods/ra/maps/soviet-04a/reinforcements_teams.lua | 20 | 2642 | Civs = { civ1, civ2, civ3 }
Village = { civ1, civ2, civ3, village1, village2, village5 }
SovietMCV = { "mcv" }
InfantryReinfGreece = { "e1", "e1", "e1", "e1", "e1" }
Avengers = { "jeep", "1tnk", "2tnk", "2tnk", "1tnk" }
Patrol1Group = { "jeep", "jeep", "2tnk", "2tnk" }
Patrol2Group = { "jeep", "1tnk", "1tnk", "1tnk" }
... | gpl-3.0 |
jshackley/darkstar | scripts/zones/East_Sarutabaruta/npcs/Pore-Ohre.lua | 17 | 1629 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Pore-Ohre
-- Involved In Mission: The Heart of the Matter
-- @pos 261 -17 -458 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/cheval_salmon.lua | 18 | 1332 | -----------------------------------------
-- ID: 4379
-- Item: cheval_salmon
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
accelleon/LuaASM | preprocess.lua | 1 | 2241 |
ASM.TOK_PREPROC = {}
local function trimString(str)
return string.gsub(str, "^%s*(.-)%s*$", "%1")
end
-- Pushes a source file onto the stack
function ASM:PushFile(fname)
f = io.open(fname)
if f == nil then
return false
end
local src = f:read("*a")
f:close()
table.insert(self.Source, 1,
{ Src = src, Line ... | gpl-3.0 |
LiberatorUSA/GUCEF | dependencies/tiff/libtiff/premake5.lua | 1 | 2884 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
jshackley/darkstar | scripts/zones/Yughott_Grotto/npcs/Mining_Point.lua | 29 | 1099 | -----------------------------------
-- Area: Yughott Grotto
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Yughott_Grotto/TextIDs");
----... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Port_San_dOria/npcs/Coribalgeant.lua | 36 | 1378 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Coribalgeant
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/... | gpl-3.0 |
JoMiro/arcemu | src/scripts/lua/LuaBridge/0Misc/0LCF_Includes/LCF.lua | 5 | 57325 | --[[
* ArcEmu MMORPG Server
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008-2010 <http://www.ArcEmu.org/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free... | agpl-3.0 |
iofun/treehouse | luerl/82edcde3377b1650d94033fc092042fd.lua | 1 | 2134 | -- The Academy is a Terran building that can be built after Barracks are constructed.
-- Our unit function table
local this_unit = {}
-- Where we are and fast we move
local x, y, dx, dy
-- Our name
local name = "Terran_Academy"
-- Our color
local color = "blue"
-- Our BWAPI unit type ... | agpl-3.0 |
misterdustinface/TestBoots | TestBoots/TestReporter.lua | 3 | 2085 | -- Copyright (C) 2015 Dustin Shaffer
-- Licensed under the GNU GENERAL PUBLIC LICENSE, Version 2
local function reportPass(xTestReporter, xTestData)
xTestReporter.currentReportBuilder:pass(xTestData)
end
local function reportFail(xTestReporter, xTestData)
xTestReporter.currentReportBuilder:fail(xTestData)
end
... | gpl-2.0 |
kidaa/turbo | turbo/tcpserver.lua | 8 | 8598 | --- Turbo.lua TCP Server module
-- A simple non-blocking extensible TCP Server based on the IOStream class.
-- Includes SSL support. Used as base for the Turbo HTTP Server.
--
-- Copyright 2011, 2012, 2013 John Abrahamsen
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file... | apache-2.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/applications/luci-polipo/luasrc/model/cbi/polipo.lua | 11 | 6004 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Aleksandar Krsteski <alekrsteski@gmail.com>
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:... | gpl-2.0 |
kidaa/turbo | turbo/crypto_luasec.lua | 7 | 3454 | --- Turbo Web Cryto module
-- C defs for LuaJIT FFI and wrappers.
--
-- Copyright 2011, 2012, 2013 John Abrahamsen
--
-- 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.... | apache-2.0 |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Bozack.lua | 38 | 1036 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Bozack
-- Type: Event Replayer
-- @zone: 241
-- @pos 92.591 -5.58 -31.529
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Mocchi_Katsartbih.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mocchi Katsartbih
-- Type: Standard NPC
-- @zone: 241
-- @pos -13.225 -4.888 -164.108
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-... | gpl-3.0 |
josetaas/YokiRaidCursor | Libs/Ace3/AceConfig-3.0/AceConfig-3.0.lua | 12 | 2240 | --- AceConfig-3.0 wrapper library.
-- Provides an API to register an options table with the config registry,
-- as well as associate it with a slash command.
-- @class file
-- @name AceConfig-3.0
-- @release $Id: AceConfig-3.0.lua 969 2010-10-07 02:11:48Z shefki $
--[[
AceConfig-3.0
Very light wrapper libra... | mit |
DawsonG/Love2d-Tutorial-Scrolling-Shooter | Final/main.lua | 1 | 4537 | debug = true
-- Timers
-- We declare these here so we don't have to edit them multiple places
canShoot = true
canShootTimerMax = 0.2
canShootTimer = canShootTimerMax
createEnemyTimerMax = 0.4
createEnemyTimer = createEnemyTimerMax
-- Player Object
player = { x = 200, y = 710, speed = 150, img = nil }
isAlive = true
... | mit |
jshackley/darkstar | scripts/zones/Northern_San_dOria/npcs/Morjean.lua | 19 | 1696 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Morjean
-- Involved in Quest: A Squire's Test II (Optional), The Holy Crest
-- @pos 99 0 116 231
-------------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
MeGaTG/amirdb | plugins/tarjome.lua | 5 | 1394 | 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",
oe = "UTF-8",
hl = "en",
dt = "t",
tl = target_lang or "en",
sl = source_lang or "auto",
q = U... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Aligi-Kufongi.lua | 17 | 2997 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Aligi-Kufongi
-- Title Change NPC
-- @pos -23 -21 15 26
-----------------------------------
require("scripts/globals/titles");
local title2 = { TAVNAZIAN_SQUIRE ,PUTRID_PURVEYOR_OF_PUNGENT_PETALS , MONARCH_LINN_PATROL_GUARD , SIN_HUNTER_... | gpl-3.0 |
DanielHazzard/Cure-Please | WindowerAddon/CurePlease_Addon/CurePlease_Addon.lua | 1 | 3781 | _addon.name = 'CurePlease_addon'
_addon.author = 'Daniel_H'
_addon.version = '1.2 Windower'
_addon_description = 'Allows for PARTY DEBUFF Checking and Casting Data'
_addon.commands = {'cpaddon'}
local port = 19769
local ip = "127.0.0.1"
local socket = require("socket")
require ('packets')
function tablel... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Selbina/npcs/Herminia.lua | 34 | 1293 | -----------------------------------
-- Area: Selbina
-- NPC: Herminia
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
----------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/moorish_idol.lua | 18 | 1261 | -----------------------------------------
-- ID: 5121
-- Item: Moorish Idol
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/weaponskills/mystic_boon.lua | 18 | 4672 | -----------------------------------
-- Mystic Boon
-- Club weapon skill
-- Skill level: N/A
-- Converts damage dealt to own MP. Damage varies with TP. Yagrush: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (White Mage) quest.
-- Damage is significantly affected by Attack... | gpl-3.0 |
CapsAdmin/unfinished | client/snow.lua | 1 | 7341 | hook.Add("PlayerFootstep", "snow", function(ply, pos, foot, sound, volume, rf)
if sound:find("grass") then
ply:EmitSound(Format("player/footsteps/snow%s.wav", math.random(6)), 60, math.random(95,105))
return true
end
end)
if SERVER then return end
module ( "ms" , package.seeall )
--snow_data = nil
snow_data = ... | gpl-3.0 |
LiberatorUSA/GUCEF | dependencies/cegui/cegui/src/WindowRendererSets/Core/premake5.lua | 1 | 1631 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
jshackley/darkstar | scripts/zones/Norg/npcs/Solby-Maholby.lua | 30 | 1423 | -----------------------------------
-- Area: Norg
-- NPC: Solby-Maholby
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
require("scripts/zones/Norg/TextIDs");
-----------------------------------
-- onTrade Act... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua | 24 | 3761 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 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
]]--
local ma... | gpl-2.0 |
Ombridride/minetest-minetestforfun-server | mods/pipeworks/sorting_tubes.lua | 7 | 5720 | if pipeworks.enable_mese_tube then
local function update_formspec(pos)
local meta = minetest.get_meta(pos)
local old_formspec = meta:get_string("formspec")
if string.find(old_formspec, "button1") then -- Old version
local inv = meta:get_inventory()
for i = 1, 6 do
for _, stack in ipairs(inv:get_list("l... | unlicense |
jshackley/darkstar | scripts/zones/West_Sarutabaruta/npcs/Signpost.lua | 2 | 1849 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Signpost (18 total)
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/West_Sarutabaruta/TextIDs");
-----------------------------------
-... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/bowl_of_medicinal_gruel.lua | 35 | 1505 | -----------------------------------------
-- ID: 4534
-- Item: bowl_of_medicinal_gruel
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Vitality -1
-- Agility 2
-- Ranged Accuracy % 15 (cap 15)
-- HP Recovered While Healing 4
-----------------------------------------
require("scr... | gpl-3.0 |
LiberatorUSA/GUCEF | platform/gucefINPUT/premake5.lua | 1 | 3403 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
jshackley/darkstar | scripts/globals/mobskills/Voiceless_Storm.lua | 25 | 1175 | ---------------------------------------------
-- Voiceless Storm
-- Description: AOE Damage, Silence, strips Utsusemi (MOBPARAM_WIPE_SHADOWS)
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/effects/int_down.lua | 18 | 1098 | -----------------------------------
--
-- EFFECT_INT_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_INT) - effec... | gpl-3.0 |
taoyunxing/trafficserver | plugins/experimental/ts_lua/example/test_schedule.lua | 17 | 1544 | -- 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"); y... | apache-2.0 |
drpepper240/GPC | client_export.lua | 1 | 13683 | --computercraft
--peripheral controller client by drPepper
-- "THE BEER-WARE LICENSE"
-- drPepper@KOPROKUBACH wrote this file. As long as you retain this notice you
-- can do whatever you want with this stuff. If we meet some day, in-game or IRL,
-- and you think this stuff is worth it, you can give me a beer in... | unlicense |
kjmac123/metabuilder | metabuilder/metabase/writer_gnumakegcccompatible.lua | 1 | 17737 | import "writer_common.lua"
g_firstTargetWritten = false
--Count the number of times a base name appears so that we can avoid filename clashes
g_sourceFileBaseNameCounts = {}
g_varBUILDCONFIG = ""
g_varINTDIR = ""
g_varOUTDIR = ""
g_varMODULEOBJ = ""
g_varCFLAGS = ""
g_varCPPFLAGS = ""
g_varCXXFLAGS... | mit |
jshackley/darkstar | scripts/zones/Riverne-Site_A01/Zone.lua | 17 | 1898 | -----------------------------------
--
-- Zone: Riverne-Site_A01
--
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Riverne-Site_A01/TextIDs");
require("scripts/globals/status");
require("scripts/... | gpl-3.0 |
a1ive/grub2-filemanager | boot/grubfm/kbd.lua | 1 | 1439 | #!lua
-- Grub2-FileManager
-- Copyright (C) 2020 A1ive.
--
-- Grub2-FileManager 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.
--
... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Carpenters_Landing/mobs/Birdtrap.lua | 1 | 1328 | -----------------------------------
-- Area: Carpenters' Landing
-- MOB: Birdtrap
-- Note: Placeholder Orctrap
-----------------------------------
require("scripts/zones/Carpenters_Landing/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua | 12 | 1330 | --[[
LuCI - Lua Configuration Interface
(c) 2009 Daniel Dickinson
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: smap_devinfo_config.lua 5448 200... | gpl-2.0 |
jshackley/darkstar | scripts/globals/spells/foe_requiem.lua | 18 | 1626 | -----------------------------------------
-- Spell: Foe Requiem
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,sp... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Mount_Zhayolm/npcs/Mining_Point.lua | 29 | 1096 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Mount_Zhayolm/TextIDs");
-------... | gpl-3.0 |
hacker44-h44/h44bot | plugins/autoleave.lua | 125 | 1025 | --[[
Kicking ourself (bot) from unmanaged groups.
When someone invited this bot to a group, the bot then will chek if the group is in its moderations (moderation.json). If not, the bot will exit immediately by kicking itself out of that group.
No switch available. You need to turn it on or off using !plugins command.... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e7.lua | 17 | 1389 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Left) - Mea
-- @pos 269 -81 -39 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
requir... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/3d_armor/3d_armor/api.lua | 3 | 15674 | -- support for i18n
local S = armor_i18n.gettext
local skin_previews = {}
local use_player_monoids = minetest.global_exists("player_monoids")
local use_armor_monoid = minetest.global_exists("armor_monoid")
local use_pova_mod = minetest.get_modpath("pova")
local armor_def = setmetatable({}, {
__index = function()
re... | unlicense |
LiberatorUSA/GUCEF | tools/MemoryLeakFinder/premake4.lua | 1 | 3545 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
bsnsk/vroom-hammerspoon | layoutManagement.lua | 1 | 1265 | modal = hs.hotkey.modal.new('cmd-alt-ctrl', 'P')
--------------------------------------------------------
function modal:entered()
hs.alert'Layout mode: Enter'
end
function modal:exited()
hs.alert'Layout mode: Exit'
end
modal:bind({'cmd', 'alt', 'ctrl'}, 'P', function()
modal:exit()
end)
-- register browser
... | mit |
VincentGong/chess | cocos2d-x/cocos/scripting/lua-bindings/auto/api/Image.lua | 4 | 2082 |
--------------------------------
-- @module Image
-- @extend Ref
--------------------------------
-- @function [parent=#Image] hasPremultipliedAlpha
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Image] saveToFile
-- @param self
-- @param... | mit |
jshackley/darkstar | scripts/globals/items/handful_of_bloody_chocolate.lua | 35 | 1173 | -----------------------------------------
-- ID: 5646
-- Item: handful_of_bloody_chocolate
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP Recovered While Healing 4
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
bsnsk/vroom-hammerspoon | fbinternal.lua | 1 | 2070 |
--------------------------------------------------------
-- VPN status
vpn_menubar = hs.menubar.new()
vpn_menubar:setIcon(hs.image.imageFromPath("./resources/lock.png"):setSize({w=16, h=16}))
vpn_state = true
local function setVPNState(state)
if not state == vpn_state then
vpn_state = state
if state then ... | mit |
Ombridride/minetest-minetestforfun-server | mods/nether/nether/furnace.lua | 9 | 10004 | -- minetest time speed
local time_speed = tonumber(minetest.setting_get("time_speed"))
if not time_speed then
time_speed = 1
else
time_speed = time_speed/72
end
local function get_date()
return os.date("%y %d %H %M %S")
end
-- returns the time difference in seconds
local function get_timediff(d1, d2)
... | unlicense |
kidaa/turbo | turbo/mime_types.lua | 12 | 6070 | --- Turbo.lua file type to MIME mappings
--
-- Copyright 2011, 2012, 2013 John Abrahamsen
--
-- 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
... | apache-2.0 |
jshackley/darkstar | scripts/zones/Chateau_dOraguille/npcs/Chalvatot.lua | 19 | 4404 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Chalvatot
-- Finish Mission "The Crystal Spring"
-- Start & Finishes Quests: Her Majesty's Garden
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -105 0.1 72 233
-----------------------------------
package.loaded["scripts/zones/Cha... | gpl-3.0 |
LiberatorUSA/GUCEF | dependencies/tolua/src/bin/lua/module.lua | 14 | 1490 | -- tolua: module class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: module.lua,v 1.3 2009/11/24 16:45:14 fabraham Exp $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provi... | apache-2.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/libs/lucid-rpc/luasrc/lucid/rpc/ruci.lua | 52 | 2144 | --[[
LuCIRPCd
(c) 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$
]]--
local uci = require "luci.mode... | gpl-2.0 |
hfjgjfg/flash5 | plugins/ingroup.lua | 87 | 48801 | do
-- Check Member
local function check_member_autorealm(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[tostr... | gpl-2.0 |
Disslove77777/amir | plugins/ingroup.lua | 87 | 48801 | do
-- Check Member
local function check_member_autorealm(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[tostr... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.