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
Armyluix/darkstar
scripts/zones/Yuhtunga_Jungle/Zone.lua
25
4227
----------------------------------- -- -- Zone: Yuhtunga_Jungle (123) -- ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Yuhtunga_Jungle/TextID...
gpl-3.0
Armyluix/darkstar
scripts/zones/Dynamis-Tavnazia/mobs/Nightmare_Hornet.lua
13
1507
----------------------------------- -- Area: Dynamis Tavnazia -- NPC: Nightmare_Hornet ----------------------------------- package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Tavnazia/TextIDs")...
gpl-3.0
ElectroDuk/QuackWars
garrysmod/gamemodes/Basewars/entities(maybe_outdated)/weapons/weapon_welder/shared.lua
2
24019
// copy pasta from lock pick. if(SERVER) then AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) end if( CLIENT ) then SWEP.PrintName = "Blowtorch"; SWEP.Slot = 5; SWEP.SlotPos = 8; SWEP.DrawAmmo = false; SWEP.DrawCrosshair = false; end // Variables that are used on both client and server SWEP.Auth...
mit
mbmahdiiii/mm
plugins/google.lua
8
1052
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
abriasffxi/darkstar
scripts/zones/Bastok_Markets/npcs/Ken.lua
14
1448
----------------------------------- -- Area: Bastok Markets -- NPC: Ken -- Type: Quest NPC -- @pos -340.857 -11.003 -149.008 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/...
gpl-3.0
gigte/glua-menu
remake/gui/panels/servers/serverinfo.lua
1
3911
local PANEL = {} function PANEL:Init() self:DockPadding(12, 8, 12, 12) end function PANEL:InitEx() self.Container = self:Add("Panel") self.Title = self.Container:Add("DLabel") self.Title:SetFont("DermaDefaultBold") self.Title:SetDark(true) self.ServerInfoRow = self.Container:Add("Panel") ...
isc
dios-game/dios-cocos
src/oslibs/cocos/cocos-src/tests/lua-tests/src/ActionManagerTest/ActionManagerTest.lua
16
6352
local kTagNode = 0 local kTagGrossini = 1 local kTagSequence = 2 local scheduler = cc.Director:getInstance():getScheduler() -------------------------------------------------------------------- -- -- Test1 -- -------------------------------------------------------------------- local function CrashTest() ...
mit
Armyluix/darkstar
scripts/zones/Yuhtunga_Jungle/TextIDs.lua
9
1884
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
abriasffxi/darkstar
scripts/globals/items/serving_of_herb_crawler_eggs.lua
18
1526
----------------------------------------- -- ID: 4552 -- Item: serving_of_herb_crawler_eggs -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 6 -- Health Cap 80 -- Magic 10 -- Agility 3 -- Vitality -1 -- Evasion 8 ----------------------------------------- require("scripts/globals/...
gpl-3.0
Armyluix/darkstar
scripts/globals/dynamis.lua
12
50243
require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- Dynamis-Bastok ----------------------------------- -- 1: BST Vanguard Beasttender + Vanguard's Scorpion -- 2: WHM Vanguard Constable -- 3: PLD Vanguard Defender -- 4: DRG Vanguard Drakekeeper +...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Valkurm_Dunes/npcs/qm2.lua
14
1328
----------------------------------- -- Area: Valkurm Dunes -- NPC: qm2 (???) -- Involved In Quest: Messenger from Beyond -- @pos -716 -10 66 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
Armyluix/darkstar
scripts/zones/Hazhalm_Testing_Grounds/Zone.lua
28
1351
----------------------------------- -- -- Zone: Hazhalm_Testing_Grounds (78) -- ----------------------------------- package.loaded["scripts/zones/Hazhalm_Testing_Grounds/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Hazhalm_Testing_Grounds/Tex...
gpl-3.0
abriasffxi/darkstar
scripts/globals/items/dish_of_spaghetti_melanzane_+1.lua
17
1375
----------------------------------------- -- ID: 5214 -- Item: dish_of_spaghetti_melanzane_+1 -- Food Effect: 1Hr, All Races ----------------------------------------- -- HP % 25 (cap 105) -- Vitality 2 -- Store TP 4 ----------------------------------------- require("scripts/globals/status"); -------------------------...
gpl-3.0
Aminrezaa/iranian_Bot
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
abriasffxi/darkstar
scripts/zones/Batallia_Downs/npcs/Stone_Monument.lua
14
1291
----------------------------------- -- Area: Batallia Downs -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 185.669 9.049 -614.025 105 ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Kuftal_Tunnel/MobIDs.lua
28
2819
----------------------------------- -- Area: Kuftal Tunnel -- Comments: -- posX, posY, posZ --(Taken from 'mob_spawn_points' table) ----------------------------------- -- Amemet Amemet=17490016; Amemet_PH={ [17490000] = '1', -- 123.046, 0.250, 18.642 [17489994] = '1', -- 112.135, -0.278, 38.281 [17490001] = '1'...
gpl-3.0
abriasffxi/darkstar
scripts/globals/excavation.lua
18
5208
------------------------------------------------- -- Excavation functions -- Info from: -- http://wiki.ffxiclopedia.org/wiki/Excavation ------------------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/globals/settings"); --------------...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/loaf_of_pumpernickel.lua
35
1202
----------------------------------------- -- ID: 4591 -- Item: loaf_of_pumpernickel -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
abriasffxi/darkstar
scripts/globals/spells/knights_minne_iv.lua
27
1497
----------------------------------------- -- Spell: Knight's Minne IV -- Grants Defense bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(cas...
gpl-3.0
Aminrezaa/iranian_Bot
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
parsagachkardev/AutoBot2
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
Armyluix/darkstar
scripts/zones/Southern_San_dOria/npcs/Alaune.lua
32
1490
----------------------------------- -- Area: Southern San d`Oria -- NPC: Alaune -- Type: Tutorial NPC -- @zone: 230 -- @pos -90 1 -56 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
Armyluix/darkstar
scripts/globals/weaponskills/tachi_yukikaze.lua
30
1722
----------------------------------- -- Tachi Yukikaze -- Great Katana weapon skill -- Skill Level: 200 (Samurai only.) -- Blinds target. Damage varies with TP. -- Blind effect duration is 60 seconds when unresisted. -- Will stack with Sneak Attack. -- Tachi: Yukikaze appears to have an attack bonus of 50%. http:...
gpl-3.0
abriasffxi/darkstar
scripts/globals/items/cotton_candy.lua
18
1217
----------------------------------------- -- ID: 5708 -- Item: Cotton Candy -- Food Effect: 5 Min, All Races ----------------------------------------- -- MP % 10 Cap 200 -- MP Healing 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChec...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p2.lua
27
2156
----------------------------------- -- Area: Misareaux Coast -- NPC: Dilapidated Gate -- Entrance to Riverne Site #B01 -- @pos -259 -30 276 178 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); re...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/serving_of_mille_feuille.lua
36
1426
----------------------------------------- -- ID: 5559 -- Item: Serving of Mille Feuille -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +8 -- MP +15 -- Intelligence +1 -- HP Recoverd while healing 1 -- MP Recovered while healing 1 ----------------------------------...
gpl-3.0
dimrain/ABTestingGateway
lib/abtesting/adapter/policy.lua
22
4584
--- -- @classmod abtesting.adapter.policy -- @release 0.0.1 local modulename = "abtestingAdapterPolicy" local _M = { _VERSION = "0.0.1" } local mt = { __index = _M } local ERRORINFO = require('abtesting.error.errcode').info local separator = ':' local fields = {} fields.divtype = 'divtype' fields.divdata = 'divdata'...
mit
Armyluix/darkstar
scripts/zones/Southern_San_dOria/npcs/Coderiant.lua
36
1471
----------------------------------- -- Area: Southern San d'Oria -- NPC: Coderiant -- General Info NPC -- @zone 230 -- @pos -111 -2 33 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Gustav_Tunnel/mobs/Macroplasm.lua
19
1311
---------------------------------- -- Area: Gustav Tunnel -- MOB: macroplasm ----------------------------------- package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gustav_Tunnel/TextIDs"); require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
ElectroDuk/QuackWars
garrysmod/gamemodes/Basewars/entities(maybe_outdated)/weapons/weapon_mad_base/cl_init.lua
2
12421
include('shared.lua') SWEP.PrintName = "Mad Cows Weapon Base" // 'Nice' Weapon name (Shown on HUD) SWEP.Slot = 0 // Slot in the weapon selection menu SWEP.SlotPos = 1 // Position in the slot SWEP.DrawAmmo = true // Should draw the default HL2 ammo counter? SWEP.DrawCrosshair = false ...
mit
abriasffxi/darkstar
scripts/zones/Garlaige_Citadel/Zone.lua
1
3986
----------------------------------- -- -- Zone: Garlaige_Citadel (200) -- ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Garlaige_Citadel...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Abyssea-Vunkerl/mobs/Sippoy.lua
16
1198
----------------------------------- -- Area: Abyssea - Vunkerl -- Mob: Sippoy ----------------------------------- require("scripts/globals/status"); require("scripts/globals/titles"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Cloister_of_Storms/Zone.lua
32
1660
----------------------------------- -- -- Zone: Cloister_of_Storms (202) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Storms/TextIDs"); ---...
gpl-3.0
Armyluix/darkstar
scripts/zones/Port_Bastok/npcs/Powhatan.lua
36
3269
----------------------------------- -- Area: Port Bastok -- NPC: Powhatan -- Starts & Ends Quest: Welcome to Bastok, Guest of Hauteur ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
gpl-3.0
abriasffxi/darkstar
scripts/zones/The_Boyahda_Tree/TextIDs.lua
7
1397
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item> GIL_OBTAINED = 6385; -- Obtained <number> gil KEYITEM_OBTAINED = 6387; -- Obtained k...
gpl-3.0
Armyluix/darkstar
scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua
19
1783
----------------------------------- -- Area: Northern San d'Oria -- NPC: Heruze-Moruze -- Involved in Mission: 2-3 Windurst -- @pos -56 -3 36 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"...
gpl-3.0
abriasffxi/darkstar
scripts/zones/The_Shrine_of_RuAvitau/mobs/Mother_Globe.lua
22
2655
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NM: Mother Globe -- TODO: Looked like pets had an additional effect: stun with an unknown proc rate -- TODO: "Links with Slave Globes, and Slave Globes link with Defenders. Defenders do not link with Slave Globes or Mother Globe." ---------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Labyrinth_of_Onzozo/TextIDs.lua
9
1092
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
Armyluix/darkstar
scripts/zones/Ghelsba_Outpost/npcs/Logging_Point.lua
29
1107
----------------------------------- -- Area: Ghelsba Outpost -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Ghelsba_Outpost/TextIDs"); ...
gpl-3.0
Armyluix/darkstar
scripts/zones/Castle_Zvahl_Keep_[S]/npcs/HomePoint#1.lua
17
1205
----------------------------------- -- Area: Castle Zvahl Keep [S] -- NPC: HomePoint#1 -- @pos ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"); require("scripts/global...
gpl-3.0
Armyluix/darkstar
scripts/zones/Xarcabard/npcs/Trail_Markings.lua
17
2473
----------------------------------- -- Area: Xarcabard -- NPC: Trail Markings -- Dynamis-Xarcabard Enter -- @pos 570 0 -272 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
mame98/micro
runtime/plugins/linter/linter.lua
1
3069
if GetOption("linter") == nil then AddOption("linter", true) end MakeCommand("lint", "linter.lintCommand", 0) function lintCommand() CurView():Save(false) runLinter() end function runLinter() local ft = CurView().Buf:FileType() local file = CurView().Buf.Path local devnull = "/dev/null" l...
mit
Armyluix/darkstar
scripts/globals/abilities/ebullience.lua
28
1132
----------------------------------- -- Ability: Ebullience -- Enhances the potency of your next black magic spell. -- Obtained: Scholar Level 55 -- Recast Time: Stratagem Charge -- Duration: 1 black magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge -- ----- ---...
gpl-3.0
moteus/lua-socket-async
lua/async_socket/timer.lua
1
4309
local IS_WINDOWS = (package.config:sub(1,1) == '\\') local socket = require "socket" local function s_sleep(ms) return socket.sleep(ms / 1000) end local function s_clock() return socket.gettime() * 1000 end local s_tick, s_tick_elapsed if not s_tick then local ok, winutil = pcall(require, "winutil") if ok ...
mit
Armyluix/darkstar
scripts/globals/items/pumpkin_cake.lua
36
1213
----------------------------------------- -- ID: 5631 -- Item: Pumpkin Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +2 -- MP Recovered while healing +4 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
abriasffxi/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_nf4.lua
14
2999
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Strange Apparatus -- @pos 104 0 -179 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); require("scripts/globals/strangeappara...
gpl-3.0
Armyluix/darkstar
scripts/globals/abilities/haste_samba.lua
18
1438
----------------------------------- -- Ability: Haste Samba -- Inflicts the next target you strike with Haste daze, increasing the attack speed of all those engaged in battle with it. -- Obtained: Dancer Level 45 -- TP Cost: 35% -- Recast Time: 1:00 -- Duration: 1:30 ----------------------------------- requi...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Southern_San_dOria/npcs/Hinaree.lua
14
1983
----------------------------------- -- Area: Southern San d'Oria -- NPC: Hinaree -- Type: Standard NPC -- @zone 230 -- @pos -301.535 -10.199 97.698 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; --...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/plate_of_salmon_sushi_+1.lua
35
1480
----------------------------------------- -- ID: 5664 -- Item: plate_of_salmon_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 2 -- Accuracy % 15 -- Ranged ACC % 15 ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
dios-game/dios-cocos
src/oslibs/cocos/cocos-src/tests/lua-tests/src/AssetsManagerTest/AssetsManagerModule.lua
17
1398
local AssetManagerModule = {} function AssetManagerModule.newScene(backfunc) local winSize = cc.Director:getInstance():getWinSize() local newScene = cc.Scene:create() local layer = cc.Layer:create() local function backToUpdate() local scene = backfunc() if scene ~= nil then ...
mit
MadkaT182/DDR2ndMix
BGAnimations/ScreenEvaluationSummary decorations/default.lua
1
2236
local path = "../ScreenEvaluationNormal decorations/"; local t = Def.ActorFrame {}; --Title t[#t+1] = Def.ActorFrame { LoadActor( "tot" )..{ OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_TOP+48;); } }; --Frame t[#t+1] = Def.ActorFrame { LoadActor( "frame" )..{}; }; --Player stats if GAMESTATE:IsPlayerEnabled(PLAYER_...
gpl-3.0
sdgdsffdsfff/vanilla
resty/lua-resty-session-2.3/lib/resty/session/storage/memcache.lua
4
5775
local memcached = require "resty.memcached" local setmetatable = setmetatable local tonumber = tonumber local concat = table.concat local floor = math.floor local sleep = ngx.sleep local now = ngx.now local function enabled(val) if val == nil then return nil end return val =...
mit
isalnikov/Algorithm-Implementations
Run_Length_Encoding/Lua/Yonaba/rle_test.lua
26
1931
-- Tests for rle.lua local rle = require 'rle' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 end local status = ok...
mit
kinbei/Lua-Code-Snippets
test_binary_heap.lua
3
4317
local binary_heap = require "binary_heap" local math_random = math.random local table_sort, table_remove = table.sort, table.remove -- tests ----------------------------------------------------------------------- local function test_heap_write(h) io.write("Pretty-printing heap:\n") for i = 1, 20 do h:insert(...
mit
moltafet35/seel
plugins/invite2.lua
20
2324
--[[ Invite other user to the chat group. Use !invite ********* (where ********* is id_number) to invite a user by id_number. This is the most reliable method. Use !invite @username to invite a user by @username. Less reliable. Some users don't have @username. Use !invite Type print_name Here to invite a user by print_...
gpl-2.0
XVilka/bvim
plugins/unittest.lua
1
2714
tests_passed = 0 tests_failed = 0 if bvi.md4_hash("1234567890") ~= "85b196c3e39457d91cab9c905f9a11c0" then bvi.msg_window("MD4 hash is WRONG!") bvi.tools_window(2) bvi.print_tools_window("BVI MD4 hash: [ " .. bvi.md4_hash("1234567890") .. " ]", 1) bvi.print_tools_window("ORIG MD4 hash: [ 85b196c3e39457d91cab9c905...
gpl-2.0
Armyluix/darkstar
scripts/zones/Boneyard_Gully/Zone.lua
28
1631
----------------------------------- -- -- Zone: Boneyard_Gully (8) -- ----------------------------------- package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Boneyard_Gully/TextIDs"); -----------------...
gpl-3.0
t10471/dotfiles
wezterm/wezterm.lua
1
7975
local wezterm = require("wezterm") local utils = require("utils") --------------------------------------------------------------- --- keybinds --------------------------------------------------------------- local default_keybinds = { {key = "x", mods = "CMD", action = "ShowDebugOverlay"}, {key = "b", mods = "...
mit
imrandomizer/Algorithm-Implementations
Knuth_Morris_Pratt/Lua/Yonaba/kmp.lua
26
1219
-- Knuth-Morris-Pratt string searching algorithm implementation -- See: http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm local function kmp_table(pattern) local result = {} for i = 1, #pattern+1,1 do local j = i while true do if j == 1 then result[#result + 1] = 1 ...
mit
isalnikov/Algorithm-Implementations
Knuth_Morris_Pratt/Lua/Yonaba/kmp.lua
26
1219
-- Knuth-Morris-Pratt string searching algorithm implementation -- See: http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm local function kmp_table(pattern) local result = {} for i = 1, #pattern+1,1 do local j = i while true do if j == 1 then result[#result + 1] = 1 ...
mit
Armyluix/darkstar
scripts/zones/Riverne-Site_B01/npcs/_0t1.lua
17
1340
----------------------------------- -- Area: Riverne Site #B01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_B01/Text...
gpl-3.0
Armyluix/darkstar
scripts/zones/Chateau_dOraguille/Zone.lua
17
2744
----------------------------------- -- -- Zone: Chateau_dOraguille (233) -- ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/glob...
gpl-3.0
abriasffxi/darkstar
scripts/globals/items/plate_of_bream_sushi.lua
17
1475
----------------------------------------- -- ID: 5176 -- Item: plate_of_bream_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 6 -- Vitality 5 -- Accuracy % 16 -- Ranged ACC % 16 -- Sleep Resist 5 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
abriasffxi/darkstar
scripts/globals/abilities/hasso.lua
27
1129
----------------------------------- -- Ability: Hasso -- Grants a bonus to attack speed, accuracy, and Strength when using two-handed weapons, but increases recast and casting times. -- Obtained: Samurai Level 25 -- Recast Time: 1:00 -- Duration: 5:00 ----------------------------------- require("scripts/globals/settin...
gpl-3.0
obelisk21/prosody-modules
mod_auth_ccert/mod_auth_ccert.lua
32
2651
-- Copyright (C) 2013 Kim Alvefur -- -- This file is MIT/X11 licensed. local jid_compare = require "util.jid".compare; local jid_split = require "util.jid".prepped_split; local new_sasl = require "util.sasl".new; local now = os.time; local log = module._log; local subject_alternative_name = "2.5.29.17"; local id_on_x...
mit
Armyluix/darkstar
scripts/globals/spells/bluemagic/feather_barrier.lua
18
1353
----------------------------------------- -- Spell: Feather Barrier -- Enhances evasion -- Spell cost: 29 MP -- Monster Type: Birds -- Spell Type: Magical (Wind) -- Blue Magic Points: 2 -- Stat Bonus: None -- Level: 56 -- Casting Time: 2 seconds -- Recast Time: 120 seconds -- Duration: 30 Seconds -- -- Co...
gpl-3.0
minin43/nzombies
gamemodes/nzombies/entities/entities/edit_sun.lua
2
2601
AddCSLuaFile() DEFINE_BASECLASS( "base_edit" ) ENT.Spawnable = true ENT.AdminOnly = true ENT.PrintName = "Sun Editor" ENT.Category = "Editors" ENT.NZOnlyVisibleInCreative = true function ENT:Initialize() BaseClass.Initialize( self ) self:EnableForwardArrow() self:SetMaterial( "gmod/edit_sun" ) if (...
gpl-3.0
bravnsgaard/premake-core
src/actions/make/make_utility.lua
15
1409
-- -- make_utility.lua -- Generate a C/C++ project makefile. -- Copyright (c) 2002-2014 Jason Perkins and the Premake project -- local p = premake p.make.utility = {} local make = p.make local utility = p.make.utility local project = p.project local config = p.config local fileconfig = p.fileco...
bsd-3-clause
Armyluix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Shahau.lua
24
1794
----------------------------------- -- 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/globa...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Riverne-Site_A01/Zone.lua
15
1963
----------------------------------- -- -- Zone: Riverne-Site_A01 -- ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Riverne-Site_A01/TextIDs"); require("scripts/globals/status"); require("scripts/globals/se...
gpl-3.0
b0oh/mal
lua/core.lua
11
5196
local utils = require('utils') local types = require('types') local reader = require('reader') local printer = require('printer') local readline = require('readline') local Nil, List, _pr_str = types.Nil, types.List, printer._pr_str local M = {} -- string functions function pr_str(...) return table.concat( ...
mpl-2.0
czchen/mal
lua/core.lua
11
5196
local utils = require('utils') local types = require('types') local reader = require('reader') local printer = require('printer') local readline = require('readline') local Nil, List, _pr_str = types.Nil, types.List, printer._pr_str local M = {} -- string functions function pr_str(...) return table.concat( ...
mpl-2.0
PARADOXTEAM/ParadoxBot
plugins/stats.lua
79
4014
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
agpl-3.0
abriasffxi/darkstar
scripts/zones/Windurst_Walls/npcs/Ojha_Rhawash.lua
26
3747
----------------------------------- -- Area: Windurst Walls -- NPC: Ojha Rhawash -- Starts and Finishes Quest: Flower Child -- @zone 239 -- @pos -209 0 -134 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windu...
gpl-3.0
Armyluix/darkstar
scripts/zones/Yughott_Grotto/npcs/Treasure_Chest.lua
19
2570
----------------------------------- -- Area: Yughott Grotto -- NPC: Treasure Chest -- @zone 142 ----------------------------------- package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scrip...
gpl-3.0
Armyluix/darkstar
scripts/zones/Labyrinth_of_Onzozo/npcs/Treasure_Chest.lua
19
3506
----------------------------------- -- Area: Labyrinth of Onzozo -- NPC: Treasure Chest -- @zone 213 ----------------------------------- package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requ...
gpl-3.0
5620g/seed
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
Armyluix/darkstar
scripts/globals/abilities/pets/wind_blade.lua
25
1297
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Abyssea-Altepa/npcs/qm4.lua
14
1386
----------------------------------- -- Zone: Abyssea-Altepa -- NPC: qm4 (???) -- Spawns Emperor de Altepa -- @pos ? ? ? 218 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trad...
gpl-3.0
mir3x/freeciv_cmake
dependencies/tolua-5.2/src/bin/lua/function.lua
4
10304
-- tolua: function class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: function.lua,v 1.4 2009/11/24 16:45:14 fabraham Exp $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to p...
gpl-2.0
abriasffxi/darkstar
scripts/zones/Abyssea-Attohwa/npcs/qm4.lua
9
1341
----------------------------------- -- Zone: Abyssea-Attohwa -- NPC: qm4 (???) -- Spawns Kharon -- @pos ? ? ? 215 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[ ...
gpl-3.0
ElectroDuk/QuackWars
garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/weapons/weapon_mad_c4/shared.lua
2
7263
// Variables that are used on both client and server SWEP.Base = "weapon_mad_base" SWEP.ViewModelFlip = false SWEP.ViewModel = "models/weapons/v_c4.mdl" SWEP.WorldModel = "models/weapons/w_c4.mdl" SWEP.Spawnable = false SWEP.AdminSpawnable = true SWEP.Primary.Sound = Sound("") SWEP.Primary.Recoil = 0 ...
mit
abriasffxi/darkstar
scripts/zones/Full_Moon_Fountain/bcnms/moonlit_path.lua
30
2203
----------------------------------- -- Area: Full Moon Fountain -- Name: The Moonlit Path ----------------------------------- package.loaded["scripts/zones/Full_Moon_Fountain/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/...
gpl-3.0
Armyluix/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tabar.lua
16
1477
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Animated Tabar ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- functio...
gpl-3.0
JakobGreen/lua-requests
tests/user_tests.lua
1
6916
local requests = require('src/requests') describe("All requests test", function() describe("GET request", function() it("can make basic get requests", function() local url = 'http://localhost:8080/get' local response = requests.get(url) local _, err = response.json() assert.are.same(200...
mit
imrandomizer/Algorithm-Implementations
Heap_Sort/Lua/Yonaba/heapsort.lua
27
2212
-- Heap sort implementation -- See: http://en.wikipedia.org/wiki/Heapsort -- Binary heap data structure implementation -- Based on http://github.com/Yonaba/Binary-Heaps -- Percolates up local function sift_up(heap, index) if index == 1 then return end local pIndex if index <= 1 then return end if index % 2 ==...
mit
MonkeyFirst/urho3d-rtt-paint
bin/Data/LuaScripts/06_SkeletalAnimation.lua
3
9768
-- Skeletal animation example. -- This sample demonstrates: -- - Populating a 3D scene with skeletally animated AnimatedModel components -- - Moving the animated models and advancing their animation using a script object -- - Enabling a cascaded shadow map on a directional light, which allows high-quality s...
mit
Armyluix/darkstar
scripts/zones/Port_Bastok/npcs/Rajesh.lua
17
1382
----------------------------------- -- Area: Port Bastok -- NPC: Rajesh -- @zone 236 -- @pos -62 1 -8 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); r...
gpl-3.0
abriasffxi/darkstar
scripts/globals/gear_sets.lua
17
26319
----------------------------------- -- Gear sets -- Allows the use of gear sets with modifiers ----------------------------------- require("scripts/globals/status"); ----------------------------------- local matchtype = { any = 0, earring_weapon = 1, weapon_weapon = 2 } -- placeholder for unkno...
gpl-3.0
topameng/protoc-gen-lua
protobuf/listener.lua
1
1349
-- -------------------------------------------------------------------------------- -- FILE: listener.lua -- DESCRIPTION: protoc-gen-lua -- Google's Protocol Buffers project, ported to lua. -- https://code.google.com/p/protoc-gen-lua/ -- -- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail....
bsd-3-clause
Armyluix/darkstar
scripts/zones/Spire_of_Dem/npcs/_0j2.lua
51
1321
----------------------------------- -- Area: Spire_of_Dem -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Dem/TextIDs"); ---------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Rabao/npcs/Shupah_Mujuuk.lua
17
3540
----------------------------------- -- Area: Rabao -- NPC: Shupah Mujuuk -- Title Change NPC -- @pos 12 8 20 247 ----------------------------------- require("scripts/globals/titles"); local title2 = { THE_IMMORTAL_FISHER_LU_SHANG , INDOMITABLE_FISHER , KUFTAL_TOURIST , ACQUIRER_OF_ANCIENT_ARCANUM , DESERT_HU...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/chunk_of_smelling_salts.lua
18
1202
----------------------------------------- -- ID: 5320 -- Item: Chunk of Smelling Salts -- Item Effect: Recover Pets from Sleep -- Duration: 180 Secs Medicated ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------------------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Northern_San_dOria/npcs/Antonian.lua
17
2157
----------------------------------- -- Area: Northern San d'Oria -- NPC: Antonian -- Regional Marchant NPC -- Only sells when San d'Oria controlls Aragoneu. ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/No...
gpl-3.0
minin43/nzombies
gamemodes/nzombies/entities/entities/sent_grenade_frag/outputs.lua
2
1869
ENT.Sound = {} ENT.Sound.Blip = "Grenade.Blip" ENT.Sound.Explode = "BaseGrenade.Explode" ENT.Trail = {} ENT.Trail.Color = Color( 255, 0, 0, 255 ) ENT.Trail.Material = "sprites/bluelaser1.vmt" ENT.Trail.StartWidth = 8.0 ENT.Trail.EndWidth = 1.0 ENT.Trail.LifeTime = 0.5 // Nice helper function, this does...
gpl-3.0
Armyluix/darkstar
scripts/commands/godmode.lua
26
2907
--------------------------------------------------------------------------------------------------- -- func: godmode -- desc: Toggles god mode on the player; granting them several special abilities. --------------------------------------------------------------------------------------------------- cmdprops = { ...
gpl-3.0
abriasffxi/darkstar
scripts/globals/items/coeurl_sub.lua
18
1832
----------------------------------------- -- ID: 5166 -- Item: coeurl_sub -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic 10 -- Strength 5 -- Agility 1 -- Intelligence -2 -- Health Regen While Healing 1 -- Attack % 20 -- Attack Cap 75 -- Ranged ATT % 20 -- Ranged ATT Cap 75 ---------...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/hellfire_sword.lua
41
1073
----------------------------------------- -- ID: 16928 -- Item: Hellfire Sword -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----------------------------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Temple_of_Uggalepih/mobs/Manipulator.lua
17
2255
---------------------------------- -- Area: Temple of Uggalipeh -- NM: Manipulator -- Notes: Paths around the 2 staircases ----------------------------------- local path = { -17.930, -8.500, -93.215, -18.553, -7.713, -91.224, -20.226, -6.250, -89.091, -21.651, -5.005, -87.401, -23.137, -3.917, ...
gpl-3.0
mohammad4569/botwe
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0