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 |
|---|---|---|---|---|---|
zh423328/NoahGameFrame | _Out/NFDataCfg/ScriptModule/game/test_object_prop_module.lua | 2 | 1844 | test_object_prop_module = {}
function test_object_prop_module:reload()
end
function test_object_prop_module:awake()
script_module:log_info("test_object_prop_module awake!----");
test_object_prop_module:reload()
end
function test_object_prop_module:init()
script_module:log_info("test_object_prop_module init!----")... | apache-2.0 |
b03605079/darkstar | scripts/globals/mobskills/Binary_Tap.lua | 6 | 1710 | ---------------------------------------------------
-- Binary Tap
-- Attempts to absorb two buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buf... | gpl-3.0 |
b03605079/darkstar | scripts/zones/Morimar_Basalt_Fields/npcs/HomePoint#1.lua | 12 | 1221 | -----------------------------------
-- Area: Morimar Basalt Fields
-- NPC: HomePoint#1
-- @pos -415 -63.2 409 265
-----------------------------------
package.loaded["scripts/zones/Morimar_Basalt_Fields/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Morimar_Basalt_Fields/TextIDs");
requi... | gpl-3.0 |
b03605079/darkstar | scripts/zones/Port_Windurst/npcs/Yaman-Hachuman.lua | 19 | 1713 | -----------------------------------
-- Area: Port Windurst
-- NPC: Yaman-Hachuman
-- Type: Standard NPC
-- Involved in Quests: Wonder Wands
-- @pos -101.209 -4.25 110.886 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
b03605079/darkstar | scripts/zones/Southern_San_dOria/npcs/Paunelie.lua | 36 | 1201 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ilita
-- Linkshell merchant
-- @pos -142 -1 -25 236
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/... | gpl-3.0 |
PicassoCT/Journeywar | units/centrail/cart.lua | 1 | 1235 | local unitName = "cart"
local unitDef = {
name = "Dark Matter Artillery",
Description = "shells the (Head)crab out of the enemy <Long Range Artillery>",
objectName = "art.s3o",
script = "artscript.lua",
buildPic = "cart.png",
--cost
moveState =0,
buildCostMetal = 810,
buildCostEnergy = 460,
buildTime = 14,
--Health
ma... | gpl-3.0 |
thesrinivas/rakshak | rakshak-probe/userspace/elasticsearch-lua/src/elasticsearch/endpoints/SearchShards.lua | 2 | 2191 | -------------------------------------------------------------------------------
-- Importing modules
-------------------------------------------------------------------------------
local Endpoint = require "elasticsearch.endpoints.Endpoint"
------------------------------------------------------------------------------... | gpl-2.0 |
Aquanim/Zero-K | LuaRules/Configs/cai/general.lua | 8 | 1436 | include("LuaRules/Configs/CAI/buildtasks.lua")
include("LuaRules/Configs/CAI/unitarrays.lua")
include("LuaRules/Configs/CAI/brains.lua")
include("LuaRules/Configs/CAI/battlegroupcondition.lua")
include("LuaRules/Configs/CAI/configCoordinator.lua")
include("LuaRules/Configs/CAI/strategies.lua")
include("LuaRules/Configs... | gpl-2.0 |
htbegin/pyftk | script_binding/lua/demo_icon_view.lua | 9 | 1294 | function OnQuit(button)
Ftk.Quit()
return RET_OK
end
function OnMore(button)
local icon_view = button:Toplevel():Lookup(100);
local item=FtkIconViewItem.Create()
item.icon = FtkTheme.LoadImage(Ftk.DefaultTheme(), "flag-32.png")
for i=1, 10 do
item.text = "item" .. tostring(i)
icon_view:Add(item)
end
ite... | lgpl-3.0 |
PicassoCT/Journeywar | gamedata/explosions/cimplantimpact.lua | 1 | 1824 | -- trail_ar2
return {
["cimplantimpact"] = {
spiraleTopDown = {
air = true,
class = [[CBitmapMuzzleFlame]],
count = 3,
ground = true,
underwater = 1,
water = true,
pro... | gpl-3.0 |
Aquanim/Zero-K | scripts/plateshield.lua | 2 | 1798 | include "constants.lua"
include "plates.lua"
local base, turret, arm_1, arm_2, arm_3, nanobase, rightpiece, leftpiece, nanoemit, pad, nozzle, cylinder, back = piece ('base', 'turret', 'arm_1', 'arm_2', 'arm_3', 'nanobase', 'rightpiece', 'leftpiece', 'nanoemit', 'pad', 'nozzle', 'cylinder', 'back')
local nanoPieces = ... | gpl-2.0 |
b03605079/darkstar | scripts/zones/Qulun_Dome/mobs/Za_Dha_Adamantking.lua | 6 | 1190 | -----------------------------------
-- Area: Qulun Dome
-- NM: Za Dha Adamantking
-----------------------------------
require("scripts/globals/titles");
require("scripts/zones/Qulun_Dome/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function OnM... | gpl-3.0 |
b03605079/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 |
sgraf812/push | src/push.lua | 1 | 2902 | local recorders = { }
local mt = {
__tostring = function(self)
return "Property " .. self.name .. ": " .. tostring(self.__value)
end,
__call = function(self, nv)
if nv ~= nil and nv ~= self.__value then
self.__value = nv
for p in pairs(self.__tos) do
p(nv)
end
else
if n... | mit |
b03605079/darkstar | scripts/zones/West_Ronfaure/npcs/Doladepaiton_RK.lua | 6 | 3037 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Doladepaiton, R.K.
-- Type: Outpost Conquest Guards
-- @pos -448 -19 -214 100
-------------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
--------------------------------------
require("scripts/globals/c... | gpl-3.0 |
thesrinivas/rakshak | rakshak-probe.bkup/userspace/sysdig/chisels/ps.lua | 17 | 2773 | --[[
Copyright (C) 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 even t... | gpl-2.0 |
b03605079/darkstar | scripts/zones/Southern_San_dOria/npcs/Lotte.lua | 36 | 1431 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Lotte
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests")... | gpl-3.0 |
DI3HARD139/dcb-everamzah- | mods/default/nodes.lua | 2 | 61740 | -- mods/default/nodes.lua
--[[ Node name convention:
Although many node names are in combined-word form, the required form for new
node names is words separated by underscores. If both forms are used in written
language (for example pinewood and pine wood) the underscore form should be used.
--]]
--[[ Index:
Sto... | gpl-3.0 |
PicassoCT/Journeywar | gamedata/explosions/jTree2Transformation.lua | 1 | 1851 | --lowest part of the fire
return {
["jtree2trans"] = {
groundflash = {
circlealpha = 1,
circlegrowth = 0,
flashalpha = 0.99,
flashsize = 150,
ttl = 15,
color = {
[1] = 0.6,
[2] = 0.9,
[3] = 0.10000001192093,
},
},
glow = {
air = true,
class = [[heatcloud]],
count ... | gpl-3.0 |
immibis/wiremod | lua/entities/gmod_wire_dynamic_button.lua | 9 | 4275 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Dynamic Button"
ENT.WireDebugName = "Dynamic Button"
function ENT:SetupDataTables()
self:NetworkVar( "Bool", 0, "On" )
end
if CLIENT then
local halo_ent, halo_blur
function ENT:Draw()
self:DoNormalDraw(true,false)
if LocalPlay... | apache-2.0 |
b03605079/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Uricca-Koricca.lua | 38 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Uricca-Koricca
-- Type: Standard NPC
-- @zone: 94
-- @pos -102.221 -3 48.791
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
b03605079/darkstar | scripts/globals/items/serving_of_crimson_jelly.lua | 35 | 1426 | -----------------------------------------
-- ID: 5144
-- Item: serving_of_crimson_jelly
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 12
-- Magic Cap 85
-- Intelligence 6
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/global... | gpl-3.0 |
sailorproject/sailor_website | start-server.lua | 14 | 1952 | local xavante = require "xavante"
local filehandler = require "xavante.filehandler"
local cgiluahandler = require "xavante.cgiluahandler"
local redirect = require "xavante.redirecthandler"
local conf = (require "conf.conf").sailor
-- Define here where Xavante HTTP documents scripts are located
local webDir = "."
loc... | mit |
Aquanim/Zero-K | effects/goo.lua | 7 | 13993 | -- queen_trail
-- queen_trail_fire
-- large_green_goo
-- green_goo
-- small_green_goo
-- spire_trail
-- blobber_goo
-- lobber_goo
-- small_red_goo
-- red_goo
return {
["queen_trail"] = {
splashes = {
air = true,
class = [[CSimpleParticleSystem]],
count =... | gpl-2.0 |
cosmy1/Urho3D | bin/Data/LuaScripts/13_Ragdolls.lua | 24 | 19430 | -- Ragdoll example.
-- This sample demonstrates:
-- - Detecting physics collisions
-- - Moving an AnimatedModel's bones with physics and connecting them with constraints
-- - Using rolling friction to stop rolling objects from moving infinitely
require "LuaScripts/Utilities/Sample"
function Start(... | mit |
PicassoCT/Journeywar | units/gaia/cAWildUniverseAppears.lua | 1 | 1110 | local unitName = "cawilduniverseappears"
local unitDef = {
name = "Universe",
Description = "Let there be light...",
objectName = "cAWildUniverseAppears.s3o",
script = "caWildUniverseAppears.lua",
buildPic = "placeholder.png",
--cost
buildCostMetal = 0,
buildCostEnergy = 0,
buildTime =1,
--Health
maxDamage ... | gpl-3.0 |
lyn0328/FrameSynchro | Trunk/Client/src/framework/cc/net/SocketTCP.lua | 1 | 6635 | --[[
For quick-cocos2d-x
SocketTCP lua
@author zrong (zengrong.net)
Creation: 2013-11-12
Last Modification: 2013-12-05
@see http://cn.quick-x.com/?topic=quickkydsocketfzl
]]
local SOCKET_TICK_TIME = 0.1 -- check socket data interval
local SOCKET_RECONNECT_TIME = 5 -- socket reconnect try interval
local S... | gpl-3.0 |
DawshArian/RadioSatan | plugins/Antifooldsuper.lua | 3 | 1900 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2
-- 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 user on ... | gpl-2.0 |
krattai/noo-ebs | docs/zeroMQ-guide2/examples/Lua/suisnail.lua | 2 | 2116 | --
-- Suicidal Snail
--
-- Author: Robert G. Jakabosky <bobby@sharedrealm.com>
--
require"zmq"
require"zmq.threads"
require"zhelpers"
-- ---------------------------------------------------------------------
-- This is our subscriber
-- It connects to the publisher and subscribes to everything. It
-- sleeps for a... | bsd-2-clause |
dualcoding/wow-profiler | src/ui_utility.lua | 1 | 1694 | -- Helper functions to make UI code less verbose
local OUR_NAME, profiler = ...
if not profiler.ui then
profiler.ui = {}
end
local ui = profiler.ui
if not ui.utility then
ui.utility = {}
end
-- Colors and texture
function ui.utility.edgecolor(frame, color)
-- ...yeah. Switch to file edge textures at s... | mit |
Aquanim/Zero-K | LuaUI/Widgets/cmd_ferry_points.lua | 8 | 18317 |
function widget:GetInfo()
return {
name = "Ferry Points",
desc = "Allow the creation of ferry routes for transports. Move transports and units to route entrance to assign them to the ferry route.",
author = "Google Frog",
date = "24 Nov 2010",
license = "GNU GPL, v2 or later",
handler ... | gpl-2.0 |
b03605079/darkstar | scripts/globals/items/bataquiche.lua | 35 | 1468 | -----------------------------------------
-- ID: 5168
-- Item: Bataquiche
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 8
-- Agility 1
-- Vitality -2
-- Ranged ATT % 7
-- Ranged ATT Cap 15
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
b03605079/darkstar | scripts/zones/Port_San_dOria/npcs/Rielle.lua | 36 | 1372 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Rielle
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextID... | gpl-3.0 |
b03605079/darkstar | scripts/zones/Abyssea-Konschtat/npcs/Cruor_Prospector.lua | 29 | 10684 | -----------------------------------
-- Area: Abyssea - Konschtat
-- NPC: Cruor Prospector
-- Type: Cruor NPC
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status"... | gpl-3.0 |
stars2014/quick-ng | quick/framework/cocos2dx/Event.lua | 22 | 1457 | --[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | mit |
thesrinivas/rakshak | rakshak-probe.bkup/userspace/sysdig/chisels/v_directories.lua | 2 | 3255 | --[[
Copyright (C) 2013-2015 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 |
Anubhav652/GTW-RPG | [resources]/GTWtrainhorn/horn_s.lua | 1 | 2434 | --[[
********************************************************************************
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... | gpl-3.0 |
b03605079/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kazween.lua | 38 | 1062 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kazween
-- Type: Item Deliverer
-- @pos -130 -6 95 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/Te... | gpl-3.0 |
arychen/GlobalCall | feeds/luci/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 5 | 8317 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local ipc = require "luci.ip"
m = Map("dhcp", translate("DHCP and DNS"),
translate("Dnsmasq is a combined <abbr title=\"Dynamic Host Configuration Protocol" ..
"\">DHCP</abbr>-Server and <abbr title=\"Domain... | gpl-2.0 |
Sakura-Winkey/LuCI | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 5 | 8317 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local ipc = require "luci.ip"
m = Map("dhcp", translate("DHCP and DNS"),
translate("Dnsmasq is a combined <abbr title=\"Dynamic Host Configuration Protocol" ..
"\">DHCP</abbr>-Server and <abbr title=\"Domain... | apache-2.0 |
b03605079/darkstar | scripts/zones/Windurst_Walls/npcs/Trail_Markings.lua | 17 | 2739 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Trail Markings
-- Dynamis-Windurst Enter
-- @pos -216 0 -94 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
b03605079/darkstar | scripts/globals/mobskills/Randgrith.lua | 6 | 1029 | ---------------------------------------------
-- Randgrith
--
-- Description: Lowers target's evasion.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
-------------... | gpl-3.0 |
mkottman/LuaNode | test/simple/disabled/(fixme) test-net-connect-buffer.lua | 1 | 1207 | -- no anda porque el finish cuando el socket aun no esta conectado pierde los datos
module(..., lunit.testcase, package.seeall)
local common = dofile("common.lua")
local net = require("luanode.net")
function test()
local tcpPort = common.PORT
--tcp = net.createServer(function (self, socket)
tcp = net.Server:new(fun... | mit |
b03605079/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Chays-Ratays.lua | 38 | 1053 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Chays-Ratays
-- Type: Standard NPC
-- @zone: 94
-- @pos -6.013 -4.999 -185.219
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
PicassoCT/Journeywar | scripts/citadellscript.lua | 1 | 37311 | include "createCorpse.lua"
include "lib_OS.lua"
include "lib_UnitScript.lua"
include "lib_Animation.lua"
include "lib_Build.lua"
include "lib_jw.lua"
maxDamageSuicide=1200
maxDistanceSuicideDamage=512
SHIELDRADIUS = 850
SHIELDNUMBER = 6
SHIELD_COST_REFLECT_UNIT = 5
ENERGY_COST_REFLECT_UNIT = 35
boolPressedButtonTwice ... | gpl-3.0 |
b03605079/darkstar | scripts/zones/Sealions_Den/mobs/Tenzen.lua | 6 | 1080 | -----------------------------------
-- Area: Sealion den
-- NPC: Tenzen
-----------------------------------
-----------------------------------
-- onMobSpawn
-----------------------------------
function OnMobSpawn(mob)
end;
-----------------------------------
-- onMobEngaged
--------------------------... | gpl-3.0 |
PicassoCT/Journeywar | gamedata/explosions/medmechpop.lua | 1 | 5165 | -- medmechpopdome
-- medmechpop
return {
["medmechpopdome"] = {
explosionsphere = {
air = true,
class = [[CSpherePartSpawner]],
count = 1,
ground = true,
water = true,
properties = {
alpha =... | gpl-3.0 |
Astraalivankila/TF416 | game/dota_addons/map_terrain/scripts/vscripts/utility_functions.lua | 1 | 3522 | --[[ utility_functions.lua ]]
---------------------------------------------------------------------------
-- Handle messages
---------------------------------------------------------------------------
function BroadcastMessage( sMessage, fDuration )
local centerMessage = {
message = sMessage,
durat... | gpl-2.0 |
DI3HARD139/dcb-everamzah- | mods/mobs/rat.lua | 2 | 1150 |
-- Rat by PilzAdam
mobs:register_mob("mobs:rat", {
type = "animal",
passive = true,
hp_min = 1,
hp_max = 4,
armor = 200,
collisionbox = {-0.2, -1, -0.2, 0.2, -0.8, 0.2},
visual = "mesh",
mesh = "mobs_rat.b3d",
textures = {
{"mobs_rat.png"},
{"mobs_rat2.png"},
},
makes_footstep_sound = false,
sounds = ... | gpl-3.0 |
wyzssw/codis | extern/redis-2.8.13/deps/lua/test/life.lua | 888 | 2635 | -- life.lua
-- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l
-- modified to use ANSI terminal escape sequences
-- modified to use for instead of while
local write=io.write
ALIVE="¥" DEAD="þ"
ALIVE="O" DEAD="-"
function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary
for i=1,10000 do... | mit |
b03605079/darkstar | scripts/zones/Windurst_Woods/npcs/Catalia.lua | 38 | 1037 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Catalia
-- Type: Standard NPC
-- @zone: 241
-- @pos -46.160 -0.501 -32.698
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------------... | gpl-3.0 |
adib1380/spamproof | utilities.lua | 4 | 20357 | -- utilities.lua
-- Functions shared among plugins.
local misc = {}
local roles = {}
function misc.get_word(s, i) -- get the indexed word in a string
s = s or ''
i = i or 1
local t = {}
for w in s:gmatch('%g+') do
table.insert(t, w)
end
return t[i] or false
end
function string:input() -- Returns the stri... | gpl-2.0 |
b03605079/darkstar | scripts/globals/abilities/light_shot.lua | 3 | 2290 | -----------------------------------
-- Ability: Light Shot
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onUseAbility
-----------------------------------
function onAbili... | gpl-3.0 |
Aquanim/Zero-K | LuaUI/Widgets/gui_hud_presets.lua | 6 | 50017 |
function widget:GetInfo()
return {
name = "HUD Presets",
desc = "Sets the default UI and provides presets for different HUD setups.",
author = "Google Frog",
date = "24 August, 2014",
license = "GNU GPL, v2 or later",
layer = 51,
enabled = true,
handler = t... | gpl-2.0 |
thesrinivas/rakshak | rakshak-probe/userspace/elasticsearch-lua/src/elasticsearch/endpoints/Tasks/Get.lua | 2 | 1868 | -------------------------------------------------------------------------------
-- Importing modules
-------------------------------------------------------------------------------
local TasksEndpoint = require "elasticsearch.endpoints.Tasks.TasksEndpoint"
--------------------------------------------------------------... | gpl-2.0 |
b03605079/darkstar | scripts/zones/Port_Bastok/npcs/Hilda.lua | 19 | 5047 | -----------------------------------
-- 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;
package.loaded["scripts/globals/settings"... | gpl-3.0 |
FlightControl-Master/MOOSE_MISSIONS | AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-070 - CAP - Player Exit/AID-070 - AI_A2A - CAP - Player Exit.lua | 1 | 1491 | ---
-- Name: AID-070 - AI_A2A - CAP - Player Exit
-- Author: FlightControl
-- Date Created: 30 Oct 2017
--
-- Test Scenario(s):
--
-- Now take a seat in the client plane as a player.
-- Do the following tests after the plane has been spawned.
-- 1. Immediately exit the plane.
-- 2. Only exit the plane once ... | gpl-3.0 |
miralireza2/gpf23 | plugins/groupmanager.lua | 166 | 11272 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
return "You're not admin!"
end
local group_creator = msg.from.print_name
create_group_chat (group_cr... | gpl-2.0 |
b03605079/darkstar | scripts/globals/mobskills/Queasyshroom.lua | 6 | 1275 | ---------------------------------------------------
-- Queasyshroom
-- Additional effect: Poison. Duration of effect varies with TP.
-- Range is 13.5 yalms.
-- Piercing damage Ranged Attack.
-- Secondary modifiers: INT: 20%.
-- Additional Effect: Poison is 3 HP/tick.
-- Poison effect may not always process.
-- ... | gpl-3.0 |
WoWZon/GuildManager | libs/AceSerializer-3.0/AceSerializer-3.0.lua | 18 | 8875 | --- **AceSerializer-3.0** can serialize any variable (except functions or userdata) into a string format,
-- that can be send over the addon comm channel. AceSerializer was designed to keep all data intact, especially
-- very large numbers or floating point numbers, and table structures. The only caveat currently is, ... | gpl-2.0 |
PicassoCT/Journeywar | gamedata/explosions/lildirt.lua | 1 | 1959 | -- lildirt
return {
["lildirt"] = {
dirtg = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
properties = {
airdrag = 0.7,
alwaysvisible = true,
colormap ... | gpl-3.0 |
jsykes/million-tile-engine | legacy/Million Tile Engine 0v984-7 (OLD)/Sample Projects/Sledge 0v984-7/main.lua | 2 | 9204 | display.setStatusBar( display.HiddenStatusBar )
system.activate("multitouch")
local mte = require("MTE.mte").createMTE()
mte.toggleWorldWrapX(true)
mte.toggleWorldWrapY(true)
mte.enableHeightMaps()
local map = mte.loadMap("map/sledge.tmx")
local locX, locY = 200, 200
local mapObj = mte.setCamera({locX = locX, locY = l... | mit |
b03605079/darkstar | scripts/globals/items/istiridye.lua | 18 | 1346 | -----------------------------------------
-- ID: 5456
-- Item: Istiridye
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- Defense +17.07%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
b03605079/darkstar | scripts/globals/items/noble_lady.lua | 17 | 1392 | -----------------------------------------
-- ID: 4485
-- Item: noble_lady
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-- Charisma 3
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
b03605079/darkstar | scripts/zones/Cloister_of_Tremors/bcnms/trial-size_trial_by_earth.lua | 13 | 2023 | -----------------------------------
-- Area: Cloister of Tremors
-- BCNM: Trial-size Trial by Earth
-- @pos -539 1 -493 209
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
Aquanim/Zero-K | gamedata/planetwars/pw_unitdefgen.lua | 13 | 4126 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: pw_unitdefgen.lua
-- brief: procedural generation of unitdefs for planetwars
-- author: GoogleFrog
--
-----------------------------------... | gpl-2.0 |
b03605079/darkstar | scripts/zones/Yhoator_Jungle/TextIDs.lua | 3 | 1093 | -- 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 |
b03605079/darkstar | scripts/globals/weaponskills/power_slash.lua | 30 | 1662 | -----------------------------------
-- Power Slash
-- Great Sword weapon skill
-- Skill level: 30
-- Delivers a single-hit attack. params.crit varies with TP.
-- Modifiers: STR:60% ; VIT:60%
-- 100%TP 200%TP 300%TP
-- 1.0 1.0 1.0
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
mahdikord/mahdibaran | plugins/inrealm.lua | 14 | 25561 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
b03605079/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 |
immibis/wiremod | lua/wire/stools/motor.lua | 9 | 5555 | WireToolSetup.setCategory( "Physics/Force" )
WireToolSetup.open( "motor", "Motor", "gmod_wire_motor", nil, "Motors" )
if CLIENT then
language.Add( "Tool.wire_motor.name", "Motor Tool (Wire)" )
language.Add( "Tool.wire_motor.desc", "Makes a controllable motor" )
language.Add( "Tool.wire_motor.0", "Left clic... | apache-2.0 |
b03605079/darkstar | scripts/globals/spells/paralyze.lua | 2 | 2114 | -----------------------------------------
-- Spell: Paralyze
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-... | gpl-3.0 |
b03605079/darkstar | scripts/zones/Chateau_dOraguille/npcs/_6h1.lua | 17 | 2271 | -----------------------------------
-- Area: Chateau d'Oraguille
-- Door: Prince Regent's Rm
-- Starts and Finishes Quest: Prelude of Black and White (Start), Pieuje's Decision (Start)
-- @pos -37 -3 31 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
----... | gpl-3.0 |
virtualopensystems/snabbswitch | src/apps/bridge/flooding.lua | 14 | 1178 | -- This class derives from lib.bridge.base and implements the simplest
-- possible bridge, which floods a packet arriving on a port to all
-- destination ports within its scope according to the split-horizon
-- topology.
module(..., package.seeall)
local bridge_base = require("apps.bridge.base").bridge
local packet =... | apache-2.0 |
Radseq/otclient | modules/gamelib/ui/uicreaturebutton.lua | 8 | 4051 | -- @docclass
UICreatureButton = extends(UIWidget, "UICreatureButton")
local CreatureButtonColors = {
onIdle = {notHovered = '#888888', hovered = '#FFFFFF' },
onTargeted = {notHovered = '#FF0000', hovered = '#FF8888' },
onFollowed = {notHovered = '#00FF00', hovered = '#88FF88' }
}
local LifeBarColors = {} -- Mus... | mit |
b03605079/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kelsha-Melansha.lua | 34 | 1040 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kelsha-Melansha
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--... | gpl-3.0 |
felipeprov/premake-core | src/base/globals.lua | 2 | 2477 | --
-- globals.lua
-- Replacements and extensions to Lua's global functions.
-- Copyright (c) 2002-2014 Jason Perkins and the Premake project
--
--
-- Find and execute a Lua source file present on the filesystem, but
-- continue without error if the file is not present. This is used to
-- handle optional files such as... | bsd-3-clause |
lyn0328/FrameSynchro | Trunk/Client/src/framework/functions.lua | 2 | 30533 | --[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | gpl-3.0 |
jsykes/million-tile-engine | legacy/Million Tile Engine 0v990/Sample Projects/LineOfSight 0v990/main.lua | 2 | 6125 | -- MTE "CASTLE DEMO" ----------------------------------------------------------
display.setStatusBar( display.HiddenStatusBar )
local mte = require("MTE.mte").createMTE()
--LOAD MAP ------------------------------------------------------------
mte.toggleWorldWrapX(true)
mte.toggleWorldWrapY(true)
mte.enableBox2DPhysics... | mit |
b03605079/darkstar | scripts/zones/Kazham/npcs/Roropp.lua | 19 | 6177 | -----------------------------------
-- Area: Kazham
-- NPC: Roropp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
require("scripts/globals/pathfind");
local path = {
16.031977, -8.000000, -106.132980,... | gpl-3.0 |
cosmy1/Urho3D | Source/ThirdParty/toluapp/src/bin/lua/enumerate.lua | 27 | 2526 | -- tolua: enumerate class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: enumerate.lua,v 1.3 2000/01/24 20:41:15 celes 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 pr... | mit |
Aquanim/Zero-K | LuaRules/Gadgets/unit_terraform.lua | 1 | 132240 | -- $Id: unit_terraform.lua 4610 2009-05-12 13:03:32Z google frog $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Terraformers",
desc = "Terr... | gpl-2.0 |
b03605079/darkstar | scripts/globals/items/choco-scroll.lua | 36 | 1153 | -----------------------------------------
-- ID: 5917
-- Item: Choco-scroll
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Mind 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
virtualopensystems/snabbswitch | src/program/packetblaster/packetblaster.lua | 1 | 2240 | module(..., package.seeall)
local app = require("core.app")
local config = require("core.config")
local timer = require("core.timer")
local pci = require("lib.hardware.pci")
local intel_app = require("apps.intel.intel_app")
local basic_apps = require("apps.basic.basic_apps")
local main = requir... | apache-2.0 |
b03605079/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Parledaire_RK.lua | 8 | 2955 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Parledaire, R.K.
-- Type: Conquest Overseer
-- @pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
b03605079/darkstar | scripts/globals/spells/bluemagic/frenetic_rip.lua | 3 | 1034 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,sp... | gpl-3.0 |
mahdikord/mahdibaran | plugins/welcome.lua | 18 | 3813 | -- https://github.com/amirhmz/
-- https://telegram.me/AmirDark/
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 ... | gpl-2.0 |
arychen/GlobalCall | feeds/luci/applications/luci-app-ntpc/luasrc/model/cbi/ntpc/ntpc.lua | 78 | 1289 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("ntpclient", translate("Time Synchronisation"), translate("Synchronizes the system time"))
s = m:section(TypedSection, "ntpclient", translate("General... | gpl-2.0 |
Aquanim/Zero-K | units/energypylon.lua | 2 | 2087 | return { energypylon = {
unitname = [[energypylon]],
name = [[Energy Pylon]],
description = [[Extends overdrive grid]],
activateWhenBuilt = true,
buildCostMetal = 200,
builder = false,
building... | gpl-2.0 |
Aquanim/Zero-K | LuaRules/Gadgets/CAI/ScoutHandler.lua | 8 | 1257 | --[[ Handles the scouting unit job
* Add units to this handler to have them controled by it.
* Maintains a heatmap of locations to scout.
* Requires perdiodic UpdateHeatmap and RunJobHandler.
* Only one of these is needed per teamID.
--]]
local UnitListHandler = VFS.Include("LuaRules/Gadgets/CAI/UnitListHandler.lua... | gpl-2.0 |
PicassoCT/Journeywar | scripts/jTree.lua | 1 | 7867 |
include "createCorpse.lua"
include "lib_OS.lua"
include "lib_jw.lua"
include "lib_UnitScript.lua"
include "lib_Animation.lua"
include "lib_Build.lua"
eyenumber=14
local EYES= {}
for i=1, 14, 1 do
EYES[i]= {}
eyetemp = "eye0"..i
EYES[i]= piece (eyetemp)
end
root={}
for i=1, 9, 1 do
root[i]={}
roottemp="root"... | gpl-3.0 |
satanevil/cp-creed | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
DI3HARD139/dcb-everamzah- | mods/bucket/init.lua | 13 | 6150 | -- Minetest 0.4 mod: bucket
-- See README.txt for licensing and other information.
minetest.register_alias("bucket", "bucket:bucket_empty")
minetest.register_alias("bucket_water", "bucket:bucket_water")
minetest.register_alias("bucket_lava", "bucket:bucket_lava")
minetest.register_craft({
output = 'bucket:bucket_emp... | gpl-3.0 |
mkottman/LuaNode | test/simple/test-net-binary.lua | 3 | 1419 | module(..., lunit.testcase, package.seeall)
common = dofile("common.lua")
net = require("luanode.net")
function test()
local binaryString = ""
for i = 255, 0, -1 do
binaryString = binaryString .. string.char(i)
end
-- safe constructor
local echoServer = net.createServer(function (self, connection)
connection:setE... | mit |
PicassoCT/Journeywar | LuaRules/Gadgets/lups_shockwaves.lua | 1 | 3544 | -- $Id: lups_shockwaves.lua 3171 2008-11-06 09:06:29Z det $
function gadget:GetInfo()
return {
name = "Shockwaves",
desc = "",
author = "jK",
date = "Jan. 2008",
license = "GNU GPL, v2 or later",
layer = 0,
enabled = true
}
end
------------------... | gpl-3.0 |
felipeprov/premake-core | tests/actions/vstudio/vc2010/test_filters.lua | 3 | 3546 | --
-- tests/actions/vstudio/vc2010/test_filters.lua
-- Validate generation of file filter blocks in Visual Studio 2010 C/C++ projects.
-- Copyright (c) 2011-2014 Jason Perkins and the Premake project
--
local suite = test.declare("vs2010_filters")
local vc2010 = premake.vstudio.vc2010
--
-- Setup/teardo... | bsd-3-clause |
PicassoCT/Journeywar | scripts/sequoiarestingscript.lua | 1 | 2346 | include "lib_OS.lua"
include "lib_UnitScript.lua"
include "lib_Animation.lua"
include "lib_Build.lua"
turnerpoint =piece "turnerpoint"
energyorb =piece "energyorb"
truster1=piece"truster1"
truster2=piece"truster2"
truster3=piece"truster3"
truster4=piece"truster4"
center=piece"center"
Ground={}
for i=1,6, 1 do
Ground[... | gpl-3.0 |
latach/desktop | vicious/widgets/os_all.lua | 4 | 2151 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
---------------------------------------------------
-- {{{ Grab environment
local pairs = pairs
local tonumber = tonumber
local io = { popen = io.popen }
local math = {... | gpl-2.0 |
tsthght/DBProxy | lib/histogram.lua | 4 | 6587 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
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 dis... | gpl-2.0 |
eugwne/pllj | src/pllj/pg/func.lua | 1 | 1398 | local ffi = require('ffi')
local C = ffi.C
local call_pg_c_variadic
if C.PG_VERSION_NUM >= 120000 then
local __finfo = ffi.new('FCInfoMax[1]')
call_pg_c_variadic = function (cf, PG_FUNCTION_ARGS)
local argc = #PG_FUNCTION_ARGS
local fcinfo = __finfo[0].fcinfo
for i = 0, argc - 1 do
... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.