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
rpetit3/darkstar
scripts/zones/Mamool_Ja_Training_Grounds/Zone.lua
17
1101
----------------------------------- -- -- Zone: Mamool_Ja_Training_Grounds -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Mamool_Ja_Training_Grounds/TextIDs"] = nil; require("scripts/zones/Mamool_Ja_Training_Grounds/TextIDs"); ------------------------------...
gpl-3.0
rpetit3/darkstar
scripts/globals/abilities/pets/searing_light.lua
34
1119
--------------------------------------------------- -- Searing Light --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); require("/scripts/globals/magic"); --------------------------------------------...
gpl-3.0
jgm/lunamark-standalone
src/main.lua
5
16307
#!/usr/bin/env lua -- lunamark program --[===[ @startman # NAME lunamark - converts markdown to many formats # SYNOPSIS lunamark [options] [file..] # DESCRIPTION Lunamark is a lua library and command-line program for conversion of markdown to other textual formats. Currently HTML, Docbook, ConTeXt, LaTeX, and Gro...
mit
sepehr5000/NOD32-BOT
plugins/anti_fosh.lua
49
1591
local function run(msg, matches) if is_owner(msg) then return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then if data[tostring(msg.to.id)]['settings'] then if data[tostring(msg.to.id)]['settings']['antifosh'] then lock_fos...
gpl-2.0
rpetit3/darkstar
scripts/globals/items/strip_of_smoked_mackerel.lua
18
1181
----------------------------------------- -- ID: 5943 -- Item: Strip of Smoked Mackerel -- Food Effect: 30Min, All Races ----------------------------------------- -- Agility 4 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
rpetit3/darkstar
scripts/globals/mobskills/Metatron_Torment.lua
33
1055
--------------------------------------------- -- Metatron Torment -- -- Description: Lowers target's defense. Bravura/Abaddon Killer: Temporarily lowers damage taken from enemies. -- Type: Physical -- Range: Melee --------------------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
rpetit3/darkstar
scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Turbulent_Storm.lua
29
1838
----------------------------------- -- Area: The Eldieme Necropolis [S] -- NPC: Turbulent Storm -- Note: Starts Quest "The Fighting Fourth" -- @pos 422.461 -48.000 175 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
rpetit3/darkstar
scripts/zones/Kamihr_Drifts/Zone.lua
16
1187
----------------------------------- -- -- Zone: Kamihr Drifts -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil; require("scripts/zones/Kamihr_Drifts/TextIDs"); ----------------------------------- -- onInitialize ----------------...
gpl-3.0
Marnador/OpenRA-Marn-TS-Edition
mods/ra/maps/soviet-04b/soviet04b.lua
14
4103
RunInitialActivities = function() Harvester.FindResources() Helper.Destroy() IdlingUnits() Trigger.AfterDelay(DateTime.Seconds(1), function() BringPatrol1() Trigger.AfterDelay(DateTime.Seconds(5), function() BringPatrol2() end) BuildBase() end) Utils.Do(Map.NamedActors, function(actor) if actor.Own...
gpl-3.0
tommo/gii
lib/lua/mock_edit/tools/TransformProxy.lua
1
1581
module 'mock_edit' CLASS: TransformProxy () :MODEL{} function TransformProxy:__init() self.proxy = MOAITransform.new() end function TransformProxy:setTarget( target ) self.target = target end function TransformProxy:attachToTransform( trans ) inheritTransform( self.proxy, trans ) end function TransformProxy:s...
mit
rpetit3/darkstar
scripts/zones/Qulun_Dome/npcs/_441.lua
13
1639
----------------------------------- -- Area: Qulun Dome -- NPC: Door -- Involved in Mission: Limit Break 3 -- @pos 299.999 37.864 47.067 148 ----------------------------------- package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("s...
gpl-3.0
MinetestForFun/server-minetestforfun-creative
mods/maptools/default_nodes.lua
1
18381
--[[ Map Tools: unbreakable default nodes Copyright (c) 2012-2015 Calinou and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] local S = maptools.intllib maptools.creative = maptools.config["hide_from_creative_inventory"] minetest.register_node("maptools:stone", { descriptio...
unlicense
rpetit3/darkstar
scripts/zones/Castle_Oztroja/npcs/_m74.lua
13
2224
----------------------------------- -- Area: Castle Oztroja -- NPC: _m74 (Torch Stand) -- Notes: Opens door _477 when _m72 to _m75 are lit -- @pos -59.525 -72.320 -62.379 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
rpetit3/darkstar
scripts/globals/mobskills/Hellclap.lua
31
1162
--------------------------------------------------- -- Hellclap -- --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onMobSkillCheck(target,m...
gpl-3.0
brendonjustin/vlc
share/lua/playlist/koreus.lua
7
1858
--[[ Copyright © 2009 the VideoLAN team 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, or (at your option) any later version. This program is distributed in ...
gpl-2.0
Endika/Algorithm-Implementations
Alpha_Beta_Pruning/Lua/Yonaba/alpha_beta_pruning.lua
26
1052
-- Alpha-beta pruning search implementation -- See: http://en.wikipedia.org/wiki/Alpha%E2%80%93beta_pruning -- Internal recursive alpha-beta pruning search local function alphabeta(tree, node, depth, alpha, beta, maximize) if depth == 0 or tree:isLeaf(node) then return tree:heuristic(node) end local children...
mit
rpetit3/darkstar
scripts/zones/Rolanberry_Fields_[S]/npcs/Cavernous_Maw.lua
27
2142
----------------------------------- -- Area: Sauromugue Champaign -- NPC: Cavernous Maw -- @pos -198 8 360 91 -- Teleports Players to Rolanberry Fields ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
rpetit3/darkstar
scripts/zones/Windurst_Walls/npcs/_6n2.lua
12
5603
----------------------------------- -- Area: Windurst Walls -- Door: House of the Hero -- Involved in Mission 2-1 -- Involved In Quest: Know One's Onions, Onion Rings, The Puppet Master, Class Reunion -- @pos -26 -13 260 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = ni...
gpl-3.0
Afforess/Misanthrope
stdlib/entity/entity.lua
3
3482
--- Entity module -- @module Entity require 'stdlib/core' require 'stdlib/surface' require 'stdlib/area/area' Entity = {} --- Converts an entity and its selection_box to the area around it -- @param entity to convert to an area -- @return area that entity selection_box is valid for function Entity.to_selection_area(...
isc
Bobbyjoness/To-Do-App-Client
utils.lua
2
3288
local http = require "socket.http" local socket = require "socket" local ltn12 = require "ltn12" local mime = require "mime" local socket = require "socket" local utf8 = require "utf8" local utils = {} function utils.request( url, method, timeout, data ) --shorten request version for a RESTful api utilizing json met...
mit
rpetit3/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Cavernous_Maw.lua
58
1890
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Cavernous Maw -- @pos -334 -24 52 -- Teleports Players to Abyssea - Attohwa ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setting...
gpl-3.0
rpetit3/darkstar
scripts/zones/Northern_San_dOria/npcs/Matildie.lua
13
1716
----------------------------------- -- Area: Northern San d'Oria -- NPC: Matildie -- Adventurer's Assistant ------------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
spacebuild/spacebuild
lua/entities/rd_node_valve/cl_init.lua
8
5771
include('shared.lua') ENT.RenderGroup = RENDERGROUP_BOTH local OOO = {} OOO[0] = "Closed" OOO[1] = "Open" function ENT:Draw(bDontDrawModel) self:DoNormalDraw() --draw beams by MadDog CAF.GetAddon("Resource Distribution").Beam_Render(self) if (Wire_Render) then Wire_Render(self) end end ...
apache-2.0
tvandijck/premake-core
modules/gmake/tests/cs/test_sources.lua
15
1449
-- -- tests/actions/make/cs/test_sources.lua -- Tests source file listings for C# Makefiles. -- Copyright (c) 2013-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("make_cs_sources") local make = p.make local cs = p.make.cs local project = p.project -- -- Setup -- loc...
bsd-3-clause
Rodeo314/tim-vlc-2.1
share/lua/playlist/zapiks.lua
89
3182
--[[ $Id$ Copyright © 2011 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.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, or (at your opt...
gpl-2.0
brendonjustin/vlc
share/lua/playlist/zapiks.lua
89
3182
--[[ $Id$ Copyright © 2011 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.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, or (at your opt...
gpl-2.0
rpetit3/darkstar
scripts/zones/Bastok_Mines/npcs/Ranpi-Pappi.lua
13
1062
----------------------------------- -- Area: Bastok Mines -- NPC: Ranpi-Pappi -- Type: Standard NPC -- @zone: 234 -- @pos -4.535 -1.044 49.881 -- -- Auto-Script: Requires Verification (Verified by Brando) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scri...
gpl-3.0
tvandijck/premake-core
modules/vstudio/tests/vc2010/test_tokens.lua
14
2002
-- -- test_tokens.lua -- Generate a NuGet packages.config file. -- Copyright (c) Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_vs2010_tokens") local vc2010 = p.vstudio.vc2010 -- -- Setup -- local wks, prj function suite.setup() p.action.set("vs2010") wks...
bsd-3-clause
horizonrz/bteam
plugins/id.lua
41
6252
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
iRGBit/Dato-Core
src/unity/python/graphlab/lua/pl/Date.lua
14
17714
--- Date and Date Format classes. -- See @{05-dates.md|the Guide}. -- -- Dependencies: `pl.class`, `pl.stringx` -- @module pl.Date -- @pragma nostrip local class = require 'pl.class' local os_time, os_date = os.time, os.date local stringx = require 'pl.stringx' local utils = require 'pl.utils' local assert_arg,assert...
agpl-3.0
opentechinstitute/luci-commotion-linux
libs/web/luasrc/cbi/datatypes.lua
16
6003
--[[ LuCI - Configuration Bind Interface - Datatype Tests (c) 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...
apache-2.0
nokizorque/ucd
UCDatm/client.lua
1
4840
local sX, sY = guiGetScreenSize() local window = GuiWindow(0, 0, 400, 400, "UCD | Banking", false) window.movable = false window.sizable = false window.visible = false for _, data in ipairs(atms) do local atm = Object(2942, data.x, data.y, data.z-0.35, 0, 0, data.rot-180) atm.breakable = false end window:setPositio...
mit
rpetit3/darkstar
scripts/zones/Lower_Jeuno/npcs/Rhimonne.lua
13
1119
----------------------------------- -- Area: Lower Jeuno -- NPC: Rhimonne -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
vseledkin/april-ann
packages/language_model/ngram_lira/test/test_bunch_hashed_lira.lua
3
1121
local check = utest.check local path = arg[0]:get_path() local vocab = lexClass.load(io.open(path .. "vocab")) local model = language_models.load(path .. "dihana3gram.lira.gz", vocab, "<s>", "</s>") local unk_id = -1 local result = language_models.test_set_ppl{ lm = model, vocab...
gpl-3.0
pixlar/starboundQuests
missionQuests/quests/scripts/generated/instance.lua
1
4768
require "/scripts/util.lua" require "/quests/scripts/questutil.lua" require "/quests/scripts/generated/common.lua" function onInit() self.descriptions = config.getParameter("descriptions") self.warpEntity = quest.parameters().questGiver.uniqueId self.warpAction = config.getParameter("warpAction") self.warpDia...
mit
rpetit3/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Renten-Tonten.lua
13
1068
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Renten-Tonten -- Type: Standard NPC -- @zone: 94 -- @pos 133.840 -6.75 173.305 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
sys4-fr/server-minetestforfun
mods/factions/factions.lua
9
21536
------------------------------------------------------------------------------- -- factions Mod by Sapier -- -- License WTFPL -- --! @file factions.lua --! @brief factions core file containing datastorage --! @copyright Sapier --! @author Sapier --! @date 2013-05-08 -- -- Contact sapier a t gmx net --------------------...
unlicense
rpetit3/darkstar
scripts/globals/weaponskills/full_swing.lua
25
1283
----------------------------------- -- Full Swing -- Staff weapon skill -- Skill Level: 200 -- Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Flame Gorget & Thunder Gorget. -- Aligned with the Flame Belt & Thunder Belt. -- Element: None -- Modifiers: STR:50% --...
gpl-3.0
aradml/-
plugins/banhammer.lua
1
13195
local function pre_process(msg) local data = load_data(_config.moderation.data) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Chec...
gpl-2.0
gligneul/FastLua
benchmarks/regex-dna.lua
1
1774
-- The Computer Language Benchmarks Game -- http://benchmarksgame.alioth.debian.org/ -- contributed by Jim Roseborough -- modified by Victor Tang -- optimized & replaced inefficient use of gsub with gmatch -- partitioned sequence to prevent extraneous redundant string copy seq = io.read("*a") ilen, seq = #seq, seq:gsu...
mit
martinrotter/textilosaurus
src/libtextosaurus/3rd-party/scintilla-lt/lexlua/ansi_c.lua
2
3454
-- Copyright 2006-2019 Mitchell mitchell.att.foicica.com. See License.txt. -- C LPeg lexer. local lexer = require('lexer') local token, word_match = lexer.token, lexer.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local lex = lexer.new('ansi_c') -- Whitespace. lex:add_rule('whitespace', token(lexer.WHITESPACE, l...
gpl-3.0
tvandijck/premake-core
modules/android/tests/test_android_project.lua
6
2570
local p = premake local suite = test.declare("test_android_project") local vc2010 = p.vstudio.vc2010 -- -- Setup -- local wks, prj function suite.setup() p.action.set("vs2015") wks, prj = test.createWorkspace() end local function prepare() system "android" local cfg = test.getconfig(prj, "Debug", pl...
bsd-3-clause
rpetit3/darkstar
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_GK.lua
23
1469
----------------------------------- -- Area: LaLoff Amphitheater -- MOB: Ark Angel GK ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/status"); ----...
gpl-3.0
schidler/ionic-luci
applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua
132
1057
--[[ netdiscover_devinfo - SIP Device Information (c) 2009 Daniel Dickinson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- require("luci.i1...
apache-2.0
rpetit3/darkstar
scripts/zones/Lower_Jeuno/npcs/Audee.lua
27
1733
----------------------------------- -- Area: Lower Jeuno -- NPC: Audee -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- on...
gpl-3.0
tvandijck/premake-core
modules/vstudio/tests/cs2005/test_project_refs.lua
14
3241
-- -- tests/actions/vstudio/cs2005/test_project_refs.lua -- Test the project dependencies block of a Visual Studio 2005+ C# project. -- Copyright (c) 2012 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_cs2005_project_refs") local dn2005 = p.vstudio.dotnetbase -- -- ...
bsd-3-clause
rpetit3/darkstar
scripts/zones/Kazham/npcs/Swift.lua
13
1029
----------------------------------- -- Area: Kazham -- NPC: Swift -- Type: Standard NPC -- @zone: 250 -- @pos 2.017 -5 -1.880 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; -----------------------------------...
gpl-3.0
iamgreaser/pysnip
feature_server/iceball/lib_collect.lua
5
3165
--[[ This file is part of Ice Lua Components. Ice Lua Components is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
gpl-3.0
MinetestForFun/server-minetestforfun-creative
mods/WorldEdit/worldedit_gui/functionality.lua
1
34743
--saved state for each player local gui_nodename1 = {} --mapping of player names to node names (arbitrary strings may also appear as values) local gui_nodename2 = {} --mapping of player names to node names (arbitrary strings may also appear as values) local gui_axis1 = {} --mapping of player names to axes (one of 1, 2,...
unlicense
bcsanches/phobos_deps
bullet-2.82-r2704/Demos/OpenCLClothDemo/AMD/premake4.lua
12
1104
hasCL = findOpenCL_AMD() if (hasCL) then project "AppOpenCLClothDemo_AMD" defines { "USE_AMD_OPENCL","CL_PLATFORM_AMD"} initOpenCL_AMD() language "C++" kind "ConsoleApp" targetdir "../../.." libdirs {"../../../Glut"} links { "LinearMath", "BulletCollision", "BulletDynamics", ...
apache-2.0
BooM-amour/eagle
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
esguk811/DarkRP
gamemode/modules/base/sh_checkitems.lua
2
15962
--[[ The base elements are shared by every custom item ]] local baseSchema = tc.checkTable{ buttonColor = tc.addHint( tc.optional(tc.tableOf(isnumber)), "The buttonColor must be a Color value." ), category = tc.addHint( tc.optional(isstring), ...
mit
ddouglascarr/rooset
lfframework/framework/env/auth/openid/verify.lua
1
4129
--[[-- claimed_identifier, -- identifier owned by the user errmsg, -- error message in case of failure errcode = -- error code in case of failure (TODO: not implemented yet) auth.openid.verify{ force_https = force_https, -- only allow https curl_options = cur...
mit
iRGBit/Dato-Core
src/unity/python/graphlab/lua/pl/test.lua
26
4519
--- Useful test utilities. -- -- test.asserteq({1,2},{1,2}) -- can compare tables -- test.asserteq(1.2,1.19,0.02) -- compare FP numbers within precision -- T = test.tuple -- used for comparing multiple results -- test.asserteq(T(string.find(" me","me")),T(2,3)) -- -- Dependencies: `pl.utils`, `pl.tablex`, `...
agpl-3.0
rpetit3/darkstar
scripts/globals/items/pipin_hot_popoto.lua
18
1273
----------------------------------------- -- ID: 4282 -- Item: pipin_hot_popoto -- Food Effect: 60Min, All Races ----------------------------------------- -- HP 25 -- Vitality 3 -- HP recovered while healing 1 ----------------------------------------- require("scripts/globals/status"); -------------------------------...
gpl-3.0
rpetit3/darkstar
scripts/zones/Mhaura/npcs/Take.lua
29
4533
----------------------------------- -- Area: Mhaura -- NPC: Take -- Involved In Quest: RYCHARDE_THE_CHEF -- Starts and finishes quest: Expertice ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scr...
gpl-3.0
tvandijck/premake-core
modules/d/actions/vcxproj.lua
5
8591
-- -- d/actions/vcxproj.lua -- Generate a VisualD .visualdproj project. -- Copyright (c) 2012-2015 Manu Evans and the Premake project -- local p = premake require ("vstudio") p.modules.d.vc2010 = {} local vc2010 = p.vstudio.vc2010 local m = p.modules.d.vc2010 m.elements = {} local vstudio = p.vstudio loca...
bsd-3-clause
nokizorque/ucd
UCDphone/apps/settings/settings_c.lua
1
5795
Settings = {} Settings.open = false function Settings.create() phone.settings = {} phone.settings.gridlist = GuiGridList(19, 90, 272, 275, false, phone.image["phone_window"]) phone.settings.gridlist.sortingEnabled = false phone.settings.gridlist:addColumn("Setting/category name", 0.55) phone.settings.gridlist:a...
mit
omidtarh/testbot
plugins/remind.lua
362
1875
local filename='data/remind.lua' local cronned = load_from_file(filename) local function save_cron(msg, text,date) local origin = get_receiver(msg) if not cronned[date] then cronned[date] = {} end local arr = { origin, text } ; table.insert(cronned[date], arr) serialize_to_file(cronned, filename) re...
gpl-2.0
abudnik/elliptics
wireshark/elliptics.lua
11
3222
do local elliptics_proto = Proto("elliptics", "Elliptics"); local elliptics_command = function(label, fields) return { ["label"] = label, ["parse"] = function(buffer, off, tree) return 1 end } end local commands = { [1] = elliptics_command( "DNET_CMD_LOOKUP", {} ), [2] = ellipt...
lgpl-3.0
rpetit3/darkstar
scripts/globals/weaponskills/blade_retsu.lua
19
2071
----------------------------------- -- Blade Retsu -- Katana weapon skill -- Skill Level: 30 -- Delivers a two-hit attack. Paralyzes enemy. Duration of paralysis varies with TP. -- Proc rate of Paralyze seems to be based on your level in comparison to the targets level. The higher level you are compared to your target,...
gpl-3.0
rpetit3/darkstar
scripts/globals/spells/sword_madrigal.lua
27
1566
----------------------------------------- -- Spell: Sword Madrigal -- Gives party members accuracy ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
rpetit3/darkstar
scripts/zones/Apollyon/mobs/Barometz.lua
2
1258
----------------------------------- -- Area: Apollyon NE -- NPC: Barometz ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ---------------------------------...
gpl-3.0
rpetit3/darkstar
scripts/globals/mobskills/Venom_Spray.lua
36
1044
--------------------------------------------- -- Venom -- -- Description: Deals damage in a fan shaped area. Additional effect: poison -- Type: Magical Water -- Utsusemi/Blink absorb: Ignores shadows -- Range: 10' cone -- Notes: Additional effect can be removed with Poisona. --------------------------------------...
gpl-3.0
rpetit3/darkstar
scripts/globals/items/jack-o-pie.lua
18
1257
----------------------------------------- -- ID: 5644 -- Item: jack-o-pie -- Food Effect: 1hour, All Races ----------------------------------------- -- MP 45 -- CHR -1 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChec...
gpl-3.0
rpetit3/darkstar
scripts/zones/Southern_San_dOria/npcs/HomePoint#3.lua
27
1277
----------------------------------- -- Area: Southern San dOria -- NPC: HomePoint#3 -- @pos 140 -2 123 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/g...
gpl-3.0
rpetit3/darkstar
scripts/zones/Sealions_Den/Zone.lua
30
2133
----------------------------------- -- -- Zone: Sealions_Den (32) -- ----------------------------------- package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Sealions_Den/TextIDs"); ---------------------------------...
gpl-3.0
vseledkin/april-ann
packages/language_model/ngram_lira/test/test_ngramlira.lua
3
1579
-- FIXME: This test cannot be finished until we remember a corner case in which -- lira model simplifies arpa specification local path = arg[0]:dirname() local filename = path .. "dihana3gram" local check = utest.check local T = utest.test local IT = iterator T("NoBackoffIteratorTest", function() local function g...
gpl-3.0
rpetit3/darkstar
scripts/zones/Port_Bastok/npcs/Evelyn.lua
16
1457
----------------------------------- -- Area: Port Bastok -- NPC: Evelyn -- Only sells when Bastok controlls Gustaberg Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bastok/TextIDs"]...
gpl-3.0
lukego/snabbswitch
lib/ljsyscall/syscall/osx/errors.lua
24
3944
-- OSX error messages return { PERM = "Operation not permitted", NOENT = "No such file or directory", SRCH = "No such process", INTR = "Interrupted system call", IO = "Input/output error", NXIO = "Device not configured", ["2BIG"] = "Argument list too long", NOEXEC = "Exec format error", BADF = "Bad f...
apache-2.0
nokizorque/ucd
UCDbillboards/server/BillBoardsS.lua
1
2450
--[[ Name: 101ResourceReleases Filename: BillBoardsS.lua Author: Sam@ke --]] local classInstance = nil BillBoardsS = {} function BillBoardsS:constructor() self.updateDuration = 4000 self.billBoadsTable = {} self.availableADTextures = 10 self.availableADEffects = 3 -- from 1 to 3 self.currentAD = 1 sel...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/commands/bleedingShot.lua
1
2533
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
agpl-3.0
greeshmab/vlc
share/lua/sd/frenchtv.lua
111
1356
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot 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, or ...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/inventory/lightsaber_inventory_1.lua
3
2252
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/deed/pet_deed/merek_deed.lua
2
2727
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
AHXR/Dreamstride-YGOPro-
script/c90000011.lua
1
2566
--Dreamstride - Connection Inflicter function c90000011.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode2(c,90000002,90000001,true,true) -- Special Summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(90000011,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT...
gpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/vesp_hue.lua
3
2148
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/screenplays/hondo/merchants/merchant_system.lua
1
11463
-- Legend of Hondo Merchant System -- By R. Bassett Jr. (Tatwi) - www.tpot.ca -- July 2015, updated for Lua 5.3 compatibility July 2017 local ObjectManager = require("managers.object.object_manager") MerchantSystem = ScreenPlay:new { numberOfActs = 1, states = { active = 2, complete = 4, }, screenplayName = ...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/fishing/fish/faa.lua
3
2210
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/rori/gundark_raider.lua
1
1239
gundark_raider = Creature:new { objectName = "@mob/creature_names:gundark_raider", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "gundark_gang", faction = "thug", level = 9, chanceHit = 0.27, damageMin = 80, damageMax = 90, baseXp = 292, baseHAM = 675, baseHAMmax = 825, armor = 0, res...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/deed/pet_deed/deed_r3_basic.lua
2
4053
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_selonian_f_01.lua
3
2200
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
TerraME/terrame
packages/base/tests/observer/basics/Clock.lua
3
2407
------------------------------------------------------------------------------------------- -- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling. -- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org -- This code is part of the TerraME framework. -- This framework is f...
lgpl-3.0
TerraME/terrame
packages/base/tests/functional/alternative/Cell.lua
3
5611
------------------------------------------------------------------------------------------- -- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling. -- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org -- This code is part of the TerraME framework. -- This framework is f...
lgpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/crafted/weapon/missile/wpn_launcher_proton_mk4.lua
3
2984
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/deed/city_deed/bank_tatooine_deed.lua
3
2833
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/components/chassis/serverobjects.lua
3
5072
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_imperial_admiral_m_2.lua
3
2228
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/lair/base/poi_all_lair_mound_large_fog_green.lua
1
2343
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_denell_kelvannon.lua
3
2212
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_sean_questp_house.lua
3
2216
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/component/droid/harvest_module.lua
2
2894
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_selonian_f_11.lua
3
2200
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/lair/npc_theater/endor_korga_dark_shaman_neutral_small_theater.lua
3
1122
endor_korga_dark_shaman_neutral_small_theater = Lair:new { mobiles = { {"korga_dark_shaman",1}, {"tainted_korga_dark_shaman",1}, {"bewitching_korga_dark_shaman",1} }, spawnLimit = 9, buildingsVeryEasy = {"object/building/poi/endor_ewok_small1.iff","object/building/poi/endor_ewok_small2.iff","object/building/...
agpl-3.0
sprunk/Zero-K
LuaRules/Configs/lups_thruster_fxs.lua
13
1884
local tbl = { gunshipheavytrans = { {class='AirJet', options={color={0.2,0.4,0.8}, width=8, length=35, baseLength = 9, piece="engineEmit", onActive=true, noIconDraw = true}}, }, gunshipskirm = { {class='AirJet', options={color={0.6,0.1,0.0}, width=3.5, length=22, baseLength = 6, piece="thrust1", onActive=...
gpl-2.0
sprunk/Zero-K
LuaUI/Widgets/gui_chili_ai_start_pos.lua
2
5311
function widget:GetInfo() return { name = "Chili AI Set Start", desc = "UI for setting AI start position.", author = "GoogleFrog", date = "1 July 2017", license = "GNU GPL, v2 or later", layer = 0, handler = true, enabled = true, } end VFS.Include("LuaRules/Configs/customc...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/crafted/repair/repair_kit_weapon.lua
3
2677
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/loot/simple_kit/motor_small_blue.lua
3
2252
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/building/poi/naboo_afcitexplor_large1.lua
2
2258
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/waypoint/waypoint.lua
3
2156
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0