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
shagu/pfUI
libs/libpredict.lua
1
16395
-- load pfUI environment setfenv(1, pfUI:GetEnvironment()) --[[ libpredict ]]-- -- A pfUI library that detects, receives and sends heal and resurrection predictions. -- Healing predictions are done by caching the last known "normal" heal value of the -- spell when last being used. Those chaches are cleared when new ta...
mit
MNKgod/darkstar
scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Lennart.lua
34
1133
---------------------------------- -- 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/...
gpl-3.0
MNKgod/darkstar
scripts/zones/The_Shrouded_Maw/Zone.lua
28
1850
----------------------------------- -- -- Zone: The_Shrouded_Maw (10) -- ----------------------------------- package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Shrouded_Maw/TextIDs"); ----------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Zhamwaa.lua
34
1032
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Zhamwaa -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----------...
gpl-3.0
MrAL-i/SPIRAN
libs/dateparser.lua
502
6212
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-2.0
CovertOwl/PitchBlack
settings.lua
1
6041
data:extend{ { --Desc: Max evolution value --Default: 100 (100%) type = "int-setting", name = "pitch-MaxEvolution", setting_type = "runtime-global", default_value = 100, minimum_value = 0, order = "pitch-a[MaxEvolution]-a" }, { --Desc: Biter ...
mit
MNKgod/darkstar
scripts/zones/Dangruf_Wadi/npcs/Treasure_Chest.lua
19
2572
----------------------------------- -- Area: Dangruf Wadi -- NPC: Treasure Chest -- @zone 191 ----------------------------------- package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/z...
gpl-3.0
teleblue/telebrownnew
plugins/savefile.lua
9
1039
local function savefile(extra, success, result) local msg = extra.msg local name = extra.name local adress = extra.adress local receiver = get_receiver(msg) if success then local file = './'..adress..'/'..name..'' print('File saving to:', result) os.rename(result, file) print('File moved to:',...
gpl-2.0
MIPS/external-chromium_org-third_party-skia
tools/lua/glyph-usage.lua
207
4034
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
MNKgod/darkstar
scripts/zones/Windurst_Woods/npcs/Ronana.lua
53
1810
----------------------------------- -- Area: Windurst Woods -- NPC: Ronana -- Type: Bonecraft Image Support -- @pos -1.540 -6.25 -144.517 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require...
gpl-3.0
BerryAI/Acai
OpenMRS/cnn/cpu_version/cnn_test.lua
1
2373
---------------------------------------------------------------------- -- This function defines the testing procedure -- and the log procedure -- -- I: nil -- O: nil -- By Chrishu ---------------------------------------------------------------------- require 'torch' -- torch require 'xlua' -- use to display progr...
mit
MNKgod/darkstar
scripts/zones/The_Celestial_Nexus/bcnms/celestial_nexus.lua
17
1994
----------------------------------- -- Area: The Celestial Nexus -- Name: The Celestial Nexus (ZM16) ----------------------------------- package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); requi...
gpl-3.0
cornernote/minetest-modulator_game
mods/technical/technic/concrete.lua
2
1764
minetest.register_craft({ output = 'technic:rebar 6', recipe = { {'','', 'default:steel_ingot'}, {'','default:steel_ingot',''}, {'default:steel_ingot', '', ''}, } }) minetest.register_craft({ output = 'technic:concrete 5', recipe = { {'default:stone','technic:rebar','default:stone'}, {'technic:rebar','...
gpl-3.0
MNKgod/darkstar
scripts/zones/Xarcabard/npcs/qm7.lua
17
1341
----------------------------------- -- Area: Xarcabard -- NPC: qm7 (???) -- Involved in Quests: RNG AF3 quest - Unbridled Passion -- @pos -295.065 -25.054 151.250 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
MNKgod/darkstar
scripts/zones/La_Theine_Plateau/npcs/Faurbellant.lua
34
1726
----------------------------------- -- Area: Northern San d'Oria -- NPC: Faurbellant -- Type: Quest NPC -- Involved in Quest: Gates of Paradise -- @pos 484 24 -89 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- requ...
gpl-3.0
MNKgod/darkstar
scripts/globals/mobskills/Grim_Reaper.lua
25
1030
--------------------------------------------- -- Grim Reaper -- -- Description: Deals damage in a threefold attack to targets in a fan-shaped area of effect. Additional effect: Doom -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown cone -- Notes: Used only by certain Lamia NMs (e.g....
gpl-3.0
timm/16
lua/_old/lib.lua
1
2731
fmt = string.format odd = function (x) return x % 2 == 1 end even = function (x) return not odd(x) end floor = math.floor p = function (x) return floor(0.5+ 100*x) end empty = function (t) return next(t) == nil end function items (lst) local i,max = 0, #lst return function () i = i + 1 if i <=...
unlicense
MNKgod/darkstar
scripts/zones/Rolanberry_Fields/Zone.lua
17
4764
----------------------------------- -- -- Zone: Rolanberry_Fields (110) -- ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Rolanberry_Fields/TextIDs"); require("scripts/globals/icanheararainbow"); ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Metalworks/npcs/Vicious_Eye.lua
19
1163
----------------------------------- -- Area: Metalworks -- NPC: Vicious Eye -- Type: Guild Merchant (Blacksmithing Guild) -- @pos -106.132 0.999 -28.757 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
dretay/seneschal
server/nginx/lua/pl/data.lua
18
19989
--- Reading and querying simple tabular data. -- -- data.read 'test.txt' -- ==> {{10,20},{2,5},{40,50},fieldnames={'x','y'},delim=','} -- -- Provides a way of creating basic SQL-like queries. -- -- require 'pl' -- local d = data.read('xyz.txt') -- local q = d:select('x,y,z where x > 3 and z < 2 sort by y...
gpl-2.0
AccroGaming/Accro-DarkRP
DarkRP/entities/entities/spawned_shipment/cl_init.lua
1
4829
include("shared.lua") surface.CreateFont("HUDNumber5", { size = 44, weight = 800, antialias = true, shadow = false, font = "Trebuchet"}) local matBallGlow = Material("models/props_combine/tpballglow") function ENT:Draw() self.height = self.height or 0 self.colr = self.colr or 1 self.colg = self.colg or 0 self...
mpl-2.0
MNKgod/darkstar
scripts/zones/Lower_Jeuno/npcs/Parike-Poranke.lua
38
1108
----------------------------------- -- Area: Lower Jeuno -- NPC: Parike-Poranke -- Type: Adventurer's Assistant -- @zone: 245 -- @pos -33.161 -1 -61.303 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; -----...
gpl-3.0
Polkm/underdone
gamemode/core/serverfiles/sv_movement.lua
1
1531
local Player = FindMetaTable("Player") local intDefaultPlayerSpeed = 270 function Player:AddMoveSpeed(intAmount) self.MoveSpeed = self.MoveSpeed or intDefaultPlayerSpeed self:SetMoveSpeed(self.MoveSpeed + intAmount) end function Player:SetMoveSpeed(intAmount) self.MoveSpeed = self.MoveSpeed or intDefaultPlayerSp...
mit
MNKgod/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm7.lua
19
2301
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm7 (???) (Tower 7) -- Involved in Quest: THF AF "As Thick As Thieves" -- @pos -193.869 15.400 276.837 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ------------------------------...
gpl-3.0
syj2010syj/project_index_v2.0_editor
Lua/H005.lua
1
29207
HeroName[5] = "史提尔·马格努斯" HeroMain[5] = "智力" HeroType[5] = |Hblm| RDHeroType[5] = |h018| IllHeroType[5] = |H02L| HeroTypePic[5] = "ReplaceableTextures\\CommandButtons\\BTNShiTiEr.blp" HeroSize[5] = 1.2 LearnSkillId = {|A15I|, |A15J|, |A15K|, |A15L|} --吸血猎杀红十字 InitSkill{ ...
apache-2.0
MNKgod/darkstar
scripts/zones/Bastok_Mines/npcs/Virnage.lua
17
2326
----------------------------------- -- Area: Bastok Mines -- NPC: Virnage -- Starts Quest: Altana's Sorrow -- @zone 234 -- @pos 0 0 51 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
MNKgod/darkstar
scripts/zones/PsoXja/npcs/_i96.lua
17
1264
----------------------------------- -- Area: Pso'Xja -- NPC: _i96 (Stone Gate) -- Notes: Red Bracelet Door -- @pos -310.000 -1.925 -238.399 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/TextIDs")...
gpl-3.0
ivwsai/scite
additions/AutoComplete.lua
3
1845
-- Dynamically generate autocomplete lists from possible identifiers in any file. local IGNORE_CASE = true -- Number of chars to type before the autocomplete list appears: local MIN_PREFIX_LEN = 3 -- Length of shortest word to add to the autocomplete list local MIN_IDENTIFIER_LEN = 5 -- A list of string patterns for f...
isc
MNKgod/darkstar
scripts/globals/dynamis.lua
6
52644
require("scripts/globals/status"); require("scripts/globals/keyitems"); dynamis = {}; ----------------------------------- -- Dynamis-Bastok ----------------------------------- -- 1: BST Vanguard Beasttender + Vanguard's Scorpion -- 2: WHM Vanguard Constable -- 3: PLD Vanguard Defender -- 4: DRG Vangu...
gpl-3.0
jotamjr/dotfiles
conky/lua/halo.lua
1
3132
-- {{{ -- Based on the the Clock Rings code from londonali1010 (2009) and made some little changes -- }}} require 'cairo' color_t = { bg_low = 0xffffff, bg_normal = 0xffffff, bg_high = 0xffffff, bg_alpha = 0.2, fg_low = 0xd7d7d7, fg_normal = 0x5dade2, fg_high = 0xec7063, fg_alpha = 0.6 } ...
mit
pouyaxboy/full2
plugins/spanish_lang.lua
20
18303
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
cornernote/minetest-modulator_game
mods/technical/technic/wires.lua
2
12801
--LV cable node boxes minetest.register_alias("lv_cable", "technic:lv_cable") minetest.register_craft({ output = 'technic:lv_cable 6', recipe = { {'moreores:copper_ingot', 'moreores:copper_ingot', 'moreores:copper_ingot'}, } }) minetest.register_craftitem("technic:lv_cable", { description = "Low Voltage Copp...
gpl-3.0
cornernote/minetest-modulator_game
mods/inventory/bags/api.lua
2
7781
--[[ Bags for Minetest Copyright (c) 2012 cornernote, Brett O'Donnell <cornernote@gmail.com> Source Code: https://github.com/cornernote/minetest-particles License: GPLv3 API ]]-- -- expose api bags = {} -- get_formspec bags.get_formspec = function(player,page) local formspec = "size[8,8.5]" .."list[current_p...
gpl-3.0
MNKgod/darkstar
scripts/zones/Windurst_Waters/npcs/Lumomo.lua
19
2836
----------------------------------- -- Area: Windurst Waters -- NPC: Lumomo -- Type: Standard NPC -- @zone: 238 -- @pos -55.770 -5.499 18.914 -- 0x027e 0x0332 0x0334 0x0336 0x0337 -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Wind...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/cougar_baghnakhs.lua
41
1068
----------------------------------------- -- ID: 16702 -- Item: Cougar Baghnakhs -- Additional Effect: Ice Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Mount_Zhayolm/npcs/qm5.lua
16
1174
----------------------------------- -- Area: Mount Zhayolm -- NPC: ??? (Spawn Sarameya(ZNM T4)) -- @pos 322 -14 -581 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mount_Zhayolm/TextIDs"); ----------------...
gpl-3.0
LuaDist2/luarepl
repl/utils.lua
4
2544
-- Copyright (c) 2011-2015 Rob Hoelz <rob@hoelz.ro> -- -- 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,...
mit
DhavalKapil/elasticsearch-lua
tests/endpoints/PercolateTest.lua
2
1307
-- Importing modules local Percolate = require "elasticsearch.endpoints.Percolate" local MockTransport = require "lib.MockTransport" local getmetatable = getmetatable -- Setting up environment local _ENV = lunit.TEST_CASE "tests.endpoints.PercolateTest" -- Declaring local variables local endpoint local mockTransport ...
mit
MNKgod/darkstar
scripts/zones/Carpenters_Landing/npcs/Guilloud.lua
19
1380
----------------------------------- -- Area: Carpenters' Landing -- NPC: Guilloud -- Type: Standard NPC -- @pos -123.770 -6.654 -469.062 2 ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; ----------------------------------- ----------------------------------- -...
gpl-3.0
MNKgod/darkstar
scripts/zones/RuLude_Gardens/TextIDs.lua
9
2942
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6519; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6523; -- You cannot obtain the <item>. Try trading again after sorting your inventory. ITEM_OBTAINED = 6524; ...
gpl-3.0
cornernote/minetest-modulator_game
mods/effects/ambience/Badinit.lua
6
14023
-------------------------------------------------------------------------------------------------------- --Ambiance Configuration for version .16 local max_frequency_all = 1000 --the larger you make this number the lest frequent ALL sounds will happen recommended values between 100-2000. --for frequencies below use a...
gpl-3.0
MNKgod/darkstar
scripts/zones/Norg/npcs/_700.lua
17
2923
----------------------------------- -- Area: Norg -- NPC: Oaken door (Gilgamesh's room) -- @pos 97 -7 -12 252 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/settings") ----------------------------------- -- onTrade Action ---------------------------------...
gpl-3.0
marcin1j/openwrt-packages
net/smartsnmpd/files/mibs/system.lua
158
6428
-- -- This file is part of SmartSNMP -- Copyright (C) 2014, Credo Semiconductor Inc. -- -- 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 optio...
gpl-2.0
MNKgod/darkstar
scripts/zones/Norg/npcs/Washu.lua
17
3574
----------------------------------- -- Area: Norg -- NPC: Washu -- Involved in Quest: Yomi Okuri -- Starts and finishes Quest: Stop Your Whining -- @pos 49 -6 15 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
MNKgod/darkstar
scripts/globals/spells/slow_ii.lua
18
1665
----------------------------------------- -- Spell: Slow II -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Slow II value per point is '1' This is a constant s...
gpl-3.0
ckjong/gentrify
Gentrify Lua/libraries/loveframes/objects/internal/multichoice/multichoicelist.lua
12
10407
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".objects.internal.multichoice....
gpl-3.0
MNKgod/darkstar
scripts/globals/spells/curaga_iv.lua
18
1221
----------------------------------------- -- Spell: Curaga IV -- Restores HP of all party members within area of effect. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------...
gpl-3.0
fuhongxue/Tui-x
HelloTuiLua/DeprecatedEnum.lua
13
23655
require "Cocos2dConstants.lua" require "OpenglConstants.lua" require "StudioConstants.lua" require "GuiConstants.lua" --Enums will be deprecated,begin _G.kCCTextAlignmentLeft = cc.TEXT_ALIGNMENT_LEFT _G.kCCTextAlignmentRight = cc.TEXT_ALIGNMENT_RIGHT _G.kCCTextAlignmentCenter = cc.TE...
mit
MNKgod/darkstar
scripts/zones/Southern_San_dOria/npcs/Najjar.lua
29
1669
----------------------------------- -- Area: Southern San d'Oria -- NPC: Najjar -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"...
gpl-3.0
telespeed/telespeed_bot
plugins/yoda.lua
642
1199
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
zactelegram12/IRAN
plugins/yoda.lua
642
1199
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
shagu/pfUI
modules/easteregg.lua
1
5056
pfUI:RegisterModule("easteregg", "vanilla:tbc", function () -- merry x-mas! if date("%m%d") == "1224" or date("%m%d") == "1225" then local title = (UnitFactionGroup("player") == "Horde") and PVP_RANK_18_0 or PVP_RANK_18_1 local oldflag = _G.CHAT_FLAG_AFK local pvpking = CreateFrame("Frame", "pfPvPKing"...
mit
MNKgod/darkstar
scripts/globals/items/kaplumbaga.lua
18
1259
----------------------------------------- -- ID: 5464 -- Item: Kaplumbaga -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
sujeet14108/luci
libs/luci-lib-rpcc/luasrc/rpcc.lua
78
1593
-- Copyright 2009 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local json = require "luci.json" local ltn12 = require "luci.ltn12" local nixio = require "nixio", require "nixio.util" local tostring, assert, setmetatable = tostring, assert, ...
apache-2.0
MNKgod/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/_1e8.lua
68
1031
----------------------------------- -- Area: Aht Urhgan Whitegate -- Door: Kokba Hostel -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----...
gpl-3.0
MNKgod/darkstar
scripts/globals/abilities/wizards_roll.lua
9
2874
----------------------------------- -- Ability: Wizard's Roll -- Enhances magic attack for party members within area of effect -- Optimal Job: Black Mage -- Lucky Number: 5 -- Unlucky Number: 9 -- Level 58 -- -- Die Roll |No BLM |With BLM -- -------- -------- ----------- -- 1 |+2 |+6 --...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/cup_of_caravan_tea.lua
36
1282
----------------------------------------- -- ID: 5927 -- Item: Cup of Caravan Tea -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 22 -- MP 32 -- Charisma 6 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------...
gpl-3.0
cornernote/minetest-modulator_game
mods/technical/mesecons/mesecons_mvps/init.lua
1
2447
--register stoppers for movestones/pistons mesecon.mvps_stoppers={} function mesecon:is_mvps_stopper(nodename) local i=1 repeat i=i+1 if mesecon.mvps_stoppers[i]==nodename then return true end until mesecon.mvps_stoppers[i]==nil return false end function mesecon:register_mvps_stopper(nodename) local i=1 re...
gpl-3.0
MNKgod/darkstar
scripts/zones/Wajaom_Woodlands/npcs/qm2.lua
16
1184
----------------------------------- -- Area: Wajaom Woodlands -- NPC: ??? (Spawn Iriz Ima(ZNM T2)) -- @pos 253 -23 116 51 ----------------------------------- package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Wajaom_Woodlands/TextIDs"); --------...
gpl-3.0
MNKgod/darkstar
scripts/globals/spells/luminohelix.lua
9
1730
-------------------------------------- -- Spell: Luminohelix -- Deals light damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/global...
gpl-3.0
MNKgod/darkstar
scripts/globals/abilities/modus_veritas.lua
44
1797
----------------------------------- -- Ability: Modus Veritas -- Increases damage done by helix spells while lowering spell duration by 50%. -- Obtained: Scholar Level 65 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status")...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/bowl_of_whitefish_stew.lua
35
1545
----------------------------------------- -- ID: 4440 -- Item: Bowl of Whitefish Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 10 -- Dexterity 3 -- Mind -3 -- Accuracy 3 -- Ranged ACC % 7 -- Ranged ACC Cap 10 ----------------------------------------- require("s...
gpl-3.0
DhavalKapil/elasticsearch-lua
src/elasticsearch/endpoints/Snapshot/GetRepository.lua
2
1878
------------------------------------------------------------------------------- -- Importing modules ------------------------------------------------------------------------------- local SnapshotEndpoint = require "elasticsearch.endpoints.Snapshot.SnapshotEndpoint" -----------------------------------------------------...
mit
dev-joker-dev/Joker-Developer
plugins/fwd_lock.lua
4
1290
--[[ # For More Information ....! # Developer : Aziz < @devss_bot > #Dev # our channel: @help_tele ]] do local function pre_process(msg) --Checking mute local hash = 'mate:'..msg.to.id if redis:get(hash) and msg.fwd_from and not is_sudo(msg) and not is_owner(msg) and not is_momod(msg) and not is...
gpl-2.0
MNKgod/darkstar
scripts/zones/Attohwa_Chasm/npcs/qm1.lua
17
1612
----------------------------------- -- Area: Attohwa Chasm -- NPC: ??? (qm1) -- @pos -402.574 3.999 -202.750 7 ----------------------------------- package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Attohwa_Chasm/TextIDs"); ----------...
gpl-3.0
AccroGaming/Accro-DarkRP
DarkRP/gamemode/modules/police/sv_interface.lua
2
3430
DarkRP.PLAYER.requestWarrant = DarkRP.stub{ name = "requestWarrant", description = "File a request for a search warrant.", parameters = { { name = "suspect", description = "The player who is suspected", type = "Player", optional = false }, { name = "actor", description = "The player who wants...
mpl-2.0
diydrones/ardupilot
libraries/AP_Scripting/examples/CAN_MiniCheetah_drive.lua
9
5113
-- Control MiniCheetah motor driver over CAN -- https://os.mbed.com/users/benkatz/code/HKC_MiniCheetah/docs/tip/CAN__com_8cpp_source.html -- Load CAN driver with a buffer size of 20 local driver = CAN.get_device(20) local target_ID = uint32_t(1) local pos_max = 12.5 local vel_max = 65 local Kp_min = 0 local Kp_max =...
gpl-3.0
MNKgod/darkstar
scripts/zones/West_Ronfaure/npcs/Doladepaiton_RK.lua
28
3142
----------------------------------- -- Area: West Ronfaure -- NPC: Doladepaiton, R.K. -- Type: Outpost Conquest Guards -- @pos -448 -19 -214 100 ------------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; -------------------------------------- require("scripts/globals/c...
gpl-3.0
raphaelamorim/fblualib
fblualib/util/test/util_test.lua
4
7734
-- -- Copyright (c) 2014, 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 rights can be found in the PATENTS file in the same directory. -- local pl = requ...
bsd-3-clause
sujeet14108/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua
76
1713
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local util = require "nixio.util" local devices = {} util.consume((fs.glob("/dev/sd*")), devices) util.consume((fs.glob("/dev/hd*")), devices) util.consume((fs.glob("/dev/scd*"))...
apache-2.0
brunominervino/forgottenserver
data/creaturescripts/scripts/droploot.lua
3
1217
function onDeath(player, corpse, killer, mostDamage, unjustified, mostDamage_unjustified) if getPlayerFlagValue(player, PlayerFlag_NotGenerateLoot) or player:getVocation():getId() == VOCATION_NONE then return true end local amulet = player:getSlotItem(CONST_SLOT_NECKLACE) if amulet and amulet.itemid == ITEM_AMUL...
gpl-2.0
MNKgod/darkstar
scripts/zones/The_Shrine_of_RuAvitau/npcs/blank_4.lua
31
4968
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: ??? divine might mission -- @pos -40 0 -151 178 ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Shrine_of_RuAvitau/TextI...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/cone_of_sub-zero_gelato.lua
35
1402
----------------------------------------- -- ID: 5155 -- Item: cone_of_sub-zero_gelato -- Food Effect: 1Hr, All Races ----------------------------------------- -- HP 10 -- MP % 16 (cap 80) -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status"); --------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Northern_San_dOria/npcs/Ramua.lua
53
1884
----------------------------------- -- Area: Northern San d'Oria -- NPC: Ramua -- Type: Woodworking Synthesis Image Support -- @pos -183.750 10.999 255.770 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
WibbenZ/forgottenserver
data/actions/scripts/tools/fishing.lua
4
2227
local waterIds = {493, 4608, 4609, 4610, 4611, 4612, 4613, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 7236, 10499, 15401, 15402} local lootTrash = {2234, 2238, 2376, 2509, 2667} local lootCommon = {2152, 2167, 2168, 2669, 7588, 7589} local lootRare = {2143, 2146, 2149, 7158, 7159} local loo...
gpl-2.0
MNKgod/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Dhea_Prandoleh.lua
31
2362
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Dhea Prandoleh -- Type: Standard NPC -- @zone: 94 -- @pos 1 -1 15 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ---------...
gpl-3.0
raphaelamorim/fblualib
fblualib/mattorch/fb/mattorch/init.lua
5
1241
-- -- Copyright (c) 2014, 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 rights can be found in the PATENTS file in the same directory. -- local lib = req...
bsd-3-clause
paidi/oxnn
util/Optimizer.lua
3
18547
-- Authors: Tomas Kocisky -- local Optimizer = torch.class('oxnn.Optimizer') function Optimizer.optimize(dataset, w, dw, module, criterion, optim_func, state, eval_datasets, update_err, get_err, print_stats) print_stats = print_stats or Optimizer.PrintStats ...
bsd-3-clause
MNKgod/darkstar
scripts/zones/Cloister_of_Gales/mobs/Garuda_Prime.lua
18
2760
----------------------------------- -- Area: Cloister of Gales -- NPC: Garuda Prime -- Involved in Quest: Trial by Wind -- Involved in Mission: ASA-4 Sugar Coated Directive ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/status"); ...
gpl-3.0
MNKgod/darkstar
scripts/globals/logging.lua
7
6582
------------------------------------------------- -- Logging functions -- Info from: -- http://wiki.ffxiclopedia.org/wiki/Logging ------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ------------------------------------------------- ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Windurst_Woods/npcs/Umumu.lua
34
2869
----------------------------------- -- Area: Windurst Woods -- NPC: Umumu -- Involved In Quest: Making Headlines -- @pos 32.575 -5.250 141.372 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/q...
gpl-3.0
MNKgod/darkstar
scripts/globals/weaponskills/raiden_thrust.lua
30
1284
----------------------------------- -- Raiden Thrust -- Polearm weapon skill -- Skill Level: 70 -- Deals lightning elemental damage to enemy. Damage varies with TP. -- Aligned with the Light Gorget & Thunder Gorget. -- Aligned with the Light Belt & Thunder Belt. -- Element: Lightning -- Modifiers: STR:40% ; INT...
gpl-3.0
frankyifei/koreader-base
ffi/kobolight.lua
3
1263
local ffi = require("ffi") -- for closing on garbage collection, we need a pointer or aggregate -- cdata object (not a plain "int"). So we encapsulate in a struct. ffi.cdef[[ typedef struct light_fd { int ld; } light_fd; ]] -- for ioctl header definition: local dummy = require("ffi/posix_h") local kobolight = {} loca...
agpl-3.0
kidaa/FFXIWindower
addons/libs/functions.lua
1
12912
--[[ Adds some tools for functional programming. Amends various other namespaces by functions used in a functional context, when they don't make sense on their own. ]] _libs = _libs or {} _libs.functions = true functions = {} boolean = {} -- The empty function. functions.empty = function() end debug.setmetatabl...
mit
MNKgod/darkstar
scripts/zones/Windurst_Woods/npcs/Erpolant.lua
38
1038
----------------------------------- -- Area: Windurst Woods -- NPC: Erpolant -- Type: Standard NPC -- @zone: 241 -- @pos -63.224 -0.749 -33.424 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -----------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Port_Bastok/npcs/Ensetsu.lua
19
3119
----------------------------------- -- Area: Port Bastok -- NPC: Ensetsu -- Finish Quest: Ayame and Kaede -- Involved in Quest: 20 in Pirate Years, I'll Take the Big Box -- @pos 33 -6 67 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ---------------------------------...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/prime_seafood_stewpot.lua
36
1861
----------------------------------------- -- ID: 5239 -- Item: Prime Seafood Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 75 -- MP +15 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- Mind 1 -- HP Recovered while healing 7 -- MP Recovered while heal...
gpl-3.0
devalexx/evilrain
Android/assets/data/levels/main.lua
1
1025
-- SimpleActor's types DROP = "DROP" GROUND = "GROUND" CLOUD = "CLOUD" EMITTER = "EMITTER" HOUSE = "HOUSE" HAMMER = "HAMMER" BALL = "BALL" TRIGGER = "TRIGGER" -- BodyType STATIC_BODY = 0 KINEMATIC_BODY = 1 DYNAMIC_BODY = 2 -- TouchType NONE = 0 DRAWING = 1 PICKING_DROPS = 2 PICKING_BODIES = 3 -- Game Classes Drop = lua...
gpl-3.0
gtrias/dotfiles
nvim/lua/plugins/gitsigns.lua
1
1780
local colors = require("catppuccin.api.colors").get_colors() -- vim.cmd("hi def GitSignsCurrentLineBlame guifg=" .. colors.overlay2 .. " ctermfg=244") require("gitsigns").setup({ signs = { add = { hl = "GitSignsAdd", text = "▎", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" }, change = { hl = "GitSignsChange"...
unlicense
wangjunwei01/skynet
lualib/sproto.lua
56
5136
local core = require "sproto.core" local assert = assert local sproto = {} local host = {} local weak_mt = { __mode = "kv" } local sproto_mt = { __index = sproto } local sproto_nogc = { __index = sproto } local host_mt = { __index = host } function sproto_mt:__gc() core.deleteproto(self.__cobj) end function sproto...
mit
Cavitt/otclient_mapgen
modules/game_combatcontrols/combatcontrols.lua
7
7968
combatControlsButton = nil combatControlsWindow = nil fightOffensiveBox = nil fightBalancedBox = nil fightDefensiveBox = nil chaseModeButton = nil safeFightButton = nil whiteDoveBox = nil whiteHandBox = nil yellowHandBox = nil redFistBox = nil mountButton = nil pvpModesPanel = nil fightModeRadioGroup = nil pvpModeRadio...
mit
kidaa/FFXIWindower
addons/GearSwap/export.lua
1
10628
function export_set(options) local item_list = {} local targinv,xml,all_sets,use_job_in_filename,use_subjob_in_filename,overwrite_existing if #options > 0 then for _,v in ipairs(options) do if S{'inventory','inv','i'}:contains(v:lower()) then targinv = true el...
mit
glenn-edgar/lua_frame_work
user_libraries/cf_chain_flow/appScripts/eventList.lua
1
1066
---- master event list ---- ---- --- --- --- System Events --- --- --- masterEventList = {} masterEventList.threadTermination = 1 masterEventList.localEvent = 2 masterEventList.reset = 3 masterEventList.offLine = 4 masterEventList.onLine = 5 masterEventList.wdRequest = 100 --...
mit
MNKgod/darkstar
scripts/zones/Toraimarai_Canal/npcs/qm11.lua
19
1512
----------------------------------- -- Area: Toraimarai Canal -- NPC: ??? -- Involved In Quest: Wild Card -- @zone 169 // not accurate -- @pos 220 16 -50 // not accurate ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
MNKgod/darkstar
scripts/zones/Garlaige_Citadel/npcs/_5k9.lua
17
1366
----------------------------------- -- Area: Garlaige Citadel -- NPC: Banishing Gate #2 -- @pos -100 -2.949 81 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Garlaige_Citadel/TextIDs"); -----...
gpl-3.0
MNKgod/darkstar
scripts/globals/weaponskills/bora_axe.lua
30
1726
----------------------------------- -- Bora Axe -- Axe weapon skill -- Skill level: 290 -- Delivers a single-hit ranged attack at a maximum distance of 15.7'. Chance of binding varies with TP -- Bind doesn't always break from hitting mob. -- This Weapon Skill's first hit params.ftp is duplicated for all additiona...
gpl-3.0
MNKgod/darkstar
scripts/zones/Palborough_Mines/npcs/_3z9.lua
17
1594
----------------------------------- -- Area: Palborough Mines -- NPC: Refiner Lever -- Involved In Mission: Journey Abroad -- @zone 143 -- @pos 180 -32 167 ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
LuaDist2/luarepl
repl/sync.lua
4
1843
-- Copyright (c) 2011-2015 Rob Hoelz <rob@hoelz.ro> -- -- 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,...
mit
MNKgod/darkstar
scripts/globals/items/anchovy_pizza_+1.lua
35
1287
----------------------------------------- -- ID: 5700 -- Item: anchovy_pizza_+1 -- Food Effect: 4hours, All Races ----------------------------------------- -- Dexterity 1 -- Attack 21% --wiki has no data, so just basing stats off lq version ----------------------------------------- require("scripts/globals...
gpl-3.0
tanlanxing/demo
lua/openresty/lua/vendor/util.lua
1
1412
local _M = {} local print_struct print_struct = function(value, prefix) prefix = prefix or " " if type(value) == "table" then local str = "Table(" for key, val in pairs(value) do if type(val) == "table" then str = string.format("%s\n%s%s %s %s", str, prefix, key,...
gpl-3.0