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
DarkstarProject/darkstar
scripts/globals/items/cheval_salmon.lua
11
1055
----------------------------------------- -- ID: 4379 -- Item: cheval_salmon -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Charisma -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ------------------------------...
gpl-3.0
crunchuser/prosody-modules
mod_onhold/mod_onhold.lua
32
2253
-- Prosody IM -- Copyright (C) 2008-2009 Matthew Wild -- Copyright (C) 2008-2009 Waqas Hussain -- Copyright (C) 2009 Jeff Mitchell -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local datamanager = require "util.datamanager"; local jid_bare = requi...
mit
DarkstarProject/darkstar
scripts/globals/mobskills/fluid_toss_claret.lua
11
1096
--------------------------------------------- -- Fluid Toss (Claret) -- Description: Lobs a ball of liquid at a single target. -- Type: Ranged -- Utsusemi/Blink absorb: 1 shadow -- Range: 15 -- Applies 100hp/tick poison if it hits. --------------------------------------------- require("scripts/globals/settings")...
gpl-3.0
cnc-club/linuxcnc
src/redis/redis/deps/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
lgpl-2.1
DarkstarProject/darkstar
scripts/zones/Rabao/npcs/Shupah_Mujuuk.lua
12
3349
----------------------------------- -- Area: Rabao -- NPC: Shupah Mujuuk -- Title Change NPC -- !pos 12 8 20 247 ----------------------------------- require("scripts/globals/titles") ----------------------------------- local eventId = 1011 local titleInfo = { { cost = 200, title = { ...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/distract_ii.lua
12
1617
----------------------------------------- -- Spell: Distract II ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") require("scripts/globals/utils") ----------------------------------------- function onMagicCastingCheck(caster, tar...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Norg/npcs/Vuliaie.lua
13
1305
----------------------------------- -- Area: Norg -- NPC: Vuliaie -- Type: Tenshodo Merchant -- @pos -24.259 0.891 -19.556 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/sh...
gpl-3.0
GameDevStudios/MrBallGuy2
assets/libs/loveframes/objects/internal/scrollable/scrollarea.lua
6
5550
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- scrollarea class local newobject = loveframes.NewObject("scrollarea", "loveframes_object_scrollarea", true) --[[-------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Silver_Sea_route_to_Al_Zahbi/npcs/Yahliq.lua
13
1204
----------------------------------- -- Area: Silver Sea route to Al Zahbi -- NPC: Yahliq -- Type: Guild Merchant: Fishing Guild -- @pos 4.986 -2.101 -12.026 59 ----------------------------------- package.loaded["scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/West_Sarutabaruta/npcs/Twinkle_Tree.lua
13
2325
----------------------------------- -- Area: West Sarutabaruta -- NPC: Twinkle Tree -- Involved in Quest: To Catch a Falling Star -- Note: EventID for Twinkle Tree is unknown. Quest funtions but the full event is not played. -- @pos 156.003 -40.753 333.742 115 ----------------------------------- package.loa...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Northern_San_dOria/npcs/Porter_Moogle.lua
41
1549
----------------------------------- -- Area: Northern San d'Oria -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 231 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Ordelles_Caves/npcs/qm7.lua
1
1620
----------------------------------- -- Area: Gusgen Mines -- NPC: qm7 (???) -- Involved In Quest: Eco Warrior Sandoria ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/que...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Heptachiond.lua
11
1771
----------------------------------- -- Area: The_Eldieme_Necropolis_[S] -- NPC: Heptachiond -- Starts and Finishes Quest: REQUIEM_FOR_THE_DEPARTED -- !pos 256 -32 20 175 ----------------------------------- require("scripts/globals/npc_util") require("scripts/globals/keyitems") require("scripts/globals/quests") -------...
gpl-3.0
eugeneia/snabbswitch
lib/ljsyscall/test/ctest-linux.lua
18
13141
-- generate C test file to check type sizes etc -- Linux specific as there are a lot of workarounds -- luajit ctest.lua > ctest.c && cc -std=c99 ctest.c -o ctest && ./ctest -- TODO we are replacing this with new tests against clean kernel headers, test/linux-constants.lua is first part -- however testing against both ...
apache-2.0
DarkstarProject/darkstar
scripts/zones/Beadeaux/npcs/Haggleblix.lua
12
6781
----------------------------------- -- Area: Beadeaux -- NPC: Haggleblix -- Type: Dynamis NPC -- !pos -255.847 0.595 106.485 147 ----------------------------------- local ID = require("scripts/zones/Beadeaux/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/dynam...
gpl-3.0
blackops97/boty.lua
plugins/all.lua
184
4452
do local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print_name(user)..' ['..user_id..']' return u...
gpl-2.0
DarkstarProject/darkstar
scripts/globals/items/slice_of_buffalo_meat.lua
11
1148
----------------------------------------- -- ID: 5152 -- Item: slice_of_buffalo_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 4 -- Agility -5 -- Intelligence -7 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Bastok_Markets/npcs/Hortense.lua
16
1909
----------------------------------- -- Area: Bastok Markets -- NPC: Hortense -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Port_Bastok/npcs/Yazan.lua
11
1696
----------------------------------- -- Area: Port Bastok -- NPC: Yazan -- Starts Quests: Bite the Dust (100%) ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/quests"); local ID = require("scripts/zones/Port_Bastok/IDs"); -------------...
gpl-3.0
eugeneia/snabbswitch
src/apps/lwaftr/lwutil.lua
3
3699
module(..., package.seeall) local constants = require("apps.lwaftr.constants") local S = require("syscall") local bit = require("bit") local ffi = require("ffi") local lib = require("core.lib") local cltable = require("lib.cltable") local band = bit.band local cast = ffi.cast local uint16_ptr_t = ffi.typeof("uint16...
apache-2.0
Fenix-XI/Fenix
scripts/globals/items/bowl_of_whitefish_stew.lua
18
1536
----------------------------------------- -- ID: 4440 -- Item: Bowl of Whitefish Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 10 -- Dexterity 3 -- Mind -3 -- Accuracy 3 -- Ranged ACC % 7 -- Ranged ACC Cap 10 ----------------------------------------- require("scripts/global...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/bluemagic/sudden_lunge.lua
4
1950
----------------------------------------- -- Spell: Sudden Lunge -- Damage varies with TP. Additional effect: "Stun." -- Spell cost: 18 MP -- Monster Type: Vermin -- Spell Type: Physical (Slashing) -- Blue Magic Points: 4 -- Stat Bonus: HP-5 MP-5 DEX+1 AGI+1 -- Level: 95 -- Casting Time: 0.5 seconds -- Recast Time: 15 ...
gpl-3.0
jmachuca77/ardupilot
Tools/CHDK-Scripts/Cannon SX260/3DR_EAI_SX260.lua
96
29666
--[[ KAP UAV Exposure Control Script v3.1 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script 3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot. Changelog: -Modified Tv, Av, and...
gpl-3.0
UrusTeam/URUS
Tools/CHDK-Scripts/Cannon SX260/3DR_EAI_SX260.lua
96
29666
--[[ KAP UAV Exposure Control Script v3.1 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script 3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot. Changelog: -Modified Tv, Av, and...
gpl-3.0
emender/emender
test/Test100Links1Yap.lua
1
3242
-- Test100Links1Yap.lua - check the following functions: link() and yap(). -- -- Copyright (C) 2014, 2015, 2016 Pavel Tisnovsky -- -- -- This file is part of Emender. -- -- Emender is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Fre...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/North_Gustaberg/TextIDs.lua
15
1306
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED_TWICE = 6559; -- You cannot obtain the item <item>. ITEM_CANNOT_BE_OBTAINED = 6560; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6564; -- You cannot obtain the #. Try tr...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Mamool_Ja_Training_Grounds/instances/preemptive_strike.lua
11
1724
----------------------------------- -- -- Assault: Preemptive Strike -- ----------------------------------- local ID = require("scripts/zones/Mamool_Ja_Training_Grounds/IDs") require("scripts/globals/instance") ----------------------------------- function afterInstanceRegister(player) local instance = player:getIn...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Koyol-Futenol.lua
12
3917
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Koyol-Futenol -- Title Change NPC -- !pos -129 2 -20 50 ----------------------------------- require("scripts/globals/titles") ----------------------------------- local eventId = 644 local titleInfo = { { cost = 200, title = ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/VeLugannon_Palace/mobs/Brigandish_Blade.lua
1
1351
----------------------------------- -- Area: VeLugannon Palace -- NM: Brigandish Blade ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) mob:setMobMod(MOBMOD_ADD_EFFECT,...
gpl-3.0
gwlim/openwrt_mr3420_8M
feeds/xwrt/webif-iw-lua-openvpn/files/usr/lib/lua/lua-xwrt/openvpn.lua
26
65653
require("lua-xwrt.addon.string") require("lua-xwrt.addon.uci") require("lua-xwrt.html.form") require("lua-xwrt.xwrt.translator") require("lua-xwrt.addon.io") ssl = require("lua-xwrt.openssl") for u, v in pairs(__FORM) do -- print(u,v,"<br>") local proc, uci_var, uci_cmd, idx, uci_val = unpack(string.split(u,":")) if...
gpl-2.0
Fenix-XI/Fenix
scripts/globals/items/plate_of_dorado_sushi.lua
18
1686
----------------------------------------- -- ID: 5178 -- Item: plate_of_dorado_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 5 -- Accuracy % 15 -- Accuracy Cap 72 -- Ranged ACC % 15 -- Ranged ACC Cap 72 -- Sleep Resist 5 -- Enmity 4 ---------------------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Xarcabard/npcs/Telepoint.lua
13
1680
----------------------------------- -- Area: Xarcabard -- NPC: Telepoint -- @pos 150.258 -21.047 -37.256 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Xarcabard/TextIDs");...
gpl-3.0
eugeneia/snabbswitch
lib/ljsyscall/syscall/linux/mips/constants.lua
24
9285
-- mips specific constants local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local h = require "syscall.helpers...
apache-2.0
DarkstarProject/darkstar
scripts/zones/Heavens_Tower/npcs/Rhy_Epocan.lua
8
1465
----------------------------------- -- Area: Heavens Tower -- NPC: Rhy Epocan -- Involved in Mission 3-1 -- !pos 2 -48 14 242 ----------------------------------- require("scripts/globals/missions") ----------------------------------- function onTrade(player, npc, trade) end function onTrigger(player, npc) local ...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/salmon_sub_sandwich.lua
18
1492
----------------------------------------- -- ID: 4355 -- Item: salmon_sub_sandwich -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 2 -- Agility 1 -- Vitality 1 -- Intelligence 2 -- Mind -2 -- Ranged ACC 2 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/rabbit_pie.lua
18
1844
----------------------------------------- -- ID: 5685 -- Item: rabbit_pie -- Food Effect: 30minutes, All Races ----------------------------------------- -- Strength 5 -- Vitality 5 -- Attack 25% (caps @ 100) -- Ranged Attack 25% (caps @ 100) -- Defense 25% (caps @ 100) -- Intelligence -2 -------------------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Bastok_Markets/npcs/Umberto.lua
9
1080
----------------------------------- -- Area: Bastok Markets -- NPC: Umberto -- Type: Quest NPC -- Involved in Quest: Too Many Chefs -- !pos -56.896 -5 -134.267 235 ----------------------------------- local ID = require("scripts/zones/Bastok_Markets/IDs"); ----------------------------------- function onTrade(player,n...
gpl-3.0
L3E8S0S6E5N1OA5N6D3T8W5O/4568584657657
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
DarkstarProject/darkstar
scripts/globals/spells/chocobo_mazurka.lua
12
1158
----------------------------------------- -- Spell: Chocobo Mazurka -- Gives party members enhanced movement ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return ...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/abilities/sic.lua
12
1199
----------------------------------- -- Ability: Sic -- Commands the charmed Pet to make a random special attack. -- Obtained: Beastmaster Level 25 -- Recast Time: 2 minutes -- Duration: N/A ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals...
gpl-3.0
marcel-sch/luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/netlink.lua
68
2502
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. require("luci.sys") local devices = luci.sys.net.devices() m = Map("luci_statistics", translate("Netlink Plugin Configuration"), translate( "The netlink plugin collects extended informa...
apache-2.0
DarkstarProject/darkstar
scripts/globals/mobskills/leaping_cleave.lua
11
1042
--------------------------------------------- -- Leaping Cleave -- Family: Qutrub -- Description: Performs a jumping slash on a single target. -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: Used only when wielding their initial sword. --------------------------------------------- ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Port_San_dOria/npcs/Coullave.lua
13
1938
----------------------------------- -- Area: Port San d'Oria -- NPC: Coullave -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/quests"); require("scrip...
gpl-3.0
devFRIND/TAEMNEW
plugins/newgroup.lua
1
39939
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY TAEMNEW ▀▄ ▄▀ ▀▄ ▄▀ BY TAEMNEW ) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY TAEMNEW ▀▄ ▄▀ ▀▄ ▄▀ create : صنع مجموعه ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀...
gpl-2.0
DarkstarProject/darkstar
scripts/globals/spells/earth_carol.lua
10
1548
----------------------------------------- -- Spell: Earth Carol -- Increases earth resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") -----------------------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Yughott_Grotto/npcs/HomePoint#1.lua
27
1271
----------------------------------- -- Area: Yughott_Grotto -- NPC: HomePoint#1 -- @pos 434 -40.299 171 142 ----------------------------------- package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Yughott_Grotto/TextIDs"); require("scripts/globals/...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/serving_of_cilbir.lua
18
1555
----------------------------------------- -- ID: 5642 -- Item: serving_of_cilbir -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP % 5 -- MP % 5 -- HP recovered while healing 3 -- MP recovered while healing 3 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/mobskills/suction.lua
11
1047
--------------------------------------------- -- Suction -- -- Description: Deals damage to a single target. Additional effect: Stun -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: Stun doesn't always occur. --------------------------------------------- require("scripts/globals/sett...
gpl-3.0
crunchuser/prosody-modules
mod_service_directories/mod_service_directories.lua
32
5943
-- Prosody IM -- Copyright (C) 2011 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- -- An implementation of [XEP-0309: Service Directories] -- Imports and defines local st = require "util.stanza"; local jid_split = require "util.jid"...
mit
Fenix-XI/Fenix
scripts/zones/Al_Zahbi/npcs/Sujyahn.lua
13
1036
----------------------------------- -- Area: Al Zahbi -- NPC: Sujyahn -- Type: Standard NPC -- @zone: 48 -- @pos -48.213 -1 34.723 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------...
gpl-3.0
asdofindia/prosody-modules
mod_component_client/mod_component_client.lua
31
8204
--[[ mod_component_client.lua This module turns Prosody hosts into components of other XMPP servers. Config: VirtualHost "component.example.com" component_client = { host = "localhost"; port = 5347; secret = "hunter2"; } ]] local socket = require "socket" local logger = require "util.logger"; local sha...
mit
rfguimaraes/LuaMan
classer.lua
1
1080
-- Obtained (with small changes) from: -- http://lua-users.org/wiki/ObjectOrientationTutorial local classer = {} function classer.ncls(...) -- "cls" is the new class local cls, bases = {}, {...} -- copy base class contents into the new class for i, base in ipairs(bases) do for k, v in pairs(base) do ...
mit
Fenix-XI/Fenix
scripts/globals/mobskills/Flame_Thrower.lua
18
1281
--------------------------------------------------- -- Flame_Thrower -- Description: -- Type: Magical -- additional effect : plague --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ----------------...
gpl-3.0
8devices/carambola2-luci
applications/luci-wol/luasrc/model/cbi/wol.lua
37
2522
--[[ LuCI - Lua Configuration Interface Copyright 2010 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 sy...
apache-2.0
Fenix-XI/Fenix
scripts/globals/items/dil.lua
18
1304
----------------------------------------- -- ID: 5457 -- Item: Dil -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 4 -- Mind -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------------...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/bluemagic/eyes_on_me.lua
31
1587
----------------------------------------- -- Spell: Eyes On Me -- Deals dark damage to an enemy -- Spell cost: 112 MP -- Monster Type: Demons -- Spell Type: Magical (Dark) -- Blue Magic Points: 4 -- Stat Bonus: HP-5, MP+15 -- Level: 61 -- Casting Time: 4.5 seconds -- Recast Time: 29.25 seconds -- Magic Bursts on: Compr...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/orange_cake.lua
18
1239
----------------------------------------- -- ID: 5629 -- Item: Orange Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +3 -- MP Recovered while healing +4 ----------------------------------------- require("scripts/globals/status"); ---...
gpl-3.0
anshkumar/yugioh-glaze
assets/script/c61632317.lua
3
1352
--ダーク・スプロケッター function c61632317.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(61632317,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BE_MATERIAL) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e...
gpl-2.0
PocoCraftSource/FiveNightsatFreddysGMod
gamemode/specialchars/cl_init.lua
1
1727
include( 'shared.lua' ) //LOAD THAT function set_team() //Function for the window when joining as neither special character nor Admin Ready = vgui.Create( "DFrame" ) //Define ready as a "DFrame" Ready:SetPos( ScrW() / 2, ScrH() / 2 ) //Set the position. Half the screen height and half the screen width. This will re...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c94693857.lua
3
1549
--ブンボーグ001 function c94693857.initial_effect(c) --atk/def local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetValue(c94693857.atkval) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode(EFFEC...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c79407975.lua
5
2472
--究極宝玉神 レインボー・ダーク・ドラゴン function c79407975.initial_effect(c) c:EnableReviveLimit() --splimit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --special summon local e2=Effec...
gpl-2.0
tullamods/Dominos_Encounter
bar.lua
1
2042
local AddonName, Addon = ... local Dominos = LibStub('AceAddon-3.0'):GetAddon('Dominos') local EncounterBar = Dominos:CreateClass('Frame', Dominos.Frame); Addon.EncounterBar = EncounterBar function EncounterBar:New() local f = EncounterBar.proto.New(self, 'encounter') f:InitPlayerPowerBarAlt() f:ShowInOverrideUI(t...
bsd-3-clause
anshkumar/yugioh-glaze
assets/script/c51267887.lua
3
1646
--体温の上昇 function c51267887.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c51267887.target) e1:SetOperation(c51267887.operation) c:RegisterEffect(e1) ...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c24725825.lua
3
1503
--エレクトリック・ワーム function c24725825.initial_effect(c) --control local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(24725825,0)) e1:SetCategory(CATEGORY_CONTROL) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c24725825.cost) e1:SetTarget(c...
gpl-2.0
zhaoxin54430/zhaoxin_test
src_luci/applications/luci-app-privoxy/luasrc/controller/privoxy.lua
33
4608
-- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed under the Apache License, Version 2.0 module("luci.controller.privoxy", package.seeall) local NX = require "nixio" local NXFS = require "nixio.fs" local HTTP = require "luci.http" local UCI = require "luci.model.uci" l...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c31292357.lua
3
2306
--Emハットトリッカー function c31292357.initial_effect(c) c:EnableCounterPermit(0x3036) c:SetCounterLimit(0x3036,3) --special summon rule local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetRange(LOCATION_HAND) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetCondition(c312...
gpl-2.0
MoZhonghua/skynet
examples/login/gated.lua
57
2201
local msgserver = require "snax.msgserver" local crypt = require "crypt" local skynet = require "skynet" local loginservice = tonumber(...) local server = {} local users = {} local username_map = {} local internal_id = 0 -- login server disallow multi login, so login_handler never be reentry -- call by login server ...
mit
anshkumar/yugioh-glaze
assets/script/c21831848.lua
9
1175
--ガガガドロー function c21831848.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c21831848.cost) e1:SetTarget(c21831848.target) e1:SetOperation(c21831848.acti...
gpl-2.0
MadkaT182/DDR3rdMix
BGAnimations/ScreenSelectMusic decorations/cd.lua
1
1928
local t = Def.ActorFrame {}; --CD t[#t+1] = Def.ActorFrame { InitCommand=function(self) c = self:GetChildren(); end; BeginCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_BOTTOM-159;draworder,1); OffCommand=cmd(linear,1;diffusealpha,0); --CD Mask Def.ActorFrame{ Name="CdMask"; InitCommand=cmd(); LoadActor(THEME:GetP...
gpl-3.0
anshkumar/yugioh-glaze
assets/script/c80532587.lua
3
3715
--旧神ヌトス function c80532587.initial_effect(c) c:SetSPSummonOnce(80532587) --fusion material c:EnableReviveLimit() aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsType,TYPE_SYNCHRO),aux.FilterBoolFunction(Card.IsType,TYPE_XYZ),false) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c69723159.lua
3
1572
--武神器-ムラクモ function c69723159.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(69723159,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimit(1,69723159) e1:SetConditio...
gpl-2.0
johnparker007/mame
plugins/data/data_hiscore.lua
6
41396
-- to use this get the package from http://greatstone.free.fr/hi2txt/ -- extract the hi2txt.zip and place it in your history path local dat = {} local env = {} local output local curset local path = emu.subst_env(mame_manager.ui.options.entries.historypath:value():gsub("([^;]+)", "%1/hi2txt")) local htmlentites = { [...
gpl-2.0
sjznxd/lc-20130302
applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
68
4034
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008-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 htt...
apache-2.0
shirat74/sile
packages/tate.lua
2
5394
local pdf = require("justenoughlibtexpdf") SILE.tateFramePrototype = SILE.framePrototype { moveX = function(self, amount) self.state.cursorY = self.state.cursorY + amount if type(amount) == "table" then SU.error("Table passed to moveX", 1) end end, moveY = function(self, amount) self.state.cursorX = se...
mit
WAKAMAZU/sile_fe
packages/tate.lua
2
5394
local pdf = require("justenoughlibtexpdf") SILE.tateFramePrototype = SILE.framePrototype { moveX = function(self, amount) self.state.cursorY = self.state.cursorY + amount if type(amount) == "table" then SU.error("Table passed to moveX", 1) end end, moveY = function(self, amount) self.state.cursorX = se...
mit
anshkumar/yugioh-glaze
assets/script/c48144509.lua
3
4562
--オッドアイズ・フュージョン function c48144509.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:SetCountLimit(1,48144509+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c48144509.target) e1:SetOperation(c48144509.activ...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c30915572.lua
3
1271
--星見獣ガリス function c30915572.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(30915572,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DAMAGE+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c30915572.spcost) e1:SetTarge...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c50720316.lua
6
2076
--E・HERO シャドー・ミスト function c50720316.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(50720316,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DAMAGE_STE...
gpl-2.0
evanzeller/GridStatusItemLevel
libs/LibItemUpgradeInfo-1.0/LibStub/tests/test.lua
10
2053
debugstack = debug.traceback strmatch = string.match loadfile("../LibStub.lua")() local lib, oldMinor = LibStub:NewLibrary("Pants", 1) -- make a new thingy assert(lib) -- should return the library table assert(not oldMinor) -- should not return the old minor, since it didn't exist -- the following is to cre...
mit
anshkumar/yugioh-glaze
assets/script/c61173621.lua
9
2122
--エッジインプ・チェーン function c61173621.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(61173621,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCountLimit(1,61173621) e1:SetTarget...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c76075810.lua
3
1582
--投石部隊 function c76075810.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(76075810,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c76075810.descost) e1:SetTarget(c760...
gpl-2.0
dinodeck/rpg_dialog_script
dialog_runner/code/font/DefaultFontDef.lua
1
3554
DefaultFontDef = { texture = "default_font.png", cut_width = 6, cut_height = 12, lookup = { ['a'] = { uv = {0, 0}, stepX = 7 }, ['b'] = { uv = {1, 0}, stepX = 7 }, ['c'] = { uv = {2, 0}, stepX = 5 }, ['d'] = { uv = {3, 0}, stepX = 7 }, ['e'] = { uv = {4, 0}, stepX = 7 }...
mit
rickyHong/nn_lib_torch
CMulTable.lua
13
1083
local CMulTable, parent = torch.class('nn.CMulTable', 'nn.Module') function CMulTable:__init() parent.__init(self) self.gradInput = {} end function CMulTable:updateOutput(input) self.output:resizeAs(input[1]):copy(input[1]) for i=2,#input do self.output:cmul(input[i]) end return self.output e...
bsd-3-clause
anshkumar/yugioh-glaze
assets/script/c40867519.lua
3
1840
--静寂虫 function c40867519.initial_effect(c) --to defence local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(40867519,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c40867519.postg) e1:SetOperation(c40867519.poso...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c86170989.lua
9
2331
--ファルシオンβ function c86170989.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(86170989,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetTarget(c86170989.target) e1:SetOperation(c86170989.operation) c:RegisterEffect(e1) end function...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c49217579.lua
3
1525
--幻影の騎士-ミラージュ・ナイト- function c49217579.initial_effect(c) c:EnableReviveLimit() --atkup local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_DAMAGE_CALCULATING) e1:SetCondition(c49217579.atkcon) e1:SetOperation(c49217579.atkop) c:RegisterEffect(e1) --remove loca...
gpl-2.0
hadirahimi1380/botahriman
plugins/invite.lua
299
1025
-- Invite other user to the chat group. -- Use !invite name User_name or !invite id id_number -- The User_name is the print_name (there are no spaces but _) do local function callback(extra, success, result) vardump(success) vardump(result) end local function run(msg, matches) local user = matches[2] -- Use...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c17559367.lua
5
1087
--ディープ・ダイバー function c17559367.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetOperation(c17559367.regop) c:RegisterEffect(e1) end function c17559367.regop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() if c...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c37953640.lua
5
1381
--竜宮の白タウナギ function c37953640.initial_effect(c) --synchro custom local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SYNCHRO_MATERIAL_CUSTOM) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetTarget(c37953640.syntg) e1:SetValue(1) e1:SetOperation(c37953640.syno...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c65878864.lua
3
1043
--使徒喰い虫 function c65878864.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP) e1:SetTarget(c65878864.target) e1:SetOperation(c65878864.operation) c:RegisterEffect(e1) end function c6587...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c17639150.lua
7
2928
--機殻の生贄 function c17639150.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c17639150.eqtg) e1:SetOperation(c17639150.eqop) c:RegisterEffect(e1) --Equip...
gpl-2.0
SquidDev-CC/Howl
external/bsrocks/BustedTask.lua
1
3512
--- Adds a task to execute busted tasks -- @classmod howl.modules.bsrocks.BustedTask local platform = require "howl.platform" local Task = require "howl.tasks.Task" local BustedTask = Task:subclass(...) :addOptions { 'workingDirectory', 'directories', 'sortTests', 'randomize', 'randomseed', 'tags', 'exclu...
mit
anshkumar/yugioh-glaze
assets/script/c55277252.lua
3
2394
--魔轟神獣ノズチ function c55277252.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(55277252,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetTarget(c55277252.tg) e1:SetOperation(c55277252.op) c:RegisterEffect(e1)...
gpl-2.0
qq2588258/floweers
tools/tolua++/basic.lua
2
10000
-- usage: (use instead of ant) -- tolua++ "-L" "basic.lua" "-o" "../../scripting/lua/cocos2dx_support/LuaCocos2d.cpp" "Cocos2d.pkg" _is_functions = _is_functions or {} _to_functions = _to_functions or {} _push_functions = _push_functions or {} local CCObjectTypes = { "CCObject", "CCAction", "CCImage", ...
mit
anshkumar/yugioh-glaze
assets/script/c38528901.lua
3
1833
--氷結界の決起隊 function c38528901.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(38528901,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c3...
gpl-2.0
andrejzverev/rspamd
src/plugins/lua/mime_types.lua
1
3827
--[[ Copyright (c) 2016, Vsevolod Stakhov <vsevolod@highsecure.ru> 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 applicable law ...
apache-2.0
anshkumar/yugioh-glaze
assets/script/c42776960.lua
5
2034
--魂のリレー function c42776960.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:SetTarget(c42776960.target) e1:SetOperation(c42776960.activate) c:RegisterEffect(e1) end function c42776960.filter(c,e,...
gpl-2.0
darius/lurx
tests.lua
1
10883
local lurx = require 'lurx' local literal = lurx.literal local either = lurx.either local chain = lurx.chain local star = lurx.star local function rx_test(input, expected_remainder, pattern) local result, match_length = lurx.match(pattern, input) if result ~= (expected_remainder ~= nil) then print('...
gpl-3.0
Ced-le-pingouin/microlua-sim
clp/mls/Sys.lua
2
15376
------------------------------------------------------------------------------- -- OS, filesystem and memory utilities. -- -- @class module -- @name clp.mls.Sys -- @author Ced-le-pingouin <Ced.le.pingouin@gmail.com> ------------------------------------------------------------------------------- -- Copyright (C) 2009-...
gpl-3.0
anshkumar/yugioh-glaze
assets/script/c16135253.lua
3
1395
--アギド function c16135253.initial_effect(c) --dice local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(16135253,0)) e1:SetCategory(CATEGORY_DICE+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c16135253.condition) e1:SetT...
gpl-2.0