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
waytim/darkstar
scripts/globals/items/rolanberry_pie.lua
18
1256
----------------------------------------- -- ID: 4414 -- Item: rolanberry_pie -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic 50 -- Agility -1 -- Intelligence 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
EShamaev/ardupilot
libraries/AP_Scripting/examples/easter-egg.lua
18
2145
-- This script will select a random location (as defined from a lat long coordinate) -- and will play a set of tunes to navigate you towards that point, and select a new once -- once the point has been found. -- -- This script primarily serves to demo how to work with Locations, as well as how to -- use the tonealarm t...
gpl-3.0
waytim/darkstar
scripts/zones/Port_Windurst/npcs/Paytah.lua
13
1044
----------------------------------- -- Area: Port Windurst -- NPC: Paytah -- Type: Standard NPC -- @zone: 240 -- @pos 77.550 -6 117.769 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; --------------------...
gpl-3.0
waytim/darkstar
scripts/zones/Spire_of_Mea/npcs/_0l1.lua
39
1330
----------------------------------- -- Area: Spire_of_Mea -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Mea/TextIDs"); -------------------------...
gpl-3.0
hiplayer/giac
giac/giac-1.2.1/src/khicas.lua
4
46769
--------------------- -- "KhiCAS" : TI-Nspire Giac UI in Nspire-Lua -- Version 1.05 - 18/06/2014 -- GPL v3 License -- http://tiplanet.org/forum/viewtopic.php?f=43&t=14800 --------------------- -- Giac CAS engine by Bernard Parisse -- http://www-fourier.ujf-grenoble.fr/~parisse/ --------------------- -- The UI is highly...
gpl-2.0
waytim/darkstar
scripts/zones/Labyrinth_of_Onzozo/npcs/Treasure_Chest.lua
13
4103
----------------------------------- -- Area: Labyrinth of Onzozo -- NPC: Treasure Chest -- @zone 213 ----------------------------------- package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requ...
gpl-3.0
CaptainPRICE/wire
lua/entities/gmod_wire_digitalscreen/cl_init.lua
3
7324
include('shared.lua') function ENT:Initialize() self.Memory1 = {} self.Memory2 = {} self.LastClk = true self.NewClk = true self.Memory1[1048575] = 1 self.Memory2[1048575] = 1 self.NeedRefresh = true self.IsClear = true self.ClearQueued = false self.RefreshPixels = {} self.RefreshRows = {} self.ScreenWidt...
apache-2.0
pvvx/EspLua
lua_modules/ds3231/ds3231-web.lua
84
1338
require('ds3231') port = 80 -- ESP-01 GPIO Mapping gpio0, gpio2 = 3, 4 days = { [1] = "Sunday", [2] = "Monday", [3] = "Tuesday", [4] = "Wednesday", [5] = "Thursday", [6] = "Friday", [7] = "Saturday" } months = { [1] = "January", [2] = "Febuary", [3] = "March", [4] = "Apri...
mit
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/North_Gustaberg/npcs/Butsutsu_WW.lua
4
2898
----------------------------------- -- Area: North Gustaberg -- NPC: Butsutsu, W.W. -- Border Conquest Guards -- @pos -520.704 38.75 560.258 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); r...
gpl-3.0
lusiankaitz/koreader-master
frontend/ui/widget/touchmenu.lua
1
19333
local InputContainer = require("ui/widget/container/inputcontainer") local FrameContainer = require("ui/widget/container/framecontainer") local LeftContainer = require("ui/widget/container/leftcontainer") local RightContainer = require("ui/widget/container/rightcontainer") local CenterContainer = require("ui/widget/con...
agpl-3.0
jixianliang/DBProxy
examples/tutorial-scramble.lua
4
2014
--[[ $%BEGINLICENSE%$ Copyright (c) 2009, 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 distribut...
gpl-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Selbina/npcs/Jimaida.lua
2
1121
----------------------------------- -- Area: Selbina -- NPC: Jimaida -- Involved in Quests: Under the sea -- @zone 248 -- @pos -15 -2 -16 ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade...
gpl-3.0
waytim/darkstar
scripts/globals/items/shrimp_cracker_+1.lua
17
1314
----------------------------------------- -- ID: 5636 -- Item: shrimp_cracker_+1 -- Food Effect: 5Min, All Races ----------------------------------------- -- Vitality 2 -- HP Recovered While Healing 9 -- Amorph Killer 5 ----------------------------------------- require("scripts/globals/status"); ---------------------...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Riverne-Site_B01/Zone.lua
2
1357
----------------------------------- -- -- Zone: Riverne-Site_B01 -- ----------------------------------- require("scripts/globals/status"); require("scripts/globals/settings"); package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; require("scripts/zones/Riverne-Site_B01/TextIDs"); -------------------------...
gpl-3.0
waytim/darkstar
scripts/globals/magic.lua
6
45758
require("scripts/globals/magicburst"); require("scripts/globals/status"); require("scripts/globals/weather"); require("scripts/globals/utils"); require("scripts/globals/settings"); MMSG_BUFF_FAIL = 75; DIVINE_MAGIC_SKILL = 32; HEALING_MAGIC_SKILL = 33; ENHANCING_MAGIC_SKILL = 34; ENFEEBLIN...
gpl-3.0
waytim/darkstar
scripts/zones/Port_Windurst/npcs/Ohruru.lua
12
5023
----------------------------------- -- Area: Windurst Waters -- NPC: Ohruru -- Starts & Finishes Repeatable Quest: Catch me if you can -- Working 90% -- Involved in Quest: Wonder Wands -- Note: Animation for his "Cure" is not functioning. Unable to capture option 1, so if the user says no, he heals them anyways. -...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c90000054.lua
2
4949
--Royal Raid Commander function c90000054.initial_effect(c) --Xyz Material aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_MACHINE),7,3) c:EnableReviveLimit() --Immune local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_UNCOPYABLE) e1:...
gpl-3.0
waytim/darkstar
scripts/zones/Oldton_Movalpolos/TextIDs.lua
15
1146
-- 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 = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
tenvick/hugular_cstolua
Client/Assets/Lua/core/List.lua
4
6434
local List_Node = {} List_Node.value = nil List_Node.next = nil List_Node.prev = nil function List_Node:New(object) object = object or {} setmetatable(object, self) self.__index = self return object end List_Iterator = {} List_Iterator.node = nil List_Iterator.owner = nil function List_Iterator:New(_owner) ...
mit
hfjgjfg/persianguard76
plugins/Boobs.lua
150
1613
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c87035677.lua
2
3039
--Rank-Up Magic Vocalist Urgent Stall function c87035677.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,87035677) e1:SetTarget(c87035677....
gpl-3.0
waytim/darkstar
scripts/zones/Lufaise_Meadows/npcs/Chilaumme_RK.lua
13
3328
----------------------------------- -- Area: Lufaise Meadows -- NPC: Chilaumme, R.K. -- Border Conquest Guards -- @pos 414.659 0.905 -52.417 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); re...
gpl-3.0
waytim/darkstar
scripts/globals/weaponskills/tachi_hobaku.lua
2
1537
----------------------------------- -- Tachi Hobaku -- Great Katana weapon skill -- Skill Level: 30 -- Stuns enemy. Chance of stun varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Snow Gorget. -- Aligned with the Snow Belt. -- Element: None -- Modifiers: STR:60% -- 100%TP 200%TP 300%TP -- 1.00...
gpl-3.0
wanmaple/MWFrameworkForCocosLua
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ActionManagerEx.lua
10
1494
-------------------------------- -- @module ActionManagerEx -- @extend Ref -- @parent_module ccs -------------------------------- -- @overload self, char, char, cc.CallFunc -- @overload self, char, char -- @function [parent=#ActionManagerEx] playActionByName -- @param self -- @param #char jsonName -...
apache-2.0
waytim/darkstar
scripts/zones/Nashmau/npcs/Wata_Khamazom.lua
13
1476
----------------------------------- -- Area: Nashmau -- NPC: Wata Khamazom -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/shop"); ----------------...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Port_Jeuno/npcs/Guddal.lua
4
2081
----------------------------------- -- Area: Port Jeuno -- NPC: Guddal -- Starts and Finishes Quest: Kazham Airship Pass (This quest does not appear in your quest log) -- @zone 246 -- @pos -14 8 44 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ---------------------------...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Bibiki_Bay/npcs/Mep_Nhapopoluko.lua
4
1055
----------------------------------- -- Area: Bibiki Bay -- NPC: Mep Nhapopoluko -- Guild Merchant NPC: Fishing Guild -- @zone: 4 -- @pos: 464.350 -6 752.731 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; require("scripts/zones/Bibiki_Bay/TextIDs"); ---------------------...
gpl-3.0
waytim/darkstar
scripts/zones/Heavens_Tower/npcs/_6q2.lua
13
3627
----------------------------------- -- Area: Heaven's Tower -- NPC: Vestal Chamber (chamber of the Star Sibyl) -- @pos 0.1 -49 37 242 ----------------------------------- package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts...
gpl-3.0
LuaDist2/prosody
plugins/mod_uptime.lua
3
1513
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st = require "util.stanza"; local start_time = prosody.start_time; module:hook_global("server-start...
mit
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/npcs/Teilsa.lua
6
1727
----------------------------------- -- Area: Port San d'Oria -- NPC: Teilsa -- Adventurer's Assistant -- Only recieving Adv.Coupon and simple talk event are scrited -- This NPC participates in Quests and Missions ------------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; -------...
gpl-3.0
waytim/darkstar
scripts/globals/items/whale_staff_+1.lua
41
1079
----------------------------------------- -- ID: 17534 -- Item: Whale Staff +1 -- Additional Effect: Water Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------...
gpl-3.0
waytim/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Blingbrix.lua
13
1204
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Blingbrix -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets_[S]/TextIDs"); require("scripts/glob...
gpl-3.0
waytim/darkstar
scripts/zones/Qufim_Island/npcs/Trodden_Snow.lua
13
5395
----------------------------------- -- Area: Qufim Island -- NPC: Trodden Snow -- Mission: ASA - THAT_WHICH_CURDLES_BLOOD -- Mission: ASA - SUGAR_COATED_DIRECTIVE -- @zone 126 -- @pos -19 -17 104 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Dynamis-Xarcabard/mobs/Animated_Horn.lua
2
1290
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Animated_Horn ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob,target) mob:addMod(MOD_STUNRES,7...
gpl-3.0
db260179/openwrt-bpi-r1-luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua
58
2299
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local wa = require "luci.tools.webadmin" local fs = require "nixio.fs" m = Map("network", translate("Routes"), translate("Routes specify over which interface and gateway a certain host or network " .. "can ...
apache-2.0
waytim/darkstar
scripts/zones/Mhaura/npcs/Nereus.lua
29
3092
----------------------------------- -- Area: Mhaura -- NPC: Nereus -- Starts and ends repeteable quest A_POTTER_S_PREFERENCE ----------------------------------- -- player:startEvent(0x006e); standar dialog -- player:startEvent(0x0073); -- i have enough for now, come later -- player:startEvent(0x0072); -- ...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Walls/npcs/Five_of_Diamonds.lua
5
1049
----------------------------------- -- Area: Windurst Walls -- NPC: Five of Diamonds -- Type: Standard NPC -- @zone: 239 -- @pos: -220.954 -0.001 -122.708 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c34858525.lua
2
2830
--Cheerful Guardian Goddess function c34858525.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --attack up local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL) e1:SetType(EFFECT_TYPE_QUICK_O) e1:Set...
gpl-3.0
waytim/darkstar
scripts/globals/items/ilm-long_salmon_sub.lua
18
1492
----------------------------------------- -- ID: 4266 -- Item: ilm-long_salmon_sub -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 2 -- Agility 1 -- Vitality 1 -- Intelligence 2 -- Mind -2 -- Ranged ACC 3 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
waytim/darkstar
scripts/zones/Bastok_Mines/npcs/Gumbah.lua
13
2134
----------------------------------- -- Area: Bastok Mines -- NPC: Gumbah -- Finishes Quest: Blade of Darkness ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); req...
gpl-3.0
Rohansi/wren
test/benchmark/binary_trees.lua
15
1395
-- The Computer Language Benchmarks Game -- http://shootout.alioth.debian.org/ -- contributed by Mike Pall local function BottomUpTree(item, depth) if depth > 0 then local i = item + item depth = depth - 1 local left, right = BottomUpTree(i-1, depth), BottomUpTree(i, depth) return { item, left, right...
mit
X-Raym/REAPER-ReaScripts
Items Properties/X-Raym_Crossfade selected items across tracks.lua
1
2684
--[[ * ReaScript Name: Crossfade selected items across tracks * Screenshot: https://i.imgur.com/4g2KFp1.gif * Instructions: Select items. Run * Author: X-Raym * Author URI: https://www.extremraym.com * Repository: GitHub > X-Raym > REAPER-ReaScripts * Repository URI: https://github.com/X-Raym/REAPER-ReaScripts ...
gpl-3.0
waytim/darkstar
scripts/zones/Kamihr_Drifts/npcs/LiseranDoorEntrance.lua
27
1210
----------------------------------- -- Area: Kamihr Drifts -- NPC: Liseran Door Entrance -- Zones to Outer Ra'Kaznar (zone 274) -- @zone 274 -- @pos -34.549 -181.334 -20.031 ----------------------------------- package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Metalworks/npcs/Pius.lua
23
1832
----------------------------------- -- Area: Metalworks -- NPC: Pius -- Involved In Mission: Journey Abroad -- @pos 99 -21 -12 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zon...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Davoi/npcs/Zantaviat.lua
4
2233
----------------------------------- -- Area: Davoi -- NPC: Zantaviat -- Involved in Mission: The Davoi Report -- @zone 149 -- @pos 215 0 -10 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("script...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Woods/npcs/Manyny.lua
2
1271
----------------------------------- -- Area: Windurst Woods -- NPC: Manyny -- Standard Merchant NPC -- Working 100% ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/TextIDs"); ----------------------...
gpl-3.0
Paziko54/BolScripts
TristanaMechanics.lua
5
24701
--[[ _____ _____ __ .__ / \_______ / _ \________/ |_|__| ____ __ __ ____ ____ / \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \ / Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> ) \____|__ /__| \___...
gpl-2.0
waytim/darkstar
scripts/zones/Kazham/npcs/Ronta-Onta.lua
12
4477
----------------------------------- -- Area: Kazham -- NPC: Ronta-Onta -- Starts and Finishes Quest: Trial by Fire -- @pos 100 -15 -97 250 ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
forcecore/OpenRA
mods/ra/maps/survival01/survival01.lua
6
14949
--[[ Copyright 2007-2017 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
farbod1423/farbod3
plugins/inpm.lua
1114
3008
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
CaptainPRICE/wire
lua/wire/stools/lever.lua
9
2109
WireToolSetup.setCategory( "Input, Output" ) WireToolSetup.open( "lever", "Lever", "gmod_wire_lever", nil, "Levers" ) if CLIENT then language.Add( "tool.wire_lever.name", "Lever Tool (Wire)" ) language.Add( "tool.wire_lever.desc", "Spawns a Lever for use with the wire system." ) language.Add( "tool.wire_lever.0", "...
apache-2.0
thisishmed/butler
plugins/set_type.lua
11
2548
local function run(msg, matches, callback, extra) local data = load_data(_config.moderation.data) local group_type = data[tostring(msg.to.id)]['group_type'] if matches[1] and is_sudo(msg) then data[tostring(msg.to.id)]['group_type'] = matches[1] save_data(_config.moderation.data, data) ...
gpl-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Bastok_Markets/npcs/Zacc.lua
5
1072
----------------------------------- -- Area: Bastok Markets -- NPC: Zacc -- Type: Quest NPC -- @zone: 235 -- @pos: -255.709 -13 -91.379 -- -- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/serving_of_herb_crawler_eggs.lua
3
1414
----------------------------------------- -- ID: 4552 -- Item: serving_of_herb_crawler_eggs -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 6 -- Health Cap 80 -- Magic 10 -- Agility 3 -- Vitality -1 -- Evasion 8 ----------------------------------------- require("scripts/globals/...
gpl-3.0
internetisalie/lua-for-idea
include/stdlibrary/io.lua
2
7313
-- Copyright 2013 Jon S Akhtar (Sylvanaar) -- -- 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 appl...
apache-2.0
waytim/darkstar
scripts/globals/items/mushroom_crepe.lua
17
1282
----------------------------------------- -- ID: 5773 -- Item: mushroom_crepe -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind 2 -- MP % 10 (cap 30) ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
GregSatre/nn
Module.lua
24
10260
local Module = torch.class('nn.Module') function Module:__init() self.gradInput = torch.Tensor() self.output = torch.Tensor() end function Module:parameters() if self.weight and self.bias then return {self.weight, self.bias}, {self.gradWeight, self.gradBias} elseif self.weight then return {sel...
bsd-3-clause
TheOnePharaoh/YGOPro-Custom-Cards
script/c77273700.lua
2
2035
--Stardust Light Dragon function c77273700.initial_effect(c) aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() local e3=Effect.CreateEffect(c) e3:SetDescription(aux.Stringid(34778416,0)) e3:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_QUICK_O) e3:...
gpl-3.0
waytim/darkstar
scripts/zones/Kazham-Jeuno_Airship/npcs/Joosef.lua
30
2300
----------------------------------- -- Area: Kazham-Jeuno Airship -- NPC: Joosef -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham-Jeuno_Airship/TextIDs"] = nil; require("scripts/zones/Kazham-Jeuno_Airship/TextIDs"); ----------------------------------- -- onTrade Action -...
gpl-3.0
forcecore/OpenRA
mods/cnc/maps/nod04b/nod04b.lua
6
6385
--[[ Copyright 2007-2017 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
ZACTELEGRAM1/TeleSeed
bot/seedbot.lua
1
10008
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/npcs/Marquie.lua
6
1316
----------------------------------- -- Area: Port San d'Oria -- NPC: Marquie -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextIDs"); --...
gpl-3.0
waytim/darkstar
scripts/zones/Bastok_Mines/npcs/Virnage.lua
13
2395
----------------------------------- -- Area: Bastok Mines -- NPC: Virnage -- Starts Quest: Altana's Sorrow -- @zone 234 -- @pos 0 0 51 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
waytim/darkstar
scripts/zones/Northern_San_dOria/npcs/Villion.lua
13
1480
----------------------------------- -- Area: Northern San d'Oria -- NPC: Villion -- Type: Adventurer's Assistant NPC -- Involved in Quest: Flyers for Regine -- @zone: 231 -- @pos -157.524 4.000 263.818 -- ----------------------------------- ----------------------------------- -- onTrade Action ------------------...
gpl-3.0
TheOnePharaoh/YGOPro-Custom-Cards
script/c12310715.lua
2
2304
--Jolly Co-operation --lua script by SGJin function c12310715.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --Co-operation Atk boost! local e2=Effect.CreateEffect(c) e2:SetType(EFFE...
gpl-3.0
waytim/darkstar
scripts/zones/Arrapago_Reef/npcs/qm6.lua
30
1138
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (corsair job flag quest) -- ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); ----------------------------------- ...
gpl-3.0
pedrohenriquerls/cocos2d_ruby_binding
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Action.lua
10
2861
-------------------------------- -- @module Action -- @extend Ref -- @parent_module cc -------------------------------- -- called before the action start. It will also set the target. -- @function [parent=#Action] startWithTarget -- @param self -- @param #cc.Node target -------------------------------- -- ...
mit
TheOnePharaoh/YGOPro-Custom-Cards
script/c78219335.lua
1
7141
--No. 27: Colossal Warrior N.A.N.O Rider function c78219335.initial_effect(c) c:SetCounterLimit(0x1115,5) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_MACHINE),2,2) c:EnableReviveLimit() --Battle local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(78219335,0)) e1:SetCate...
gpl-3.0
Em30-tm-lua/Emc
.luarocks/lib/luarocks/rocks/luaexpat/1.3.0-1/tests/test-lom.lua
18
1389
#!/usr/local/bin/lua local lom = require "lxp.lom" local tests = { [[<abc a1="A1" a2="A2">inside tag `abc'</abc>]], [[<qwerty q1="q1" q2="q2"> <asdf>some text</asdf> </qwerty>]], } function table._tostring (tab, indent, spacing) local s = {} spacing = spacing or "" indent = indent or "\t" table.insert (s, ...
gpl-2.0
waytim/darkstar
scripts/zones/Port_Windurst/npcs/Nine_of_Clubs.lua
13
1053
----------------------------------- -- Area: Port Windurst -- NPC: Nine of Clubs -- Type: Standard NPC -- @zone: 240 -- @pos -229.699 -9 185.686 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; -----------...
gpl-3.0
waytim/darkstar
scripts/zones/QuBia_Arena/bcnms/shattering_stars.lua
27
2024
----------------------------------- -- Area: Qu'Bia Arena -- Name: Shattering stars - Maat Fight -- @pos -221 -24 19 206 ----------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; ----------------------------------- require("scripts/zones/QuBia_Arena/TextIDs"); --------------------...
gpl-3.0
pedrohenriquerls/cocos2d_ruby_binding
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Button.lua
10
6807
-------------------------------- -- @module Button -- @extend Widget -- @parent_module ccui -------------------------------- -- -- @function [parent=#Button] getTitleText -- @param self -- @return string#string ret (return value: string) -------------------------------- -- -- @function [parent=#Button] se...
mit
rollokb/tsdemuxer
xupnpd/src/plugins/xupnpd_vkontakte.lua
6
19931
-- Copyright (C) 2011-2012 I. Sokolov -- happy.neko@gmail.com -- Licensed under GNU GPL version 2 -- https://www.gnu.org/licenses/gpl-2.0.html -- config example: --feeds= --{ -- { "vkontakte", "my", "VK - Videos from my page" }, -- { "vkontakte", "group/group_id", "VK - Videos from group" }, -- { "vkontakte"...
mit
xordspar0/synthein
src/player.lua
1
7293
local Controls = require("controls") local Selection = require("selection") local Menu = require("menu") local PartRegistry = require("world/shipparts/partRegistry") local LocationTable = require("locationTable") local PhysicsReferences = require("world/physicsReferences") local Player = {} Player.__index = Player f...
gpl-3.0
plinkopenguin/wire-extras
lua/weapons/gmod_tool/stools/wire_field_device.lua
1
6230
TOOL.Category = "Wire Extras/Physics" TOOL.Name = "Field Generator" TOOL.Command = nil TOOL.ConfigName = "" TOOL.ClientConVar[ "type" ] = "" TOOL.ClientConVar[ "workonplayers" ] = "1" TOOL.ClientConVar[ "ignoreself" ] = "1" TOOL.ClientConVar[ "arc" ] = "360" TOOL.Tab = "Wire" if ( CLIENT ) then ...
gpl-3.0
amohanta/rspamd
rules/regexp/headers.lua
2
28798
-- Actually these regular expressions were obtained from SpamAssassin project, so they are licensed by apache license: -- -- 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 copyr...
bsd-2-clause
iamliqiang/prosody-modules
mod_carbons_adhoc/mod_carbons_adhoc.lua
32
1256
-- Implement a Adhoc command which will show a user -- the status of carbons generation in regard to his clients -- -- Copyright (C) 2012 Michael Holzt -- -- This file is MIT/X11 licensed. local st = require "util.stanza"; local jid_bare = require "util.jid".bare; local adhoc_new = module:require "adhoc".new; local xm...
mit
gtaylormb/fpga_nes
sw/scripts/cpu_adc.lua
3
6783
---------------------------------------------------------------------------------------------------- -- Script: cpu_adc.lua -- Description: CPU test. Directed test for ADC instruction. Covers all address modes. ---------------------------------------------------------------------------------------------------- d...
bsd-2-clause
Murfalo/game-off-2016
objects/EnBigSword.lua
1
1350
local ObjBaseUnit = require "objects.ObjBaseUnit" local EnBigSword = Class.create("EnBigSword", ObjBaseUnit) function EnBigSword:init( ) -- init other data self.max_health = 100 self.health = 100 --initialize movement data self.maxJumpTime = 300 self.currentJumpTime = 0 self.jumpSpeed = 490 self.maxAirJumps =...
mit
m-creations/openwrt
feeds/routing/luci-app-bmx6/files/usr/lib/lua/luci/model/bmx6json.lua
16
5303
--[[ Copyright (C) 2011 Pau Escrich <pau@dabax.net> Contributors Jo-Philipp Wich <xm@subsignal.org> 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 License...
gpl-2.0
iamliqiang/prosody-modules
mod_email_pass/mod_email_pass.lua
32
10643
local dm_load = require "util.datamanager".load; local st = require "util.stanza"; local nodeprep = require "util.encodings".stringprep.nodeprep; local usermanager = require "core.usermanager"; local http = require "net.http"; local vcard = module:require "vcard"; local datetime = require "util.datetime"; local timer =...
mit
comitservice/nodmcu
lua_modules/ds3231/ds3231.lua
16
1865
-------------------------------------------------------------------------------- -- DS3231 I2C module for NODEMCU -- NODEMCU TEAM -- LICENCE: http://opensource.org/licenses/MIT -- Tobie Booth <tbooth@hindbra.in> -------------------------------------------------------------------------------- local moduleName = ... loc...
mit
the-nic/halmd
examples/benchmarks/kob_andersen/run_benchmark.lua
1
5699
#!/usr/bin/env halmd -- -- Copyright Β© 2011-2012 Felix HΓΆfling -- Copyright Β© 2010-2012 Peter Colberg -- -- This file is part of HALMD. -- -- HALMD 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 vers...
gpl-3.0
atelierbram/syntax-highlighting
docs/atelier-schemes/output/textadept/base16-ateliercave-dark.lua
2
4203
-- Atelier Cave theme for Textadept -- Theme author: Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) -- Base16 (https://github.com/chriskempson/base16) -- Build with Base16 Builder (https://github.com/chriskempson/base16-builder) -- Repository: https://github.com/rgieseke/ta-themes ...
mit
rigeirani/ma
plugins/boobs.lua
24
1601
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
loringmoore/The-Forgotten-Server
data/spells/scripts/party/enchant.lua
15
1811
local combat = createCombatObject() local area = createCombatArea(AREA_CROSS5X5) setCombatArea(combat, area) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, COND...
gpl-2.0
osgcc/ryzom
ryzom/common/data_common/r2/r2_ui_main_loop.lua
3
1647
-- This file contains code that is called each frame by the C++ framework r2.UIMainLoop = { -- TODO nico : move this in a better place LeftQuotaModified = true, -- when set to true, the "left quota" field in the scenario window should be updated PlotItemsModified = false } local firstLoop = true local loopI...
agpl-3.0
phi-gamma/luakit-yt-unblocker
init.lua
1
10799
#!/usr/bin/env texlua ----------------------------------------------------------------------- -- FILE: init.lua -- USAGE: require "plugins.yt-unblocker" -- DESCRIPTION: luakit plugin -- REQUIREMENTS: luakit, luafilesystem -- AUTHOR: Philipp Gesang (Phg), <phg42.2a@gmail.com> -- VERSION: ...
bsd-2-clause
pavel-odintsov/snabbswitch
src/apps/keyed_ipv6_tunnel/tunnel.lua
14
9351
module(...,package.seeall) -- http://tools.ietf.org/html/draft-mkonstan-keyed-ipv6-tunnel-01 -- TODO: generalize local AF_INET6 = 10 local ffi = require("ffi") local C = ffi.C local bit = require("bit") local app = require("core.app") local link = require("core.link") local lib = require("core.lib") local packet = ...
apache-2.0
yetsky/extra
luci/applications/luci-webshell/luasrc/controller/webshell.lua
17
2049
module("luci.controller.webshell", package.seeall) function index() page = entry({"admin", "system", "WebShell"}, template("webshell"), _("WebShell"), 60) page.i18n = "base" page.dependent = true page = entry({"admin", "system", "cmd_run"}, call("cmd_run"), nil) page.leaf = true page = entry({"admin", "system...
gpl-2.0
ferstar/openwrt-dreambox
feeds/luci/luci/luci/libs/web/luasrc/config.lua
13
1115
--[[ LuCI - Configuration Description: Some LuCI configuration values read from uci file "luci" FileId: $Id: config.lua 3856 2008-12-05 15:36:44Z Cyrus $ License: Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in com...
gpl-2.0
deepak78/new-luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua
43
1470
-- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("OLSRd Plugin Configuration"), translate("The OLSRd plugin reads information about meshed networks from the txtinfo plugin of OLSRd.")) s = m:section(NamedSection,...
apache-2.0
jiankers/Atlas
lib/active-queries.lua
40
3780
--[[ $%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
sajjad94/ASD_KARBALA
plugins/en-ASD_KARBALA3.lua
3
1029
--[[ β–€β–„ β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€ β–€β–„ β–„β–€ β–€β–„ β–„β–€ β–€β–„ β–„β–€ BY SAJJAD NOORI β–€β–„ β–„β–€ β–€β–„ β–„β–€ BY SAJAD NOORI (@SAJJADNOORI) β–€β–„ β–„β–€ β–€β–„ β–„β–€ JUST WRITED BY SAJJAD NOORI β–€β–„ β–„β–€ β–€β–„ β–„β–€ dev1 : dev β–€β–„ β–„β–€ β–€β–„β–€...
gpl-2.0
NiMaDip/tg
test.lua
210
2571
started = 0 our_id = 0 function vardump(value, depth, key) local linePrefix = "" local spaces = "" if key ~= nil then linePrefix = "["..key.."] = " end if depth == nil then depth = 0 else depth = depth + 1 for i=1, depth do spaces = spaces .. " " end end if type(value) == 'tab...
gpl-2.0
shuzi/nngraph
test/test_ModuleFromCriterion.lua
7
1792
require 'totem' require 'nngraph' local test = {} local tester = totem.Tester() function test.test_call() local prediction = nn.Identity()() local target = nn.Identity()() local mse = nn.MSECriterion()({prediction, target}) local costBits = nn.MulConstant(1/math.log(2))(mse) local net = nn.gModule({pre...
bsd-3-clause
jackscott/thrift
lib/lua/TSocket.lua
113
2996
---- 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 may...
apache-2.0
project-zerus/thrift
lib/lua/TSocket.lua
113
2996
---- 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 may...
apache-2.0
weitjong/Urho3D
Source/ThirdParty/toluapp/src/bin/lua/module.lua
44
1479
-- tolua: module class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: $ -- 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 provide maintenance, support, updates, -- enhancements,...
mit
ferstar/openwrt-dreambox
feeds/luci/luci/luci/applications/luci-pbx/luasrc/model/cbi/pbx-google.lua
3
4885
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx 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 ...
gpl-2.0