repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
vseledkin/april-ann
packages/basics/matrix/lua_src/matrixChar.lua
1
1997
class.extend_metamethod(matrixChar, "__len", function(self) return self:size() end) class.extend_metamethod(matrixChar, "__ipairs", function(self) return function(self,i) i = i+1 if i <= #self then return i,self[i]...
gpl-3.0
Afforess/Misanthrope
stdlib/area/chunk.lua
11
4046
--- Chunk module --- <p>A chunk represents a 32x32 area of a surface in factorio.</p> -- @module Chunk require 'stdlib/core' require 'stdlib/area/position' Chunk = {} MAX_UINT = 4294967296 --- Calculates the chunk coordinates for the tile position given -- @param position to calculate the chunk for -- @return the ...
isc
jdwang001/vstruct
test/struct-test-gen.lua
6
29066
-- Config local CONF = { VERBOSE = false, -- Spew verbosely while testing? WIDTH = 32, -- Total size of numbers in bits. PRECISION = 17, -- Fractional precision in bits. MAX_DEPTH = 5, -- Limit on nesting depth of test formats. COMPOUND_LENGTH = 2, -- # formats in a sequence. SEED = false,...
mit
rpetit3/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Vanguard_Eye.lua
2
2789
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Vanguard_Eye -- Map Position: http://images.wikia.com/ffxi/images/c/cc/Xar.jpg ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); ----------------------------------- -- onMobInitialize Actio...
gpl-3.0
rpetit3/darkstar
scripts/zones/Abyssea-Grauberg/npcs/Cavernous_Maw.lua
29
1196
----------------------------------- -- Area: Abyssea - Grauberg -- NPC: Cavernous Maw -- @pos -564.000, 30.300, -760.000 254 -- Teleports Players to North Gustaberg ----------------------------------- package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
prances/robo
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-3.0
rpetit3/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Donmo-Boronmo_WW.lua
13
3355
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Donmo-Boronmo, W.W. -- Type: Outpost Conquest Guards -- @pos -294.470 15.806 420.117 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
rpetit3/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Icon_Prototype.lua
22
1416
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Icon Prototype ----------------------------------- package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("scripts/zones/D...
gpl-3.0
peterbarker/ardupilot
Tools/CHDK-Scripts/Cannon S100/3DR_EAI_S100.lua
96
29695
--[[ KAP UAV Exposure Control Script v3.2 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script 3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot. Changelog: -Modified Tv, Av, and...
gpl-3.0
kossher/kossherbot
data/config.lua
4
2262
do local _ = { about_text = "W_SaTaN_W V5.5.2\nAdmins\n@WilSoN_DeVeLoPeR\nSpecial thanks to\n@D awsh_Alfred\nour channel\n@W_SaTaN_w_chnnl\n", disabled_channels = {}, enabled_plugins = { "onservice", "inrealm", "ingroup", "inpm", "banhammer", "stats", "anti_spam", "owners", "ar...
gpl-2.0
rpetit3/darkstar
scripts/zones/Mine_Shaft_2716/npcs/_0d0.lua
13
2023
----------------------------------- -- Area: Mine_Shaft_2716 -- NPC: Shaft entrance ----------------------------------- package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("scripts/globals/missio...
gpl-3.0
Aminkavari/xXD4RKXxBot
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
zhwsh00/DirectFire-android
cocos2d-2.1beta3-x-2.1.0/samples/TestLua/Resources/luaScript/TransitionsTest/TransitionsTest.lua
1
9935
require "luaScript/TransitionsTest/TransitionsName" local SceneIdx = -1 local CurSceneNo = 2 local TRANSITION_DURATION = 1.2 local s = CCDirector:sharedDirector():getWinSize() local function switchSceneTypeNo() if CurSceneNo == 1 then CurSceneNo = 2 else CurSceneNo = 1 end end local function backAction() Sc...
mit
rpetit3/darkstar
scripts/zones/Gustav_Tunnel/mobs/Erlik.lua
14
1057
---------------------------------- -- Area: Gustav Tunnel -- MOB: Erlik -- Note: Place holder Baobhan Sith ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Gustav_Tunnel/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------...
gpl-3.0
mrbangi/yagop
bot/bot.lua
54
6648
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") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-2.0
ddouglascarr/rooset
lffrontend/app/main/help/introduction.lua
1
1965
ui.title(_"Introduction") -- show the user what can be done execute.view { module = "index", view = "_sidebar_whatcanido" } ui.section(function() ui.sectionHead(function() ui.heading{ level = 1, content = _"Structured discussion" } end) ui.sectionRow(function() ui.heading{ level = 2, content = _"Initiat...
mit
vlapsley/outback
mods/carts/rails.lua
4
1726
carts:register_rail("carts:rail", { description = "Rail", tiles = { "carts_rail_straight.png", "carts_rail_curved.png", "carts_rail_t_junction.png", "carts_rail_crossing.png" }, inventory_image = "carts_rail_straight.png", wield_image = "carts_rail_straight.png", groups = carts:get_rail_groups(), }, {}) mine...
lgpl-2.1
rpetit3/darkstar
scripts/globals/weaponskills/blade_rin.lua
26
1394
----------------------------------- -- Blade Rin -- Katana weapon skill -- Skill Level: 5 -- Delivers a single-hit attack. Chance of params.critical varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Light Gorget. -- Aligned with the Light Belt. -- Element: None -- Modifiers: STR:20% ; DEX:20% -- 100%...
gpl-3.0
rpetit3/darkstar
scripts/globals/items/sausage.lua
18
1644
----------------------------------------- -- ID: 4578 -- Item: sausage -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 3 -- Strength 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 -- Ranged ATT % 27 -- Ranged ATT Cap 30 ----------------------------------------- require("scr...
gpl-3.0
jcowgar/opentx-ui
SCRIPTS/LIBRARY/config.lua
1
1220
local config = {} function config.write(filename, cfg) local f = io.open(filename, 'w') if f == nil then return false end for k,v in pairs(cfg) do io.write(f, k .. '=' .. tostring(v) .. "\n") end io.close(f) return true end function config.read(filename, cfg) -- -- OpenTX Lua throws an error if you ...
gpl-2.0
sys4-fr/server-minetestforfun
mods/maptools/craftitems.lua
8
2408
--[[ Map Tools: item definitions Copyright (c) 2012-2015 Calinou and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] local S = maptools.intllib maptools.creative = maptools.config["hide_from_creative_inventory"] minetest.register_craftitem("maptools:copper_coin", { descript...
unlicense
MinetestForFun/server-minetestforfun-creative
mods/diplazer/lighfix.lua
1
2418
minetest.register_craft({ output = "diplazer:lightfixer", recipe = { {"default:steel_ingot","default:torch", "default:steel_ingot"}, {"","default:steel_ingot",""}, } }) minetest.register_tool("diplazer:lightfixer", { description = "Light fixer (put on or into unnatural darkness)", range = 10, in...
unlicense
d4rkboy/....
plugins/getlink.lua
7
1239
if matches[1] == 'clink' then if not is_momod(msg) then return "For moderators only!" end local function callback (extra , success, result) local receiver = 'chat#'..msg.to.id if success == 0 then return send_large_msg(receiver, '*Error: Invite link failed* \nReason...
gpl-2.0
Jigoku/dungeon
input.lua
1
1294
--[[ * Copyright (C) 2015 Ricky K. Thomson * * 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 your option) any later version. * This program is d...
gpl-3.0
rpetit3/darkstar
scripts/globals/abilities/reward.lua
26
6290
----------------------------------- -- Ability: Reward -- Feeds pet to restore its HP. -- Obtained: Beastmaster Level 12 -- Recast Time: 1:30 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/pets"); --------------...
gpl-3.0
rpetit3/darkstar
scripts/zones/QuBia_Arena/mobs/Rojgnoj_s_Left_Hand.lua
23
1152
----------------------------------- -- Area: QuBia_Arena -- Mission 9-2 SANDO ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) mob:setLocalVar("2HGO",math.random(40,80)); end; -------------------------------...
gpl-3.0
peterbarker/ardupilot
libraries/AP_Scripting/examples/MotorMatrix_fault_tolerant_hex.lua
18
1532
-- This script is an example setting up a custom motor matrix mix -- this is the config for hexacopter with the motor rotations configured for improved fault tolerance -- see: https://arxiv.org/pdf/1403.5986.pdf -- duplicate the #defines from AP_Motors local AP_MOTORS_MATRIX_YAW_FACTOR_CW = -1 local AP_MOTORS_MATRIX_...
gpl-3.0
vseledkin/april-ann
tools/HMM_ANN/other/compute_mlp_posteriors.lua
3
4558
april_print_script_header(arg) dofile(string.get_path(arg[0]) .. "../utils.lua") cmdOptTest = cmdOpt{ program_name = string.basename(arg[0]), argument_description = "", main_description = "Generate the MLP posterior matrix", { index_name="n", description = "MLP file", short = "n", argument = "ye...
gpl-3.0
rpetit3/darkstar
scripts/globals/weaponskills/primal_rend.lua
19
1759
----------------------------------- -- Primal Rend -- Axe weapon skill -- Skill Level: N/A -- Deals light elemental damage. Damage varies with TP. Aymur: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Beastmaster) quest. -- Aligned with the Shadow Gorget, Soil Gorget & Aqua Go...
gpl-3.0
tvandijck/premake-core
binmodules/luasocket/test/httptest.lua
25
11462
-- needs Alias from /home/c/diego/tec/luasocket/test to -- "/luasocket-test" and "/luasocket-test/" -- needs ScriptAlias from /home/c/diego/tec/luasocket/test/cgi -- to "/luasocket-test-cgi" and "/luasocket-test-cgi/" -- needs "AllowOverride AuthConfig" on /home/c/diego/tec/luasocket/test/auth local socket = require("s...
bsd-3-clause
iRGBit/Dato-Core
src/unity/python/graphlab/lua/pl/permute.lua
51
1574
--- Permutation operations. -- -- Dependencies: `pl.utils`, `pl.tablex` -- @module pl.permute local tablex = require 'pl.tablex' local utils = require 'pl.utils' local copy = tablex.deepcopy local append = table.insert local coroutine = coroutine local resume = coroutine.resume local assert_arg = utils.assert_arg loc...
agpl-3.0
vseledkin/april-ann
tools/HMM_ANN/segmentation/forced_viterbi_alignment.lua
3
11960
-- FIXME: Este SCRIPT solo tiene en cuenta trifonemas dentro de las -- palabras, pero entre palabras april_print_script_header(arg) dofile(string.get_path(arg[0]) .. "../utils.lua") cmdOptTest = cmdOpt{ program_name = string.basename(arg[0]), argument_description = "", main_description = "Force Viterbi Alignmen...
gpl-3.0
sys4-fr/server-minetestforfun
mods/mobs_monster/dungeon_master.lua
1
3313
local S = mobs.intllib -- Dungeon Master by PilzAdam mobs:register_mob("mobs_monster:dungeon_master", { type = "monster", passive = false, damage = 4, attack_type = "dogshoot", dogshoot_switch = 1, dogshoot_count_max = 12, -- shoot for 10 seconds dogshoot_count2_max = 3, -- dogfight for 3 seconds reach = 3,...
unlicense
MHK-BOT/copy
plugins/Chat.lua
1
5871
local function get_message_callback_id(extra, success, result) if is_sudo(result) then usertype = {'تو عشق منی', 'بابایی خوشگل منی', 'آقامونی ^_^', 'سروره کل گروه', 'my love :*', 'بکنه کله گروه',} text = usertype[math.random(#usertype)] send_large_msg(orgchatid, text) elseif result.from...
gpl-2.0
epwalsh/dotfiles
neovim/after/plugin/obsidian.lua
1
1147
local obsidian = require("obsidian").setup { dir = "~/epwalsh-notes", notes_subdir = "notes", note_id_func = function(title) -- Create note IDs in a Zettelkasten format with a timestamp and a suffix. local suffix = "" if title ~= nil then -- If title is given, transform it into valid file name. ...
mit
sxend/FrameworkBenchmarks
frameworks/Lua/octopus/app/src/FortunesController.lua
40
1075
local json = require "json" local database = require "database" local exit = require "exit" local template = require'template' template.caching(false) -- Compile template, disable cache, enable plain text view to skip filesystem loading local view = template.compile([[<!DOCTYPE html><html><head><title>Fortunes</title>...
bsd-3-clause
dwmw2/luci
modules/luci-base/luasrc/util.lua
46
16763
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local io = require "io" local math = require "math" local table = require "table" local debug = require "debug" local ldebug = require "luci.debug" local string = require "string" local coroutine = require "coro...
apache-2.0
schidler/ionic-luci
protocols/luci-proto-relay/luasrc/model/network/proto_relay.lua
61
2908
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local netmod = luci.model.network local device = luci.util.class(netmod.interface) netmod:register_pattern_virtual("^relay-%w") local proto = netmod:register_protocol("relay") function proto.get_i18n(self) r...
apache-2.0
rpetit3/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_ir5.lua
13
1296
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _ir5 (Oil Lamp) -- Notes: Opens north door at J-9 from inside. -- @pos 103.703 -26.180 37.000 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
actboy168/jass2lua
src/import/utility.lua
1
1423
local jass = require 'jass.common' local japi = require 'jass.japi' local ai = require 'jass.ai' local console = require 'jass.console' local runtime = require 'jass.runtime' local setmetatable = setmetatable local tostring = tostring local debug = debug local rawset = rawset local rawget ...
mit
rpetit3/darkstar
scripts/globals/abilities/water_maneuver.lua
19
1610
----------------------------------- -- Ability: Water Maneuver -- Enhances the effect of water attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); ...
gpl-3.0
nokizorque/ucd
UCDjobVehicles/server.lua
1
5094
-- spawnerData = {} -- Table of spawner data (because binds are easier) PJV = {} -- Table of player spawned vehicles -- Handled client-side for now (because binds are easier) --[[ -- Create markers function init() for _, info in ipairs(jobVehicles) do local mkr = Marker(info.x, info.y, info.z - 1, "cylinder", 2, in...
mit
basiliscos/lua-ordered-set
src/OrderedSet.lua
1
2676
--[[ Copyright (C) 2016 Ivan Baidakou Licence: Artistic License 2.0 ]]-- local OrderedSet = {} OrderedSet.__index = OrderedSet function OrderedSet.new(items) local o = { node_for = {}, -- k: object, v: node head = nil, tail = nil, capacity = 0, } setmetatable(o, OrderedSet) if (item...
artistic-2.0
rpetit3/darkstar
scripts/zones/Sacrificial_Chamber/mobs/Pevv the Riverleaper.lua
19
1573
----------------------------------- ----------------------------------- -- Area: Sacrificial Chamber -- MOB: Pevv the Riverleaper -- BCNM: Amphibian Assault ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Sacrificial Chamber/MobIDs"); ----------------------------------- ...
gpl-3.0
rpetit3/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/_mf8.lua
13
1409
----------------------------------- -- Area: Temple of Uggalepih -- NPC: _mf8 (Granite Door) -- Notes: Opens with Prelate Key -- @pos -11 -8 -99 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Templ...
gpl-3.0
rpetit3/darkstar
scripts/zones/West_Sarutabaruta/npcs/Harvesting_Point.lua
13
1089
----------------------------------- -- Area: West Sarutabaruta -- NPC: Harvesting Point ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ------------------------------------- require("scripts/globals/harvesting"); require("scripts/zones/West_Sarutabaruta/TextIDs")...
gpl-3.0
vseledkin/april-ann
packages/basics/lexClass/package.lua
3
1087
package{ name = "lexClass", version = "1.0", depends = { "util" }, keywords = { "lexClass" }, description = "no description available", -- targets como en ant target{ name = "init", mkdir{ dir = "build" }, mkdir{ dir = "include" }, }, target{ name = "clean", delete{ dir = "b...
gpl-3.0
vlapsley/outback
mods/biomes/victoria.lua
1
5128
--[[ Victoria --]] -- victoria minetest.register_biome({ name = "victoria", node_top = "default:dirt_with_grass", depth_top = 1, node_filler = "default:dirt", depth_filler = 3, node_stone = "default:stone", node_river_water = "outback:muddy_water_source",...
lgpl-2.1
esguk811/DarkRP
gamemode/modules/fadmin/fadmin/access/sh_shared.lua
3
10996
CreateConVar("_FAdmin_immunity", 1, {FCVAR_GAMEDLL, FCVAR_REPLICATED, FCVAR_ARCHIVE, FCVAR_SERVER_CAN_EXECUTE}) FAdmin.Access = FAdmin.Access or {} FAdmin.Access.ADMIN = {"user", "admin", "superadmin"} FAdmin.Access.ADMIN[0] = "user" FAdmin.Access.Groups = FAdmin.Access.Groups or {} FAdmin.Access.Privileges = FAdmin....
mit
swfiua/awesome
debian/menu.lua
1
11386
-- automatically generated file. Do not edit (see /usr/share/doc/menu/html) module("debian.menu") Debian_menu = {} Debian_menu["Debian_Applications_Accessibility"] = { {"xbindkeys","/usr/bin/xbindkeys"}, {"Xmag","xmag"}, } Debian_menu["Debian_Applications_Data_Management"] = { {"Tomboy","/usr/bin/tomboy"}, } Debi...
gpl-3.0
schidler/ionic-luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme.lua
68
1037
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ast = require "luci.asterisk" cbimap = Map("asterisk", "MeetMe - Rooms") meetme = cbimap:section(TypedSection, "meetme", "MeetMe Rooms") meetme.addremove = true meetme.anonymous = true meetme.template = ...
apache-2.0
rpetit3/darkstar
scripts/zones/Wajaom_Woodlands/npcs/qm3.lua
30
1356
----------------------------------- -- Area: Wajaom Woodlands -- NPC: ??? (Spawn Gotoh Zha the Redolent(ZNM T3)) -- @pos -337 -31 676 51 ----------------------------------- package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Wajaom_Woodlands/TextID...
gpl-3.0
rpetit3/darkstar
scripts/globals/spells/bluemagic/screwdriver.lua
35
1877
----------------------------------------- -- Spell: Screwdriver -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 21 MP -- Monster Type: Aquans -- Spell Type: Physical (Piercing) -- Blue Magic Points: 3 -- Stat Bonus: VIT+1, CHR+1, HP+10 -- Level: 26 -- Casting Time: 0.5 seconds -- Recast T...
gpl-3.0
rpetit3/darkstar
scripts/zones/Mount_Zhayolm/npcs/Waudeen.lua
18
2108
----------------------------------- -- Area: Mount_Zhayolm -- NPC: Waudeen -- Type: Assault -- @pos 673.882 -23.995 367.604 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mount_Zhayolm/TextIDs"); require("sc...
gpl-3.0
rpetit3/darkstar
scripts/zones/Lower_Jeuno/npcs/Harnek.lua
25
2403
----------------------------------- -- Area: Lower Jeuno -- NPC: Harnek -- Starts and Finishes Quest: The Tenshodo Showdown (finish) -- @zone 245 -- @pos 44 0 -19 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
rigeirani/as
plugins/vip2.lua
16
305564
do function run(msg, matches) return "spamspamspamspamspamsspamspamspamspamsلفت بده کونیspamspamsspamspamspamspamspams امید ویزارد لفت بده کونیspamspamsspamspamspamspamspams امید ویزارد لفت بده کونیspamspamsspamspamspamspamspams امید ویزارد لفت بده کونیspamspamsspamspamspamspamspams امید ویزارد لفت بده کونیs...
gpl-2.0
rpetit3/darkstar
scripts/zones/Temenos/mobs/Telchines_Monk.lua
28
1126
----------------------------------- -- Area: Temenos N T -- NPC: Telchines_Monk ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------------...
gpl-3.0
rpetit3/darkstar
scripts/zones/Al_Zahbi/npcs/Numaaf.lua
53
2294
----------------------------------- -- Area: Al Zahbi -- NPC: Numaaf -- Type: Cooking Normal/Adv. Image Support -- @pos 54.966 -7 8.328 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts...
gpl-3.0
rpetit3/darkstar
scripts/zones/Bastok_Mines/npcs/Faustin.lua
12
1546
----------------------------------- -- Area: Bastok_Mines -- NPC: Faustin -- Only sells when Bastok controlls Ronfaure Region ----------------------------------- require("scripts/globals/events/harvest_festivals"); require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Bast...
gpl-3.0
rpetit3/darkstar
scripts/zones/Hall_of_the_Gods/npcs/Shimmering_Circle.lua
12
1794
----------------------------------- -- Area: Hall of the Gods -- NPC: Shimmering Circle -- Lifts players up to the sky! -- @pos 0 -20 147 251 ----------------------------------- package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); req...
gpl-3.0
rpetit3/darkstar
scripts/globals/mobskills/PL_Tidal_Slash.lua
35
1100
--------------------------------------------- -- Tidal Slash -- -- Description: Deals Water damage in a threefold -- attack to targets in a fan-shaped area of effect. -- Type: Physical? -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Melee? -- Notes: Used only by Merrows equipped with a spear. -- If they lost their s...
gpl-3.0
TakingInitiative/wesnoth
data/ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua
7
2619
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" return function(cfg) -- Calculate next waypoint and rating for all messengers -- Return next messenger to move and waypoint toward which it shoul...
gpl-2.0
sys4-fr/server-minetestforfun
mods/ambience/init29debug.lua
3
23265
-------------------------------------------------------------------------------------------------------- --Ambiance Configuration for version .29 --working on Flying --PROB: wind stops short even though it says we are still flying and don't hear the start sound. --really BIG prob, it ruins water meaning you hear be...
unlicense
rpetit3/darkstar
scripts/zones/Bastok_Markets/npcs/Ulrike.lua
53
1816
----------------------------------- -- Area: Bastok Markets -- NPC: Ulrike -- Type: Goldsmithing Synthesis Image Support -- @pos -218.399 -7.824 -56.203 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/st...
gpl-3.0
rpetit3/darkstar
scripts/zones/Port_San_dOria/npcs/Parcarin.lua
13
1719
----------------------------------- -- Area: Port San d'Oria -- NPC: Parcarin -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -9 -13 -151 232 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/que...
gpl-3.0
esguk811/DarkRP
entities/entities/spawned_weapon/cl_init.lua
5
2216
include("shared.lua") function ENT:Draw() local ret = hook.Call("onDrawSpawnedWeapon", nil, self) if ret ~= nil then return end self:DrawModel() if self.dt.amount == 1 then return end local Pos = self:GetPos() local Ang = self:GetAngles() local text = DarkRP.getPhrase("amount") .. self.dt...
mit
rpetit3/darkstar
scripts/globals/items/bowl_of_ocean_soup.lua
18
1899
----------------------------------------- -- ID: 4285 -- Item: bowl_of_ocean_soup -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP % 5 -- MP 5 -- Dexterity 4 -- Mind -3 -- HP Recovered While Healing 9 -- Attack % 14 (cap 65) -- Ranged Attack % 14 (cap 65) ---------------------------------...
gpl-3.0
rpetit3/darkstar
scripts/zones/Valkurm_Dunes/npcs/Swirling_Vortex.lua
12
1333
----------------------------------- -- Area: Valkurm Dunes -- NPC: Swirling Vortex -- Entrance to Lufaise Meadows -- @pos 420.057 0.000 -199.905 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/tele...
gpl-3.0
rpetit3/darkstar
scripts/zones/Rabao/npcs/Agado-Pugado.lua
13
5683
----------------------------------- -- Area: Rabao -- NPC: Agado-Pugado -- Starts and Finishes Quest: Trial by Wind -- @pos -17 7 -10 247 ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/g...
gpl-3.0
irontec/Ikasesteka
Ikasesteka/cocos2d/plugin/luabindings/auto/api/ProtocolAds.lua
146
1442
-------------------------------- -- @module ProtocolAds -- @extend PluginProtocol -- @parent_module plugin -------------------------------- -- brief show adview<br> -- param info The information of adview will be shown<br> -- Pay attention to the subclass definition<br> -- param pos The position where the adview be s...
mit
MinetestForFun/server-minetestforfun-creative
mods/maptools/init.lua
1
2904
--[[ ===================================================================== ** Map Tools ** By Calinou. Copyright (c) 2012-2015 Calinou and contributors. Licensed under the zlib license. See LICENSE.md for more information. ===================================================================== --]] maptools = {} local...
unlicense
tenvick/hugula
Client/Assets/Lua/viewmodels/ui_login.lua
1
3729
------------------------------------------------ -- Copyright © 2013-2021 Hugula mvvm framework -- discription ui_login -- author -- date ------------------------------------------------ local View = View local VMState = VMState local VMGroup = VMGroup --lua local DIS_TYPE = DIS_TYPE -- local lua_binding = lua_b...
mit
atkinson137/lootmasterplus
Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua
11
2731
--[[----------------------------------------------------------------------------- Button Widget Graphical Button. -------------------------------------------------------------------------------]] local Type, Version = "Button", 23 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidget...
mit
rpetit3/darkstar
scripts/zones/Port_Jeuno/npcs/Supiroro.lua
30
1388
----------------------------------- -- Area: Port Jeuno -- NPC: Supiroro -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Action ------------------------------...
gpl-3.0
rpetit3/darkstar
scripts/globals/mobskills/Deadeye.lua
28
1185
--------------------------------------------- -- Deadeye -- Family: Qiqurn -- Description: Lowers the defense and magical defense of enemies within range. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown -- Notes: Used only by certain Notorious Monsters. Strong effect. ---------------...
gpl-3.0
rpetit3/darkstar
scripts/zones/Selbina/npcs/Jimaida.lua
13
1280
----------------------------------- -- Area: Selbina -- NPC: Jimaida -- Involved in Quests: Under the sea -- @pos -15 -2 -16 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/glob...
gpl-3.0
YunoHost/yunohost
conf/metronome/modules/mod_storage_ldap.lua
2
6487
-- vim:sts=4 sw=4 -- Metronome IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- Copyright (C) 2012 Rob Hoelz -- Copyright (C) 2015 YUNOHOST.ORG -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. ---------------------...
agpl-3.0
rpetit3/darkstar
scripts/commands/reloadglobal.lua
14
1197
--------------------------------------------------------------------------------------------------- -- func: @reloadglobal -- desc: Attempt to reload specified global lua without a restart. -- -- Use with caution, some files ( like player.lua ) -- can cause you problems if you reload them using this. -- This command ex...
gpl-3.0
rpetit3/darkstar
scripts/globals/effects/addendum_black.lua
65
2045
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable(); local bonus = effect:getPower(); local helix = effect:get...
gpl-3.0
nokizorque/ucd
guieditor/client/context_bar.lua
2
2994
--[[-------------------------------------------------- GUI Editor client context_bar.lua manages the context bar for the editor (the bar at the bottom of the screen) --]]-------------------------------------------------- ContextBar = { height = 28, speed = 20, step = 2, life = 8000, update = 0, textColou...
mit
rpetit3/darkstar
scripts/zones/La_Theine_Plateau/npcs/Galaihaurat.lua
13
2641
----------------------------------- -- Area: La Theine Plateau -- NPC: Galaihaurat -- Involved in Mission: The Rescue Drill -- @pos -482 -7 222 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions...
gpl-3.0
rpetit3/darkstar
scripts/globals/spells/diaga_ii.lua
26
1930
----------------------------------------- -- Spell: Diaga II -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ------------------------------------...
gpl-3.0
ManStache/PokeBotBad
BizHawk-1.11.6/Lua/UnitTests/Joypad_Set.lua
7
1372
console.writeline("Unit test for joypad.set") console.writeline("Core Required: NES (or any multi-player core with U,D,L,R,select,start,A,B as buttons)") console.writeline("Correct behavior:") console.writeline("No Directional button shoudl be imparied in any way, should operate as if nothing was ever pressed") console...
mit
rpetit3/darkstar
scripts/zones/West_Sarutabaruta_[S]/npcs/Sealed_Entrance_3.lua
29
2252
----------------------------------- -- Area: West Sarutabaruta [S] -- NPC: Sealed Entrance (Sealed_Entrance_3) -- @pos -340.000 1.825 -364.825 95 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/ques...
gpl-3.0
ato/clojai
data/AIInfo.lua
1
1818
-- -- Info Definition Table format -- -- -- These keywords must be lowercase for LuaParser to read them. -- -- key: user defined or one of the SKIRMISH_AI_PROPERTY_* defines in -- SSkirmishAILibrary.h -- value: the value of the property -- desc: the description (could be used as a tooltip) -...
gpl-2.0
sys4-fr/server-minetestforfun
mods/nalc/crafting.lua
1
2177
minetest.register_craft( { output = 'nalc:pick_gold', recipe = { {'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'}, {'', 'group:stick', ''}, {'', 'group:stick', ''}, } }) minetest.register_alias("default:pick_gold", "nalc:pick_gold") minetest.register_craft( { output = 'nalc:shove...
unlicense
rpetit3/darkstar
scripts/zones/Promyvion-Vahzl/npcs/_0m0.lua
13
1391
----------------------------------- -- Area: Promyvion vahzl -- NPC: Memory flux (3) ----------------------------------- package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Promyvion-Vahzl/TextIDs"); require("sc...
gpl-3.0
tvandijck/premake-core
premake5.lua
7
5044
--- -- Premake 5.x build configuration script -- Use this script to configure the project with Premake5. --- -- -- Remember my location; I will need it to locate sub-scripts later. -- local corePath = _SCRIPT_DIR -- -- Disable deprecation warnings for myself, so that older development -- versions of Premake can be...
bsd-3-clause
rpetit3/darkstar
scripts/zones/Port_Bastok/npcs/Blabbivix.lua
15
1180
----------------------------------- -- Area: Port Bastok -- NPC: Blabbivix -- Standard merchant, though he acts like a guild merchant -- @pos -110.209 4.898 22.957 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
ddouglascarr/rooset
lfframework/framework/env/__init.lua
1
2621
--[[-- translated_string = -- translated string _( string_to_translate, -- string to translate { placeholder_name1 = text1, -- replace all occurrences of "#{placeholder_name1}" with the string text1 placeholder_name2 = text2, -- replace all occurrences of "#{placeholder_name2}" with t...
mit
fegimanam/mer
plugins/kickall.lua
9
1721
local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, ok_cb, true) end local function returnids(cb_extra, success, result) local receiver = cb_extra.receiver local chat_id = result.id local chatname = result.print_name loc...
gpl-2.0
vfedoroff/prosody-modules
mod_pep_vcard_avatar/mod_pep_vcard_avatar.lua
31
4360
-- Prosody IM -- Copyright (C) 2008-2014 Matthew Wild -- Copyright (C) 2008-2014 Waqas Hussain -- Copyright (C) 2014 Kim Alvefur -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st = require "util.stanza" local base64 = require"util.encodings"....
mit
rpetit3/darkstar
scripts/globals/items/galkan_sausage_+1.lua
18
1349
----------------------------------------- -- ID: 5859 -- Item: galkan_sausage_+1 -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 4 -- Intelligence -5 -- Attack 10 -- Ranged Attack 10 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
rpetit3/darkstar
scripts/zones/Cloister_of_Tides/bcnms/trial_by_water.lua
30
1857
----------------------------------- -- Area: Cloister of Tides -- BCNM: Trial by Water ----------------------------------- package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/zones/...
gpl-3.0
opentechinstitute/luci-commotion-linux
libs/lucid-rpc/luasrc/lucid/rpc/ruci.lua
52
2144
--[[ LuCIRPCd (c) 2009 Steven Barth <steven@midlink.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$ ]]-- local uci = require "luci.mode...
apache-2.0
rpetit3/darkstar
scripts/zones/Lower_Jeuno/npcs/_l06.lua
13
1554
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -52.752 0 -60.492 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
esguk811/DarkRP
gamemode/modules/fadmin/fadmin/playeractions/cloak/sv_init.lua
11
3085
local CloakThink local function Cloak(ply, cmd, args) local targets = FAdmin.FindPlayer(args[1]) or {ply} for _, target in pairs(targets) do if not FAdmin.Access.PlayerHasPrivilege(ply, "Cloak", target) then FAdmin.Messages.SendMessage(ply, 5, "No access!") return false end if IsValid(target) ...
mit
rpetit3/darkstar
scripts/zones/Qulun_Dome/npcs/The_Mute.lua
13
1104
----------------------------------- -- Area: Qulun Dome -- NPC: The Mute -- @zone 148 -- @pos <many> ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Beadeaux/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
vfedoroff/prosody-modules
mod_muc_restrict_rooms/mod_muc_restrict_rooms.lua
32
2140
local st = require "util.stanza"; local jid = require "util.jid"; local nodeprep = require "util.encodings".stringprep.nodeprep; local rooms = module:shared "muc/rooms"; if not rooms then module:log("error", "This module only works on MUC components!"); return; end local restrict_patterns = module:get...
mit
nxhack/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/wifi_stations.lua
58
2753
local ubus = require "ubus" local iwinfo = require "iwinfo" local function scrape() local metric_wifi_stations = metric("wifi_stations", "gauge") local metric_wifi_station_signal = metric("wifi_station_signal_dbm","gauge") local metric_wifi_station_inactive = metric('wifi_station_inactive_milliseconds', 'gauge...
gpl-2.0