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
SalvationDevelopment/Salvation-Scripts-TCG
c87294988.lua
5
1684
--紅姫チルビメ function c87294988.initial_effect(c) --cannot be battle target local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(0,LOCATION_MZONE) e1:SetValue(c87294988.bttg) c:RegisterEffect(e1) --summon success ...
gpl-2.0
Turttle/darkstar
scripts/zones/Quicksand_Caves/npcs/qm2.lua
17
1245
----------------------------------- -- Area: Quicksand Caves -- NPC: qm2 -- Notes: Used to spawn Tribunus VII-I -- @pos -49.944 -0.891 -139.485 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand...
gpl-3.0
fgenesis/Aquaria_experimental
game_scripts/scripts/entities/clockworkfish.lua
6
2827
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
Hajimokhradi/zli
plugins/expiretime.lua
20
2026
local function pre_process(msg) msg.text = msg.content_.text local timetoexpire = 'unknown' local expiretime = redis:hget ('expiretime', msg.chat_id_) local now = tonumber(os.time()) if expiretime then timetoexpire = math.floor((tonumber(expiretime) - tonumber(now)) / 86400) + 1 if tonumber("0") > tonumber...
gpl-3.0
Cloudef/mpv
player/lua/ytdl_hook.lua
1
8376
local utils = require 'mp.utils' local msg = require 'mp.msg' local ytdl = { path = "youtube-dl", minver = "2015.02.23.1", vercheck = nil, } local function exec(args) local ret = utils.subprocess({args = args}) return ret.status, ret.stdout end -- return if it was explicitly set on the command li...
gpl-2.0
dickeyf/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/Cermet_Door.lua
27
1148
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Notes: Leads to Upper Delkfutt's Tower. -- @pos 524 16 20 184 ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action -----------------------------------...
gpl-3.0
Turttle/darkstar
scripts/zones/Mhaura/npcs/Orlando.lua
15
3535
----------------------------------- -- Area: Mhaura -- NPC: Orlando -- Type: Standard NPC -- @pos -37.268 -9 58.047 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/ke...
gpl-3.0
dickeyf/darkstar
scripts/zones/Misareaux_Coast/npcs/qm1.lua
13
1339
----------------------------------- -- Area: Misareaux_Coast -- NPC: ??? (Spawn Gration) -- @pos 113.563 -16.302 38.912 25 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Misareaux_Coast/TextIDs"); ---------...
gpl-3.0
Turttle/darkstar
scripts/zones/Horlais_Peak/bcnms/shattering_stars.lua
19
2368
----------------------------------- -- Area: Horlais Peak -- Name: Shattering stars - Maat Fight -- @pos -509 158 -211 139 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/ques...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c31887905.lua
6
1452
--憑依装着-アウス function c31887905.initial_effect(c) --spsummon proc local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND+LOCATION_DECK) e1:SetCondition(c31887905.spcon) e1:SetOperation(c31887905.spop) c:Regis...
gpl-2.0
dickeyf/darkstar
scripts/zones/Escha_ZiTah/Zone.lua
34
1440
----------------------------------- -- -- Zone: Escha - Zi'Tah (288) -- ----------------------------------- package.loaded["scripts/zones/Escha_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Escha_ZiTah/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/zone"); ...
gpl-3.0
fgenesis/Aquaria_experimental
game_scripts/scripts/entities/greenseadragon.lua
6
6527
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c8275702.lua
5
1203
--宝玉の契約 function c8275702.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c8275702.sptg) e1:SetOperation(c8275702.spop) c:RegisterEffect(e1) en...
gpl-2.0
Turttle/darkstar
scripts/zones/Castle_Oztroja/npcs/_47b.lua
17
1935
----------------------------------- -- Area: Castle Oztroja -- NPC: _47b (Handle) -- Notes: Opens Trap Door (_47a) or Brass Door (_470) -- @pos 22.310 -1.087 -14.320 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
Turttle/darkstar
scripts/zones/Port_Bastok/npcs/Aishah.lua
37
1043
----------------------------------- -- Area: Port Bastok -- NPC: Aishah -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Port_Bastok/TextIDs"); ...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c42969214.lua
5
1106
--アイアイアン function c42969214.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(42969214,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCost(c42969214.cost) e1:SetOperation(c42969214.operation) ...
gpl-2.0
dickeyf/darkstar
scripts/globals/spells/bluemagic/metallic_body.lua
45
1520
----------------------------------------- -- Spell: Metallic Body -- Absorbs an certain amount of damage from physical and magical attacks -- Spell cost: 19 MP -- Monster Type: Aquans -- Spell Type: Magical (Earth) -- Blue Magic Points: 1 -- Stat Bonus: None -- Level: 8 -- Casting Time: 7 seconds -- Recast Time: 60 sec...
gpl-3.0
ld-test/cqueues
examples/getopt.lua
5
1114
-- -- getopt(":a:b", ...) -- works just like getopt(3). -- -- Send bug reports to william@25thandClement.com. -- local function getopt(optstring, ...) local opts = { } local args = { ... } for optc, optv in optstring:gmatch"(%a)(:?)" do opts[optc] = { hasarg = optv == ":" } end return coroutine.wrap(function()...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c62472614.lua
7
2569
--疫病 function c62472614.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(c62472614.target) e1:SetOperation(c62472614.operation) c:RegisterEffect(e1) --A...
gpl-2.0
Turttle/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Cannau.lua
38
1038
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Cannau -- Type: Escort NPC -- @pos 419.838 -56.999 -114.870 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldie...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c34830502.lua
3
2579
--アルティメット・インセクト LV5 function c34830502.initial_effect(c) --atk down local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(0,LOCATION_MZONE) e1:SetCondition(c34830502.con) e1:SetValue(-500) c:RegisterEffect(e1) --special sum...
gpl-2.0
fgenesis/Aquaria_experimental
game_scripts/scripts/maps/_unused/node_memorycrystalscene.lua
6
2197
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
eggBOY91/opencore
src/scripts/lua/LuaBridge/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Nightbane.lua
30
1906
function Nightbane_Cleave(Unit, event, miscunit, misc) print "Nightbane Cleave" Unit:FullCastSpellOnTarget(42587,Unit:GetClosestPlayer()) Unit:SendChatMessage(11, 0, "Cleave on you...") end function Nightbane_Tail_Sweep(Unit, event, miscunit, misc) print "Nightbane Tail Sweep" Unit:FullCastSpellOnTarget(25653,Uni...
agpl-3.0
Turttle/darkstar
scripts/zones/QuBia_Arena/mobs/Archlich_Taber_quoan.lua
27
4133
----------------------------------- -- Area: Qu'Bia Arena -- NM: Archlich Taber'quoan -- Mission 5-1 BCNM Fight ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) e...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c52900000.lua
2
3942
--霊魂鳥神-彦孔雀 function c52900000.initial_effect(c) c:EnableReviveLimit() --special summon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetValue(aux.ritlimit) c:RegisterEffect(e1) ...
gpl-2.0
dickeyf/darkstar
scripts/globals/items/plate_of_shrimp_sushi_+1.lua
18
1606
----------------------------------------- -- ID: 5692 -- Item: plate_of_shrimp_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Vitality 1 -- Defense 5 -- Accuracy % 12 (unknown, assuming HQ stat) -- Store TP 2 -- Triple Attack 1 (unknown, assuming same as NQ) ---------------------...
gpl-3.0
dickeyf/darkstar
scripts/globals/items/moon_carrot.lua
18
1173
----------------------------------------- -- ID: 4567 -- Item: moon_carrot -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------...
gpl-3.0
dickeyf/darkstar
scripts/zones/RuLude_Gardens/npcs/Macchi_Gazlitah.lua
12
1947
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Macchi Gazlitah -- Standard Mechant NPC -- Sells base items, then sells better items based -- on a gil amount of what has been already purchased -- in a given timeframe. ----------------------------------- require("scripts/globals/shop"); r...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c40937767.lua
6
1335
--グレイヴ・オージャ function c40937767.initial_effect(c) --cannot be battle target local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_CANNOT_BE_BATTLE_TARGET) e1:SetCondition(c40937767.ccon) e1:SetValue(aux.imval1) c:Reg...
gpl-2.0
dickeyf/darkstar
scripts/globals/weaponskills/sunburst.lua
11
1292
----------------------------------- -- Sunburst -- Staff weapon skill -- Skill Level: 150 -- Deals light or darkness elemental damage. Damage varies with TP. -- Aligned with the Shadow Gorget & Aqua Gorget. -- Aligned with the Shadow Belt & Aqua Belt. -- Element: Light/Dark -- Modifiers: : STR:40% MND:40% -- 100%TP ...
gpl-3.0
fgenesis/Aquaria_experimental
game_scripts/scripts/entities/slendereel.lua
6
5466
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c25669282.lua
2
3684
--完全燃焼 function c25669282.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,25669282+EFFECT_COUNT_CODE_OATH) e1:SetCost(c25669282.cost) e1:SetTarget(c25669282.target) e1:SetOperat...
gpl-2.0
Turttle/darkstar
scripts/globals/items/balik_sis_+1.lua
35
1664
----------------------------------------- -- ID: 5601 -- Item: Balik Sis +1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 5 -- Mind -2 -- Attack % 15 -- Attack Cap 45 -- Ranged ACC 1 -- Ranged ATT % 15 -- Ranged ATT Cap 45 ----------------------------------------- ...
gpl-3.0
fgenesis/Aquaria_experimental
game_scripts/scripts/maps/node_finalbossdeath.lua
6
3140
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
mohammadclash/STAR
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c42155488.lua
5
2431
--ジェノミックス・ファイター function c42155488.initial_effect(c) --summon with no tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(42155488,0)) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c42155488.ntcon...
gpl-2.0
Turttle/darkstar
scripts/zones/Bastok_Mines/npcs/Tibelda.lua
36
1405
----------------------------------- -- Area: Bastok Mines -- NPC: Tibelda -- Only sells when Bastok controlls Valdeaunia Region ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c100912079.lua
2
2304
--醒めない悪夢 --Eternal Nightmares --Script by dest function c100912079.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE+TIMING_EQUIP) e1:SetTarget(c100912079.target1) c:RegisterEffect(e1) --destroy local e...
gpl-2.0
dickeyf/darkstar
scripts/zones/West_Ronfaure/npcs/Tottoto_WW.lua
13
3325
----------------------------------- -- Area: West Ronfaure -- NPC: Tottoto, W.W. -- Type: Border Conquest Guards -- @pos -560.292 -0.961 -576.655 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest")...
gpl-3.0
Andrew-Collins/nodemcu-firmware
lua_modules/mpr121/mpr121.lua
19
2055
--------------------------------------------------------------- -- MPR121 I2C module for NodeMCU -- Based on code from: http://bildr.org/2011/05/mpr121_arduino/ -- Tiago Custódio <tiagocustodio1@gmail.com> --------------------------------------------------------------- local moduleName = ... local M = {} _G[moduleName...
mit
Ablu/ValyriaTear
dat/maps/layna_village/layna_village_riverbank_house.lua
1
31194
-- Valyria Tear map editor begin. Do not edit this line or put anything before this line. -- -- Set the namespace according to the map name. local ns = {}; setmetatable(ns, {__index = _G}); layna_village_riverbank_house = ns; setfenv(1, ns); -- A reference to the C++ MapMode object that was created with this file map...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c85704698.lua
2
3450
--リサイコロ function c85704698.initial_effect(c) --Special Summon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DICE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c85704698.sptg) e1:SetOperation(c85704698.spop) ...
gpl-2.0
Team-CC-Corp/ClamShell
tools/glep.lua
1
1257
local argparse = grin.getPackageAPI("Team-CC-Corp/Grin", "argparse") local parser = argparse.new() parser :argument"pattern" parser :switch"n" parser :argument"files" :count"*" local options = parser:parse({}, ...) if not options then return end local color = not options.n and term.isColour() loc...
mit
Turttle/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Lindgard_IM.lua
30
3065
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: Lindgard, I.M. -- Outpost Conquest Guards -- @pos -258.041 7.473 -254.527 114 ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c25206027.lua
2
1235
--異界の棘紫竜 function c25206027.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(25206027,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP) e1:SetRange(LOCATION_HAN...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c61181383.lua
9
1296
--充電器 function c61181383.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c61181383.cost) e1:SetTarget(c61181383.target) e1:SetOperation(c61181383...
gpl-2.0
thedraked/darkstar
scripts/zones/Lufaise_Meadows/npcs/qm4.lua
14
1311
----------------------------------- -- Area: Lufaise Meadows -- NPC: ??? - spawns Splinterspine Grukjuk for quest "A Hard Day's Knight" -- @pos -38.605 -9.022 -290.700 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
SnabbCo/snabbswitch
src/apps/lwaftr/constants.lua
10
2283
module(..., package.seeall) local ffi = require("ffi") local C = ffi.C -- IPv6 next-header values -- http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml proto_icmp = 1 proto_ipv4 = 4 proto_tcp = 6 proto_udp = 17 ipv6_frag = 44 proto_icmpv6 = 58 -- Ethernet types -- http://www.iana.org/assignments...
apache-2.0
mtroyka/Zero-K
effects/nuke_600.lua
24
15878
-- nuke_600_landcloud_pillar -- nuke_600_landcloud_topcap -- nuke_600_seacloud_cap -- nuke_600_landcloud -- nuke_600_seacloud_topcap -- nuke_600_landcloud_ring -- nuke_600_seacloud -- nuke_600_landcloud_cap -- nuke_600 -- nuke_600_seacloud_ring -- nuke_600_seacloud_pillar return { ["nuke_600_landcloud_pillar"] = { ...
gpl-2.0
thedraked/darkstar
scripts/zones/Mount_Kamihr/Zone.lua
30
1254
----------------------------------- -- -- Zone: Mount Kamihr -- ----------------------------------- package.loaded["scripts/zones/Mount_Kamihr/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Mount_Kamihr/TextIDs"); ----------------------------------- --...
gpl-3.0
mtroyka/Zero-K
LuaRules/Gadgets/ai_testing_functions.lua
3
8134
function gadget:GetInfo() return { name = "AI testing functions", desc = "Test small parts of AI.", author = "Google Frog", date = "April 20 2014", license = "GNU GPL, v2 or later", layer = 0, enabled = false -- loaded by default? } end local ceil = math.ceil...
gpl-2.0
thedraked/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/Grounds_Tome.lua
30
1115
----------------------------------- -- Area: Outer Horutoto Ruins -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player...
gpl-3.0
OpenNMT/OpenNMT
onmt/utils/FileReader.lua
1
3070
local FileReader = torch.class("FileReader") function FileReader:__init(filename, idxSent, featSequence) if filename == '-' then self.file = io.stdin else self.file = onmt.utils.Error.assert(io.open(filename, "r")) end self.idxSent = idxSent self.featSequence = featSequence end --[[ Read next line...
mit
rjeli/luvit
examples/broken/web-app/modules/static.lua
8
5157
local fs = require 'fs' local pathJoin = require('path').join local osPathSep = require('path').sep local pathNormalize = require('path').normalize local urlParse = require('url').parse local getType = require('mime').getType local osType = require('os').type local osDate = require('os').date local iStream = require('...
apache-2.0
thedraked/darkstar
scripts/zones/The_Shrine_of_RuAvitau/npcs/Monolith.lua
14
5393
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: Monolith -- @pos <many> ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs"); -----------------...
gpl-3.0
thedraked/darkstar
scripts/zones/Windurst_Waters/npcs/Angelica.lua
14
5826
----------------------------------- -- Area: Windurst Waters -- NPC: Angelica -- Starts and Finished Quest: A Pose By Any Other Name -- Working 100% -- @zone = 238 -- @pos = -70 -10 -6 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -------------------------------...
gpl-3.0
thedraked/darkstar
scripts/zones/Leujaoam_Sanctum/instances/leujaoam_cleansing.lua
28
2422
----------------------------------- -- -- Assault: Leujaoam Cleansing -- ----------------------------------- require("scripts/globals/instance") local Leujaoam = require("scripts/zones/Leujaoam_Sanctum/IDs"); ----------------------------------- -- afterInstanceRegister ----------------------------------- function ...
gpl-3.0
mtroyka/Zero-K
lups/ParticleClasses/SimpleParticles.lua
11
14267
-- $Id: SimpleParticles.lua 3171 2008-11-06 09:06:29Z det $ ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- local SimpleParticles = {} Simp...
gpl-2.0
thedraked/darkstar
scripts/globals/items/serving_of_flint_caviar.lua
18
1422
----------------------------------------- -- ID: 4276 -- Item: serving_of_flint_caviar -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Magic 10 -- Dexterity 4 -- Mind -1 -- Charisma 4 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
thedraked/darkstar
scripts/zones/RuAun_Gardens/npcs/HomePoint#5.lua
27
1265
----------------------------------- -- Area: RuAun_Gardens -- NPC: HomePoint#5 -- @pos 305 -42 -427 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/globals/homepo...
gpl-3.0
NPLPackages/main
script/ide/Effect/stoneEffect.lua
1
2001
--[[ NPL.load("(gl)script/ide/Effect/stoneEffect.lua"); local StoneEffect = commonlib.gettable("MyCompany.Aries.StoneEffect"); --]] NPL.load("(gl)script/apps/Aries/Quest/NPC.lua"); local NPC = commonlib.gettable("MyCompany.Aries.Quest.NPC"); local StoneEffect = commonlib.gettable("MyCompany.Aries.StoneEffect"); loc...
gpl-2.0
thedraked/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Rytaal.lua
24
4539
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Rytaal -- Type: Standard NPC -- @pos 112.002 -1.338 -45.038 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegat...
gpl-3.0
filug/nodemcu-firmware
lua_modules/lm92/lm92.lua
52
2140
-- ****************************************************** -- LM92 module for ESP8266 with nodeMCU -- -- Written by Levente Tamas <levente.tamas@navicron.com> -- -- GNU LGPL, see https://www.gnu.org/copyleft/lesser.html -- ****************************************************** -- Module Bits local moduleName = ... loca...
mit
lyzardiar/RETools
PublicTools/bin/tools/bin/ios/x86_64/jit/dis_x86.lua
61
29376
---------------------------------------------------------------------------- -- LuaJIT x86/x64 disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h --------------------------------------------------------------------------...
mit
mtroyka/Zero-K
LuaUI/Widgets/chili_new/controls/image.lua
9
3306
--//============================================================================= --- Image module --- Image fields. -- Inherits from Control. -- @see button.Button -- @table Image -- @tparam {r,g,b,a} color color, (default {1,1,1,1}) -- @string[opt=nil] file path -- @bool[opt=true] keepAspect aspect should be kept -...
gpl-2.0
X-Coder/wire
lua/entities/gmod_wire_expression2/core/e2doc.lua
10
5189
local eliminate_varname_conflicts = true if not e2_parse_args then include("extpp.lua") end local readfile = readfile or function(filename) return file.Read("entities/gmod_wire_expression2/core/" .. filename, "LUA") end local writefile = writefile or function(filename, contents) print("--- Writing to file 'data/e2d...
gpl-3.0
mtroyka/Zero-K
units/fakeunit_los.lua
3
1530
unitDef = { unitname = [[fakeunit_los]], name = [[LOS Provider]], description = [[Knows all and sees all]], acceleration = 1, brakeRate = 0.8, buildCostEnergy = 0.45, buildCostMetal = 0.45, builder = false, buildPi...
gpl-2.0
ztesbot/ztesbot
plugins/stats.lua
1
4017
do -- Returns a table with `name` and `msgs` 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_prin...
gpl-2.0
Bpalkmim/ProjetoFinal
Logic/Edge.lua
4
3139
------------------------------------------------------------------------------ -- Edge Module -- -- This module defines ... -- -- @authors: Vitor -- ------------------------------------------------------------------------------- Edge = {} Edge_Metatable = { __index = Edge } --- Class Constructor function Edge:...
gpl-2.0
alalazo/wesnoth
data/lua/wml/modify_side.lua
2
2784
local helper = wesnoth.require "helper" local utils = wesnoth.require "wml-utils" local T = helper.set_wml_tag_metatable {} local side_changes_needing_redraw = { 'shroud', 'fog', 'reset_map', 'reset_view', 'shroud_data', 'share_vision', 'share_maps', 'share_view', 'color', 'flag', } function wesnoth.wml_actions.mo...
gpl-2.0
mtroyka/Zero-K
LuaUI/Widgets/chili_new/themes/theme.lua
9
1495
--//============================================================================= --// Theme theme = {} theme.name = "default" --//============================================================================= --// Define default skins local defaultSkin = "Robocracy" --local defaultSkin = "DarkGlass" theme.skin = ...
gpl-2.0
thedraked/darkstar
scripts/zones/Cloister_of_Storms/bcnms/sugar-coated_directive.lua
30
1810
---------------------------------------- -- Area: Cloister of Storms -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/...
gpl-3.0
mtroyka/Zero-K
units/shipskirm.lua
1
4288
unitDef = { unitname = [[shipskirm]], name = [[Mistral]], description = [[Rocket Boat (Skirmisher)]], acceleration = 0.039, activateWhenBuilt = true, brakeRate = 0.115, buildCostEnergy = 240, buildCostMetal = 240, bu...
gpl-2.0
thedraked/darkstar
scripts/zones/Carpenters_Landing/npcs/relic.lua
14
1880
----------------------------------- -- Area: Carpenter's Landing -- NPC: <this space intentionally left blank> -- @pos -99 -0 -514 2 ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Carpenters_Landing/TextI...
gpl-3.0
thedraked/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Parukoko.lua
14
1061
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Parukoko -- Type: Standard NPC -- @zone 94 -- @pos -32.400 -3.5 -103.666 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ---...
gpl-3.0
thedraked/darkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Ix_aern_drg_s_Wynav.lua
17
1753
----------------------------------- -- Area: The Garden of Ru'Hmet -- MOB: Ix'aern (drg)'s Wynav ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ---------------...
gpl-3.0
thedraked/darkstar
scripts/zones/Lower_Jeuno/npcs/_6tc.lua
25
4144
----------------------------------- -- Area: Lower Jeuno -- NPC: Door: "Neptune's Spire" -- Starts and Finishes Quest: Beat Around the Bushin -- @zone 245 -- @pos 35 0 -15 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
TitanTeamGit/SelfBot
plugins/weather.lua
2
1435
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather" local function get_weather(location) print("Finding weather in ", location) local url = BASE_URL url = url..'?q='..location..'&APPID=eedbc05ba060c787ab0614cad1f2e12b' url = url..'&units=metric' local b, c, h = http.request(url) if c ~= 200...
gpl-2.0
thedraked/darkstar
scripts/zones/Al_Zahbi/npcs/Bjibar.lua
14
1037
----------------------------------- -- Area: Al Zahbi -- NPC: Bjibar -- Type: Standard NPC -- @zone 48 -- @pos -105.178 0.999 60.115 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ---------------------------...
gpl-3.0
thedraked/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/_545.lua
17
1574
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Notes: Involved in Missions: THREE_PATHS ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requir...
gpl-3.0
thedraked/darkstar
scripts/globals/items/pitcher_of_homemade_herbal_tea.lua
18
1116
----------------------------------------- -- ID: 5221 -- Item: pitcher_of_homemade_herbal_tea -- Food Effect: 30Min, All Races ----------------------------------------- -- Charisma 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
OpenNMT/OpenNMT
onmt/tagger/Tagger.lua
4
5901
local Tagger = torch.class('Tagger') local options = { { '-model', '', [[Path to the serialized model file.]], { valid = onmt.utils.ExtendedCmdLine.fileExists } }, { '-batch_size', 30, [[Batch size.]], { valid = onmt.utils.ExtendedCmdLine.isInt(1) } } } function Tag...
mit
ukoloff/rufus-lua-win
vendor/lua/lib/lua/oil/kernel/cooperative/Receiver.lua
6
5380
-------------------------------------------------------------------------------- ------------------------------ ##### ## ------------------------------ ------------------------------ ## ## # ## ------------------------------ ------------------------------ ## ## ## ## ---------------------------...
mit
thedraked/darkstar
scripts/zones/Uleguerand_Range/npcs/HomePoint#5.lua
27
1258
----------------------------------- -- Area: Uleguerand_Range -- NPC: HomePoint#5 -- @pos ----------------------------------- package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Uleguerand_Range/TextIDs"); require("scripts/globals/homepoint"); ...
gpl-3.0
thedraked/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5ca.lua
14
2341
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Mahogany Door -- Involved In Quest: Making Headlines -- Involved in Mission 2-1 -- @pos -11 0 20 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
GitoriousLispBackup/praxis
prods/Synthbench/geometry.lua
2
1544
-- Name: geometry.lua Vector3D = {} local Vector3D_meta = {} function Vector3D.new(x,y,z) local vec = {x=x,y=y,z=z} setmetatable(vec, Vector3D_meta) return vec end function vec2d(x,z) return Vector3D.new(x, 0, z) end function vec3d(x,y,z) return Vector3D.new(x, y, z) end function Vector3D.getArgs(v) r...
mit
NPLPackages/main
script/ide/Debugger/JITProfiler.lua
1
8807
--[[ Author: LiXizhi Date: 2021/3/10 Desc: Luajit 2.1 profiler ----------------------------------------------- local p = NPL.load("script/ide/Debugger/JITProfiler.lua") p.start("G", "temp/profile.txt") commonlib.TimerManager.SetTimeout(function() p.stop() end, 10*1000) ]] --------------------------------------------...
gpl-2.0
mtroyka/Zero-K
LuaRules/Gadgets/mex_spot_finder.lua
2
14101
function gadget:GetInfo() return { name = "Metalspot Finder Gadget", desc = "Finds metal spots", author = "Niobium, modified by Google Frog", version = "v1.1", date = "November 2010", license = "GNU GPL, v2 or later", layer = -math.huge + 5, enabled = true } end ---------...
gpl-2.0
thedraked/darkstar
scripts/zones/West_Sarutabaruta/npcs/Cavernous_Maw.lua
29
1467
----------------------------------- -- Area: West Sarutabaruta -- NPC: Cavernous Maw -- Teleports Players to West Sarutabaruta [S] -- @pos -2.229 0.001 -162.715 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
thedraked/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f5.lua
12
1097
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 270 -34 100 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); -----...
gpl-3.0
mamaddeveloper/7894
plugins/anti_spam.lua
191
5291
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id == our_id then return msg end -- Save...
gpl-2.0
thedraked/darkstar
scripts/globals/spells/temper.lua
27
1135
----------------------------------------- -- -- Spell: Temper -- ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targe...
gpl-3.0
MonkeyFirst/Urho3D
Source/Urho3D/LuaScript/pkgs/ToCppHook.lua
8
7914
-- -- Copyright (c) 2008-2018 the Urho3D project. -- -- 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, m...
mit
thedraked/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm6.lua
14
2470
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm6 (???) (Tower 6) -- Involved in Quest: THF AF "As Thick As Thieves" -- @pos 363.481 23.600 6.335 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ----------------------------------...
gpl-3.0
ukoloff/rufus-lua-win
vendor/lua/lib/lua/logging/rolling_file.lua
3
2248
--------------------------------------------------------------------------- -- RollingFileAppender is a FileAppender that rolls over the logfile -- once it has reached a certain size limit. It also mantains a -- maximum number of log files. -- -- @author Tiago Cesar Katcipis (tiagokatcipis@gmail.com) -- -- @copyright...
mit
SnabbCo/snabbswitch
src/apps/intel_mp/testrecv.lua
6
2675
-- Helper module for testing intel_mp driver receive module(..., package.seeall) local intel = require("apps.intel_mp.intel_mp") local basic = require("apps.basic.basic_apps") local ffi = require("ffi") local C = ffi.C function test(pciaddr, qno, vmdq, poolno, macaddr, vlan) local c = config.new() if vmdq then...
apache-2.0
NPLPackages/main
script/kids/3DMapSystemApp/mcml/mcml_base.lua
1
59937
--[[ Title: base mcml function and base Node implementation of mcml Author(s): LiXizhi Date: 2008/2/15 Desc: only included and used by mcml use the lib: ------------------------------------------------------------ NPL.load("(gl)script/kids/3DMapSystemApp/mcml/mcml_base.lua"); local node = Map3DSystem.mcml.new("pe:profi...
gpl-2.0
yunGit/skynet
examples/client.lua
67
2101
package.cpath = "luaclib/?.so" package.path = "lualib/?.lua;examples/?.lua" if _VERSION ~= "Lua 5.3" then error "Use lua 5.3" end local socket = require "clientsocket" local proto = require "proto" local sproto = require "sproto" local host = sproto.new(proto.s2c):host "package" local request = host:attach(sproto.n...
mit
thedraked/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Mariyaam.lua
14
1080
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Mariyaam -- Type: Item Deliverer -- @pos -125 -6 90 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/Te...
gpl-3.0
thedraked/darkstar
scripts/globals/items/culinarians_belt.lua
18
1172
----------------------------------------- -- ID: 15451 -- Item: Culinarian's Belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Alchemy Skill +3 ----------------------------------------- require("scripts...
gpl-3.0