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
nyczducky/darkstar
scripts/zones/Windurst_Woods/npcs/Umumu.lua
14
3046
----------------------------------- -- 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/quests"); r...
gpl-3.0
Stackvana/stack
json.lua
2
7158
--[[ json.lua A compact pure-Lua JSON library. The main functions are: json.stringify, json.parse. ## json.stringify: This expects the following to be true of any tables being encoded: * They only have string or number keys. Number keys must be represented as strings in json; this is part of the json spec. * Th...
mit
wenhulove333/ScutServer
Sample/GameRanking/Client/release/lua/lib/ZyMessageBoxEx.lua
2
14107
MB_STYLE_TITLE = 1 --±êÌâ MB_STYLE_MESSAGE = 2 --ÄÚÈÝ MB_STYLE_LBUTTON = 3 MB_STYLE_RBUTTON = 4 MB_STYLE_MODIFY = 5 MB_STYLE_THEME = 6 MB_STYLE_GOTO_PAGE = 7 MB_STYLE_CLOSE = 8 MB_STYLE_PROMPT = 9 MB_STYLE_RENAME = 10 --¸üÃû ID_MBOK = 1 --×ó±ß ID_MBCANCEL = 2 MB_THEME_NORMAL = 1 --...
mit
mehrpouya81/giantbot
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
nyczducky/darkstar
scripts/globals/mobskills/Lethe_Arrows.lua
29
1094
--------------------------------------------- -- Lethe Arrows -- -- Description: Deals a ranged attack to target. Additional effect: Knockback, Bind, and Amnesia -- Type: Ranged -- Utsusemi/Blink absorb: Ignores Utsusemi -- Range: Unknown -- Notes: --------------------------------------------- require("scripts/g...
gpl-3.0
nyczducky/darkstar
scripts/commands/changejob.lua
21
1062
--------------------------------------------------------------------------------------------------- -- func: changejob -- desc: Changes the players current job. --------------------------------------------------------------------------------------------------- require("scripts/globals/status"); cmdprops = { permi...
gpl-3.0
timn/roslua
src/roslua/master_proxy.lua
1
5979
---------------------------------------------------------------------------- -- master_proxy.lua - Master XML-RPC proxy -- -- Created: Thu Jul 22 11:31:05 2010 (at Intel Research, Pittsburgh) -- License: BSD, cf. LICENSE file of roslua -- Copyright 2010 Tim Niemueller [www.niemueller.de] -- 2010 Car...
bsd-3-clause
jakianroy/NGUI_To_Be_Best
Assets/LuaFramework/ToLua/Lua/socket/url.lua
16
11058
----------------------------------------------------------------------------- -- URI parsing, composition and relative URL resolution -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- --------------------------------------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Quicksand_Caves/npcs/Treasure_Coffer.lua
13
4641
----------------------------------- -- Area: Quicksand Caves -- NPC: Treasure Coffer -- @zone 208 -- @pos 615 -6 -681 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/key...
gpl-3.0
maxha651/NotZombies
evilboxInit.lua
1
1331
-- Some glue to make STI and evilbox.lua stick together -- Overall not very nice code evilboxInit = {} -- Create evilbox objects from Tiled stuff function evilboxInit.initLayer(map, layer, world) local objects = map.layers[layer].objects -- Do cool initialization local coolObject local coolObjects = ...
mit
nyczducky/darkstar
scripts/zones/FeiYin/npcs/Treasure_Chest.lua
17
3611
----------------------------------- -- Area: Fei'Yin -- NPC: Treasure Chest -- @zone 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/trea...
gpl-3.0
ahmedjabbar/uor
plugins/stats.lua
15
4017
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...
gpl-2.0
nyczducky/darkstar
scripts/globals/items/plate_of_octopus_sushi.lua
12
1586
----------------------------------------- -- ID: 5693 -- Item: plate_of_octopus_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 1 -- Accuracy % 14 (cap 68) -- Ranged Accuracy % 14 (cap 68) -- Resist Sleep +1 ----------------------------------------- require("scripts/globals...
gpl-3.0
nyczducky/darkstar
scripts/globals/weaponskills/one_inch_punch.lua
25
1590
----------------------------------- -- One Inch Punch -- Hand-to-Hand weapon skill -- Skill level: 75 -- Delivers an attack that ignores target's defense. Amount ignored varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: None -- Modifiers: VI...
gpl-3.0
sevu/wesnoth
data/campaigns/World_Conquest/lua/map/tools/filter_converter.lua
6
5020
---------------------------------------------------------- ---- A helper tool, that works (mostly) indpendently ---- ---- of the rest to convert location filter wml to ---- ---- the filter syntax used in this addon ---- ---- (map:find) ---- ------------------------...
gpl-2.0
benloz10/FinalFrontier
gamemodes/finalfrontier/gamemode/cl_room.lua
3
5727
-- Copyright (c) 2014 James King [metapyziks@gmail.com] -- -- This file is part of Final Frontier. -- -- Final Frontier is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as -- published by the Free Software Foundation, either version 3 of -- the Lic...
lgpl-3.0
timn/roslua
src/roslua/slave_proxy.lua
1
4386
---------------------------------------------------------------------------- -- slave_proxy.lua - Slave XML-RPC proxy -- -- Created: Mon Jul 26 11:58:27 2010 (at Intel Research, Pittsburgh) -- License: BSD, cf. LICENSE file of roslua -- Copyright 2010 Tim Niemueller [www.niemueller.de] -- 2010 Carne...
bsd-3-clause
benloz10/FinalFrontier
gamemodes/finalfrontier/entities/effects/trans_sparks.lua
3
2353
-- Copyright (c) 2014 James King [metapyziks@gmail.com] -- -- This file is part of Final Frontier. -- -- Final Frontier is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as -- published by the Free Software Foundation, either version 3 of -- the Lic...
lgpl-3.0
TeamBliss-LP/android_external_skia
tools/lua/bitmap_statistics.lua
207
1862
function string.startsWith(String,Start) return string.sub(String,1,string.len(Start))==Start end function string.endsWith(String,End) return End=='' or string.sub(String,-string.len(End))==End end local canvas = nil local num_perspective_bitmaps = 0 local num_affine_bitmaps = 0 local num_scaled_bitmaps = 0 loc...
bsd-3-clause
dtrip/awesome
tests/test-focus.lua
4
2567
--- Tests for focus signals / property. -- Test for https://github.com/awesomeWM/awesome/issues/134. local runner = require("_runner") local awful = require("awful") local gdebug = require("gears.debug") local beautiful = require("beautiful") beautiful.border_color_normal = "#0000ff" beautiful.border_color_active = "...
gpl-2.0
nyczducky/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Telepoint.lua
17
1245
----------------------------------- -- Area: Jugner Forest [S] -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Jugner_Forest_[S]/TextIDs"); ----------...
gpl-3.0
abcdefg30/OpenRA
mods/ra/maps/allies-06b/allies06b.lua
7
7952
--[[ Copyright 2007-2022 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
Devilmore/GoalBabbling
build/premake4.lua
4
13286
---------------------------------------------------------------------- -- Premake4 configuration script for OpenDE -- Contributed by Jason Perkins (starkos@industriousone.com) -- For more information on Premake: http://industriousone.com/premake ---------------------------------------------------------------------- --...
lgpl-2.1
nyczducky/darkstar
scripts/zones/Cloister_of_Frost/bcnms/trial_by_ice.lua
27
1938
----------------------------------- -- Area: Cloister of Frost -- BCNM: Trial by Ice -- @pos 558 0.1 596 203 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests");...
gpl-3.0
nyczducky/darkstar
scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua
27
2925
----------------------------------- -- Area: Rolanberry Fields -- NPC: Cavernous Maw -- @pos -198 8 361 110 -- Teleports Players to Rolanberry Fields [S] ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/handful_of_sunflower_seeds.lua
12
1202
----------------------------------------- -- ID: 4505 -- Item: handful_of_sunflower_seeds -- Food Effect: 5Min, All Races ----------------------------------------- -- Dexterity -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
Mariappan/rcfiles
home/.notion/cfg_tiling.lua
1
2701
-- -- Notion tiling module configuration file -- -- Bindings for the tilings. defbindings("WTiling", { bdoc("Split current frame vertically."), kpress(META.."S", "WTiling.split_at(_, _sub, 'bottom', true)"), bdoc("Go to frame above/below/right/left of current frame."), kpress(META.."P", "ioncore...
gpl-2.0
ld-test/lzmq-ffi
examples/perf2/runner.lua
16
4452
local DIR_SEP = package.config:sub(1,1) local msg_size local msg_count local N local function exec(cmd) local f, err = io.popen(cmd, "r") if not f then return err end local data, err = f:read("*all") f:close() return data, err end local function parse_thr(result) local msgps = assert( tonumber((resul...
mit
pakozm/april-pi-cnn-line-follower
offline_learn.lua
1
1546
local offline_controller local brickpi = { sensorValue = function() return offline_controller:get_info().sensor end } setmetatable(brickpi, { __index = function() return function() return true end end }) package.preload.brickpi = function() return brickpi end package.pat...
gpl-3.0
nyczducky/darkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Jailer_of_Faith.lua
23
1527
----------------------------------- -- Area: The Garden of Ru'Hmet -- NPC: Jailer_of_Faith ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) -- Give it two hour mob:setMod(MOBMOD_MAIN_2HOUR, 1); -- Cha...
gpl-3.0
jbeich/Aquaria
files/scripts/entities/nudibranchtemplate.lua
6
2979
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
francot514/CardGamePRO-Simulator
data/cards/c1084.lua
1
1077
--War elephant function c1084.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DAMAGE) e1:SetCondition(c1084.condition) e1:SetTarget(c1084.target) e1:...
gpl-2.0
mehrpouya81/giantbot
plugins/media.lua
376
1679
do local function run(msg, matches) local receiver = get_receiver(msg) local url = matches[1] local ext = matches[2] local file = download_to_file(url) local cb_extra = {file_path=file} local mime_type = mimetype.get_content_type_no_sub(ext) if ext == 'gif' then print('send_file') send_docum...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/entities/anemone2.lua
12
2819
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
sudheesh001/RFID-DBSync
cardpeek-0.8.3/dot_cardpeek_dir/scripts/etc/paris-metro.lua
17
9555
METRO_LIST = { [01] = { ["name"] = "Cité", [01] = "Saint-Michel", [04] = "Odéon", [05] = "Cluny - La Sorbonne", [06] = "Maubert - Mutualité", [07] = "Luxembourg", [08] = "Châtelet", [09] = "Les Halles", [10] = "Les Halles", [12] = "Louvre - Rivoli", [13] = "Pont Neuf", [14] = "Cité", [15] = "H...
gpl-2.0
ArmanIr/restore
plugins/stats.lua
33
3680
do local NUM_MSG_MAX = 6 local TIME_CHECK = 4 -- seconds local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end -- Returns a table with `...
gpl-2.0
nyczducky/darkstar
scripts/globals/items/culinarians_belt.lua
12
1180
----------------------------------------- -- ID: 15451 -- Item: Culinarian's Belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Alchemy Skill +3 ----------------------------------------- require("scripts...
gpl-3.0
alinoroz/pop_tm
plugins/gif.lua
15
1758
do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images local i = math.random(#images) local image = images[i] -- A random one if image.ima...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/entities/collectibleenergystatue.lua
6
1296
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/globals/items/death_scythe.lua
42
1065
----------------------------------------- -- ID: 16777 -- Item: Death Scythe -- Additional Effect: Drains HP ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/RaKaznar_Inner_Court/npcs/HomePoint#1.lua
9
1287
----------------------------------- -- Area: RaKaznar_Inner_Court -- NPC: HomePoint#1 -- @pos 757 120 17.5 276 ----------------------------------- package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Inner_Court/TextIDs"); require("s...
gpl-3.0
nyczducky/darkstar
scripts/globals/weaponskills/final_heaven.lua
19
2208
------------------------------- -- Skill: Final Heaven -- H2H weapon skill -- Skill Level N/A -- Additional effect: temporarily enhances Subtle Blow effect. -- Mods : VIT:60% -- 100%TP 200%TP 300%TP -- 3.0x 3.0x 3.0x -- +10 Subtle Blow for a short duration after using the weapon skill. (Not implement...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/bluemagic/smite_of_rage.lua
33
1678
----------------------------------------- -- Spell: Smite of Rage -- Damage varies with TP -- Spell cost: 28 MP -- Monster Type: Arcana -- Spell Type: Physical (Slashing) -- Blue Magic Points: 3 -- Stat Bonus: AGI+3 -- Level: 34 -- Casting Time: 0.5 seconds -- Recast Time: 13 seconds -- Skillchain Element(s): Wind (can...
gpl-3.0
nyczducky/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Maturiri.lua
14
1064
---------------------------------- -- Area: Tavnazian Safehold -- NPC: Maturiri -- Type: Item Deliverer -- @zone 26 -- @pos -77.366 -20 -71.128 -- ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ------...
gpl-3.0
nyczducky/darkstar
scripts/zones/East_Ronfaure/TextIDs.lua
7
1411
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item> come back again after sorting your inventory. ITEM_OBTAINED = 6407; -- Obtained: <item>. GIL_OBTAINED = 6408; -- Obtained <number> gil. KEYITEM_OBTAINED = 6410; -- Obt...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/heart_chocolate.lua
12
1132
----------------------------------------- -- ID: 4497 -- Item: heart_chocolate -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic Regen While Healing 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck...
gpl-3.0
wenhulove333/ScutServer
Sample/GameRanking/Client/release/lua/mainapp.lua
1
4607
------------------------------------------------------------------ -- mainapp.lua -- Author : Xin Zhang -- Version : 1.0.0.0 -- Date : 2011-10-15 -- Description: ------------------------------------------------------------------ local strModuleName = "mainapp" CCLuaLog("Module ".. strModuleName...
mit
nyczducky/darkstar
scripts/globals/weaponskills/fast_blade.lua
25
1373
----------------------------------- -- Fast Blade -- Sword weapon skill -- Skill Level: 5 -- Delivers a two-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: None -- Modifiers: STR:20% ; DEX:20% -- 100%TP 200%TP 300%TP -...
gpl-3.0
nyczducky/darkstar
scripts/zones/Qufim_Island/npcs/Nightflowers.lua
14
1556
----------------------------------- -- Area: Qufim Island -- NPC: Nightflowers -- Involved in Quest: Save My Son (Beastmaster Flag #1) -- @pos -264.775 -3.718 28.767 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
abosalah22/memo
plugins/tagall.lua
3
1486
--[[ $ :) -- - ( #ابو_شهوده ) - -- $ :) -- - ( @abo_shosho98 ) - -- $ :) --Channel-( @aboaloshbot )-- $ :) ]]-- local function tagall(cb_extra, success, result) local receiver = cb_extra.receiver local text = '' local msgss = 0 for k,v in pairs(result.members) do if v.username then ...
gpl-2.0
nyczducky/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Latteaune.lua
14
1070
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Latteaune -- Type: Event Scene Replayer -- @zone 26 -- @pos -16.426 -28.889 109.626 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] =...
gpl-3.0
jbeich/Aquaria
files/scripts/entities/rotworm.lua
6
6549
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
rkoval/dotfiles
nvim/lua/plugins.lua
1
3267
return require('packer').startup(function() use('wbthomason/packer.nvim') use({ 'folke/tokyonight.nvim', commit = '8223c970677e4d88c9b6b6d81bda23daf11062bb' }) -- -- nvim dependencies -- use('nvim-lua/plenary.nvim') use('kyazdani42/nvim-web-devicons') use('tami5/sqlite.lua') -- -- nvim plugins ...
mit
lgeek/koreader
frontend/ui/widget/screensaverwidget.lua
3
2270
local Device = require("device") local Geom = require("ui/geometry") local GestureRange = require("ui/gesturerange") local FrameContainer = require("ui/widget/container/framecontainer") local InputContainer = require("ui/widget/container/inputcontainer") local UIManager = require("ui/uimanager") local Screen = Device.s...
agpl-3.0
abcdefg30/OpenRA
mods/ra/maps/allies-09a/allies09a.lua
7
5887
--[[ Copyright 2007-2022 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
abosalah22/memo
plugins/lk_emoji.lua
3
2347
--[[ $ :) -- - ( #ابو_شهوده ) - -- $ :) -- - ( @abo_shosho98 ) - -- $ :) --Channel-( @aboaloshbot )-- $ :) ]]-- local function run(msg) local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['emoji'] == 'yes' then if not is_momod(msg) then delete_msg(msg.id, ok_c...
gpl-2.0
lgeek/koreader
spec/unit/touch_probe_spec.lua
13
2044
describe("touch probe module", function() local x, y setup(function() require("commonrequire") end) it("should probe properly for kobo touch", function() local Device = require("device") local TouchProbe = require("tools/kobo_touch_probe"):new{} local need_to_switch_xy ...
agpl-3.0
nyczducky/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/qm3.lua
14
1715
----------------------------------- -- Area: The_Garden_of_RuHmet -- NPC: ??? (Jailer of Faith Spawn) -- Allows players to spawn the Jailer of Faith by trading 1 High-Quality Euvhi Organ to a ???. -- @pos -260 0 -645 ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = ni...
gpl-3.0
nyczducky/darkstar
scripts/globals/abilities/pets/tail_whip.lua
30
1284
--------------------------------------------------- -- Tail Whip M=5 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/summon"); -----------------------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/danceshroom.lua
12
1190
----------------------------------------- -- ID: 4375 -- Item: danceshroom -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -5 -- Mind 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
nyczducky/darkstar
scripts/zones/South_Gustaberg/npcs/Cavernous_Maw.lua
58
1907
----------------------------------- -- Area: South Gustaberg -- NPC: Cavernous Maw -- @pos 340 -0.5 -680 -- Teleports Players to Abyssea - Altepa ----------------------------------- package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); ...
gpl-3.0
matinbot/webamooz
plugins/Boobs.lua
150
1613
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
nyczducky/darkstar
scripts/zones/Oldton_Movalpolos/npcs/Tarnotik.lua
14
1772
----------------------------------- -- Area: Oldton Movalpolos -- NPC: Tarnotik -- Type: Standard NPC -- @pos 160.896 10.999 -55.659 11 ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Oldton_Movalpolos/T...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/serving_of_leadafry.lua
12
1190
----------------------------------------- -- ID: 5161 -- Item: serving_of_leadafry -- Food Effect: 240Min, All Races ----------------------------------------- -- Agility 5 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChec...
gpl-3.0
nyczducky/darkstar
scripts/zones/Windurst_Woods/npcs/Mushuhi-Metahi.lua
59
1052
----------------------------------- -- Area: Windurst Woods -- NPC: Mushuhi-Metahi -- Type: Weather Reporter ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Windurst_Woods/T...
gpl-3.0
nyczducky/darkstar
scripts/zones/Sealions_Den/bcnms/warriors_path.lua
26
2441
----------------------------------- -- Area: Sealion's Den -- Name: warriors_path -- bcnmID : 993 ----------------------------------- package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/...
gpl-3.0
AinaSG/Crunchy
roach.lua
1
4153
roach = {} roach.width = 84 roach.offset = 41 roach.height = 108 function roach.loadAssets(snowman) if snowman then roach.img = love.graphics.newImage("assets/snowmant.png") else roach.img = love.graphics.newImage("assets/blushed3.png") end roach.isSnowMan = snowman or false roach.sprites = {} roach.sprites[...
gpl-2.0
nyczducky/darkstar
scripts/zones/Windurst_Waters/npcs/Koko_Lihzeh.lua
14
1858
----------------------------------- -- Area: Windurst Waters -- NPC: Koko Lihzeh -- Involved in Quest: Making the Grade, Riding on the Clouds -- @zone 238 -- @pos 135 -6 162 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/frost.lua
9
1850
----------------------------------------- -- Spell: Frost -- Deals ice damage that lowers an enemy's agility and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Quicksand_Caves/mobs/Centurio_IV-VII.lua
11
1351
----------------------------------- -- Area: Quicksand Caves -- MOB: Centurio IV-VII -- Pops in Bastok mission 8-1 "The Chains that Bind Us" ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/Text...
gpl-3.0
nyczducky/darkstar
scripts/zones/Southern_San_dOria/npcs/Raminel.lua
14
5118
----------------------------------- -- Area: Southern San d'Oria -- NPC: Raminel -- Involved in Quests: Riding on the Clouds -- @pos -56 2 -21 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_Sa...
gpl-3.0
micdah/LrControl
Docs/Lightroom SDK 6.0/Sample Plugins/flickr.lrdevplugin/FlickrUser.lua
1
9479
--[[---------------------------------------------------------------------------- FlickrUser.lua Flickr user account management -------------------------------------------------------------------------------- ADOBE SYSTEMS INCORPORATED Copyright 2007 Adobe Systems Incorporated All Rights Reserved. NOTICE: Adobe pe...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/entities/lightcrystalcommon.lua
6
2121
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
francot514/CardGamePRO-Simulator
data/cards/c1041.lua
1
1134
--Chariot Archer function c1041.initial_effect(c) --destroy trap local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCondition(c1041.ctlcon) e1:SetTarget(c1041.target...
gpl-2.0
nyczducky/darkstar
scripts/zones/Selbina/npcs/Isacio.lua
14
3124
----------------------------------- -- Area: Selbina -- NPC: Isacio -- Finishes Quest: Elder Memories -- @pos -54 -1 -44 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/phalanx.lua
27
1151
----------------------------------------- -- Spell: PHALANX ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,s...
gpl-3.0
hanikk/tele-you
bot/utils.lua
239
13499
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")() http.TIMEOUT = 10 funct...
gpl-2.0
jbeich/Aquaria
files/scripts/maps/node_killcreator.lua
6
1380
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
fegimanam/plggod
plugins/inpm.lua
1114
3008
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
aqasaeed/ali
plugins/inpm.lua
1114
3008
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
rpav-eso/ThiefsKnapsack
libs/LibAddonMenu-2.0/controls/description.lua
6
2085
--[[descriptionData = { type = "description", title = "My Title", --(optional) text = "My description text to display.", width = "full", --or "half" (optional) reference = "MyAddonDescription" --(optional) unique global reference to control } ]] local widgetVersion = 5 local LAM = LibStub("LibAddonMenu-2.0") if ...
bsd-2-clause
jbeich/Aquaria
files/scripts/entities/architect.lua
6
2032
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/zones/Castle_Oztroja/npcs/_47l.lua
14
1632
----------------------------------- -- Area: Castle Oztroja -- NPC: _47l (Torch Stand) -- Notes: Opens door _471 near password #3 -- @pos -45.228 -17.832 22.392 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
alirezafodaji/tele-IR
plugins/spm.lua
1
1041
-- Liberbot-compliant floodcontrol. -- Put this after moderation.lua or blacklist.lua. floodcontrol = floodcontrol or {} local triggers = { '' } local action = function(msg) if floodcontrol[-msg.chat.id] then return end local input = msg.text_lower:match('^/floodcontrol[@'....
gpl-2.0
nyczducky/darkstar
scripts/zones/Labyrinth_of_Onzozo/TextIDs.lua
7
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 = 6385; -- Obtained: <item>. GIL_OBTAINED = 6386; -- Obtained <number> gil. KEYITEM_OBTAINED = 6388; -- Obtained...
gpl-3.0
nyczducky/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/_540.lua
14
2241
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Cermet Door for Windy Ambassador -- Windurst Mission 3.3 "A New Journey" -- @pos 636 16 59 184 ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; --------------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Castle_Oztroja/npcs/qm1.lua
14
1540
----------------------------------- -- Area: Castle Oztroja -- NPC: qm1 (???) -- Involved in Quest: True Strength -- @pos -100 -71 -132 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
gpl-3.0
nyczducky/darkstar
scripts/zones/Metalworks/npcs/Savae_E_Paleade.lua
14
2812
----------------------------------- -- Area: Metalworks -- NPC: Savae E Paleade -- Involved In Mission: Journey Abroad -- @pos 23.724 -17.39 -43.360 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems")...
gpl-3.0
nyczducky/darkstar
scripts/globals/effects/battlefield.lua
19
1156
----------------------------------- -- -- EFFECT_BATTLEFIELD -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if (target:getPet()) then target:getPet():addStatusEffect(effect); ...
gpl-3.0
sjznxd/lc-20121231
modules/freifunk/luasrc/model/cbi/freifunk/profile.lua
20
2607
--[[ LuCI - Lua Configuration Interface Copyright 2011-2012 Manuel Munz <freifunk at somakoma dot de> 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 httc://www.apache.org/licenses/LICENSE-2.0 ]]...
apache-2.0
hacker44-h44/teleguard-v2
plugins/google.lua
722
1037
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
nyczducky/darkstar
scripts/zones/Port_Windurst/npcs/Degong.lua
53
1826
----------------------------------- -- Area: Port Windurst -- NPC: Degong -- Type: Fishing Synthesis Image Support -- @pos -178.400 -3.835 60.480 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); ...
gpl-3.0
datamachine/tg
test.lua
210
2571
started = 0 our_id = 0 function vardump(value, depth, key) local linePrefix = "" local spaces = "" if key ~= nil then linePrefix = "["..key.."] = " end if depth == nil then depth = 0 else depth = depth + 1 for i=1, depth do spaces = spaces .. " " end end if type(value) == 'tab...
gpl-2.0
nyczducky/darkstar
scripts/zones/Northern_San_dOria/npcs/Prerivon.lua
14
1038
----------------------------------- -- Area: Northern San d'Oria -- NPC: Prerivon -- Type: Standard Dialogue NPC -- @zone 231 -- @pos 142.324 0.000 132.515 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"); ...
gpl-3.0
jakianroy/NGUI_To_Be_Best
Assets/LuaFramework/Lua/3rd/luabitop/bitbench.lua
17
1661
-- Microbenchmark for bit operations library. Public domain. local bit = require"bit" if not bit.rol then -- Replacement function if rotates are missing. local bor, shl, shr = bit.bor, bit.lshift, bit.rshift function bit.rol(a, b) return bor(shl(a, b), shr(a, 32-b)) end end if not bit.bswap then -- Replacement f...
gpl-3.0
nyczducky/darkstar
scripts/zones/Eastern_Altepa_Desert/TextIDs.lua
7
1060
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6385; -- Obtained: <item>. GIL_OBTAINED = 6386; -- Obtained <number> gil. KEYITEM_OBTAINED = 6388; -- Obtained...
gpl-3.0
Mariappan/rcfiles
home/.notion/looks/look_awesome_yaarg.lua
4
5383
-- Authors: James Gray <j.gray@ed.ac.uk> -- License: Unknown -- Last Changed: 2006-02-03 -- --[[ look_awesome_yaarg.lua (based on look awesome ) To completely yaargify Ion, the terminal emulator background is recommended to be set to gray25 as does the root window. Transparent frames by default wallpa...
gpl-2.0
SNiLD/TabletopSimulatorAgricola
src/Global.lua
1
19704
--[[ Helpers ]] function table.contains(table, element) for _, value in pairs(table) do if value == element then return true end end return false end function table.toString(table, separator) result = "" for _, value in pairs(table) do if (string.len(result) == 0) then ...
mit
Sojerbot/new
plugins/btc.lua
289
1375
-- See https://bitcoinaverage.com/api local function getBTCX(amount,currency) local base_url = 'https://api.bitcoinaverage.com/ticker/global/' -- Do request on bitcoinaverage, the final / is critical! local res,code = https.request(base_url..currency.."/") if code ~= 200 then return nil end local data = j...
gpl-2.0
guangbin79/Lua_5.1.5-iOS
luasocket-3.0-rc1/test/mimetest.lua
44
8413
local socket = require("socket") local ltn12 = require("ltn12") local mime = require("mime") local unpack = unpack or table.unpack dofile("testsupport.lua") local qptest = "qptest.bin" local eqptest = "qptest.bin2" local dqptest = "qptest.bin3" local b64test = "b64test.bin" local eb64test = "b64test.bin2" local db6...
mit