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
weissj3/milkywayathome_client
nbody/tests/orphan_models/model_6.lua
3
1438
arg = {...} seed = argSeed nbody = arg[1] assert(seed ~= nil, "Seed argument not set for test unit") assert(nbody ~= nil, "Number of bodies not set for test unit") prng = DSFMT.create(seed) dwarfMass = 16 dwarfRadius = 0.2 function makePotential() return Potential.create{ spherical = Spherical.spherical{...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/cup_of_imperial_coffee_+1.lua
12
1244
----------------------------------------- -- ID: 5593 -- Item: cup_of_imperial_coffee_+1 -- Food Effect: 180Min, All Races ----------------------------------------- -- Health Regen While Healing 5 -- Magic Regen While Healing 5 ----------------------------------------- require("scripts/globals/status"); -------------...
gpl-3.0
guangbin79/Lua_5.1.5-iOS
lua-script/mime.lua
149
2487
----------------------------------------------------------------------------- -- MIME support for the Lua language. -- Author: Diego Nehab -- Conforming to RFCs 2045-2049 ----------------------------------------------------------------------------- ----------------------------------------------------------------------...
mit
marioyc/UETorch
Scripts/uetorch_example.lua
1
3214
------------------------------------------------------------------------------- -- Copyright (c) 2015-present, Facebook, Inc. -- All rights reserved. -- This source code is licensed under the BSD-style license found in the -- LICENSE file in the root directory of this source tree. An additional grant -- of patent right...
bsd-3-clause
nyczducky/darkstar
scripts/zones/Port_Bastok/npcs/Paujean.lua
8
2666
----------------------------------- -- Area: Port Bastok -- NPC: Paujean -- Starts & Finishes Quest: Silence of the Rams -- @pos -93.738 4.649 34.373 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings")...
gpl-3.0
sevu/wesnoth
join.lua
6
3964
-- join.lua -- -- Try to join a game called "Test" local function plugin() local function log(text) std_print("join: " .. text) end local counter = 0 local events, context, info local function find_test_game(game_info) local g = game_info.game_list() if g then local gamelist = wml.get_c...
gpl-2.0
jamesbdunlop/iction
frames/debuffFrame.lua
1
1256
local iction = iction iction.ictDeBuffColumnData = { uiType = "Frame", uiName = "tmp", nameAttr = "tmp", uiInherits = nil, userPlaced = true, movable = true, ...
apache-2.0
rovemonteux/score_framework
src/templates/template.lua
1
2536
------------------------------------------------------------------------------- ---- Score Framework - A Lua-based framework for creating multi-track MIDI files. ---- Copyright (c) 2017 Rove Monteux ---- ---- This program is free software; you can redistribute it and/or modify it ---- under the terms of the GNU General...
gpl-3.0
lgeek/koreader
spec/unit/gesturerange_spec.lua
14
1207
describe("gesturerange module", function() local GestureRange, Geom setup(function() require("commonrequire") GestureRange = require("ui/gesturerange") Geom = require("ui/geometry") end) it("should match tap event within range", function() local g = GestureRange:new{ ...
agpl-3.0
sjznxd/lc-20121231
applications/luci-asterisk/luasrc/model/cbi/asterisk/trunks.lua
80
2553
--[[ LuCI - Lua Configuration Interface Copyright 2008 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- l...
apache-2.0
sjznxd/lc-20121231
applications/luci-asterisk/luasrc/asterisk.lua
80
18044
--[[ LuCI - Lua Configuration Interface Asterisk PBX interface library Copyright 2009 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/licen...
apache-2.0
nyczducky/darkstar
scripts/globals/mobskills/Oblivion_Smash.lua
16
1219
--------------------------------------------- -- Oblivion Smash -- -- Description: Deals damage to players within area of effect and inflicts blind, silence, bind, and weight. -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown radial --------------------------------------------- require("scripts...
gpl-3.0
IRO-TEAM/iro-selfbot
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
mehrpouya81/persianseed
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
abbasgh12345/teleomega
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
Afforess/AmmoBox
prototypes/item/ammo.lua
1
4839
data:extend( { { type = "ammo", name = "basic-bullet-ammo-box", icon = "__AmmoBox__/graphics/icons/basic-ammo-box.png", icon_size = 64, flags = {"goes-to-main-inventory"}, ammo_type = { category = "bullet", action = { ...
isc
nyczducky/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/Zone.lua
10
7402
----------------------------------- -- -- Zone: Alzadaal_Undersea_Ruins (72) -- ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"); require("scripts/globals/missions"); re...
gpl-3.0
jbeich/Aquaria
files/scripts/maps/premap_mainarea.lua
6
1106
-- 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
micdah/LrControl
Source/LrControl.Plugin/Logger.lua
1
1902
--[[---------------------------------------------------------------------------- Copyright © 2016 Michael Dahl This file is part of LrControl. LrControl 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 ve...
gpl-3.0
NanoSmasher/prob-cfvg
TriggerCompare_Love/main.lua
1
10061
require "trigcompare" -- The actual heavy work -- love.load : load variables and initializes object and static -- object : information about the buttons and button locations -- static : static text labels -- input & output : display text labels that change based on events. -- love.keyreleased : [Esc] to ...
mit
dtrip/awesome
tests/test-leaks.lua
4
3018
-- Some memory leak checks as integration tests. local runner = require("_runner") local awful = require("awful") local cairo = require("lgi").cairo local create_wibox = require("_wibox_helper").create_wibox local wibox = require("wibox") local prepare_for_collect = nil local function run_delayed_calls() require(...
gpl-2.0
nyczducky/darkstar
scripts/globals/abilities/pets/meteor_strike.lua
28
1332
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- ...
gpl-3.0
nyczducky/darkstar
scripts/zones/Port_San_dOria/npcs/Coribalgeant.lua
17
1405
----------------------------------- -- Area: Port San d'Oria -- NPC: Coribalgeant -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests");...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/bowl_of_mushroom_soup.lua
12
1460
----------------------------------------- -- ID: 4419 -- Item: mushroom_soup -- Food Effect: 3hours, All Races ----------------------------------------- -- Magic Points 20 -- Strength -1 -- Mind 2 -- MP Recovered While Healing 1 -- Enmity -2 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
lgeek/koreader
frontend/ui/widget/closebutton.lua
4
2387
--[[-- Button widget that shows an "×" and handles closing window when tapped Example: local CloseButton = require("ui/widget/closebutton") local parent_widget = OverlapGroup:new{} table.insert(parent_widget, CloseButton:new{ window = parent_widget, }) UIManager:show(parent_widget) ]] lo...
agpl-3.0
nyczducky/darkstar
scripts/zones/Kazham/npcs/Porter_Moogle.lua
14
1511
----------------------------------- -- Area: Kazham -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 250 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Kazham/TextIDs"); require("scripts/...
gpl-3.0
lgeek/koreader
frontend/apps/filemanager/filemanagerhistory.lua
1
5721
local ButtonDialogTitle = require("ui/widget/buttondialogtitle") local DocSettings = require("docsettings") local FileManagerBookInfo = require("apps/filemanager/filemanagerbookinfo") local InputContainer = require("ui/widget/container/inputcontainer") local Menu = require("ui/widget/menu") local UIManager = require("u...
agpl-3.0
nyczducky/darkstar
scripts/zones/Dynamis-Windurst/mobs/Tzee_Xicu_Idol.lua
22
1314
----------------------------------- -- Area: Dynamis Windurst -- MOB: Tzee Xicu Idol ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/dynamis"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ...
gpl-3.0
cliffano/swaggy-jenkins
clients/lua/generated/spec/all_view_spec.lua
1
1113
--[[ Swaggy Jenkins Jenkins API clients generated from Swagger / Open API specification The version of the OpenAPI document: 1.5.1-pre.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech ]] --[[ Unit tests for openapiclient.model.all_view Automatically generated by openapi-generator (...
mit
nyczducky/darkstar
scripts/zones/Rabao/npcs/Generoit.lua
17
1377
----------------------------------- -- Area: Rabao -- NPC: Generoit -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- onTrade Action ---------...
gpl-3.0
nyczducky/darkstar
scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Lennart.lua
14
1105
---------------------------------- -- Area: The Eldieme Necropolis [S] -- NPC: Lennart -- Type: Item Deliverer -- @pos 378.783 -36 61.805 175 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_...
gpl-3.0
sudheesh001/RFID-DBSync
cardpeek-0.8.3/dot_cardpeek_dir/scripts/calypso/c250.lua
16
9391
-- -- This file is part of Cardpeek, the smartcard reader utility. -- -- Copyright 2009-2011 by 'L1L1' -- -- Cardpeek 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 -- (a...
gpl-2.0
francot514/CardGamePRO-Simulator
data/cards/c1144.lua
1
1614
--Iron legs function c1144.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(c1144.target) e1:SetOperation(c1144.operation) c:RegisterEffect(e1) --atk ta...
gpl-2.0
oldstylejoe/vlc-timed
share/lua/sd/assembleenationale.lua
91
8388
--[[ $Id$ Copyright © 2012 VideoLAN and AUTHORS Authors: François Revol <revol at free dot fr> 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 op...
gpl-2.0
nyczducky/darkstar
scripts/zones/AlTaieu/npcs/qm1.lua
18
1465
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Hope Spawn) -- Allows players to spawn the Jailer of Hope by trading the First Virtue, Deed of Placidity and HQ Phuabo Organ to a ???. -- @pos -693 -1 -62 33 ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] ...
gpl-3.0
Shayan123456/bottttttt
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
senator0/senatorvip2
plugins/welcome.lua
1
3683
local function pre_process(msg) local chat = msg.chat_id_ local user = msg.sender_user_id_ local group = load_data('bot/group.json') local addgroup = group[tostring(msg.chat_id)] local function welcome_cb(arg, data) if group[arg.chat_id]['setwelcome'] then welcome = group[arg.chat_id][...
bsd-3-clause
benloz10/FinalFrontier
gamemodes/finalfrontier/entities/entities/info_ff_damageeffect/init.lua
3
2106
-- Copyright (c) 2014 James King [metapyziks@gmail.com] -- -- This file is part of Final Frontier. -- -- Final Frontier 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 Lic...
lgpl-3.0
nyczducky/darkstar
scripts/zones/Bastok_Markets/npcs/Olwyn.lua
15
1433
----------------------------------- -- Area: Bastok Markets -- NPC: Olwyn -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/events/harvest_festivals"); require("scripts/globals/shop"); package.loaded["scripts/zones...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/fire_sword.lua
41
1068
----------------------------------------- -- ID: 16543 -- Item: Fire Sword -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ---------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Mhaura/npcs/Runito-Monito.lua
17
1508
----------------------------------- -- Area: Mhaura -- NPC: Runito-Monito -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/shop"); -------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/fruit_parfait.lua
12
1645
----------------------------------------- -- ID: 6063 -- Item: fruit_parfait -- Food Effect: 180 Min, All Races ----------------------------------------- -- MP+5% (Upper limit 50) -- INT+3 -- MND+2 -- CHR+1 -- STR-3 -- MACC+3 -- MAB+6 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
weweadsl/thrift
lib/lua/TFramedTransport.lua
71
2957
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
nyczducky/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm18.lua
57
2138
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm18 (??? - Bomb Coal Fragments) -- Involved in Quest: In Defiant Challenge -- @pos -13.425,-1.176,191.669 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- r...
gpl-3.0
Arashbrsh/lifeeee
plugins/plugins.lua
134
6165
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
fegimanam/plggod
plugins/plugins.lua
134
6165
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
Max-pbot/Max
bot/utils.lua
494
23873
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
nyczducky/darkstar
scripts/zones/Carpenters_Landing/mobs/Cryptonberry_Assassin.lua
23
1408
----------------------------------- -- Area: Carpenters' Landing -- MOB: Cryptonberry_Assassin ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- onMobFight Action ----...
gpl-3.0
wenhulove333/ScutServer
Sample/Koudai/Client/lua/lib/ZyPageBar.lua
1
6765
ZyPageBar = { mnCurrentPage = 1, mnTotalPage = 1, MOST_PAGE = 10, mCallbackPageChange = nil, mLayerBar = nil, mParent = nil, contentSize = nil, mTableItems = nil, mListView = nil, mSceen = nil, mLabelPage = nil, } -- ---------------------------------------------¹«ÓнӿÚ-------------------...
mit
tpepper/kubernetes
test/images/echoserver/template.lua
195
17200
-- vendored from https://raw.githubusercontent.com/bungle/lua-resty-template/1f9a5c24fc7572dbf5be0b9f8168cc3984b03d24/lib/resty/template.lua -- only modification: remove / from HTML_ENTITIES to not escape it, and fix the appropriate regex. --[[ Copyright (c) 2014 - 2017 Aapo Talvensaari All rights reserved. Redistribu...
apache-2.0
NickrenREN/kubernetes
test/images/echoserver/template.lua
195
17200
-- vendored from https://raw.githubusercontent.com/bungle/lua-resty-template/1f9a5c24fc7572dbf5be0b9f8168cc3984b03d24/lib/resty/template.lua -- only modification: remove / from HTML_ENTITIES to not escape it, and fix the appropriate regex. --[[ Copyright (c) 2014 - 2017 Aapo Talvensaari All rights reserved. Redistribu...
apache-2.0
jbeich/Aquaria
files/scripts/entities/camopus.lua
5
5257
-- 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
Pelagicore/meta-pelux
recipes-extended/images/pelux-image-update/arp/emmcsetup2.lua
2
2774
function os.capture(cmd) local f = assert(io.popen(cmd, 'r')) local s = assert(f:read('*a')) f:close() return s end function cmdexec(cmd) local ret, s, status = os.execute(cmd) if (status ~= 0) then return false, cmd .. " return with error " .. status end return true,"" end function get_device_from_boot_de...
mit
wenhulove333/ScutServer
Sample/Koudai/Client/lua/battle/battleScene.lua
1
6659
------------------------------------------------------------------ -- battleScene.lua -- Author : Zonglin Liu -- Version : 1.0 -- Date : -- Description: Õ½¶·³¡¾° ------------------------------------------------------------------ module("battleScene", package.seeall) mScene = nil -- ³¡¾° ...
mit
nyczducky/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/Hurr_the_Betrayer.lua
14
3619
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Hurr the Betrayer -- Type: Involved in the "Sahagin Key Quest" -- @zone 176 -- @pos 305.882 26.768 234.279 -- ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; -------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/bowl_of_goulash.lua
12
1554
----------------------------------------- -- ID: 5750 -- Item: bowl_of_goulash -- Food Effect: 3Hrs, All Races ----------------------------------------- -- VIT +3 -- INT -2 -- Accuracy +10% (cap 54) -- DEF +10% (cap 30) ----------------------------------------- require("scripts/globals/status"); ---------------------...
gpl-3.0
rthallisey/kolla-kubernetes-personal
kolla/docker/heka/plugins/modules/os_patterns.lua
6
5699
-- Copyright 2015-2016 Mirantis, Inc. -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agree...
apache-2.0
nyczducky/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Cavernous_Maw.lua
29
1418
----------------------------------- -- Area: Jugner Forest [S] -- NPC: Cavernous Maw -- @pos -118 -8 -520 82 -- Teleports Players to Jugner Forest ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"...
gpl-3.0
abcdefg30/OpenRA
mods/d2k/maps/atreides-03b/atreides03b-AI.lua
7
1514
--[[ Copyright 2007-2022 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
nyczducky/darkstar
scripts/globals/weaponskills/spinning_scythe.lua
25
1418
----------------------------------- -- Spinning Scythe -- Scythe weapon skill -- Skill Level: 125 -- Delivers an area of effect attack. Attack radius varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget & Soil Gorget. -- Aligned with the Aqua Belt & Soil Belt. -- Element: None -- Modifiers: ...
gpl-3.0
sevu/wesnoth
data/lua/wml-utils.lua
6
6757
local utils = {vwriter = {}} function utils.split(s) return coroutine.wrap(function() local split = s:split() for _,sp in ipairs(split) do coroutine.yield(sp) end end) end function utils.check_key(val, key, tag, convert_spaces) if not val then return nil end if convert_spaces then val = tostring(val):...
gpl-2.0
nyczducky/darkstar
scripts/globals/items/rogue_rice_ball.lua
30
1384
----------------------------------------- -- ID: 4604 -- Item: Rogue Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +12 -- Vit +3 -- hHP +2 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Def +50 -- Beast Killer (guesstimated 5%) ------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Valkurm_Dunes/npcs/Field_Manual.lua
29
1045
----------------------------------- -- Area: Valkurm Dunes -- NPC: Field Manual ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action --------------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/bio_iv.lua
26
2193
----------------------------------------- -- Spell: Bio IV -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------...
gpl-3.0
dtrip/awesome
spec/awful/permissions_spec.lua
4
2145
describe("awful.permissions.client_geometry_requests", function() package.loaded["awful.client"] = {} package.loaded["awful.layout"] = {} package.loaded["awful.screen"] = {} package.loaded["awful.tag"] = {} package.loaded["gears.timer"] = {} _G.client = { connect_signal = function() end,...
gpl-2.0
nyczducky/darkstar
scripts/zones/Castle_Oztroja/npcs/_47v.lua
14
1278
----------------------------------- -- Area: Castle Oztroja -- NPC: _47v (Handle) -- Notes: Opens door _472 from behind -- @pos -61 0 -36 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/Te...
gpl-3.0
abeschneider/nn
MulConstant.lua
32
1071
local MulConstant, parent = torch.class('nn.MulConstant', 'nn.Module') function MulConstant:__init(constant_scalar,ip) parent.__init(self) assert(type(constant_scalar) == 'number', 'input is not scalar!') self.constant_scalar = constant_scalar -- default for inplace is false self.inplace = ip or false ...
bsd-3-clause
TheHipster/cwlourp
plugins/writing/plugin/sv_plugin.lua
1
1837
--[[ © 2013 CloudSixteen.com do not share, re-distribute or modify without permission of its author (kurozael@gmail.com). --]] local PLUGIN = PLUGIN; Clockwork.datastream:Hook("EditPaper", function(player, data) if (IsValid( data[1] )) then if (data[1]:GetClass() == "cw_paper") then if (player:GetPo...
unlicense
nyczducky/darkstar
scripts/globals/weaponskills/garland_of_bliss.lua
19
1958
----------------------------------- -- Garland Of Bliss -- Staff weapon skill -- Skill level: N/A -- Lowers target's defense. Duration of effect varies with TP. Nirvana: Aftermath effect varies with TP. -- Reduces enemy's defense by 12.5%. -- Available only after completing the Unlocking a Myth (Summoner) quest. -- Ali...
gpl-3.0
nyczducky/darkstar
scripts/zones/Lower_Jeuno/npcs/Vola.lua
14
3275
----------------------------------- -- Area: Lower Jeuno -- NPC: Vola -- Starts and Finishes Quest: Fistful of Fury -- Involved in Quests: Beat Around the Bushin (before the quest) -- @zone 245 -- @pos 43 3 -45 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; -------------...
gpl-3.0
lgeek/koreader
tools/benchmark.lua
15
1662
-- performance benchmark utility -- usage: ./luajit tools/benchmark.lua test/sample.pdf require "defaults" package.path = "common/?.lua;rocks/share/lua/5.1/?.lua;frontend/?.lua;" .. package.path package.cpath = "common/?.so;common/?.dll;/usr/lib/lua/?.so;rocks/lib/lua/5.1/?.so;" .. package.cpath local DataStorage = r...
agpl-3.0
nyczducky/darkstar
scripts/globals/items/magma_steak.lua
12
1600
----------------------------------------- -- ID: 6071 -- Item: Magma Steak -- Food Effect: 180 Min, All Races ----------------------------------------- -- Strength +8 -- Attack +23% Cap 180 -- Ranged Attack +23% Cap 180 -- Vermin Killer +5 ----------------------------------------- require("scripts/globals/status"); -...
gpl-3.0
sjznxd/lc-20121231
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua
80
1274
--[[ LuCI - Lua Configuration Interface (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.controller.l...
apache-2.0
ArpitJalan/arch-heavy-dotfiles
luakit/binds.lua
1
21187
----------------- -- Keybindings -- ----------------- -- Binding aliases local key, buf, but = lousy.bind.key, lousy.bind.buf, lousy.bind.but local cmd, any = lousy.bind.cmd, lousy.bind.any -- Util aliases local match, join = string.match, lousy.util.table.join local strip, split = lousy.util.string.strip, lousy.util...
unlicense
nyczducky/darkstar
scripts/zones/Ghelsba_Outpost/bcnms/save_the_children.lua
27
2062
----------------------------------- -- Area: Ghelsba Outpost -- Name: San d'Oria Mission 1-3 Save the children -- @pos -162 -11 78 140 ----------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scri...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/entities/miaghost.lua
6
1752
-- 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
Goodzilam/Goodzila-bot_v1.3
plugins/Moderator_Gp.lua
37
37415
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
grechkin-pogrebnyakov/tntlua
flyd/src/flyd.lua
4
31122
#!/usr/bin/env tarantool local fio = require('fio') local log = require('log') local uuid = require('uuid') local json = require('json') local fiber = require('fiber') local queue = require('queue') local client = require('http.client') local console = require('console') --------------------------------------- -- ...
bsd-2-clause
sjznxd/lc-20121231
protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua
10
2421
--[[ LuCI - Lua Configuration Interface Copyright 2011-2012 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- loc...
apache-2.0
nyczducky/darkstar
scripts/globals/mobskills/PW_Calcifying_Deluge.lua
34
1153
--------------------------------------------- -- Calcifying Deluge -- -- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Petrification -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown -- Notes: Used only by Medusa. ----------------------------...
gpl-3.0
jbeich/Aquaria
files/scripts/maps/node_naija_speedboost.lua
6
1248
-- 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
nyczducky/darkstar
scripts/globals/items/noble_lady.lua
12
1401
----------------------------------------- -- ID: 4485 -- Item: noble_lady -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 -- Charisma 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItem...
gpl-3.0
benloz10/FinalFrontier
gamemodes/finalfrontier/gamemode/systems/doorcontrol.lua
3
4503
-- Copyright (c) 2014 James King [metapyziks@gmail.com] -- -- This file is part of Final Frontier. -- -- Final Frontier 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 Lic...
lgpl-3.0
rfaday/SuperAdmin-bot
plugins/isup.lua
741
3095
do local socket = require("socket") local cronned = load_from_file('data/isup.lua') local function save_cron(msg, url, delete) local origin = get_receiver(msg) if not cronned[origin] then cronned[origin] = {} end if not delete then table.insert(cronned[origin], url) else for k,v in pairs(cronned[...
gpl-2.0
sjznxd/lc-20121231
modules/admin-mini/luasrc/controller/mini/system.lua
71
6669
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 h...
apache-2.0
nyczducky/darkstar
scripts/zones/Windurst_Woods/npcs/Spare_Two.lua
17
1505
----------------------------------- -- Area: Windurst Woods -- NPC: Spare Two -- Working 100% -- Involved in quest: A Greeting Cardian ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/globals/quests"] = nil; require("scripts/globals/quests"); package.loaded["scripts/zo...
gpl-3.0
melfi19/OpenRA
mods/ra/maps/survival01/survival01.lua
32
14851
Difficulty = Map.Difficulty if Difficulty == "Easy" then AttackAtFrameIncrement = DateTime.Seconds(22) AttackAtFrameIncrementInf = DateTime.Seconds(16) TimerTicks = DateTime.Minutes(15) IncrementTurningPoint = TimerTicks / 2 DamageModifier = 0.5 LongBowReinforcements = { "heli", "heli" } ParadropArtillery = tru...
gpl-3.0
nyczducky/darkstar
scripts/zones/Lower_Jeuno/npcs/Stinknix.lua
17
1317
----------------------------------- -- Area: Lower Jeuno -- NPC: Stinknix -- 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
masterfeizz/EDuke3D
jit/bcsave.lua
75
18123
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2014 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
gpl-2.0
nyczducky/darkstar
scripts/zones/North_Gustaberg/npcs/Quellebie_RK.lua
14
3339
----------------------------------- -- Area: North Gustaberg -- NPC: Quellebie, R.K. -- Type: Border Conquest Guards -- @pos -520.704 38.75 560.258 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conque...
gpl-3.0
nyczducky/darkstar
scripts/zones/Sauromugue_Champaign/npcs/Tiger_Bones.lua
14
1914
----------------------------------- -- Area: Sauromugue Champaign -- NPC: Tiger Bones -- Involed in Quest: The Fanged One. -- @pos 666 -8 -379 120 ------------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ------------------------------------- require("scripts/globals/se...
gpl-3.0
lgeek/koreader
spec/unit/readerbookmark_spec.lua
4
11412
describe("ReaderBookmark module", function() local DocumentRegistry, ReaderUI, UIManager, Screen, Geom, DocSettings local sample_epub, sample_pdf setup(function() require("commonrequire") DocSettings = require("docsettings") DocumentRegistry = require("document/documentregistry") ...
agpl-3.0
nyczducky/darkstar
scripts/zones/Lower_Jeuno/npcs/Panta-Putta.lua
25
4244
----------------------------------- -- Area: Lower Jeuno -- NPC: Panta-Putta -- Starts and Finishes Quest: The Wonder Magic Set, The kind cardian -- Involved in Quests: The Lost Cardian -- @zone 245 -- @pos -61 0 -140 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ------...
gpl-3.0
Omegaphora/external_chromium_org_third_party_skia
tools/lua/glyph-counts.lua
91
2733
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
bsd-3-clause
omidtarh/elbot
plugins/service_entergroup.lua
355
3585
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
nyczducky/darkstar
scripts/zones/Gusgen_Mines/TextIDs.lua
7
1706
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6385; -- Obtained: <item>. GIL_OBTAINED = 6386; -- Obtained <number> gil. KEYITEM_OBTAINED = 6388; -- Obtained...
gpl-3.0
jbeich/Aquaria
files/scripts/entities/pet_blaster.lua
6
4857
-- 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
sjznxd/lc-20121231
applications/luci-coovachilli/luasrc/model/cbi/coovachilli_radius.lua
79
1768
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 h...
apache-2.0
nyczducky/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/Treasure_Chest.lua
17
3006
----------------------------------- -- Area: Horutoto Ruins -- NPC: Treasure Chest -- @zone 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require(...
gpl-3.0
qrealka/skia-hc
tools/lua/filter-counter.lua
29
2242
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
apache-2.0