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
Kosmos82/kosmosdarkstar
scripts/globals/abilities/fire_maneuver.lua
35
1604
----------------------------------- -- Ability: Fire Maneuver -- Enhances the effect of fire attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
vizewang/skynet
lualib/snax/hotfix.lua
39
2268
local si = require "snax.interface" local io = io local hotfix = {} local function envid(f) local i = 1 while true do local name, value = debug.getupvalue(f, i) if name == nil then return end if name == "_ENV" then return debug.upvalueid(f, i) end i = i + 1 end end local function collect_uv(f , ...
mit
phi-gamma/luaotfload
src/fontloader/misc/fontloader-mplib.lua
2
23621
if not modules then modules = { } end modules ['luatex-mplib'] = { version = 1.001, comment = "companion to luatex-mplib.tex", author = "Hans Hagen & Taco Hoekwater", copyright = "ConTeXt Development Team", license = "public domain", } --[[ldx-- <p>This module is a stripped down version of...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Tavnazian_Safehold/npcs/Morangeart.lua
13
1072
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Morangeart -- Type: ENM Quest Activator -- @zone: 26 -- @pos -74.308 -24.782 -28.475 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"]...
gpl-3.0
tinymins/MY
MY_!Base/src/lib/Base.lua
1
40054
-------------------------------------------------------- -- This file is part of the JX3 Plugin Project. -- @desc : »ù´¡º¯Êýö¾Ù -- @copyright: Copyright (c) 2009 Kingsoft Co., Ltd. -------------------------------------------------------- -- ##########################################################################...
bsd-3-clause
Tech-IT-Easy/Teach-IT-Easy
Project/src/i18n/main.lua
1
1985
--[[TEACH IT EASY, an educational games platform Copyright (C) 2015 Linköping University 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 3 of the License, or (at y...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/serving_of_beaugreen_sautee.lua
18
1404
----------------------------------------- -- ID: 4572 -- Item: serving_of_beaugreen_sautee -- Food Effect: 180Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -1 -- Ranged ATT % 7 -- Ranged ATT Cap 15 ----------------------------------------- require("scripts/globals/status"); -------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Behemoths_Dominion/npcs/Planar_Rift.lua
14
1427
----------------------------------- -- Area: Behemoth's Dominion -- NPC: ??? -- Involved In Quest: The Talekeeper's Gift -- @pos 211 4 -79 127 ----------------------------------- package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Port_Windurst/npcs/Choyi_Totlihpa.lua
13
1471
----------------------------------- -- Area: Port Windurst -- NPC: Choyi Totlihpa -- Type: Standard NPC -- @pos -58.927 -5.732 132.819 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Selbina/npcs/Dohdjuma.lua
12
1429
----------------------------------- -- Area: Selbina -- NPC: Dohdjuma -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); ---------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/The_Garden_of_RuHmet/bcnms/when_angels_fall.lua
30
2268
----------------------------------- -- Area: The_Garden_of_RuHmet -- Name: when_angels_fall ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("script...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Buburimu_Peninsula/Zone.lua
15
4493
----------------------------------- -- -- Zone: Buburimu_Peninsula (118) -- ----------------------------------- package.loaded[ "scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Buburimu_Peninsula/TextI...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/orange_kuchen.lua
18
1209
----------------------------------------- -- ID: 4393 -- Item: orange_kuchen -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 13 -- Magic Cap 75 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
exochron/toy-box-enhanced
UI/FilterMenu.lua
1
15713
local ADDON_NAME, ADDON = ... local SETTING_COLLECTED = "collected" local SETTING_ONLY_FAVORITES = "onlyFavorites" local SETTING_NOT_COLLECTED = "notCollected" local SETTING_ONLY_USEABLE = "onlyUsable" local SETTING_HIDDEN = "hidden" local SETTING_SECRET = "secret" local SETTING_SOURCE = "source" local SETTING_SORT = ...
gpl-3.0
ld-test/luacheck
spec/parser_spec.lua
1
49351
local parser = require "luacheck.parser" local function strip_locations(ast) ast.location = nil ast.end_location = nil ast.end_column = nil ast.equals_location = nil ast.first_token = nil for i=1, #ast do if type(ast[i]) == "table" then strip_locations(ast[i]) end end end lo...
mit
gulafaran/awesome
src/lib/awful/client.lua
1
28538
--------------------------------------------------------------------------- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008 Julien Danjou -- @release @AWESOME_VERSION@ --------------------------------------------------------------------------- -- Grab environment we need local util = require("aw...
gpl-2.0
Igalia/snabb
src/lib/yang/alarms.lua
6
32084
module(..., package.seeall) local data = require('lib.yang.data') local lib = require('core.lib') local util = require('lib.yang.util') local counter = require("core.counter") local format_date_as_iso_8601 = util.format_date_as_iso_8601 local parse_date_as_iso_8601 = util.parse_date_as_iso_8601 local alarm_handler f...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Temenos/mobs/Kindred_Dark_Knight.lua
7
1102
----------------------------------- -- Area: Temenos N T -- NPC: Kindred_Dark_Knight ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------------...
gpl-3.0
TannerRogalsky/haex
states/game/game_win.lua
1
1686
local Win = Game:addState('Win') function Win:enteredState() self.start_t = self.t self.laugh_track_time = 5.5 end function Win:update(dt) self.t = self.t + dt self.player:update(dt) end function Win:draw() push:start() self.camera:set() local ratio = math.min((self.t - self.start_t) / self.laugh_trac...
mit
tinymins/MY
MY_!Base/src/PS.Welcome.lua
1
11774
-------------------------------------------------------- -- This file is part of the JX3 Plugin Project. -- @desc : »¶Ó­Ò³ -- @copyright: Copyright (c) 2009 Kingsoft Co., Ltd. -------------------------------------------------------- -----------------------------------------------------------------------------------...
bsd-3-clause
vinzenz/premake
tests/test_project.lua
1
2722
-- -- tests/test_project.lua -- Automated test suite for the project support functions. -- Copyright (c) 2008, 2009 Jason Perkins and the Premake project -- local _project = premake.project T.project = { } local cfg, result function T.project.setup() _ACTION = "gmake" cfg = {} cfg.project = {} cfg.langu...
gpl-2.0
april-org/april-ann
packages/bayesian/test/demo_hmc.lua
3
1300
local gp = require "april_tools.gnuplot"() local rnd = random(1234) local x = stats.dist.normal(0,1):sample(rnd, matrix(2,1)):transpose() -- A = inv([1, 1.98; 1.98, 4]); local A = matrix(2,2,{ 50.251256, -24.874372, -24.874372, 12.562814 }) function plot_samples(samples) local data = matrix...
gpl-3.0
wingo/snabbswitch
src/core/config.lua
14
2514
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- 'config' is a data structure that describes an app network. module(..., package.seeall) local lib = require("core.lib") -- API: Create a new configuration. -- Initially there are no apps or links. function new () return { app...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Abyssea-La_Theine/Zone.lua
33
1482
----------------------------------- -- -- Zone: Abyssea - La_Theine -- ----------------------------------- package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-La_Thein...
gpl-3.0
Igalia/snabb
lib/ljsyscall/syscall/freebsd/types.lua
24
10466
-- FreeBSD types 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 function init(types) local abi = requ...
apache-2.0
hadow/OpenRA
mods/ra/maps/allies-04/allies04.lua
5
4644
ConvoyUnits = { { "ftrk", "ftrk", "truk", "truk", "apc", "ftrk" }, { "ftrk", "3tnk", "truk", "truk", "apc" }, { "3tnk", "3tnk", "truk", "truk", "ftrk" } } ConvoyRallyPoints = { { SovietEntry1.Location, SovietRally1.Location, SovietRally3.Location, SovietRally5.Location, SovietRally4.Location, SovietRally6.Locatio...
gpl-3.0
Nax/citizenhack
dat/bigrm-8.lua
1
1900
des.level_init({ style = "solidfill", fg = " " }); des.level_flags("mazelevel"); des.map([[ ---------------------------------------------- |............................................--- --.............................................--- ...
mit
Kosmos82/kosmosdarkstar
scripts/globals/weaponskills/realmrazer.lua
11
1448
----------------------------------- -- Realmrazer -- Club weapon skill -- Skill Level: 357 -- Delivers a seven-hit attack. params.accuracy varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers: MND:73~...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Zeruhn_Mines/npcs/Drake_Fang.lua
13
2334
----------------------------------- -- Area: Zeruhn Mines -- NPC: Drake Fang -- Involved in Mission: Bastok 6-1, 8-2 -- @pos -74 0.1 58 172 ----------------------------------- package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("sc...
gpl-3.0
ld-test/luacheck
spec/cli_spec.lua
1
52361
local utils = require "luacheck.utils" local multithreading = require "luacheck.multithreading" local helper = require "spec.helper" local luacheck_cmd = helper.luacheck_command() setup(helper.before_command) teardown(helper.after_command) local function get_output(command, wd, color) command = ("%s %s 2>&1"):form...
mit
Kosmos82/kosmosdarkstar
scripts/globals/weaponskills/one_inch_punch.lua
11
1558
----------------------------------- -- One Inch Punch -- Hand-to-Hand weapon skill -- Skill level: 75 -- Delivers an attack that ignores target's defense. Amount ignored varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: None -- Modifiers: VI...
gpl-3.0
firebaugh/Digitowls
WebotsController/Player.old/Vision/Velocity.lua
5
1188
module(..., package.seeall); require('Config'); require('wcm'); require('vector'); require('ballfilter'); x = nil; y = nil; vx = nil; vy = nil; dt = .5; -- How much change in a timestamp can we tolerate? outlier_dx = .05; outlier_dy = .05; function entry() obs_cnt = 1; t0 = unix.time(); t = t0; t_old = t0; ...
gpl-3.0
ychoucha/minetest-game-mineclone
mods/default/tools.lua
3
9271
-- mods/default/tools.lua -- -- Tool definition -- -- The hand minetest.register_item(":", { type = "none", wield_image = "wieldhand.png", wield_scale = {x=1,y=1,z=2.5}, tool_capabilities = { full_punch_interval = 0.9, max_drop_level = 0, groupcaps = { crumbly = {times={[2]=3.00, [3]=0.70}, uses=0, maxle...
lgpl-2.1
april-org/april-ann
packages/basics/dataset/package.lua
3
1249
package{ name = "dataset", version = "1.0", depends = { "util", "matrix", "random", "tokens", "functions" }, keywords = { "dataset" }, description = "no description available", -- targets como en ant target{ name = "init", mkdir{ dir = "build" }, mkdir{ dir = "include" }, }, targ...
gpl-3.0
xs-embedded-llc/l2dbus
test/utils/commonUtils.lua
1
8925
local M = {} -- external API/members -- Turn off all the debug information M.logDebug = function(verbose, logLevel, fmt, ...) end ---------------------------------------------------------------- --- deepcopy --- --- This function recursively copies a table's contents, and -- ensures that metatables are preserve...
mit
Kosmos82/kosmosdarkstar
scripts/zones/Yuhtunga_Jungle/npcs/Logging_Point.lua
13
1071
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Yuhtunga_Jungle/TextIDs"); ---------...
gpl-3.0
firebaugh/Digitowls
WebotsController/Player.old/BodyFSM/NaoGoalie/BodyFSM.lua
1
1985
module(..., package.seeall); require('fsm') require('bodyIdle') require('bodyStart') require('bodyReady') require('bodyStop') require('bodyApproach') require('bodyKick') require('bodyOrbit') require('bodyPosition') require('bodyGotoCenter') require('bodyChase') sm = fsm.new(bodyIdle); sm:add_state(bodyStart); sm:add...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f9.lua
13
1077
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 270 -34 -60 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); -----...
gpl-3.0
Igalia/snabb
lib/luajit/testsuite/test/lib/string/format/num.lua
6
7720
local format, type, tonumber = string.format, type, tonumber local function check(input, fstr, output, inputN) local actual = format(fstr, inputN or tonumber(input)) if actual == output then return end local t = type(output) if t == "string" then if output:find"[[%]]" then local s, e = actual:find((o...
apache-2.0
TannerRogalsky/haex
lib/binary_heap.lua
1
6992
-- Copyright (c) 2012-2013 Roland Yonaba -- An implementation of Binary Heaps data structure in pure Lua --[[ Documentation : - http://www.algolist.net/Data_structures/Binary_heap/Array-based_int_repr - http://www.cs.cmu.edu/~adamchik/15-121/lectures/Binary%20Heaps/heaps.html - http://rperrot.developpez.com/ar...
mit
Kosmos82/kosmosdarkstar
scripts/zones/Port_Windurst/npcs/Ten_of_Clubs.lua
13
1054
----------------------------------- -- Area: Port Windurst -- NPC: Ten of Clubs -- Type: Standard NPC -- @zone: 240 -- @pos -229.393 -9.2 182.696 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/spells/bluemagic/radiant_breath.lua
25
2259
----------------------------------------- -- Spell: Radiant Breath -- Deals light damage to enemies within a fan-shaped area of effect originating from the caster. Additional effect: Slow and Silence. -- Spell cost: 116 MP -- Monster Type: Wyverns -- Spell Type: Magical (Light) -- Blue Magic Points: 4 -- Stat Bonus: CH...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Port_San_dOria/Zone.lua
30
2678
----------------------------------- -- -- Zone: Port_San_dOria (232) -- ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/zone"); require("scripts/globals/settings"); require("scripts/zones/Port_San_dOria/TextI...
gpl-3.0
angel2d/angel2d
Code/Tools/BuildScripts/angel_build.lua
4
11473
------------------------------------------------------------------------------ -- Copyright (C) 2008-2014, Shane Liesegang -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redist...
bsd-3-clause
Kosmos82/kosmosdarkstar
scripts/zones/Windurst_Waters/npcs/Ness_Rugetomal.lua
12
1686
----------------------------------- -- Area: Windurst Waters -- NPC: Ness Rugetomal -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Waters/TextI...
gpl-3.0
aStonedPenguin/fprp
gamemode/modules/hud/cl_hud.lua
1
16995
/*--------------------------------------------------------------------------- HUD ConVars ---------------------------------------------------------------------------*/ local ConVars = {} local HUDWidth local HUDHeight local Color = Color local CurTime = CurTime local cvars = cvars local fprp = fprp local draw = draw l...
mit
Igalia/snabb
src/lib/yang/binary.lua
3
23753
-- Use of this source code is governed by the Apache 2.0 license; see -- COPYING. module(..., package.seeall) local S = require("syscall") local ffi = require("ffi") local lib = require("core.lib") local shm = require("core.shm") local file = require("lib.stream.file") local schema = require("lib.yang.schema") local u...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/globals/spells/absorb-tp.lua
25
1446
-------------------------------------- -- Spell: Absorb-TP -- Steals an enemy's TP. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ------------------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Northern_San_dOria/npcs/Coullene.lua
13
1581
----------------------------------- -- Area: Northern San d'Oria -- NPC: Coullene -- Type: Involved in Quest (Flyers for Regine) -- @zone: 231 -- @pos 146.420 0.000 127.601 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Abyssea-Altepa/npcs/Cavernous_Maw.lua
29
1099
----------------------------------- -- Area: Abyssea Altepa -- NPC: Cavernous Maw -- @pos 444.000 -0.500 320.000 218 -- Notes Teleports Players to South Gustaberg ----------------------------------- package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil; ----------------------------------- ---------------------...
gpl-3.0
AmirPGA/AmirPGA
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
mahdib9/kp
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
justincormack/snabbswitch
lib/ljsyscall/syscall/openbsd/types.lua
24
9707
-- OpenBSD types 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 function init(types) local abi = requ...
apache-2.0
Nax/citizenhack
dat/bigrm-4.lua
1
1695
des.level_init({ style = "solidfill", fg = " " }); des.level_flags("mazelevel", "noflip"); des.map([[ ----------- ----------- |.........| |.........| |.........|-----------| |-----------...
mit
martin-traverse/premake-core
src/base/os.lua
1
13293
-- -- os.lua -- Additions to the OS namespace. -- Copyright (c) 2002-2014 Jason Perkins and the Premake project -- --- -- Extend Lua's built-in os.execute() with token expansion and -- path normalization. -- premake.override(os, "execute", function(base, cmd) cmd = path.normalize(cmd) cmd = os.tra...
bsd-3-clause
hawkthorne/hawkthorne-client-lua
src/nodes/floorspace.lua
1
9835
local controls = require 'controls' local window = require 'window' local Floorspaces = require 'floorspaces' local game = require 'game' local Footprint = {} Footprint.__index = Footprint Footprint.isFootprint = true function Footprint.new( player, collider ) local footprint = {} setmetatable(footprint, Foot...
mit
Kosmos82/kosmosdarkstar
scripts/globals/spells/burn.lua
17
1851
----------------------------------------- -- Spell: Burn -- Deals fire damage that lowers an enemy's intelligence and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Bhaflau_Remnants/Zone.lua
19
1071
----------------------------------- -- -- Zone: Bhaflau_Remnants -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Bhaflau_Remnants/TextIDs"] = nil; require("scripts/zones/Bhaflau_Remnants/TextIDs"); ----------------------------------- -- onInitialize -------...
gpl-3.0
justincormack/snabbswitch
lib/ljsyscall/examples/epoll.lua
23
3206
-- simple epoll-based socket example. Serves up http responses, but is of course not a proper server -- you can test performance with ab -n 100000 -c 100 http://localhost:8000/ although ab may be the limiting factor local S if arg[1] == "rump" then S = require "syscall.rump.init".init{"net", "net.net", "net.local", ...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Northern_San_dOria/npcs/Bertenont.lua
13
1748
----------------------------------- -- Area: Northern San d'Oria -- NPC: Bertenont -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -165 0.1 226 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
wingo/snabbswitch
lib/ljsyscall/syscall/compat.lua
24
4673
-- Compatibility wrappers to add more commonality between different systems, plus define common functions from man(3) local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipa...
apache-2.0
phi-gamma/luaotfload
src/fontloader/misc/fontloader-font-afk.lua
3
6865
if not modules then modules = { } end modules ['font-afk'] = { version = 1.001, comment = "companion to font-afm.lua", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files", dataonly = true, } -...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/globals/spells/bluemagic/hecatomb_wave.lua
25
1913
----------------------------------------- -- Spell: Hecatomb Wave -- Deals wind damage to enemies within a fan-shaped area originating from the caster. Additional effect: Blindness -- Spell cost: 116 MP -- Monster Type: Demons -- Spell Type: Magical (Wind) -- Blue Magic Points: 3 -- Stat Bonus: AGI+1 -- Level: 54 -- Ca...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Riverne-Site_A01/npcs/_0u3.lua
13
1348
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_A01/TextIDs"); ...
gpl-3.0
justincormack/snabbswitch
lib/ljsyscall/syscall/netbsd/init.lua
24
2111
-- NetBSD init -- This returns NetBSD types and constants (but no syscalls) under any OS. -- Also returns util, which is a bit of a problem, as some of these will use syscalls -- Currently used by kdump example to get NetBSD ktrace types local require = require local abi = require "syscall.abi" local oldos, oldbsd ...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Apollyon/mobs/Mountain_Buffalo.lua
7
1401
----------------------------------- -- Area: Apollyon NW -- NPC: Kaiser Behemoth ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- -- onMobSpawn Action -------...
gpl-3.0
slact/lua-feedparser
feedparser.lua
7
12063
local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...") local XMLElement = require "feedparser.XMLElement" local dateparser = require "feedparser.dateparser" local URL = require "feedparser.url" local tinsert, tremove, tconcat = table.insert, table.remove,...
bsd-3-clause
mahdib9/kp
bot/bot.lua
1
7105
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '0.14.6' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then r...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/globals/abilities/curing_waltz.lua
19
2259
----------------------------------- -- Ability: Curing Waltz -- Heals HP to target player. -- Obtained: Dancer Level 15 -- TP Required: 20% -- Recast Time: 00:06 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onAbilit...
gpl-3.0
firebaugh/Digitowls
Player/Util/Broadcast.lua
4
3456
--Ashleigh --This code is used to broadcast each robot's information over network --Sent string is in lua format (for monitoring) module(..., package.seeall); require('MonitorComm') require('vcm') require('gcm') require('wcm') require('Team') require('World') require('Body') require('Config') require('serialization'...
gpl-3.0
firebaugh/Digitowls
WebotsController/Player.old/Util/Broadcast.lua
4
3456
--Ashleigh --This code is used to broadcast each robot's information over network --Sent string is in lua format (for monitoring) module(..., package.seeall); require('MonitorComm') require('vcm') require('gcm') require('wcm') require('Team') require('World') require('Body') require('Config') require('serialization'...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/bowl_of_vegetable_broth.lua
18
1384
----------------------------------------- -- ID: 4323 -- Item: bowl_of_vegetable_broth -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Vitality -1 -- Agility 5 -- Ranged Accuracy 6 -- HP Recovered While Healing 3 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
minebuild3543/CC-Unix
etc/kernel/ext/DebAPI/DebAPI.lua
1
1828
function debError(errreq) print("[ERROR] ", errreq) end function shutdown() print("Shutting down computer..") sleep(1) os.shutdown() end function reboot() print("Rebooting computer..") sleep(1) os.reboot() end function clear() term.clear() term.setCursorPos(1, 1) end id=os.getComputerID() function clearCache() print("[...
mit
Kosmos82/kosmosdarkstar
scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua
13
1041
----------------------------------- -- Area: Al Zahbi -- NPC: Eumoa-Tajimoa -- Type: Standard NPC -- @zone: 48 -- @pos 19.275 -1 55.182 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -----------------------...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Port_San_dOria/npcs/Jaireto.lua
13
1355
----------------------------------- -- Area: Port San d'Oria -- NPC: Jaireto -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextIDs"); --...
gpl-3.0
azunite/wireshark_clon
test/lua/pcre_sets.lua
35
6911
-- See Copyright Notice in the file lrexlib.h local luatest = require "luatest" local N = luatest.NT local function norm(a) return a==nil and N or a end local function fill (n, m) local t = {} for i = n, m, -1 do table.insert (t, i) end return t end local function set_named_subpatterns (lib, flg) return { ...
gpl-2.0
Igalia/snabb
lib/luajit/testsuite/bench/k-nucleotide.lua
6
1416
local function kfrequency(seq, freq, k, frame) local sub = string.sub local k1 = k - 1 for i=frame,#seq-k1,k do local c = sub(seq, i, i+k1) freq[c] = (freq[c] or 0) + 1 end end local function count(seq, frag) local k = #frag local freq = {} for frame=1,k do kfrequency(seq, freq, k, frame) end ...
apache-2.0
martin-traverse/premake-core
src/base/rule.lua
14
3133
--- -- base/rule.lua -- Defines rule sets for generated custom rule files. -- Copyright (c) 2014 Jason Perkins and the Premake project --- local p = premake p.rule = p.api.container("rule", p.global) local rule = p.rule --- -- Create a new rule container instance. --- function rule.new(name) local self = p....
bsd-3-clause
Kosmos82/kosmosdarkstar
scripts/zones/Windurst_Waters_[S]/npcs/Sahnn_Dhansett.lua
13
1069
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Sahnn Dhansett -- Type: Standard NPC -- @zone: 94 -- @pos 112.820 -3.122 47.857 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Open_sea_route_to_Al_Zahbi/Zone.lua
13
1615
----------------------------------- -- -- Zone: Open_sea_route_to_Al_Zahbi (46) -- ----------------------------------- package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"); --------------------------...
gpl-3.0
Igalia/snabb
lib/pflua/src/pf/selection.lua
11
18901
-- This module implements an "instruction selection" pass over the -- SSA IR and produces pseudo-instructions for register allocation -- and code generation. -- -- This uses a greed matching algorithm over the tree. -- -- This generates an array of pseudo-instructions like this: -- -- { { "load", "r1", 12, 2 } } -- ...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/North_Gustaberg/npcs/qm2.lua
13
1684
----------------------------------- -- Area: North Gustaberg -- NPC: qm2 (???) -- Involved in Quest "As Thick As Thieves" -- @pos -232.924 99.107 442.990 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
wingo/snabbswitch
src/apps/lwaftr/lwutil.lua
2
1882
module(..., package.seeall) local constants = require("apps.lwaftr.constants") local bit = require("bit") local ffi = require("ffi") local band, rshift, bswap = bit.band, bit.rshift, bit.bswap local cast = ffi.cast local uint16_ptr_t = ffi.typeof("uint16_t*") local uint32_ptr_t = ffi.typeof("uint32_t*") function g...
apache-2.0
8jsr/n7r
plugins/robot.lua
3
1859
local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if not _config.disabled_channels then _confi...
gpl-2.0
Kosmos82/kosmosdarkstar
scripts/globals/abilities/wizards_roll.lua
1
2685
----------------------------------- -- Ability: Wizard's Roll -- Enhances magic attack for party members within area of effect -- Optimal Job: Black Mage -- Lucky Number: 5 -- Unlucky Number: 9 -- Level 58 -- -- Die Roll |No BLM |With BLM -- -------- -------- ----------- -- 1 |+2 |+6 -- 2 ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/items/bunch_of_royal_grapes.lua
18
1187
----------------------------------------- -- ID: 5541 -- Item: Bunch of Royal Grapes -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -6 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Vunkerl_Inlet_[S]/Zone.lua
12
2365
----------------------------------- -- -- Zone: Vunkerl_Inlet_[S] (83) -- ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Vunkerl_Inlet_[S]/TextIDs"); require("scripts/globals/settings"); require("scripts/gl...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Vunkerl_Inlet_[S]/npcs/qm7.lua
45
2168
----------------------------------- -- Area: Vunkerl Inlet (S) (H-6) -- NPC: ??? -- Involved in Quests -- @pos -26 -31 364 ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- require("sc...
gpl-3.0
firebaugh/Digitowls
WebotsController/Player.old/BodyFSM/NaoDribble/BodyFSM.lua
3
2204
module(..., package.seeall); require('Body') require('fsm') require('bodyIdle') require('bodyStart') require('bodyStop') require('bodyReady') require('bodySearch') require('bodyKick') require('bodyGotoCenter') require('bodyPosition') require('bodyDribble') require('bodyOrbit') require('bodyApproach') sm = fsm.new(bo...
gpl-3.0
MatejNikl/incremental_learning
task/train.lua
1
21572
local cmdio = require 'cmdio' local sig = require 'signal' local argcheck = require 'argcheck' local image = require 'image' local nn = require 'nn' local optim = require 'optim' local tnt = require 'torchnet' local nngraph = require 'nngraph' require 'common' require 'dropconnect' require 'earlys...
mit
april-org/april-ann
packages/basics/util/lua_src/ansi.lua
3
1743
local fgcolors_enabled={ ["black"]="\27[30m", ["bright_black"]="\27[1;30m", ["red"]="\27[31m", ["bright_red"]="\27[1;31m", ["green"]="\27[32m", ["bright_green"]="\27[1;32m", ["yellow"]="\27[33m", ["bright_yellow"]="\27[1;33m", ["blue"]="\27[34m", ["bright_blue"]="\27[1;34m", ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Quicksand_Caves/npcs/_5s8.lua
13
1253
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -334 0 659 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/TextIDs...
gpl-3.0
hadow/OpenRA
mods/ra/maps/fort-lonestar/fort-lonestar.lua
6
7406
SovietEntryPoints = { Entry1, Entry2, Entry3, Entry4, Entry5, Entry6, Entry7, Entry8 } PatrolWaypoints = { Entry2, Entry4, Entry6, Entry8 } ParadropWaypoints = { Paradrop1, Paradrop2, Paradrop3, Paradrop4 } SpawnPoints = { Spawn1, Spawn2, Spawn3, Spawn4 } Snipers = { Sniper1, Sniper2, Sniper3, Sniper4, Sniper5, Sniper...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/zones/Windurst_Waters_[S]/npcs/Pelftrix.lua
13
1245
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Pelftrix -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Windurst_Waters_[...
gpl-3.0
zfm888/bazi_server
common/devlib/util/table.lua
1
5172
--[[ table相关的处理函数 --]] local _M = {} function _M.print(t) local print_r_cache = {} local function sub_print_r(t, indent) if (print_r_cache[tostring(t)]) then print(indent.."*"..tostring(t)) else print_r_cache[tostring(t)] = true if (type(t) == "table") ...
gpl-3.0
Kosmos82/kosmosdarkstar
scripts/globals/mobskills/Tribulation.lua
27
1087
--------------------------------------------- -- Tribulation -- -- Description: Inflicts Bio and blinds all targets in an area of effect. -- Type: Enfeebling -- Utsusemi/Blink absorb: Ignores shadows -- Range: AoE -- Notes: Bio effect can take away up to 39/tick. --------------------------------------------- req...
gpl-3.0
TannerRogalsky/haex
lib/beholder.lua
8
4868
-- beholder.lua - v2.1.1 (2011-11) -- Copyright (c) 2011 Enrique García Cota -- 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,...
mit
Kosmos82/kosmosdarkstar
scripts/zones/Jugner_Forest/npcs/Takamoto_IM.lua
13
3315
----------------------------------- -- Area: Jugner Forest -- NPC: Takamoto, I.M. -- Outpost Conquest Guards -- @pos 60.087 -0.602 -11.847 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requi...
gpl-3.0
squeek502/luvit
tests/test-querystring.lua
9
1331
local qs = require('querystring') local deepEqual = require('deep-equal') require('tap')(function(test) -- Basic code coverage -- format: { arbitraryQS, canonicalQS, parsedQS, sep, eq } local tests = { {'foo=1&bar=2', 'foo=1&bar=2', {['foo'] = '1', ['bar'] = '2'}}, {'%25 %20+=foo%25%00%41bar&a=%26%3db', ...
apache-2.0
Kosmos82/kosmosdarkstar
scripts/zones/Meriphataud_Mountains/npcs/Three_Steps_IM.lua
13
3350
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Three Steps, I.M. -- Type: Border Conquest Guards -- @pos -120.393 -25.822 -592.604 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0