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
franko/gsl-shell
data/demos/ode.lua
1
5745
-- ODE demo, demos/ode.lua -- -- Copyright (C) 2009 Francesco Abbate -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or (at -- your option) any la...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Sea_Serpent_Grotto/npcs/_4wa.lua
13
1776
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Sahagin Key Door -- @zone 176 -- @pos 40 8.6 20.012 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zo...
gpl-3.0
RQWorldblender/ethereal
lucky_block.lua
1
1859
-- add lucky blocks if minetest.get_modpath("lucky_block") then local epath = minetest.get_modpath("ethereal") .. "/schematics/" lucky_block:add_schematics({ {"pinetree", epath .. "pinetree.mts", {x = 3, y = 0, z = 3}}, {"palmtree", epath .. "palmtree.mts", {x = 4, y = 0, z = 4}}, {"bananatree", ethereal.bananat...
mit
DarkstarProject/darkstar
scripts/globals/items/carbuncles_pole.lua
12
1361
----------------------------------------- -- ID: 18581 -- Item: Carbuncle's Pole -- Item Effect: Restores 160-220 HP ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") function onAdditionalEffect(player,target,damage) local ch...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/bowl_of_whitefish_stew.lua
11
1255
----------------------------------------- -- ID: 4440 -- Item: Bowl of Whitefish Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 10 -- Dexterity 3 -- Mind -3 -- Accuracy 3 -- Ranged ACC % 7 -- Ranged ACC Cap 10 ----------------------------------------- require("scripts/globals...
gpl-3.0
franko/gsl-shell
data/help/vegas.lua
1
1218
local M = { [num.vegas_prepare] = [[ num.vegas_prepare(spec) Prepare a VEGAS Monte Carlo integrator, vegas_integ. spec is a table which should contain the field N (number of dimensions of the function). vegas_prepare returns the integrator: vegas_integ(f, a, b[, calls, options]) Use the VEGAS Mon...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Light.lua
9
2183
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Light -- Involved in Zilart Mission 7 -- !pos 199 -2 36 168 ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/...
gpl-3.0
DarkstarProject/darkstar
scripts/commands/setmoblevel.lua
12
1161
--------------------------------------------------------------------------------------------------- -- func: setmoblevel -- desc: Sets the target monsters level. --------------------------------------------------------------------------------------------------- require("scripts/globals/msg"); cmdprops = { permissi...
gpl-3.0
tcatm/luci
protocols/luci-proto-relay/luasrc/model/cbi/admin_network/proto_relay.lua
70
1945
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local ipaddr, network local forward_bcast, forward_dhcp, gateway, expiry, retry, table ipaddr = section:taboption("general", Value, "ipaddr", translate("Local IPv4 address"), t...
apache-2.0
vsco/keys
VSCOKeys.lrdevplugin/ActivateKeys.lua
11
1463
--[[---------------------------------------------------------------------------- VSCO Keys for Adobe Lightroom Copyright (C) 2015 Visual Supply Company Licensed under GNU GPLv2 (or any later version). This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Lic...
gpl-2.0
Fenix-XI/Fenix
scripts/globals/spells/bluemagic/lowing.lua
26
1382
----------------------------------------- -- Spell: Lowing -- Gives enemies within range a powerful disease that prevents recovery of HP and MP -- Spell cost: 66 MP -- Monster Type: Beasts -- Spell Type: Magical (Fire) -- Blue Magic Points: 2 -- Stat Bonus: HP-5 -- Level: 71 -- Casting Time: 7 seconds -- Recast Time: 5...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/bluemagic/light_of_penance.lua
12
2380
----------------------------------------- -- Spell: Light of Penance -- Reduces an enemy's TP. Additional effect: Blindness and "Bind" -- Spell cost: 53 MP -- Monster Type: Beastmen -- Spell Type: Magical (Light) -- Blue Magic Points: 5 -- Stat Bonus: CHR+1, HP+15 -- Level: 58 -- Casting Time: 3 seconds -- Recast Time:...
gpl-3.0
stallboy/configgen
example/lua/cfg/ai/ai.lua
1
4508
local cfg = require "cfg._cfgs" ---@class cfg.ai.ai ---@field iD number , ID ---@field desc string , 描述----这里测试下多行效果--再来一行 ---@field condID string , 触发公式 ---@field trigTick number , 触发间隔(帧) ---@field trigOdds number , 触发几率 ---@field actionID string , 触发行为 ---@field deathRemove boolean , 死亡移除 ---@field get fun(ID:numbe...
mit
Fenix-XI/Fenix
scripts/zones/Qufim_Island/npcs/Pitoire_RK.lua
13
3326
----------------------------------- -- Area: Qufim Island -- NPC: Pitoire, R.K. -- Type: Outpost Conquest Guards -- @pos -245.366 -20.344 299.502 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest");...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Ship_bound_for_Selbina_Pirates/npcs/Bhagirath.lua
11
1535
----------------------------------- -- Area: Ship_bound_for_Selbina Pirates -- NPC: Bhagirath -- Notes: Tells ship ETA time -- !pos 0.278 -14.707 -1.411 220 ----------------------------------- local ID = require("scripts/zones/Ship_bound_for_Selbina_Pirates/IDs") ----------------------------------- function onTrade(p...
gpl-3.0
asdofindia/prosody-modules
mod_motd_sequential/mod_motd_sequential.lua
32
1482
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- Copyright (C) 2010 Jeff Mitchell -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local host = module:get_host(); local motd_jid = module:get_option("mo...
mit
DarkstarProject/darkstar
scripts/globals/spells/dokumori_ichi.lua
12
1439
----------------------------------------- -- Spell: Dokumori: Ichi ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end fu...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/RuLude_Gardens/npcs/_6r8.lua
9
1986
----------------------------------- -- Area: Ru'Lud Gardens -- Door: Windurstian Ambassador -- Windurst Missions 3.3 "A New Journey" and 4.1 "Magicite" -- !pos 31 9 -22 243 ----------------------------------- local ID = require("scripts/zones/RuLude_Gardens/IDs") require("scripts/globals/keyitems") require("scripts/glo...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/dia_iii.lua
26
2642
----------------------------------------- -- Spell: Dia III -- Lowers an enemy's defense and gradually deals light elemental damage. -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Dia III value per point is '30' This is a constant set in the table 'mer...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/abilities/ice_maneuver.lua
9
1877
----------------------------------- -- Ability: Ice Maneuver -- Enhances the effect of ice attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status") requir...
gpl-3.0
exhu/miod
notes/model_int.lua
1
1789
local pp = require 'pp' local M = {} function M.new_int_type(bits, sign) return {bits = bits, sign = sign} end M.int_types = { int8 = M.new_int_type(8, true), int16 = M.new_int_type(16, true), int32 = M.new_int_type(32, true), int64 = M.new_int_type(64, true), uint8 = M.new_int_type(8, false)...
mit
DarkstarProject/darkstar
scripts/zones/Jugner_Forest_[S]/IDs.lua
9
1685
----------------------------------- -- Area: Jugner_Forest_[S] ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.JUGNER_FOREST_S] = { text = { NOTHING_HAPPENS = 119, -- Nothing happens... ITEM_CAN...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/abilities/building_flourish.lua
26
2762
----------------------------------- -- Ability: Building Flourish -- Enhances potency of your next weapon skill. Requires at least one Finishing Move. -- Obtained: Dancer Level 50 -- Finishing Moves Used: 1-3 -- Recast Time: 00:10 -- Duration: 01:00 -- -- Using one Finishing Move boosts the Accuracy of your next weapon...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Western_Adoulin/npcs/Nikkhail.lua
9
1596
----------------------------------- -- Area: Western Adoulin -- NPC: Nikkhail -- Type: Standard NPC and Quest NPC -- Involved With Quest: 'A Thirst for the Ages' -- !pos -101 3 9 256 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/quests"); require("scripts/globals/ke...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/drain.lua
12
1795
----------------------------------------- -- Spell: Drain -- Drain functions only on skill level!! ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/status") require("scripts/globals/settings") require("scripts/globals/msg") ----------------------------------------- fu...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/frostreaper.lua
12
1065
----------------------------------------- -- ID: 16784 -- Item: Frostreaper -- Additional Effect: Ice Damage ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- function onAdditionalEffect(player...
gpl-3.0
Oarcinae/FactorioScenarioMultiplayerSpawn
lib/oarc_utils.lua
1
48795
-- oarc_utils.lua -- Nov 2016 -- -- My general purpose utility functions for factorio -- Also contains some constants and gui styles require("lib/oarc_gui_utils") require("mod-gui") -------------------------------------------------------------------------------- -- Useful constants -----------------------------------...
mit
masihcs/csbot
libs/fakeredis.lua
650
40405
local unpack = table.unpack or unpack --- Bit operations local ok,bit if _VERSION == "Lua 5.3" then bit = (load [[ return { band = function(x, y) return x & y end, bor = function(x, y) return x | y end, bxor = function(x, y) return x ~ y end, bnot = function(x) return ~x end, rshift = function(x...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/plate_of_sole_sushi_+1.lua
11
1437
----------------------------------------- -- ID: 5163 -- Item: plate_of_sole_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Strength 5 -- Dexterity 6 -- Accuracy % 16 -- Ranged ACC % 16 -- Sleep Resist 2 ----------------------------------------- require("scripts/glob...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Windurst_Waters/npcs/Hilkomu-Makimu.lua
17
1907
----------------------------------- -- Area: Windurst Waters -- NPC: Hilkomu-Makimu -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/zones/Windurst_Waters/T...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Temple_of_Uggalepih/npcs/qm1.lua
25
1089
----------------------------------- -- Area: Temple of Uggalepih -- NPC: ??? (Tonberry Rattle ITEM) -- @pos 269 0 91 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Temple_of_Uggalepih/TextIDs"); ---...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Ranguemont_Pass/npcs/Perchond.lua
13
1699
----------------------------------- -- Area: Ranguemont Pass -- NPC: Perchond -- @pos -182.844 4 -164.948 166 ----------------------------------- package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); ----------------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Port_Jeuno/npcs/Squintrox_Dryeyes.lua
13
4859
----------------------------------- -- Area: Port Jeuno -- NPC: Squintrox Dryeyes -- Type: Addon Mission Merchant -- @pos -100.071 -1 11.869 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); re...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Windurst_Waters_[S]/Zone.lua
17
1278
----------------------------------- -- -- Zone: Windurst_Waters_[S] (94) -- ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Windurst_Waters_[S]/TextIDs"); ------------...
gpl-3.0
alirezadeadly/sers
plugins/Quran.lua
6
1210
do umbrella_cp = "http://umbrella.shayan-soft.ir/quran/" local function read_sura(chat_id, target) local readq = http.request(umbrella_cp.."Sura"..target..".mp3") local url = umbrella_cp.."Sura"..target..".mp3" local file = download_to_file(url, umbrella_cp.mp3) send_document("chat#id"..chat_id, file, ok_cb, false) e...
gpl-2.0
DarkstarProject/darkstar
scripts/globals/mobskills/double_kick.lua
11
1061
--------------------------------------------- -- Double Kick -- -- Description: Deals damage to a single target. Additional effect: Stun -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: Stun may or may not take dsp.effect. --------------------------------------------- require("script...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/mobskills/bilgestorm.lua
11
1476
--------------------------------------------- -- Bilgestorm -- -- Description: Deals damage in an area of effect. Additional effect: Lowers attack, accuracy, and defense -- Type: Physical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown -- Notes: Only used at low health.*Experienced the use at 75%* -----...
gpl-3.0
Jezza/Lava
src/test/resources/PackageLibTest.lua
1
5557
-- $Header: //info.ravenbrook.com/project/jili/version/1.1/test/mnj/lua/PackageLibTest.lua#1 $ -- Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). -- All rights reserved. -- -- Permission is hereby granted, free of charge, to any person obtaining -- a copy of this software and associated documentation...
lgpl-3.0
8devices/carambola2-luci
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua
141
1054
--[[ netdiscover_devinfo - SIP Device Information (c) 2009 Daniel Dickinson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- require("luci.i1...
apache-2.0
Fanatics/planout.lua
src/lib/utils.lua
1
4063
local bc = require "bc" local _new_ = function(self, instance) instance = instance or {} setmetatable(instance, self) self.__index = self return instance end local StopPlanOutException = {} function StopPlanOutException:new(inExperiment) return _new_(self, {inExperiment = inExperiment}) end ...
mit
Fenix-XI/Fenix
scripts/zones/Dynamis-Xarcabard/mobs/Dynamis_Lord.lua
1
2111
----------------------------------- -- Area: Dynamis Xarcabard -- NM: Dynamis_Lord -- -- In OLD Dynamis, he is spawned by killing 15 Kindred NMs.. -- ..NOT by killing Ying and Yang. -- -- In Neo Dynamis, he is spawned by trading -- a Shrouded Bijou to the ??? in front of Castle Zvahl. -- -- Suggested method for old s...
gpl-3.0
SamuelePilleri/sysdig
userspace/sysdig/chisels/v_backlog.lua
6
2088
--[[ Copyright (C) Donatas Abraitis. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Windurst_Waters/npcs/Sohdede.lua
13
1054
----------------------------------- -- Area: Windurst Waters -- NPC: Sohdede -- Type: Standard NPC -- @zone: 238 -- @pos -60.601 -7.499 111.639 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/lungfish.lua
18
1304
----------------------------------------- -- ID: 4315 -- Item: Lungfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -2 -- Mind 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Southern_San_dOria/npcs/Machielle.lua
11
1249
----------------------------------- -- Area: Southern San d'Oria -- NPC: Machielle -- Norvallen Regional Merchant ----------------------------------- require("scripts/globals/events/harvest_festivals") local ID = require("scripts/zones/Southern_San_dOria/IDs") require("scripts/globals/conquest") require("scripts/globa...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Rolanberry_Fields/Zone.lua
9
2173
----------------------------------- -- -- Zone: Rolanberry_Fields (110) -- ----------------------------------- local ID = require("scripts/zones/Rolanberry_Fields/IDs") require("scripts/globals/icanheararainbow") require("scripts/globals/chocobo_digging") require("scripts/globals/conquest") require("scripts/globals/mis...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Lower_Jeuno/npcs/Tuh_Almobankha.lua
9
3900
----------------------------------- -- Area: Lower Jeuno -- NPC: Tuh Almobankha -- Title Change NPC -- !pos -14 0 -61 245 ----------------------------------- require("scripts/globals/titles") ----------------------------------- local eventId = 10014 local titleInfo = { { cost = 200, title = ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Claymore.lua
7
1514
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Claymore ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEn...
gpl-3.0
SamuelePilleri/sysdig
userspace/sysdig/chisels/v_spectro_file.lua
3
1329
--[[ Copyright (C) 2013-2015 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
gpl-2.0
soheildiscover/soheil
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
AbolDalton/kia
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
DarkstarProject/darkstar
scripts/zones/Southern_San_dOria/npcs/Rosel.lua
9
2611
----------------------------------- -- Area: Southern San d'Oria -- NPC: Rosel -- Starts and Finishes Quest: Rosel the Armorer -- !zone 230 ------------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs"); require("scripts/globals/settings"); require("scripts/globals/keyitems"); require...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/mobskills/Trinary_Tap.lua
32
2010
--------------------------------------------------- -- Trinary Tap -- Attempts to absorb three buffs from a single target, or otherwise steals HP. -- Type: Magical -- Utsusemi/Blink absorb: Ignores Shadows -- Range: Melee -- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/The_Colosseum/npcs/Smithing.lua
1
3789
----------------------------------- -- Area: The Colosseum -- NPC: Smithing -- Guild Merchant NPC: Woodworking Guild -- @pos 0 0 0 0 zone 71 ----------------------------------- package.loaded["scripts/zones/The_Colosseum/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Port_Jeuno/npcs/Sanosuke.lua
13
1543
----------------------------------- -- Area: Port Jeuno -- NPC: Sanosuke -- Involved in Quest: A Thief in Norg!? -- @pos -63 7 0 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zon...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Ranguemont_Pass/npcs/Myffore.lua
13
1106
----------------------------------- -- Area: Ranguemont Pass -- NPC: Myffore -- Type: NPC -- @pos -179.951 4 -172.234 166 ----------------------------------- package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil; ----------------------------------- ----------------------------------- -- onTrade Action ---...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/AlTaieu/npcs/HomePoint#3.lua
29
1240
----------------------------------- -- Area: AlTaieu -- NPC: HomePoint#3 -- @pos 569 0 410 33 ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/AlTaieu/TextIDs"); require("scripts/globals/homepoint"); --------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Periqia/Zone.lua
20
1407
----------------------------------- -- -- Zone: Periqia -- ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Periqia/IDs"); ----------------------------------- -- onInitialize ----------------------------------- function onInitialize(zone) end; ------------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Dynamis_Lord.lua
9
1513
----------------------------------- -- Area: Dynamis - Xarcabard -- NM: Dynamis Lord -- Note: Mega Boss -- Spawned by trading a Shrouded Bijou to the ??? in front of Castle Zvahl. ----------------------------------- local ID = require("scripts/zones/Dynamis-Xarcabard/IDs") mixins = {require("scripts/mixins/job_specia...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Windurst_Woods/npcs/Zahsa_Syalmhaia.lua
13
1067
----------------------------------- -- Area: Windurst Woods -- NPC: Zahsa Syalmhaia -- Type: Great War Veteran NPC -- @zone: 241 -- @pos 13.710 1.422 -83.198 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = ni...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/bluemagic/triumphant_roar.lua
12
1167
----------------------------------------- -- Spell: Triumphant Roar -- Enhances Attack -- Spell cost: 36 MP -- Monster Type: Demon -- Spell Type: Magical (Fire) -- Blue Magic Points: 3 -- Stat Bonus: STR+3 -- Level: 71 -- Casting Time: 3 seconds -- Recast Time: 90 seconds -- -- Combos: None ----------------------------...
gpl-3.0
Fanatics/planout.lua
tests/testAssignment.lua
1
1508
package.path = package.path .. ";../src/?.lua;" local Assignment = require "assignment" local random = require("ops.random") EXPORT_ASSERT_TO_GLOBALS = true require("resources.luaunit") TestAssignment = {} local testerUnit = '4' local testerSalt = 'test_salt' function TestAssignment:test_set_constrants_...
mit
tcatm/luci
libs/luci-lib-px5g/lua/px5g/util.lua
170
1148
--[[ * px5g - Embedded x509 key and certificate generator based on PolarSSL * * Copyright (C) 2009 Steven Barth <steven@midlink.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License, version 2.1 as published by the Free ...
apache-2.0
Fenix-XI/Fenix
scripts/zones/Southern_San_dOria/npcs/Vaquelage.lua
13
1516
----------------------------------- -- Area: Southern San dOria -- NPC: Vaquelage -- Type: Item Deliverer NPC -- @pos 17.396 1.699 -29.357 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); r...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/foe_lullaby_ii.lua
11
1415
----------------------------------------- -- Spell: Foe Lullaby II ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end fu...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Halvung/mobs/Wheel_Wamoura.lua
9
1248
----------------------------------- -- Area: Halvung -- Mob: Wheel Wamoura -- TODO: Damage resistances in streched and curled stances. Halting movement during stance change. ----------------------------------- require("scripts/globals/status"); ----------------------------------- function onMobSpawn(mob) mob:setL...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/piece_of_raisin_bread.lua
18
1262
----------------------------------------- -- ID: 4546 -- Item: piece_of_raisin_bread -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 20 -- Dexterity -1 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/coral_butterfly.lua
11
1054
----------------------------------------- -- ID: 4580 -- Item: Coral Butterfly -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --------------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Phomiuna_Aqueducts/npcs/_0rq.lua
13
1454
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- @pos -60 -23 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiuna_Aqueduct...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Walk_of_Echoes/Zone.lua
17
1065
----------------------------------- -- -- Zone: Walk_of_Echoes -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Walk_of_Echoes/TextIDs"] = nil; require("scripts/zones/Walk_of_Echoes/TextIDs"); ----------------------------------- -- onInitialize -------------...
gpl-3.0
hilllinux/lua-resty-http
lib/resty/http_headers.lua
69
1716
local rawget, rawset, setmetatable = rawget, rawset, setmetatable local str_gsub = string.gsub local str_lower = string.lower local _M = { _VERSION = '0.01', } -- Returns an empty headers table with internalised case normalisation. -- Supports the same cases as in ngx_lua: -- -- headers.content_lengt...
bsd-2-clause
brndnmtthws/conky
3rdparty/toluapp/src/bin/lua/declaration.lua
1
15013
-- tolua: declaration class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: $ -- 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 provide maintenance, support, updates, -- enhancem...
gpl-3.0
hfjgjfg/xxxxx
bot/utils.lua
356
14963
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
ZACTELEGRAM1/-EMAM-ALI-1
bot/utils.lua
356
14963
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
facebokiii/ghosto
plugins/reddit.lua
11
1438
local doc = [[ /reddit [r/subreddit | query] Returns the four (if group) or eight (if private message) top posts for the given subreddit or query, or from the frontpage. ]] local triggers = { '^/r[eddit]*[@'..bot.username..']*$', '^/r[eddit]*[@'..bot.username..']* ', '^/r/' } local action = function(msg) msg.t...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Northern_San_dOria/npcs/Gulmama.lua
12
5604
----------------------------------- -- Area: Northern San d'Oria -- NPC: Gulmama -- Starts and Finishes Quest: Trial by Ice -- Involved in Quest: Class Reunion -- @pos -186 0 107 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------...
gpl-3.0
ruilin/RLMap
3party/osrm/osrm-backend/profiles/examples/postgis.lua
70
3445
-- This example shows how to query external data stored in PostGIS when processing ways. -- This profile assumes that OSM data has been imported to PostGIS using imposm to a db -- with the name 'imposm', the default user and no password. It assumes areas with -- landusage=* was imported to the table osm_landusages, ...
apache-2.0
DarkstarProject/darkstar
scripts/globals/spells/bluemagic/soporific.lua
12
1467
----------------------------------------- -- Spell: Soporific -- Puts all enemies within range to sleep -- Spell cost: 38 MP -- Monster Type: Plantoids -- Spell Type: Magical (Dark) -- Blue Magic Points: 4 -- Stat Bonus: HP-5, MP+5 -- Level: 24 -- Casting Time: 3 seconds -- Recast Time: 90 seconds -- Duration: 90 secon...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/refresh.lua
12
1031
----------------------------------------- -- Spell: Refresh -- Gradually restores target party member's MP -- Composure increases duration 3x ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") --------------------------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Northern_San_dOria/npcs/Macuillie.lua
12
2161
----------------------------------- -- Area: Northern San d'Oria -- NPC: Macuillie -- Type: Guildworker's Union Representative -- !pos -191.738 11.001 138.656 231 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Northern_San...
gpl-3.0
marcel-sch/luci
applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev.lua
39
3926
-- Copyright 2015 Jian Chang <aa65535@live.com> -- Licensed to the public under the Apache License 2.0. local m, s, o, e, a if luci.sys.call("pidof ss-redir >/dev/null") == 0 then m = Map("shadowsocks-libev", translate("ShadowSocks-libev"), translate("ShadowSocks-libev is running")) else m = Map("shadowsocks-libev"...
apache-2.0
jwes/luagi
tst/index.lua
1
14359
--[=[ MIT License Copyright (c) 2016 Johannes Westhuis, Alexander Schulz 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...
mit
br101/packages
net/wifidog-ng/files/wifidog-ng/auth.lua
22
6175
--[[ Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com> This program 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 2.1 of the License, or (at your option) any later vers...
gpl-2.0
asdofindia/prosody-modules
mod_strict_https/mod_strict_https.lua
32
1328
-- HTTP Strict Transport Security -- https://tools.ietf.org/html/rfc6797 module:set_global(); local http_server = require "net.http.server"; local hsts_header = module:get_option_string("hsts_header", "max-age=31556952"); -- This means "Don't even try to access without HTTPS for a year" local _old_send_response; lo...
mit
DarkstarProject/darkstar
scripts/globals/spells/curaga_v.lua
12
1415
----------------------------------------- -- Spell: Curaga V -- Restores HP of all party members within area of effect. ----------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/RuLude_Gardens/npcs/Harith.lua
12
3594
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Harith -- Type: Standard NPC -- @pos -4.349 1 134.014 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globa...
gpl-3.0
crunchuser/prosody-modules
mod_password_policy/mod_password_policy.lua
32
1288
-- Password policy enforcement for Prosody -- -- Copyright (C) 2012 Waqas Hussain -- -- -- Configuration: -- password_policy = { -- length = 8; -- } local options = module:get_option("password_policy"); options = options or {}; options.length = options.length or 8; local st = require "util.stanza"; fu...
mit
Giorox/AngelionOT-Repo
data/actions/scripts/tools/fishing.lua
1
2650
local config = { waterIds = {493, 4608, 4609, 4610, 4611, 4612, 4613, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625}, rateSkill = getConfigValue("rateSkill"), allowFromPz = false, useWorms = true } --water elementals config local find_anything = 30 -- chance to ...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/weaponskills/starburst.lua
10
1329
----------------------------------- -- Starburst -- Staff weapon skill -- Skill Level: 100 -- Deals light or darkness elemental damage. Damage varies with TP. -- Aligned with the Shadow Gorget & Aqua Gorget. -- Aligned with the Shadow Belt & Aqua Belt. -- Element: Light/Dark (Random) -- Modifiers: : STR:40% MND:40% ...
gpl-3.0
marcel-sch/luci
libs/luci-lib-nixio/docsrc/CHANGELOG.lua
68
1043
--- Changes and improvements. module "nixio.CHANGELOG" --- Service Release. -- <ul> -- <li>Added getifaddrs() function.</li> -- <li>Added getsockopt(), setsockopt(), getsockname() and getpeername() -- directly to TLS-socket objects unifying the socket interface.</li> -- <li>Added support for CyaSSL as cryptographical ...
apache-2.0
Fenix-XI/Fenix
scripts/zones/Bastok_Mines/npcs/Trail_Markings.lua
12
2877
----------------------------------- -- Area: Bastok Mines -- NPC: Trail Markings -- Dynamis-Bastok Enter -- @pos 99 1 -67 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
tcatm/luci
build/luadoc/doc.lua
78
3419
#!/usr/bin/env lua ------------------------------------------------------------------------------- -- LuaDoc launcher. -- @release $Id: luadoc.lua.in,v 1.1 2008/02/17 06:42:51 jasonsantos Exp $ ------------------------------------------------------------------------------- --local source = debug.getinfo(1).source or "...
apache-2.0
Fenix-XI/Fenix
scripts/zones/Gusgen_Mines/Zone.lua
13
1881
----------------------------------- -- -- Zone: Gusgen_Mines (196) -- ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ---------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Gusgen_Mines/TextIDs"); ...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/cure_iii.lua
6
5088
----------------------------------------- -- Spell: Cure III -- Restores target's HP. -- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html ----------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic") r...
gpl-3.0
0BRWUEN0/BRWUEEN
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
punisherbot/-
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
facebokiii/facebookplug
plugins/pokedex.lua
626
1668
do local images_enabled = true; local function get_sprite(path) local url = "http://pokeapi.co/"..path print(url) local b,c = http.request(url) local data = json:decode(b) local image = data.image return image end local function callback(extra) send_msg(extra.receiver, extra.text, ok_cb, false) end lo...
gpl-2.0
sundream/gamesrv
script/card/neutral/card165018.lua
1
2445
--<<card 导表开始>> local super = require "script.card.init" ccard165018 = class("ccard165018",super,{ sid = 165018, race = 6, name = "雷矛特种兵", type = 201, magic_immune = 0, assault = 0, sneer = 0, atkcnt = 1, shield = 0, warcry = 1, dieeffect = 0, sneak = 0, magic_hurt_a...
gpl-2.0
dojoteef/loltorch
generatecorpus.lua
1
5453
local dataset = require('dataset') local path = require('pl.path') local tds = require('tds') local threads = require('threads') local torch = require('torch') local utils = require('utils') require('tds') local cmd = torch.CmdLine() cmd:text() cmd:text('Generate a corpus from League of Legends data') cmd:text() cmd:t...
mit
sundream/gamesrv
script/card/neutral/card265040.lua
1
2219
--<<card 导表开始>> local super = require "script.card.neutral.card165040" ccard265040 = class("ccard265040",super,{ sid = 265040, race = 6, name = "冰风雪人", type = 201, magic_immune = 0, assault = 0, sneer = 0, atkcnt = 1, shield = 0, warcry = 0, dieeffect = 0, sneak = 0, ...
gpl-2.0