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
bravnsgaard/premake-core
tests/actions/vstudio/vc2010/test_filters.lua
1
3780
-- -- tests/actions/vstudio/vc2010/test_filters.lua -- Validate generation of file filter blocks in Visual Studio 2010 C/C++ projects. -- Copyright (c) 2011-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vs2010_filters") local vc2010 = p.vstudio.vc2010 -- -...
bsd-3-clause
Armyluix/darkstar
scripts/globals/items/pickled_herring.lua
35
1360
----------------------------------------- -- ID: 4490 -- Item: Pickled Herring -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 3 -- Mind -3 -- Attack % 12 -- Ranged ATT % 12 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
dios-game/dios-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/ActionTimeline.lua
11
7479
-------------------------------- -- @module ActionTimeline -- @extend Action -- @parent_module ccs -------------------------------- -- add Timeline to ActionTimeline -- @function [parent=#ActionTimeline] addTimeline -- @param self -- @param #ccs.Timeline timeline -- @return ActionTimeline#ActionTimeline self (retu...
mit
abriasffxi/darkstar
scripts/zones/Batallia_Downs/npcs/qm2.lua
17
1515
----------------------------------- -- Area: Batallia Downs -- NPC: qm2 (???) -- Pop for the quest "Chasing Quotas" ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Batallia_Downs/TextIDs"); require("scripts/...
gpl-3.0
jebenexer/kong
spec/02-integration/03-dao/07-ttl_spec.lua
3
3979
local helpers = require "spec.02-integration.03-dao.helpers" local spec_helpers = require "spec.helpers" local Factory = require "kong.dao.factory" helpers.for_each_dao(function(kong_config) describe("TTL with #" .. kong_config.database, function() local factory setup(function() factory = assert(Factor...
apache-2.0
Armyluix/darkstar
scripts/zones/Al_Zahbi/npcs/Zwiyaam.lua
38
1024
----------------------------------- -- Area: Al Zahbi -- NPC: Zwiyaam -- Type: Standard NPC -- @zone: 48 -- @pos 14.814 -7.667 41.889 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------------...
gpl-3.0
dios-game/dios-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/Slider.lua
3
8327
-------------------------------- -- @module Slider -- @extend Widget -- @parent_module ccui -------------------------------- -- Set a large value could give more control to the precision.<br> -- since v3.7<br> -- param percent The max percent of Slider. -- @function [parent=#Slider] setMaxPercent -- @param self -- @...
mit
imrandomizer/Algorithm-Implementations
Derivative/Lua/Yonaba/derivative_test.lua
26
1356
-- Tests for derivative.lua local drv = require 'derivative' 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 loc...
mit
dios-game/dios-cocos
src/apps/lua-tests/Resources/src/AssetsManagerTest/AssetsManagerTest.lua
10
4584
local targetPlatform = cc.Application:getInstance():getTargetPlatform() local lineSpace = 40 local itemTagBasic = 1000 local menuItemNames = { "enter", "reset", "update", } local winSize = cc.Director:getInstance():getWinSize() local function updateLayer() local layer = cc.Layer:create() local s...
mit
mohammadclashclash/hacker2011
plugins/stats.lua
458
4098
-- Saves the number of messages from a user -- Can check the number of messages with !stats do local NUM_MSG_MAX = 5 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....
gpl-2.0
abriasffxi/darkstar
scripts/zones/Castle_Oztroja/npcs/Tebhi.lua
14
1073
----------------------------------- -- Area: Castle Oztroja -- NPC: Tebhi -- @pos -136 24 -21 151 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) if (trade:hasItemQty(13121,1) and trade:getItemCo...
gpl-3.0
Armyluix/darkstar
scripts/zones/Southern_San_dOria/npcs/Ferdoulemiont.lua
36
2182
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ferdoulemiont -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Harvesting_Point.lua
17
1103
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Harvesting Point ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ------------------------------------- require("scripts/globals/harvesting"); require("scripts/zones/Yuhtunga_Jungle/TextIDs"); ---...
gpl-3.0
urueedi/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
50
4887
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local nw = require "luci.model.network" local fw = require "luci.model.firewall" local uci = require "luci.model.uci".cursor() local http = require "luci.http" local iw = lu...
apache-2.0
abriasffxi/darkstar
scripts/globals/regimeinfo.lua
35
13239
------------------------------------------------- -- -- Regime Info Database -- -- Stores details on the number of monsters to kill -- as well as the suggested level range. -- n1,n2,n3,n4 = Number of monsters needed -- sl = Start Level range -- el = Level range -- -- Example: -- n1=6, n2=0, n3=0, n4=0, sl=1, el=6, Regi...
gpl-3.0
abriasffxi/darkstar
scripts/globals/items/winterflower.lua
18
1364
----------------------------------------- -- ID: 5907 -- Item: Winterflower -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility +3 -- Intelligence +5 -- Charisma -5 -- Resist Virus +20 ----------------------------------------- require("scripts/globals/status"); -----------------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Windurst_Walls/npcs/Chomomo.lua
38
1404
----------------------------------- -- Area: Windurst Walls -- NPC: Chomomo -- Type: Standard NPC -- @pos -1.262 -11 290.224 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Jugner_Forest_[S]/mobs/Lobison.lua
17
1817
----------------------------------- -- Area: Jugner Forest (S) -- NPC: Lobison ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) mob:setLocalVar("transformTime", os.time()) end; -----------------------------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Altar_Room/npcs/Magicite.lua
14
1682
----------------------------------- -- Area: Altar Room -- NPC: Magicite -- Involved in Mission: Magicite -- @zone 152 -- @pos -344 25 43 ----------------------------------- package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scri...
gpl-3.0
Armyluix/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/qm3.lua
34
1033
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm3 (???) -- Notes: Opens north door @ J-9 -- @pos 116.743 -24.636 27.518 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,tra...
gpl-3.0
ElectroDuk/QuackWars
garrysmod/gamemodes/Basewars(Broken}/entities(maybe_outdated)/entities/money_printer_gold/cl_init.lua
2
2583
include('shared.lua') function ENT:Draw( ) self.Entity:DrawModel() local Pos = self:GetPos() local Ang = self:GetAngles() local owner = self.Owner owner = (ValidEntity(owner) and owner:Nick()) or "unknown" local upgrade = self.Entity:GetNWInt("upgrade") surface.SetFont("HUDNumber5") local TextWidth = surfa...
mit
dios-game/dios-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/ControlColourPicker.lua
11
3144
-------------------------------- -- @module ControlColourPicker -- @extend Control -- @parent_module cc -------------------------------- -- -- @function [parent=#ControlColourPicker] hueSliderValueChanged -- @param self -- @param #cc.Ref sender -- @param #int controlEvent -- @return ControlColourPicker#ControlColou...
mit
yisunfc/PiL3
src/chap13.lua
1
3637
--我们只能为tables或者userdata设置metatables --13.1 Arithmetic Metamethods --可以为metatable定义的算数方法包括: --__add(+),__sub(-),__mul(*),__div(/),__unm(负),__mod(%),__pow(^) --还有__concat,连接操作使用 --13.2 Relational Metamethods --可以定义的metamethods包括: --__eq(==), __lt(<), __le(<=),其他的以另外的方式计算 --如果两个比较的值类型不同,则==操作符始终返回false,甚至不会调用metatable中的_...
gpl-2.0
Armyluix/darkstar
scripts/zones/Gusgen_Mines/npcs/_5g7.lua
19
2608
----------------------------------- -- Area: Gusgen Mines -- NPC: Strange Apparatus -- @pos: 219 -39 255 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; require("scripts/zones/Gusgen_Mines/TextIDs"); require("scripts/globals/strangeapparatus"); --------------------...
gpl-3.0
dios-game/dios-cocos
src/apps/lua-simulator/Resources/src/cocos/framework/init.lua
35
2697
--[[ Copyright (c) 2011-2015 chukong-incc.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
mit
bravnsgaard/premake-core
tests/oven/test_filtering.lua
1
2154
-- -- tests/oven/test_filtering.lua -- Test the project object configuration accessor. -- Copyright (c) 2011-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("oven_filtering") -- -- Setup -- local wks, prj, cfg function suite.setup() wks = test.createWorkspace() end...
bsd-3-clause
ptown2/GLMVS
lua/gamemodes/gm_zsurvival.lua
1
2376
local GAME = {} GAME.ID = "zombiesurvival" GAME.Name = "Zombie Survival" GAME.MapPrefix = {"zs", "zm", "zh", "zps", "zr", "ze", "cs", "de"} GAME.MapFileDB = "map_zombiesurvival.txt" GAME.HookRound = "EndRound" GAME.HookPostRound = "LoadNextMap" function GAME:OnInitialize() function GAMEMODE:LoadNextMap() re...
gpl-3.0
Armyluix/darkstar
scripts/zones/Al_Zahbi/npcs/Zafif.lua
36
1695
----------------------------------- -- Area: Al Zahbi -- NPC: Zafif -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; require("scripts/zones/Al_Zahbi/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
obelisk21/prosody-modules
mod_lastlog/mod_lastlog.lua
32
2636
local datamanager = require "util.datamanager"; local jid = require "util.jid"; local time = os.time; local log_ip = module:get_option_boolean("lastlog_ip_address", false); local host = module.host; module:hook("authentication-success", function(event) local session = event.session; if session.username then datama...
mit
abriasffxi/darkstar
scripts/globals/abilities/pets/thunderstorm.lua
28
1341
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- ...
gpl-3.0
mohammad4569/botwe
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- 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(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
Armyluix/darkstar
scripts/zones/Al_Zahbi/npcs/Banjanu.lua
38
1025
----------------------------------- -- Area: Al Zahbi -- NPC: Banjanu -- Type: Standard NPC -- @zone: 48 -- @pos -75.954 0.999 105.367 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
abriasffxi/darkstar
scripts/globals/weaponskills/chant_du_cygne.lua
26
1307
----------------------------------- -- Chant du Cygne -- Sword weapon skill -- Skill level: EMPYREAN -- Delivers a three-hit attack. Chance of params.critical varies with TP. -- Will stack with Sneak Attack. -- Element: None -- Modifiers: DEX:60% -- 100%TP 200%TP 300%TP -- ALL 2.25 -----------------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Crawlers_Nest/npcs/qm7.lua
14
1031
----------------------------------- -- Area: Crawlers' Nest -- NPC: ??? - Awd Goggie spawn -- @pos -253.026 -1.867 253.055 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Crawlers_Nest/TextIDs"); ...
gpl-3.0
Armyluix/darkstar
scripts/zones/Lufaise_Meadows/TextIDs.lua
9
1194
-- 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 = 6...
gpl-3.0
zjutoe/lackey
mrb_conflict_wait.lua
2
10257
#!/usr/bin/env lua --local Prof = require "profiler" -- TODO: different instances of the same sb shall be treated as different sb's -- TODO: do we really support memory writing w/ renaming? -- TODO: super block merging coelessing -- the sb's that only depends on a single predecessor, can be merged into the pred...
gpl-2.0
smikail/xvigeo
plugins/plugins.lua
72
6113
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
abriasffxi/darkstar
scripts/globals/weaponskills/victory_smite.lua
26
1693
----------------------------------- -- Victory Smite -- Hand-to-Hand Weapon Skill -- Skill Level: N/A -- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP. -- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped. -- Aligned with the Light Gorget, Breez...
gpl-3.0
abriasffxi/darkstar
scripts/zones/VeLugannon_Palace/npcs/qm1.lua
13
2041
----------------------------------- -- Area: VeLugannon Palace -- NPC: ??? (qm1) -- @pos -370.039 16.014 -274.378 177 ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/zones/VeLugannon_Palace/TextIDs"); ----------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Qutiba.lua
27
2282
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Qutiba -- Type: Standard NPC -- @pos 92.341 -7.5 -129.980 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require(...
gpl-3.0
abriasffxi/darkstar
scripts/zones/RaKaznar_Inner_Court/npcs/HomePoint#1.lua
18
1271
----------------------------------- -- Area: RaKaznar_Inner_Court -- NPC: HomePoint#1 -- @pos ----------------------------------- package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Inner_Court/TextIDs"); require("scripts/globals/h...
gpl-3.0
Armyluix/darkstar
scripts/zones/Altar_Room/npcs/Magicite.lua
19
1576
----------------------------------- -- Area: Altar Room -- NPC: Magicite -- Involved in Mission: Magicite -- @zone 152 -- @pos -344 25 43 ----------------------------------- package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scri...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/crepe_caprice.lua
36
1318
----------------------------------------- -- ID: 5776 -- Item: Crepe Caprice -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP +20 -- MP Healing 3 -- Magic Accuracy +5 -- Magic Defense +2 ----------------------------------------- require("scripts/globals/status"); ---------------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Bhoy_Yhupplo.lua
30
3598
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Bhoy Yhupplo -- Type: Assault Mission Giver -- @pos 127.474 0.161 -30.418 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Abyssea-Attohwa/npcs/qm12.lua
9
1344
----------------------------------- -- Zone: Abyssea-Attohwa -- NPC: qm12 (???) -- Spawns Mielikki -- @pos ? ? ? 215 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[...
gpl-3.0
abriasffxi/darkstar
scripts/globals/spells/jubaku_san.lua
27
1700
----------------------------------------- -- Spell: Jubaku: San -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT. -- taken from paralyze ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------...
gpl-3.0
xpol/luainstaller
luarocks/src/luarocks/cache.lua
9
2858
--- Module handling the LuaRocks local cache. -- Adds a rock or rockspec to a rocks server. local cache = {} package.loaded["luarocks.cache"] = cache local fs = require("luarocks.fs") local cfg = require("luarocks.cfg") local dir = require("luarocks.dir") local util = require("luarocks.util") function cache.get_uplo...
mit
abriasffxi/darkstar
scripts/globals/items/pepperoni_pizza.lua
18
1624
----------------------------------------- -- ID: 5697 -- Item: pepperoni_pizza -- Food Effect: 3hours, All Races ----------------------------------------- -- Health Points 30 -- Strength 1 -- Accuracy 5% (caps @ 10) **wiki doesnt have information on %, so guessed it to be 5% -- Attack 10% (caps @ 25) ------------------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Bastok_Markets/npcs/Biggorf.lua
17
1180
----------------------------------- -- Area: Bastok Markets -- NPC: Biggorf -- Standard Info NPC -- Involved in Quest: The Bare Bones ----------------------------------- require("scripts/globals/quests"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); ---...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Port_San_dOria/npcs/Eddy.lua
14
1051
----------------------------------- -- Area: Port San d'Oria -- NPC: Eddy -- Type: NPC Quest Giver -- @zone 232 -- @pos -5.209 -8.999 39.833 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; -------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Metalworks/npcs/Romualdo.lua
34
1431
----------------------------------- -- Area: Metalworks -- NPC: Romualdo -- Involved in Quest: Stamp Hunt ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Metalworks/Text...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/moon_carrot.lua
35
1194
----------------------------------------- -- ID: 4567 -- Item: moon_carrot -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
isalnikov/Algorithm-Implementations
N_Queens_Problem/Lua/Yonaba/nqueens.lua
26
1186
-- N_Queens problem solving algorithm implementation -- See: http://en.wikipedia.org/wiki/Eight_queens_puzzle -- Creates a NxN matrix local function makeBoard(size) local board = {} for i = 1, size do board[i] = {} for j = 1, size do board[i][j] = false end end return board end -- Checks if a queen positi...
mit
Armyluix/darkstar
scripts/globals/abilities/celerity.lua
28
1156
----------------------------------- -- Ability: Celerity -- Reduces the casting time and the recast time of your next white magic spell by 50%. -- Obtained: Scholar Level 25 -- Recast Time: Stratagem Charge -- Duration: 1 white magic spell or 60 seconds, whichever occurs first. -- -- Level |Charges |Recharge T...
gpl-3.0
Armyluix/darkstar
scripts/globals/spells/luminohelix.lua
22
1719
-------------------------------------- -- 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
abriasffxi/darkstar
scripts/globals/weaponskills/shockwave.lua
18
1486
----------------------------------- -- Shockwave -- Great Sword weapon skill -- Skill level: 150 -- Delivers an area of effect attack. Sleeps enemies. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget. -- Aligned with the Aqua Belt. -- Element: None -- Modifiers: STR:30...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Western_Altepa_Desert/npcs/_3h8.lua
14
1956
----------------------------------- -- Area: Western Altepa Desert -- NPC: _3h8 (Sapphire Column) -- Notes: Mechanism for Altepa Gate -- @pos -499 10 224 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
Armyluix/darkstar
scripts/zones/East_Ronfaure_[S]/npcs/Logging_Point.lua
29
1113
----------------------------------- -- Area: East Ronfaure [S] -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/East_Ronfaure_[S]/TextIDs...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/meat_chiefkabob.lua
35
1461
----------------------------------------- -- ID: 4574 -- Item: meat_chiefkabob -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 5 -- Agility 1 -- Intelligence -2 -- Attack % 22 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status")...
gpl-3.0
mortezamosavy999/telegrambot
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
Armyluix/darkstar
scripts/zones/Xarcabard_[S]/mobs/Fusty_Gnole.lua
19
1549
----------------------------------- -- Area: Xarcabard (S) -- NPC: Fusty Gnole ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) mob:setLocalVar("transformTime", os.time()) end; ----------------------------------...
gpl-3.0
abriasffxi/darkstar
scripts/commands/changejob.lua
21
1062
--------------------------------------------------------------------------------------------------- -- func: changejob -- desc: Changes the players current job. --------------------------------------------------------------------------------------------------- require("scripts/globals/status"); cmdprops = { permi...
gpl-3.0
imrandomizer/Algorithm-Implementations
Breadth_First_Search/Lua/Yonaba/bfs_test.lua
26
2339
-- Tests for bfs.lua local BFS = require 'bfs' 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 same(t, p, comp) for k,v in ipairs(t) do if not comp(v, p[k]) then return false end end return true end ...
mit
abriasffxi/darkstar
scripts/zones/Southern_San_dOria/npcs/Blendare.lua
14
1949
----------------------------------- -- Area: Southern San d'Oria -- NPC: Blendare -- Type: Standard NPC -- @zone 230 -- @pos 33.033 0.999 -30.119 -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; -------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Rolanberry_Fields/npcs/Mayuyu.lua
29
1625
----------------------------------- -- Area: Rolanberry Fields -- NPC: Mayuyu -- Legion NPC -- @pos 240 24.399 468 ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyi...
gpl-3.0
Armyluix/darkstar
scripts/zones/Northern_San_dOria/npcs/Danngogg.lua
36
1427
----------------------------------- -- Area: Northern San d'Oria -- NPC: Danngogg -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests...
gpl-3.0
abriasffxi/darkstar
scripts/globals/weaponskills/mystic_boon.lua
19
2075
----------------------------------- -- Mystic Boon -- Club weapon skill -- Skill level: N/A -- Converts damage dealt to own MP. Damage varies with TP. Yagrush: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (White Mage) quest. -- Damage is significantly affected by Attack. Veri...
gpl-3.0
Armyluix/darkstar
scripts/zones/East_Ronfaure_[S]/Zone.lua
12
1804
----------------------------------- -- -- Zone: East_Ronfaure_[S] (81) -- ----------------------------------- package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/East_Ronfaure_[S]/TextIDs"); require("...
gpl-3.0
b0oh/mal
lua/types.lua
14
3900
local utils = require('utils') local M = {} -- type functions function M._sequential_Q(obj) return M._list_Q(obj) or M._vector_Q(obj) end function M._equal_Q(a,b) if M._symbol_Q(a) and M._symbol_Q(b) then return a.val == b.val elseif M._sequential_Q(a) and M._sequential_Q(b) then if #a ~...
mpl-2.0
czchen/mal
lua/types.lua
14
3900
local utils = require('utils') local M = {} -- type functions function M._sequential_Q(obj) return M._list_Q(obj) or M._vector_Q(obj) end function M._equal_Q(a,b) if M._symbol_Q(a) and M._symbol_Q(b) then return a.val == b.val elseif M._sequential_Q(a) and M._sequential_Q(b) then if #a ~...
mpl-2.0
dios-game/dios-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/EventListenerTouchOneByOne.lua
11
1575
-------------------------------- -- @module EventListenerTouchOneByOne -- @extend EventListener -- @parent_module cc -------------------------------- -- Is swall touches or not.<br> -- return True if needs to swall touches. -- @function [parent=#EventListenerTouchOneByOne] isSwallowTouches -- @param self -- @return...
mit
abriasffxi/darkstar
scripts/globals/abilities/dark_maneuver.lua
54
1332
----------------------------------- -- Ability: Dark Maneuver -- Enhances the effect of dark attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
abriasffxi/darkstar
scripts/globals/weaponskills/raging_fists.lua
26
1437
----------------------------------- -- Raging Fists -- Hand-to-Hand weapon skill -- Skill Level: 125 -- Delivers a fivefold attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:30% ; DEX:30% -- 100%TP ...
gpl-3.0
abriasffxi/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
Armyluix/darkstar
scripts/zones/Kazham/npcs/Kobhi_Sarhigamya.lua
34
1061
---------------------------------- -- Area: Kazham -- NPC: Kobhi Sarhigamya -- Type: Item Deliverer -- @zone: 250 -- @pos -115.29 -11 -22.609 -- ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); -------------------------...
gpl-3.0
imrandomizer/Algorithm-Implementations
Caesar_Cipher/Lua/Yonaba/caesar_cipher_test.lua
26
1202
-- Tests for caesar_cipher.lua local caesar = require 'caesar_cipher' 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 ...
mit
Armyluix/darkstar
scripts/zones/Lower_Jeuno/npcs/Navisse.lua
34
4871
----------------------------------- -- Area: Lower Jeuno -- NPC: Navisse -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); require("scripts/globals/pathfind"); local path = { -- -59.562683, 6.000...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Porter_Moogle.lua
14
1549
----------------------------------- -- Area: Windurst Waters [S] -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 94 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_W...
gpl-3.0
Armyluix/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Gun.lua
16
1469
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Animated Gun ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function ...
gpl-3.0
Armyluix/darkstar
scripts/zones/Ifrits_Cauldron/npcs/qm4.lua
16
1477
----------------------------------- -- Area: Ifrit's Cauldron -- NPC: ??? -- Involved in Mission: Bastok 6-2 -- @pos 171 0 -25 205 ----------------------------------- package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); requi...
gpl-3.0
abriasffxi/darkstar
scripts/globals/items/carp_sushi.lua
18
1386
----------------------------------------- -- ID: 4407 -- Item: carp_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 -- Accuracy % 10 -- HP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------...
gpl-3.0
Armyluix/darkstar
scripts/zones/Bhaflau_Thickets/npcs/Daswil.lua
19
2008
----------------------------------- -- Area: Bhaflau Thickets -- NPC: Daswil -- Type: Assault -- @pos -208.720 -12.889 -779.713 52 ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("s...
gpl-3.0
moteus/lua-path
lua/path/win32/alien/utils.lua
2
4216
------------------------------------------------------------------ -- -- Author: Alexey Melnichuk <alexeymelnichuck@gmail.com> -- -- Copyright (C) 2013-2016 Alexey Melnichuk <alexeymelnichuck@gmail.com> -- -- Licensed according to the included 'LICENCE' document -- -- This file is part of lua-path library. -- -----...
mit
Armyluix/darkstar
scripts/zones/Valkurm_Dunes/npcs/Song_Runes.lua
17
1718
----------------------------------- -- Area: Valkurm Dunes -- NPC: Song Runes -- Finishes Quest: Path of the Bard -- @pos -721 -7 102 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; --------------------------...
gpl-3.0
JKGDevs/JediKnightGalaxies
JKGalaxies/glua/resources/quests/questManager.lua
2
3010
--[[ ------------------------------------------------ Jedi Knight Galaxies Lua Framework Quest Manager DO NOT MODIFY THIS FILE Written by Futuza Contains functions useful for managing/testing quests. --------------------------------------------------]] --standardized quest constructor-- --to use: InitQues...
gpl-2.0
jebenexer/kong
kong/plugins/request-transformer/access.lua
6
11182
local multipart = require "multipart" local cjson = require "cjson" local table_insert = table.insert local req_set_uri_args = ngx.req.set_uri_args local req_get_uri_args = ngx.req.get_uri_args local req_set_header = ngx.req.set_header local req_get_headers = ngx.req.get_headers local req_read_body = ngx.req.read_body...
apache-2.0
Armyluix/darkstar
scripts/globals/items/anchovy.lua
35
1197
----------------------------------------- -- ID: 5652 -- Item: Anchovy -- Food Effect: 3Min, All Races ----------------------------------------- -- Dexterity +1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
abriasffxi/darkstar
scripts/globals/items/plate_of_friture_de_la_misareaux.lua
18
1630
----------------------------------------- -- ID: 5159 -- Item: plate_of_friture_de_la_misareaux -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 3 -- Dexterity 3 -- Vitality 3 -- Mind -3 -- Defense 5 -- Ranged ATT % 7 -- Ranged ATT Cap 15 ----------------------------------------- r...
gpl-3.0
abriasffxi/darkstar
scripts/globals/weaponskills/arching_arrow.lua
12
1388
----------------------------------- -- Arching Arrow -- Archery weapon skill -- Skill level: 225 -- Delivers a single-hit attack. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: STR:16% ; AGI:25% -- 10...
gpl-3.0
abriasffxi/darkstar
scripts/zones/West_Sarutabaruta/npcs/Darumomo_WW.lua
14
3348
----------------------------------- -- Area: West Sarutabaruta -- NPC: Darumomo, W.W. -- Type: Border Conquest Guards -- @pos 399.450 -25.858 727.545 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/co...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Bhaflau_Thickets/mobs/Marid.lua
12
1472
----------------------------------- -- Area: Bhaflau Thickets -- MOB: Marid -- Note: Place holder Mahishasura ----------------------------------- require("scripts/zones/Bhaflau_Thickets/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob, player, i...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Attohwa_Chasm/mobs/Alastor_Antlion.lua
11
1858
----------------------------------- -- Area: Attohwa Chasm -- NPC: Alastor Antlion ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); mixins = {require("scripts/mixins/families/antlion_ambush")} ----------------------------------- -- onMobInitialize Action ------...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/bretzel.lua
35
1302
----------------------------------------- -- ID: 4391 -- Item: Bretzel -- Food Effect: 3Min, All Races ----------------------------------------- -- Magic % 8 -- Magic Cap 55 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Lufaise_Meadows/TextIDs.lua
7
1194
-- 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 = 6...
gpl-3.0
bravnsgaard/premake-core
tests/base/test_include.lua
16
1678
-- -- tests/base/test_include.lua -- Test the include() function, for including external scripts -- Copyright (c) 2011-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("include") -- -- Setup and teardown -- function suite.teardown() -- clear the list of included files...
bsd-3-clause
abriasffxi/darkstar
scripts/zones/Port_Windurst/npcs/Kameel.lua
30
1272
----------------------------------- -- Area: Port Windurst -- NPC: Kameel -- Type: Standard NPC ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ----------------------------------- -- onTrade Action ------------------...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Quicksand_Caves/npcs/Fountain_of_Kings.lua
14
1491
----------------------------------- -- Area: Quicksand Caves -- NPC: Fountain of Kings -- @pos 567 18 -939 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/TextIDs"); require("scripts/globa...
gpl-3.0
Armyluix/darkstar
scripts/zones/Windurst_Waters/npcs/Kerutoto.lua
17
11600
----------------------------------- -- Area: Windurst Waters -- NPC: Kerutoto -- Starts Quest Food For Thought -- Involved in Quest: Riding on the Clouds -- @zone 238 -- @pos 13 -5 -157 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; package.loaded["scripts/g...
gpl-3.0
abriasffxi/darkstar
scripts/zones/Norg/npcs/Fouvia.lua
14
1622
----------------------------------- -- Area: Norg -- NPC: Fouvia -- Type: Wyvern Name Changer -- @zone 252 -- @pos -84.066 -6.414 47.826 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/gl...
gpl-3.0
Armyluix/darkstar
scripts/globals/items/lik_kabob.lua
35
1264
----------------------------------------- -- ID: 5647 -- Item: Lik Kabob -- Food Effect: 30 Min, All Races ----------------------------------------- -- Dexterity 3 -- Attack 7 -- Mind -2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- ...
gpl-3.0