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/globals/weaponskills/blade_shun.lua
24
1835
----------------------------------- -- Blade Shun -- Katana weapon skill -- Skill level: N/A -- Description: Delivers a fivefold attack. Attack power varies with TP. -- In order to obtain Blade: Shun the quest Martial Mastery must be completed. -- This Weapon Skill's first hit params.ftp is duplicated for all additiona...
gpl-3.0
vseledkin/april-ann
packages/ann/loss/lua_src/loss_functions.lua
3
10655
local ann_loss_lincomb_class, ann_loss_lincomb_methods = class("ann.loss.linear_combination", ann.loss) ann.loss.linear_combination = ann_loss_lincomb_class function ann_loss_lincomb_class:constructor(params) t = {} for i,v in ipairs(params) do t[i] = { loss = assert(v.loss, "Needs a loss field"), ...
gpl-3.0
tommo/gii
packages/Mock/StyleSheetEditor/StyleSheetPreview.lua
1
2379
-------------------------------------------------------------------- scn = mock_edit.createEditorCanvasScene() -------------------------------------------------------------------- CLASS: StyleSheetPreview ( mock_edit.EditorEntity ) :MODEL{} function StyleSheetPreview:onLoad() self:addSibling( mock_edit.CanvasGrid()...
mit
root4r08/RoOt3r08
libs/feedparser.lua
543
11955
local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...") local XMLElement = (loadfile "./libs/XMLElement.lua")() local dateparser = (loadfile "./libs/dateparser.lua")() local URL = (loadfile "./libs/url.lua")() local tinsert, tremove, tconcat = table.insert...
gpl-2.0
rpetit3/darkstar
scripts/zones/Attohwa_Chasm/npcs/HomePoint#1.lua
13
1253
----------------------------------- -- Area: Attohwa Chasm -- NPC: HomePoint#2 -- @pos ----------------------------------- package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Attohwa_Chasm/TextIDs"); require("scripts/globals/homepoint"); ----...
gpl-3.0
rpetit3/darkstar
scripts/zones/AlTaieu/mobs/Ul_hpemde.lua
23
2798
----------------------------------- -- Area: Al'Taieu -- MOB: Ul'Hpemde ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ----------------------------------- -- on...
gpl-3.0
rpetit3/darkstar
scripts/globals/items/loaf_of_pumpernickel.lua
18
1181
----------------------------------------- -- ID: 4591 -- Item: loaf_of_pumpernickel -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChec...
gpl-3.0
dwmw2/luci
modules/luci-base/luasrc/http/protocol/date.lua
68
1697
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. -- This class contains functions to parse, compare and format http dates. module("luci.http.protocol.date", package.seeall) require("luci.sys.zoneinfo") MONTHS = { "Jan", "Feb", "Mar", "Ap...
apache-2.0
rpetit3/darkstar
scripts/zones/PsoXja/npcs/_091.lua
13
2831
----------------------------------- -- Area: Pso'Xja -- NPC: _091 (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos 350.000 -1.925 -61.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/TextIDs...
gpl-3.0
rpetit3/darkstar
scripts/zones/Bastok_Mines/npcs/Crying_Wind_IM.lua
13
5589
----------------------------------- -- Area: Bastok Mines -- NPC: Crying Wind, I.M. -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start Supply Run Missions and...
gpl-3.0
MinetestForFun/server-minetestforfun-creative
mods/darkage/nodes.lua
2
13607
-- Naturally spawning blocks minetest.register_node("darkage:chalk", { description = "Chalk", tiles = {"darkage_chalk.png"}, is_ground_content = true, drop = "darkage:chalk_powder 4", groups = {crumbly=2,cracky=2}, sounds = default.node_sound_stone_defaults() }) minetest.register_node("darkage:marble", { descri...
unlicense
rpetit3/darkstar
scripts/zones/Windurst_Woods/npcs/Spare_Five.lua
13
1498
----------------------------------- -- Area: Windurst Woods -- NPC: Spare Five -- Working 100% -- Involved in quest: A Greeting Cardian ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/globals/quests"] = nil; require("scripts/globals/quests"); package.loaded["...
gpl-3.0
tvandijck/premake-core
modules/vstudio/vs2005_fsproj.lua
14
2611
-- -- vs2005_fsproj.lua -- Generate a Visual Studio 2005+ F# project. -- Copyright (c) Jason Perkins and the Premake project -- local p = premake p.vstudio.fs2005 = {} local vstudio = p.vstudio local fs2005 = p.vstudio.fs2005 local dotnetbase = p.vstudio.dotnetbase local project = p.project local config = p.co...
bsd-3-clause
rpetit3/darkstar
scripts/zones/Port_Bastok/npcs/Zoby_Quhyo.lua
12
1634
----------------------------------- -- Area: Port Bastok -- NPC: Zoby Quhyo -- Only sells when Bastok controlls Elshimo Lowlands -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bastok/TextI...
gpl-3.0
padrinoo1/geek
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
mahdib9/mah9
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
rpetit3/darkstar
scripts/zones/Zeruhn_Mines/Zone.lua
17
2965
----------------------------------- -- -- Zone: Zeruhn_Mines (172) -- ----------------------------------- package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/zone"); require("scripts/zones/Zeruhn_Mines/TextIDs"); -...
gpl-3.0
TakingInitiative/wesnoth
host.lua
3
2731
-- host.lua -- -- Try to host a game called "Test" local function plugin() local function log(text) std_print("host: " .. text) end local counter = 0 local events, context, info local helper = wesnoth.require("lua/helper.lua") local function idle_text(text) counter = counter + 1 if counter...
gpl-2.0
ali033/botttt
plugins/welcome.lua
17
3536
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
slaubenberger/learn2love
demo004/libraries/LoveFrames/skins/Gray/skin.lua
1
52558
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- made for loveframes 0.9.5.12 -- skin table local skin = {} -- skin info (you always need this in a skin) skin.name = "Gray" ...
gpl-2.0
rpetit3/darkstar
scripts/zones/Southern_San_dOria/npcs/Tek_Lengyon.lua
53
1848
----------------------------------- -- Area: Southern San d'Oria -- NPC: Tek Lengyon -- Type: Leathercraft Synthesis Image Support -- @pos -190.120 -2.999 2.770 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("script...
gpl-3.0
rpetit3/darkstar
scripts/globals/items/fruit_parfait.lua
34
1571
----------------------------------------- -- ID: 6063 -- Item: fruit_parfait -- Food Effect: 180 Min, All Races ----------------------------------------- -- MP+5% (Upper limit 50) -- INT+3 -- MND+2 -- CHR+1 -- STR-3 -- MAB+6 ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
tempbottle/upb
third_party/lunit/console.lua
19
3677
--[[-------------------------------------------------------------------------- This file is part of lunit 0.5. For Details about lunit look at: http://www.mroth.net/lunit/ Author: Michael Roth <mroth@nessie.de> Copyright (c) 2006-2008 Michael Roth <mroth@nessie.de> Permission is hereby granted...
bsd-3-clause
martinrotter/textilosaurus
src/libtextosaurus/3rd-party/scintilla-lt/lexlua/scheme.lua
2
3507
-- Copyright 2006-2019 Mitchell mitchell.att.foicica.com. See License.txt. -- Scheme 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('scheme') -- Whitespace. lex:add_rule('whitespace', token(lexer.WHITESPA...
gpl-3.0
wanghuan1115/sdkbox-chartboost-sample
lua/src/cocos/framework/package_support.lua
12
4074
--[[ Copyright (c) 2011-2015 chukong-inc.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
mit
lmutee/tab
tdcli.lua
12
80423
--[[ 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 the hope that it wi...
gpl-3.0
rpetit3/darkstar
scripts/zones/Southern_San_dOria/npcs/Kueh_Igunahmori.lua
13
1234
----------------------------------- -- Area: Southern San d'Oria -- NPC: Kueh Igunahmori -- Guild Merchant NPC: Leathercrafting Guild -- @pos -194.791 -8.800 13.130 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
tvandijck/premake-core
modules/vstudio/tests/vc2010/test_project_configs.lua
15
2755
-- -- tests/actions/vstudio/vc2010/test_project_configs.lua -- Test the Visual Studio 2010 project configurations item group. -- Copyright (c) 2009-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_vc2010_project_configs") local vc2010 = p.vstudio.vc2010 -- -- Set...
bsd-3-clause
dmccuskey/dmc-objects
examples/DMC-ufo/main.lua
1
1900
--====================================================================-- -- UFO OOP Example -- -- by David McCuskey -- -- Sample code is MIT licensed, the same license which covers Lua itself -- http://en.wikipedia.org/wiki/MIT_License -- Copyright (C) 2011-2015 David McCuskey. All Rights Reserved. --==================...
mit
rpetit3/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Hammer.lua
6
1508
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Hammer ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEnga...
gpl-3.0
i32ropie/telegram-bot
plugins/translate.lua
674
1637
--[[ -- Translate text using Google Translate. -- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello --]] do function translate(source_lang, target_lang, text) local path = "http://translate.google.com/translate_a/single" -- URL query parameters local p...
gpl-2.0
rpetit3/darkstar
scripts/zones/Monarch_Linn/mobs/Mammet-19_Epsilon.lua
23
2616
----------------------------------- -- Area: Monarch Linn -- MOB: Mammet-19 Epsilon ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) mob:SetMagicCastingEnabled(false); end;...
gpl-3.0
Marnador/OpenRA-Marn-TS-Edition
mods/ra/maps/allies-05a/allies05a.lua
4
11295
if Map.Difficulty == "Easy" then TanyaType = "e7" ReinforceCash = 5000 HoldAITime = DateTime.Minutes(3) SpecialCameras = true elseif Map.Difficulty == "Normal" then TanyaType = "e7.noautotarget" ChangeStance = true ReinforceCash = 2250 HoldAITime = DateTime.Minutes(2) SpecialCameras = true else TanyaType = "e...
gpl-3.0
rpetit3/darkstar
scripts/zones/Northern_San_dOria/npcs/Palguevion.lua
13
1821
----------------------------------- -- Area: Northern San d'Oria -- NPC: Palguevion -- Only sells when San d'Oria controlls Valdeaunia Region ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setti...
gpl-3.0
tommo/gii
template/game/lib/mock/effect/EffectSprite.lua
1
5243
module 'mock' -------------------------------------------------------------------- --Common Routine -------------------------------------------------------------------- -- CLASS: EffectPropNode ( EffectNode ) -- :MODEL{} -- function EffectPropNode:createProp( fxState ) -- end -- function EffectPropNode:onLoad( fxS...
mit
rpetit3/darkstar
scripts/globals/abilities/hunters_roll.lua
19
2715
----------------------------------- -- Ability: Hunter's Roll -- Enhances accuracy and ranged accuracy for party members within area of effect -- Optimal Job: Ranger -- Lucky Number: 4 -- Unlucky Number: 8 -- Level: 11 -- -- Die Roll |Without RNG |With RNG -- -------- ------------ ------- -- 1 |+10 ...
gpl-3.0
rpetit3/darkstar
scripts/zones/Lower_Jeuno/npcs/HomePoint#1.lua
27
1269
----------------------------------- -- Area: Lower Jeuno -- NPC: HomePoint#1 -- @pos -98.588 0.001 -183.416 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Lower_Jeuno/TextIDs"); require("scripts/globals/ho...
gpl-3.0
rpetit3/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Dark.lua
13
2375
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Dark -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles")...
gpl-3.0
rpetit3/darkstar
scripts/zones/Temenos/bcnms/Central_Temenos_4th_Floor.lua
35
1480
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[C_Temenos_4th]UniqueID",GenerateLimbusKey()); HideArmouryCrates(GetInstanceRegion(1306),TE...
gpl-3.0
rpetit3/darkstar
scripts/zones/West_Ronfaure/npcs/Palcomondau.lua
27
12438
----------------------------------- -- Area: West Ronfaure -- NPC: Palcomondau -- Type: Patrol -- @pos -349.796 -45.345 344.733 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/pathfind"); ---------------...
gpl-3.0
Endika/Algorithm-Implementations
Pi_Algorithms/Lua/Yonaba/pi.lua
26
3259
-- Pi approximation algorithms implementation -- See: http://en.wikipedia.org/wiki/Pi -- Utility functions -- Computes the factorial of a given number local function fact(n) return n == 0 and 1 or n * fact(n - 1) end -- Evaluates Pi using a random and statistical approach -- (Monte-Carlo method) to evaluate pi -...
mit
rpetit3/darkstar
scripts/zones/Southern_San_dOria/npcs/Shilah.lua
12
2111
----------------------------------- -- Area: Southern San dOria -- NPC: Shilah -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); require...
gpl-3.0
lthall/Leonard_ardupilot
libraries/AP_Scripting/examples/copter-nav-script-time.lua
6
3428
-- Copter perform a simple maneuver in response to a NAV_SCRIPT_TIME mission command while the vehicle is in Auto mode -- -- Create a simple mission like below -- TAKEOFF, Alt:10m -- NAV_SCRIPT_TIME, command=0 (not used in this script), timeout=30 (seconds), arg1=5 (square width in meters), arg2=10 (square height in me...
gpl-3.0
rpetit3/darkstar
scripts/zones/Ordelles_Caves/TextIDs.lua
15
1991
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6543; -- Obtained: <item>. GIL_OBTAINED = 6544; -- Obtained <number> gil. KEYITEM_OBTAINED = 6546; -- Obtained...
gpl-3.0
tommo/gii
template/game/lib/mock/core/Audio.lua
1
1329
module 'mock' --[[ FMOD Designer Only ]] function initFmodDesigner() if not MOAIFmodEventMgr then return end --TODO: accept config from startup script local MOAIFmodEventMgrReady = MOAIFmodEventMgr.init{ ["soundMemoryMB"] = 16 ; ["rsxMemoryMB"] = 0 ; ["voiceLRUBufferMB"] ...
mit
rpetit3/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f1.lua
13
1076
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 215 -34 20 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); ------...
gpl-3.0
rpetit3/darkstar
scripts/zones/Northern_San_dOria/npcs/Maurine.lua
13
1038
----------------------------------- -- Area: Northern San d'Oria -- NPC: Maurine -- Type: Standard Dialogue NPC -- @zone: 231 -- @pos 144.852 0.000 136.828 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"); ...
gpl-3.0
rpetit3/darkstar
scripts/globals/items/serving_of_red_curry.lua
18
2180
----------------------------------------- -- ID: 4298 -- Item: serving_of_red_curry -- Food Effect: 3 hours, All Races ----------------------------------------- -- HP +25 -- Strength +7 -- Agility +1 -- Intelligence -2 -- HP recovered while healing +2 -- MP recovered while healing +1 -- Attack +23%...
gpl-3.0
rpetit3/darkstar
scripts/zones/Norg/npcs/Louartain.lua
13
1365
----------------------------------- -- Area: Norg -- NPC: Louartain -- Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); local path = { 41.878349, -6.282223, 10.820915, 42.088036, -6.282223, 11.867051, 42.096603, -6.282223, 12.939011, 42.104187, -6.282223, 17.270992, 42.126625...
gpl-3.0
rpetit3/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Iron_Grate.lua
13
2805
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Iron Grate -- Type: Door -- @pos 241.000 5.000 -20.000 111 : J-8 -- @pos 60.000 5.000 -359.000 111 : H-10 -- @pos 100.000 -15.000 159.000 111 : I-7 -- @pos -199.000 -35.000 -220.000 111 : G-9 -- @pos -20.000 -55.000 -41.000 111 : H-8 -...
gpl-3.0
tvandijck/premake-core
scripts/embed.lua
13
6489
-- -- Embed the Lua scripts into src/host/scripts.c as static data buffers. -- Embeds minified versions of the actual scripts by default, rather than -- bytecode, as bytecodes are not portable to different architectures. Use -- the `--bytecode` flag to override. -- local scriptCount = 0 local function loadScript(fn...
bsd-3-clause
rpetit3/darkstar
scripts/zones/Castle_Zvahl_Keep/npcs/Treasure_Chest.lua
13
3743
----------------------------------- -- Area: Castle Zvahl Keep -- NPC: Treasure Chest -- @zone 162 ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require(...
gpl-3.0
rpetit3/darkstar
scripts/zones/Al_Zahbi/npcs/Gadalar.lua
13
1043
----------------------------------- -- Area: Al Zahbi -- NPC: Gadalar -- Type: Fireserpent General -- @zone: 48 -- @pos -105.979 -7 39.692 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ---------------------...
gpl-3.0
martinrotter/textilosaurus
src/libtextosaurus/3rd-party/scintilla-lt/lexlua/context.lua
2
1937
-- Copyright 2006-2019 Robert Gieseke, Lars Otter. See License.txt. -- ConTeXt 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('context') -- TeX and ConTeXt mkiv environment definitions. local beginend = (...
gpl-3.0
opentechinstitute/luci-commotion-linux
modules/admin-core/luasrc/tools/status.lua
16
5205
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- module(...
apache-2.0
rpetit3/darkstar
scripts/zones/Riverne-Site_B01/TextIDs.lua
14
1227
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6384; -- Obtained: <item> GIL_OBTAINED = 6385; -- Obtained <number> gil KEYITEM_OBTAINED = 6387; -- Obtain...
gpl-3.0
rpetit3/darkstar
scripts/zones/Mhaura/npcs/Vera.lua
13
3044
----------------------------------- -- Area: Mhaura -- NPC: Vera -- Finishes Quest: The Old Lady -- @pos -49 -5 20 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); re...
gpl-3.0
rpetit3/darkstar
scripts/zones/Al_Zahbi/npcs/Bornahn.lua
13
1171
----------------------------------- -- Area: Al Zahbi -- NPC: Bornahn -- Guild Merchant NPC: Goldsmithing Guild -- @pos 46.011 0.000 -42.713 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
esguk811/DarkRP
gamemode/modules/base/cl_fonts.lua
3
2952
--[[--------------------------------------------------------------------------- The fonts that DarkRP uses ---------------------------------------------------------------------------]] local function loadFonts() local tahoma = system.IsLinux() and "DejaVu Sans" or "Tahoma" local tahomaSize = system.IsLinux() an...
mit
tommo/gii
template/game/lib/mock/core/AudioUntz.lua
2
6381
module 'mock' MOAIUntzSystem.initialize () -- CLASS: MusicPlayer ( Component ) -- function MusicPlayer -- local checkFileExists=MOAIFileSystem.checkFileExists -- function Game:registerSound(table,preloadAll) -- local st={} -- self.soundTable=st -- self.soundCache={} -- --check file existence -- local missingFil...
mit
rpetit3/darkstar
scripts/zones/RuAun_Gardens/mobs/Genbu.lua
9
1553
----------------------------------- -- Area: Ru'Aun Gardens -- NM: Genbu ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/globals/status"); ----------------------------...
gpl-3.0
rpetit3/darkstar
scripts/zones/Port_Bastok/npcs/Sugandhi.lua
13
1599
----------------------------------- -- Area: Port Bastok -- NPC: Sugandhi -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); require("scripts/globals/shop"); ----------------------------------- -- onTra...
gpl-3.0
rrthomas/luarocks
src/luarocks/upload.lua
19
2898
local upload = {} local util = require("luarocks.util") local fetch = require("luarocks.fetch") local pack = require("luarocks.pack") local cfg = require("luarocks.cfg") local Api = require("luarocks.upload.api") upload.help_summary = "Upload a rockspec to the public rocks repository." upload.help_arguments = "[--sk...
mit
rpetit3/darkstar
scripts/globals/status.lua
4
80258
------------------------------------ -- -- STATUSES AND MODS -- -- Contains variable-ized definitions of things like core enums for use in lua scripts. ------------------------------------ ------------------------------------ -- Job IDs ------------------------------------ JOBS = { ["NONE"] = 0, ["WAR"] = 1...
gpl-3.0
openrouter/openrouter-app
luci/applications/luci-vsftpd/luasrc/model/cbi/vsftpd.lua
1
5619
--[[ LuCI - Lua Configuration Interface - vsftpd support Script by Admin @ NVACG.com (af_xj@hotmail.com , xujun@smm.cn) The template Read & Write Function is based on luci-app-samba, TKS. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Y...
gpl-2.0
rpetit3/darkstar
scripts/zones/Pashhow_Marshlands_[S]/npcs/Telepoint.lua
13
1243
----------------------------------- -- Area: Pashhow Marshlands [S] -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Pashhow_Marshlands_[S]/TextIDs...
gpl-3.0
rpetit3/darkstar
scripts/globals/weaponskills/uriel_blade.lua
22
1443
----------------------------------- -- Uriel Blade -- Sword weapon skill -- Skill Level: N/A -- Description: Delivers an area attack that deals light elemental damage. Damage varies with TP. Additional effect Flash. -- AoE range ??. -- Only available during Campaign Battle while wielding a Griffinclaw. -- Aligned with ...
gpl-3.0
MHK-BOT/copy
plugins/security.lua
7
15346
--Begin security.lua --Prerequisite: local function isABotBadWay (user) local username = user.username or '' return username:match("bot$") end local function get_variables_hash(msg) return 'chat:'..msg.to.id..':badword' end local function list_variablesbad(msg) local hash = get_variable...
gpl-2.0
slaubenberger/learn2love
demo004/libraries/LoveFrames/objects/internal/scrollable/scrollbody.lua
8
5123
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- scrollbar class local newobject = loveframes.NewObject("scrollbody", "loveframes_object_scrollbody", true) --[[--------------...
gpl-2.0
rpetit3/darkstar
scripts/zones/Sacrarium/npcs/qm7.lua
13
1803
----------------------------------- -- Area: Sacrarium -- NPC: qm7 (???) -- Notes: Used to spawn Old Prof. Mariselle -- @pos 22.669 -3.111 -127.318 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sacrarium/Tex...
gpl-3.0
rpetit3/darkstar
scripts/zones/Aydeewa_Subterrane/npcs/qm3.lua
29
1271
----------------------------------- -- Area: Aydeewa Subterrane -- NPC: ??? (Spawn Chigre(ZNM T1)) -- @pos -217 35 12 68 ----------------------------------- package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aydeewa_Subterrane/TextIDs"); require...
gpl-3.0
TakingInitiative/wesnoth
data/lua/wml-flow.lua
3
8017
local helper = wesnoth.require "lua/helper.lua" local utils = wesnoth.require "lua/wml-utils.lua" local wml_actions = wesnoth.wml_actions function wml_actions.command(cfg) utils.handle_event_commands(cfg, "plain") end -- we can't create functions with names that are Lua keywords (eg if, while) -- instead, we store t...
gpl-2.0
tvandijck/premake-core
modules/d/actions/gmake.lua
8
10197
-- -- d/actions/gmake.lua -- Define the D makefile action(s). -- Copyright (c) 2013-2015 Andrew Gough, Manu Evans, and the Premake project -- local p = premake local m = p.modules.d m.make = {} local dmake = m.make require ("gmake") local make = p.make local cpp = p.make.cpp local project = p.project loca...
bsd-3-clause
rpetit3/darkstar
scripts/zones/Promyvion-Mea/Zone.lua
13
8564
----------------------------------- -- -- Zone: Promyvion-Mea (20) -- ----------------------------------- package.loaded["scripts/zones/Promyvion-Mea/TextIDs"] = nil; ---------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/missions"); require...
gpl-3.0
rpetit3/darkstar
scripts/zones/Dynamis-Beaucedine/Zone.lua
21
2557
----------------------------------- -- -- Zone: Dynamis-Beaucedine -- ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Dynamis-Beaucedine/TextIDs"); --------------------...
gpl-3.0
dwmw2/luci
applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_auth.lua
79
2021
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("coovachilli") -- uam config s1 = m:section(TypedSection, "uam") s1.anonymous = true s1:option( Value, "uamserver" ) s1:option( Value, "uamsecret" )....
apache-2.0
karpathy/nn
ConcatTable.lua
20
3268
local ConcatTable, parent = torch.class('nn.ConcatTable', 'nn.Container') function ConcatTable:__init() parent.__init(self) self.modules = {} self.output = {} end function ConcatTable:updateOutput(input) for i=1,#self.modules do self.output[i] = self.modules[i]:updateOutput(input) end return s...
bsd-3-clause
dwmw2/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/leds.lua
52
3065
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. m = Map("system", translate("<abbr title=\"Light Emitting Diode\">LED</abbr> Configuration"), translate("Customizes the behaviour of the device <abbr title=\"Light Emitting Diode\">LED</abbr>s if possible.")) l...
apache-2.0
vlapsley/outback
mods/dungeon_loot/mapgen.lua
1
5584
minetest.set_gen_notify({dungeon = true, temple = true}) local function noise3d_integer(noise, pos) return math.abs(math.floor(noise:get_3d(pos) * 0x7fffffff)) end local function random_sample(rand, list, count) local ret = {} for n = 1, count do local idx = rand:next(1, #list) table.insert(ret, list[idx]) t...
lgpl-2.1
Afforess/Misanthrope
libs/region/chunk_value.lua
1
3400
require 'stdlib/event/event' require 'stdlib/area/position' require 'stdlib/area/chunk' require 'stdlib/area/tile' require 'libs/biter_targets' local Log = function(str, ...) World.Logger.log(string.format(str, ...)) end Event.register({defines.events.on_entity_built, defines.events.on_robot_built_entity}, function(e...
isc
dwmw2/luci
protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua
60
1569
-- Copyright 2013 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local o = section:taboption("general", ListValue, "reqaddress", translate("Request IPv6-address")) o:value("try") o:value("force") o:value("none", "disabled") o.default = "try" ...
apache-2.0
gligneul/FastLua
benchmarks/qt.lua
1
6693
-- qt.lua,15 (one edge vector) -- Julia sets via interval cell-mapping (quadtree version) --require"julia" local f=f local io=io local root,exterior local cx,cy local Rxmin,Rxmax,Rymin,Rymax=-2.0,2.0,-2.0,2.0 local white=1.0 local black=0.0 local gray=0.5 local N=0 local nE=0 local E={} local write=io....
mit
rpetit3/darkstar
scripts/zones/Bastok_Mines/npcs/Davyad.lua
13
1177
----------------------------------- -- Area: Bastok Mines -- NPC: Davyad -- Involved in Mission: Bastok 3-2 -- @zone 234 -- @pos 83 0 30 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scri...
gpl-3.0
tvandijck/premake-core
modules/d/tools/ldc.lua
5
7730
-- -- d/tools/ldc.lua -- Provides LDC-specific configuration strings. -- Copyright (c) 2013-2015 Andrew Gough, Manu Evans, and the Premake project -- local p = premake p.tools.ldc = { } local ldc = p.tools.ldc local project = p.project local config = p.config local d = p.modules.d -- -- Set default tools -- ...
bsd-3-clause
TakingInitiative/wesnoth
data/ai/micro_ais/micro_ai_unit_variables.lua
33
3529
-- This set of functions provides a consistent way of storing Micro AI -- variables in units. They need to be stored inside a [micro_ai] tag in a -- unit's [variables] tag together with an ai_id= key, so that they can be -- removed when the Micro AI gets deleted. Otherwise subsequent Micro AIs used -- in the same scena...
gpl-2.0
legoktm/wesnoth
data/ai/micro_ais/micro_ai_unit_variables.lua
33
3529
-- This set of functions provides a consistent way of storing Micro AI -- variables in units. They need to be stored inside a [micro_ai] tag in a -- unit's [variables] tag together with an ai_id= key, so that they can be -- removed when the Micro AI gets deleted. Otherwise subsequent Micro AIs used -- in the same scena...
gpl-2.0
emoon/docking_system
bin/macosx/tundra/scripts/tundra/syntax/embed_lua.lua
28
2033
module(..., package.seeall) local util = require "tundra.util" local path = require "tundra.path" local glob = require "tundra.syntax.glob" local nodegen = require "tundra.nodegen" local depgraph = require "tundra.depgraph" local lua_exts = { ".lua" } local luac_mt_ = nodegen.create_eval_subclass {} local function l...
bsd-3-clause
DorotheeLaugwitz/intergalacticgolf
lib/lclass/init.lua
2
5456
--[[ The MIT License (MIT) Copyright (c) 2013 Andrew McWatters Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi...
mit
nokizorque/ucd
dxscoreboard/dxscoreboard_client.lua
1
53802
-- THESE CAN BE CHANGED triggerKey = "tab" -- default button to open/close scoreboard settingsKey = "F7" -- default button to open the settings window drawOverGUI = true -- draw scoreboard over gui? seperationSpace = 80 -- the space between top/bottom screen and scoreboard top/bottom in pixels -- BUT DON'T TOUCH THESE...
mit
mrhaftkhat/tabchi
base.lua
2
1068
serpent = (loadfile "serpent.lua")() tdcli = dofile('tdcli.lua') redis = (loadfile "redis.lua")() tabchi_id = "TABCHI-ID" function vardump(value) return serpent.block(value,{comment=false}) end function reload() tabchi = dofile("tabchi.lua") end function dl_cb (arg, data) end reload() function tdcli_update_cal...
gpl-3.0
rpetit3/darkstar
scripts/globals/effects/dark_arts.lua
65
2045
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable(); local bonus = effect:getPower(); local helix = effect:get...
gpl-3.0
rpetit3/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Shahau.lua
29
1735
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Shahau -- Type: Alchemy Image Support -- @pos -10.470 -6.25 -141.700 241 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status...
gpl-3.0
msva/verse
util/termcolours.lua
2
1993
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local t_concat, t_insert = table.concat, table.insert; local char, format = string.char, string.format; ...
mit
TakingInitiative/wesnoth
data/lua/cave_map_generator.lua
3
5013
local helper = wesnoth.require "lua/helper.lua" local MG = wesnoth.require "lua/mapgen_helper.lua" local LS = wesnoth.require "lua/location_set.lua" local T = helper.set_wml_tag_metatable {} local random = wesnoth.random local callbacks = {} function callbacks.generate_map(params) local map = MG.create_map(params.ma...
gpl-2.0
rpetit3/darkstar
scripts/zones/Mhaura/npcs/Dieh_Yamilsiah.lua
13
2204
----------------------------------- -- Area: Mhaura -- NPC: Dieh Yamilsiah -- Reports the time remaining before boat arrival. -- @pos 7.057 -2.364 2.489 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextI...
gpl-3.0
vlapsley/outback
mods/technic/technic/machines/HV/forcefield.lua
1
11720
--- Forcefield generator. -- @author ShadowNinja -- -- Forcefields are powerful barriers but they consume huge amounts of power. -- The forcefield Generator is an HV machine. -- How expensive is the generator? -- Leaves room for upgrades lowering the power drain? local digilines_path = minetest.get_modpath("digilines"...
lgpl-2.1
esguk811/DarkRP
gamemode/modules/fadmin/fadmin/playeractions/jail/sv_init.lua
5
7563
local function Jail(ply, cmd, args) if not args[1] then return false end local targets = FAdmin.FindPlayer(args[1]) if not targets or #targets == 1 and not IsValid(targets[1]) then FAdmin.Messages.SendMessage(ply, 1, "Player not found") return false end local JailType = FAdmin.Play...
mit
TakingInitiative/wesnoth
data/ai/micro_ais/cas/ca_messenger_attack.lua
3
4386
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local messenger_next_waypoint = wesnoth.require "ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua" local best_attack local function messenger_find_enemies_in_way(messenger, goal_x, goal_y) -- Returns the first unit on or...
gpl-2.0
rpetit3/darkstar
scripts/zones/Chamber_of_Oracles/bcnms/through_the_quicksand_caves.lua
26
1982
----------------------------------- -- Area: Qu'Bia Arena -- Name: Zilart Mission 6 -- @pos -221 -24 19 206 ----------------------------------- package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems")...
gpl-3.0
dejayc/CooL
Packages/BaseApp.lua
1
2697
--[[ CooL( Corona Object-Oriented Lua ) https://github.com/dejayc/CooL Copyright 2011 Dejay Clayton All use of this file must comply with the Apache License, Version 2.0, under which this file is licensed: http://www.apache.org/licenses/LICENSE-2.0 --]] --[[ ---------------------------------...
apache-2.0