repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
schidler/ionic-luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua | 42 | 8783 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010-2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("network", translate("Switch"), translate("The network ports on this device can be combined to several <abbr title=\"Virtual Local Area Network\">... | apache-2.0 |
SnakeSVx/sbep | lua/autorun/server/sv_sbep_menu.lua | 3 | 1210 | --[[
Copyright (C) 2012-2014 Spacebuild Development Team
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
Unless required by applicable law o... | apache-2.0 |
vseledkin/april-ann | packages/basics/thread_utils/package.lua | 3 | 1029 | package{ name = "thread_utils",
version = "1.0",
depends = { "util" },
keywords = { },
link_libraries = { "pthread" },
description = "",
-- targets como en ant
target{
name = "init",
mkdir{ dir = "build" },
mkdir{ dir = "include" },
},
target{
name = "clean",
delete{ ... | gpl-3.0 |
ddouglascarr/rooset | lffrontend/app/main/member/settings_login.lua | 1 | 1152 | ui.titleMember(_"login name")
execute.view {
module = "member", view = "_sidebar_whatcanido", params = {
member = app.session.member
}
}
ui.form{
attr = { class = "wide" },
module = "member",
action = "update_login",
routing = {
ok = {
mode = "redirect",
module = "member",
view =... | mit |
tonkah/Browser | lib/undoclose.lua | 6 | 3836 | ------------------------------------------------------
-- View and undo closed tabs in an interactive menu --
-- © 2010 Chris van Dijk <quigybo@hotmail.com> --
-- © 2010 Mason Larobina <mason.larobina@gmail.com> --
------------------------------------------------------
-- Undo a closed tab (with complete tab hist... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Kazham/npcs/Cobbi_Malgharam.lua | 15 | 1055 | -----------------------------------
-- Area: Kazham
-- NPC: Cobbi Malgharam
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/North_Gustaberg/npcs/Butsutsu_WW.lua | 13 | 3331 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Butsutsu, W.W.
-- Type: Border Conquest Guards
-- @pos -520.704 38.75 560.258 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conques... | gpl-3.0 |
root4r08/RoOt3r08 | data/config.lua | 2 | 1160 | do local _ = {
about_text = "Welcome to BombusMOD For more information Subscribe to the channel @Ntflight",
enabled_plugins = {
"admin",
"onservice",
"inrealm",
"ingroup",
"inpm",
"banhammer",
"stats",
"anti_spam",
"owners",
"arabic_lock",
"set",
"get",
"broadcast... | gpl-2.0 |
tvandijck/premake-core | src/base/workspace.lua | 14 | 4341 | ---
-- workspace.lua
-- Work with the list of workspaces loaded from the script.
-- Copyright (c) 2002-2015 Jason Perkins and the Premake project
---
local p = premake
p.workspace = p.api.container("workspace", p.global)
local workspace = p.workspace
---
-- Switch this container's name from "solution" to "worksp... | bsd-3-clause |
omidtarh/testbot | plugins/location.lua | 625 | 1564 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
jdwang001/vstruct | io.lua | 6 | 1193 | -- The loader for individual IO formats for vstruct.
-- Returns the "io function", which is called with:
-- * an IO type, such as 'x' or 'c'
-- * an IO operation, such as 'write' or 'size'
-- * some (type x operation) specific other arguments
-- upon which it will attempt to load the handler for that operation from the... | mit |
rpetit3/darkstar | scripts/zones/Al_Zahbi/TextIDs.lua | 15 | 2053 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
beko99/DEVBEKO | libs/url.lua | 567 | 9183 | --[[
Copyright 2004-2007 Diego Nehab.
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, distribute,... | gpl-2.0 |
rpetit3/darkstar | scripts/zones/Port_Windurst/npcs/Kususu.lua | 16 | 1702 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kususu
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs");
---... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/items/ca_cuong.lua | 18 | 1386 | -----------------------------------------
-- ID: 5474
-- Item: Ca Cuong
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity +2
-- Mind -4
-- Agility +2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
omid1212/wez | plugins/weather.lua | 351 | 1443 | do
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather"
local function get_weather(location)
print("Finding weather in ", location)
local url = BASE_URL
url = url..'?q='..location
url = url..'&units=metric'
local b, c, h = http.request(url)
if c ~= 200 then return nil end
local weather = ... | gpl-2.0 |
ali033/botttt | plugins/map.lua | 19 | 1680 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
rpetit3/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Calliope_IM.lua | 13 | 3343 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Calliope, I.M.
-- Outpost Conquest Guards
-- @pos -40.079 -0.642 -148.785 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
MinetestForFun/server-minetestforfun-creative | minetestforfun_game/mods/beds/functions.lua | 1 | 6295 | local pi = math.pi
local player_in_bed = 0
local is_sp = minetest.is_singleplayer()
local enable_respawn = minetest.setting_getbool("enable_bed_respawn")
if enable_respawn == nil then
enable_respawn = true
end
-- helper functions
local function get_look_yaw(pos)
local n = minetest.get_node(pos)
if n.param2 == 1 t... | unlicense |
renchunxiao/luajson | lua/json/encode/strings.lua | 9 | 2528 | --[[
Licensed according to the included 'LICENSE' document
Author: Thomas Harning Jr <harningt@gmail.com>
]]
local string_char = require("string").char
local pairs = pairs
local jsonutil = require("json.util")
local util_merge = jsonutil.merge
local _ENV = nil
local normalEncodingMap = {
['"'] = '\\"',
['\\'] = ... | mit |
ManStache/PokeBotBad | BizHawk-1.11.6/Lua/SNES/Super Ghouls N Ghost.lua | 7 | 5303 | ----------------------------------------------------
--Super Ghouls n' Ghosts Hitbox Display Lua Script--
----------------------------------------------------
--Author Pasky13
---Blue = Arthur's Hitbox
---Red = If this box touches arthur's he is damaged
---Green = Projectile vulnerability for enemies
---White = Arth... | mit |
Choumiko/TrainTaxi | GUI.lua | 1 | 1382 | GUI = {
styleprefix = "trainTaxi_",
defaultStyles = {
label = "label",
button = "button",
checkbox = "checkbox"
},
bindings = {},
callbacks = {},
new = function(index, player)
local new = {}
setmetatable(new, {__index=GUI})
return new
end,
init =... | mit |
msva/verse | plugins/proxy65.lua | 2 | 6229 | local events = require "util.events";
local uuid = require "util.uuid";
local sha1 = require "util.sha1";
local proxy65_mt = {};
proxy65_mt.__index = proxy65_mt;
local xmlns_bytestreams = "http://jabber.org/protocol/bytestreams";
local negotiate_socks5;
function verse.plugins.proxy65(stream)
stream.proxy65 = setme... | mit |
rpetit3/darkstar | scripts/zones/Port_Bastok/npcs/Ehrhard.lua | 33 | 1378 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ehrhard
-- Involved in Quest: Stamp Hunt
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_Bastok/TextIDs");
... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/abilities/fighters_roll.lua | 19 | 2657 | -----------------------------------
-- Ability: Fighter's Roll
-- Improves "Double Attack" rate for party members within area of effect
-- Optimal Job: Warrior
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 49
--
-- Die Roll |No WAR |With WAR
-- -------- -------- -----------
-- 1 |2% |8%
-- 2 ... | gpl-3.0 |
askore/LootSecretary | src/lua/Libs/LibWindow-1.1/LibWindow-1.1/LibWindow-1.1.lua | 4 | 8642 | --[[
Name: LibWindow-1.1
Revision: $Rev: 8 $
Author(s): Mikk (dpsgnome@mail.com)
Website: http://old.wowace.com/wiki/LibWindow-1.1
Documentation: http://old.wowace.com/wiki/LibWindow-1.1
SVN: http://svn.wowace.com/root/trunk/WindowLib/Window-1.0
Description: A library that handles the basics of "window" style f... | apache-2.0 |
dwmw2/luci | applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua | 33 | 5237 | -- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed to the public under the Apache License 2.0.
local NX = require "nixio"
local NXFS = require "nixio.fs"
local DISP = require "luci.dispatcher"
local SYS = require "luci.sys"
local DDNS = require "luci.tools.ddns" -- ddn... | apache-2.0 |
rpetit3/darkstar | scripts/globals/items/plate_of_homemade_risotto.lua | 18 | 1107 | -----------------------------------------
-- ID: 5229
-- Item: plate_of_homemade_risotto
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Mind 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
schidler/ionic-luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunks.lua | 68 | 2343 | -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require("luci.asterisk")
cbimap = Map("asterisk", "Trunks")
cbimap.pageaction = false
local sip_peers = { }
cbimap.uci:foreach("asterisk", "sip",
function(s)
if s.type == "peer" then
s.name =... | apache-2.0 |
rpetit3/darkstar | scripts/globals/weaponskills/spinning_attack.lua | 25 | 1407 | -----------------------------------
-- Spinning Attack
-- Hand-to-Hand weapon skill
-- Skill Level: 150
-- Delivers an area attack. Radius varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Thunder Gorget.
-- Aligned with the Flame Belt & Thunder Belt.
-- Element: None
-- Modifiers: STR... | gpl-3.0 |
vseledkin/april-ann | packages/misc/gzio/test/test.lua | 3 | 1314 | local check = utest.check
local T = utest.test
T("GZIPTest", function()
-- gzio is used exactly the same way as standard module io
local f=gzio.open("test.gz", "w")
f:write("Hello, World.\n")
f:close()
local f=gzio.open("test.gz")
check.eq(f:read("*l"), "Hello, World.")
f:close()
... | gpl-3.0 |
MinetestForFun/server-minetestforfun-creative | mods/unified_inventory/item_names.lua | 9 | 1539 | -- Based on 4itemnames mod by 4aiman
local wield = {}
local huds = {}
local dtimes = {}
local dlimit = 3 -- HUD element will be hidden after this many seconds
local air_hud_mod = minetest.get_modpath("4air")
local hud_mod = minetest.get_modpath("hud")
local hudbars_mod = minetest.get_modpath("hudbars")
local functio... | unlicense |
ld-test/luaposix | specs/spec_helper.lua | 6 | 3480 | if os.getenv "installcheck" == nil then
-- Unless we're running inside `make installcheck`, add the dev-tree
-- directories to the module search paths.
local std = require "specl.std"
local top_srcdir = os.getenv "top_srcdir" or "."
local top_builddir = os.getenv "top_builddir" or "."
package.path = std.... | mit |
rpetit3/darkstar | scripts/globals/weaponskills/sonic_thrust.lua | 25 | 1367 | -----------------------------------
-- Sonic Thrust
-- Polearm weapon skill
-- Skill Level: 300
-- Delivers an area attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Element: None
-- Modifiers: STR:40% ; DEX:40%
-- 100%TP 200%TP 300%TP
-- 3.00 3.7 4.50
--------------------------------... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Vunkerl_Inlet_[S]/npcs/Indescript_Markings.lua | 12 | 1576 | ----------------------------------
-- Area: Meriphataud_Mountains_[S]
-- NPC: Indescript Markings
-- Type: Quest
-- @pos -629.179 -49.002 -429.104 1 83
-----------------------------------
package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Vun... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Oldton_Movalpolos/npcs/Treasure_Chest.lua | 13 | 3526 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Treasure Chest
-- @zone 11
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("... | gpl-3.0 |
Endika/Algorithm-Implementations | A_Star_Search/Lua/Yonaba/astar.lua | 26 | 3905 | -- Generic A* search algorithm implementation
-- See : http://en.wikipedia.org/wiki/A*_search_algorithm
-- Notes : this is a generic implementation of A star search algorithm.
-- It is devised to be used on any type of graph (point-graph, tile-graph,
-- or whatever. It expects to be initialized with a handler, which a... | mit |
vlapsley/outback | mods/technic/technic/helpers.lua | 3 | 5178 | local digit_sep_esc
do
local sep = technic.config:get("digit_separator")
sep = tonumber(sep) and string.char(sep) or sep or " "
-- Escape for gsub
for magic in ("().%+-*?[^$"):gmatch(".") do
if sep == magic then
sep = "%"..sep
end
end
digit_sep_esc = sep
end
function technic.pretty_num(num)
local str, k... | lgpl-2.1 |
dwmw2/luci | applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua | 40 | 2110 | -- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
-- Licensed to the public under the Apache License 2.0.
local dsp = require "luci.dispatcher"
local nixio = require "nixio"
m = Map("ocserv", translate("OpenConnect VPN"))
if m.uci:get("ocserv", "config", "auth") == "plain" then
--[[Users]]-... | apache-2.0 |
rpetit3/darkstar | scripts/globals/abilities/light_arts.lua | 19 | 1725 | -----------------------------------
-- Ability: Light Arts
-- Optimizes white magic capability while lowering black magic proficiency. Grants a bonus to divine, enhancing, enfeebling, and healing magic. Also grants access to Stratagems.
-- Obtained: Scholar Level 10
-- Recast Time: 1:00
-- Duration: 2:00:00
-----------... | gpl-3.0 |
vseledkin/april-ann | packages/ann/optimizer/lua_src/base_optimizer.lua | 3 | 5017 | local math = math
local table = table
local string = string
--
local ipairs = ipairs
local pairs = pairs
local assert = assert
--
local type = type
local mop = matrix.op
local iterator = iterator
local get_table_fields = get_table_fields
local april_assert = april_assert
local FLT_MIN = mathcore.limits.float.min()
an... | gpl-3.0 |
MinetestForFun/server-minetestforfun-creative | mods/metatools/init.lua | 10 | 18251 | -- Meta-tools mod ßý Mg --
-- License : GPLv3+
--
metatools = {}
meta_info = {}
metatools.actualize_metalist = function(name)
-- We need to actualize the tables
local counter = 1
meta_info[name]["pointer"] = minetest.get_meta(meta_info[name]["node"]):to_table()
while (counter < meta_info[name]["stratum"]+1) do
... | unlicense |
vfedoroff/prosody-modules | mod_couchdb/couchdb/couchdb.lib.lua | 32 | 2309 |
local http = require "socket.http";
local url = require "socket.url";
local couchapi = module:require("couchdb/couchapi");
local json = module:require("couchdb/json");
local couchdb_url = assert(module:get_option("couchdb_url"), "Option couchdb_url not specified");
local db = couchapi.db(couchdb_url);
local functio... | mit |
rpetit3/darkstar | scripts/zones/West_Ronfaure/npcs/Vilatroire.lua | 13 | 1573 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Vilatroire
-- Involved in Quests: "Introduction To Teamwork", "Intermediate Teamwork",
-- "Advanced Teamwork"
-- @pos -260.361 -70.999 423.420 100
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/West_Ronf... | gpl-3.0 |
askore/LootSecretary | src/lua/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua | 3 | 58966 | --- AceConfigDialog-3.0 generates AceGUI-3.0 based windows based on option tables.
-- @class file
-- @name AceConfigDialog-3.0
-- @release $Id: AceConfigDialog-3.0.lua 1139 2016-07-03 07:43:51Z nevcairiel $
local LibStub = LibStub
local MAJOR, MINOR = "AceConfigDialog-3.0", 61
local AceConfigDialog, oldminor = ... | apache-2.0 |
rpetit3/darkstar | scripts/globals/spells/bluemagic/triumphant_roar.lua | 27 | 1280 | -----------------------------------------
-- 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 |
martinrotter/textilosaurus | src/libtextosaurus/3rd-party/scintilla-lt/lexlua/pike.lua | 2 | 1904 | -- Copyright 2006-2019 Mitchell mitchell.att.foicica.com. See License.txt.
-- Pike LPeg lexer.
local lexer = require('lexer')
local token, word_match = lexer.token, lexer.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local lex = lexer.new('pike')
-- Whitespace.
lex:add_rule('whitespace', token(lexer.WHITESPACE, ... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Cape_Teriggan/npcs/Paise_RK.lua | 13 | 3316 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Bright Moon
-- Type: Border Conquest Guards
-- @pos 119 0 282 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("script... | gpl-3.0 |
dwmw2/luci | applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua | 68 | 9836 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local uci = require "luci.model.uci".cursor()
local bit = require "nixio".bit
local ip = require "luci.ip"
-------------------- Init -------------------... | apache-2.0 |
tullamods/tullaRange | tullaRange_Config/colorOptions.lua | 1 | 1901 | --[[
Frame.lua
General Bagnon settings
--]]
local _, Addon = ...
local L = Addon.L
local ColorOptions
do
ColorOptions = Addon.OptionsPanel:New(
'tullaRange_ColorOptions',
nil,
'tullaRange',
L.ColorSettingsTitle
)
-- ColorOptions:Hide()
Addon.ColorOptions = ColorOptions
end
local SPACING = 4
local CO... | mit |
TakingInitiative/wesnoth | data/ai/micro_ais/cas/ca_swarm_scatter.lua | 3 | 1849 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local function get_enemies(cfg)
local scatter_distance = cfg.scatter_distance or 3
local enemies = AH.get_attackable_enemies {
{ "filter_location",
{ radius = scatter_distance, { "filter", { side = ... | gpl-2.0 |
rpetit3/darkstar | scripts/zones/Cloister_of_Gales/Zone.lua | 30 | 1734 | -----------------------------------
--
-- Zone: Cloister_of_Gales (201)
--
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Cloister_of_Gales/TextIDs");
-----------------... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/spells/bluemagic/jet_stream.lua | 33 | 1738 | -----------------------------------------
-- Spell: Jet Stream
-- Delivers a threefold attack. Accuracy varies with TP
-- Spell cost: 47 MP
-- Monster Type: Birds
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+2
-- Level: 38
-- Casting Time: 0.5 seconds
-- Recast Time: 23 seconds
-- Skillcha... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Cloister_of_Tremors/npcs/Earth_Protocrystal.lua | 13 | 1902 | -----------------------------------
-- Area: Cloister of Tremors
-- NPC: Earth Protocrystal
-- Involved in Quest: Trial by Earth
-- @pos -539 1 -493 209
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/k... | gpl-3.0 |
bacsmar/Urho3D | bin/Data/LuaScripts/02_HelloGUI.lua | 11 | 6338 | -- A simple 'HelloWorld' GUI created purely from code.
-- This sample demonstrates:
-- - Creation of controls and building a UI hierarchy
-- - Loading UI style from XML and applying it to controls
-- - Handling of global and per-control events
-- For more advanced users (beginners can skip this section... | mit |
ibm2431/darkstar | scripts/zones/Giddeus/npcs/Laa_Mozi.lua | 9 | 1565 | -----------------------------------
-- Area: Giddeus
-- NPC: Laa Mozi
-- Involved in Mission 1-3
-- !pos -22 0 148 145
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/globals/keyitems");
-----------------------------------
function onTrade... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Dragons_Aery/npcs/relic.lua | 14 | 1860 | -----------------------------------
-- Area: Dragon's Aery
-- NPC: <this space intentionally left blank>
-- @pos -20 -2 61 154
-----------------------------------
package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Dragons_Aery/TextIDs");
-----------... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_3d_auto_api.lua | 2 | 1839 | --------------------------------
-- @module cc
--------------------------------------------------------
-- the cc Animation3D
-- @field [parent=#cc] Animation3D#Animation3D Animation3D preloaded module
--------------------------------------------------------
-- the cc Animate3D
-- @field [parent=#cc] Animate3D#Anima... | mit |
greasydeal/darkstar | scripts/globals/items/bataquiche.lua | 35 | 1468 | -----------------------------------------
-- ID: 5168
-- Item: Bataquiche
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 8
-- Agility 1
-- Vitality -2
-- Ranged ATT % 7
-- Ranged ATT Cap 15
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Western_Altepa_Desert/npcs/_3h8.lua | 11 | 1264 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h8 (Sapphire Column)
-- Notes: Mechanism for Altepa Gate
-- !pos -499 10 224 125
-----------------------------------
local ID = require("scripts/zones/Western_Altepa_Desert/IDs")
require("scripts/globals/status")
-----------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/spells/hydrohelix.lua | 22 | 1718 | --------------------------------------
-- Spell: Hydrohelix
-- Deals water 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/globals... | gpl-3.0 |
NebronTM/TeleBot | libs/mimetype.lua | 32 | 3057 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
-- TODO: Add more?
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom... | gpl-3.0 |
bacsmar/Urho3D | Source/ThirdParty/LuaJIT/src/jit/v.lua | 42 | 5755 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | mit |
pokemoncentral/wiki-lua-modules | MTCompatto.lua | 1 | 5094 | --[[
Tabella contenente le MT e le MN delle varie generazioni
Può essere chiamato con il nome della pagina
{{#invoke: MTCompatto | MTCompatto | {{BASEPAGENAME}} }}
oppure con il nome di una mossa
{{#invoke: MTCompatto | MTCompatto | Surf }}
oppure specificando le generazioni da mostrare
{{#invoke: MTCompatto | MTCo... | cc0-1.0 |
LegionXI/darkstar | scripts/globals/mobskills/Chains_of_Cowardice.lua | 9 | 1304 | ---------------------------------------------
-- Chains of Cowardice
--
---------------------------------------------
package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil;
---------------------------------------------
require("scripts/zones/Empyreal_Paradox/TextIDs");
require("scripts/globals/monstertpmoves")... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/weaponskills/entropy.lua | 30 | 1670 | -----------------------------------
-- Entropy
-- Scythe weapon skill
-- Skill level: 357
-- Description: Delivers a fourfold attack that converts damage dealt into own MP. Damage varies with TP.
-- In order to obtain Entropy, the quest Martial Mastery must be completed.
-- MP recovery is about 15~25% of damage d... | gpl-3.0 |
pleonex/telegram-bot | plugins/help.lua | 290 | 1653 | do
-- Returns true if is not empty
local function has_usage_data(dict)
if (dict.usage == nil or dict.usage == '') then
return false
end
return true
end
-- Get commands for that plugin
local function plugin_help(name)
local plugin = plugins[name]
if not plugin then return nil end
local text = ""
if ... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Northern_San_dOria/npcs/Pirvidiauce.lua | 17 | 2156 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pirvidiauce
-- Conquest depending medicine seller
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
requir... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/plugin/luabindings/script/lua_plugin.lua | 146 | 1432 |
plugin = plugin or {}
plugin.FacebookAgent = plugin.FacebookAgent or {}
plugin.FacebookAgent.HttpMethod =
{
GET = 0,
POST = 1,
DELETE = 2,
}
plugin.FacebookAgent.AppEvent =
{
ACTIVATED_APP = "fb_mobile_activate_app",
COMPLETED_REGISTRATION = "fb_mobile_complete_registration",
VIEWED_CO... | mit |
naclander/tome | game/modules/tome/data/zones/demon-plane/grids.lua | 3 | 1989 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 later ... | gpl-3.0 |
CorpenEldorito/H-CE-Opensauce-V5 | shared/bin/mmbbq_3.0.2/HaloCE/1_09_Client/Rasterizer_ShaderExtension.lua | 2 | 10018 | -- Yelo: Open Sauce SDK
-- Halo 1 (CE) Edition
-- See license\OpenSauce\Halo1_CE for specific license information
HaloCEClient_Rasterizer_ShaderExtension =
{
--////////////////////////////////////////////////////////////////////////
-- ShaderExtension.cpp
["K_RASTERIZER_MODEL_DRAW_INVERT_BACKFACE_NORMALS_CHECK_HOOK... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/abilities/manifestation.lua | 28 | 1228 | -----------------------------------
-- Ability: Manifestation
-- Extends the effect of your next enfeebling1 black magic spell to targets within range. MP cost and casting time2 are doubled.
-- Obtained: Scholar Level 40
-- Recast Time: Stratagem Charge
-- Duration: 1 compatible black magic spell or 60 seconds, wh... | gpl-3.0 |
lache/RacingKingLee | crazyclient/src/cocos/cocos2d/functions.lua | 46 | 17161 | --[[
Copyright (c) 2011-2014 chukong-inc.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, dis... | mit |
LegionXI/darkstar | scripts/zones/Labyrinth_of_Onzozo/npcs/Grounds_Tome.lua | 30 | 1104 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,... | gpl-3.0 |
CuteOne/meta | Libs/DiesalGUI-1.0/Objects/Tree.lua | 6 | 3620 | -- $Id: Tree.lua 60 2016-11-04 01:34:23Z diesal2010 $
-- ~~| Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
local DiesalGUI = LibStub("DiesalGUI-1.0")
local DiesalTools = LibStub("DiesalTools-1.0")
-- ~~| Lua Upval... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Sauromugue_Champaign/npcs/qm3.lua | 14 | 2473 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm3 (???) (Tower 3)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- @pos 417.121 15.598 -137.466 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Crawlers_Nest/npcs/_5h1.lua | 14 | 2973 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: Strange Apparatus
-- @pos 214 0 -339 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
require("scripts/zones/Crawlers_Nest/TextIDs");
require("scripts/globals/strangeapparatus");
------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Southern_San_dOria/npcs/Tek_Lengyon.lua | 12 | 1300 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Tek Lengyon
-- Type: Leathercraft Synthesis Image Support
-- !pos -190.120 -2.999 2.770 230
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
local ID = require("scripts/zones/Southern_San... | gpl-3.0 |
pokemoncentral/wiki-lua-modules | Ndex-list.lua | 1 | 2175 | --[[
This module prints the list of all Pokémon, useless alternative forms
included, for the ndex list (ie: only name, MS and type).
--]]
local n = {}
-- stylua: ignore start
local tab = require('Wikilib-tables')
local txt = require('Wikilib-strings')
local list = require('Wikilib-lists')
local genUtils = require('... | cc0-1.0 |
brg-liuwei/redis | deps/lua/test/life.lua | 888 | 2635 | -- life.lua
-- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l
-- modified to use ANSI terminal escape sequences
-- modified to use for instead of while
local write=io.write
ALIVE="¥" DEAD="þ"
ALIVE="O" DEAD="-"
function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary
for i=1,10000 do... | bsd-3-clause |
ibm2431/darkstar | scripts/globals/abilities/thunder_maneuver.lua | 9 | 1896 | -----------------------------------
-- Ability: Thunder Maneuver
-- Enhances the effect of thunder attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status"... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/abilities/evokers_roll.lua | 12 | 2989 | -----------------------------------
-- Ability: Evoker's Roll
-- Gradually restores MP for party members within area of effect
-- Optimal Job: Summoner
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 40
-- Phantom Roll +1 Value: 1
--
-- Die Roll |No SMN |With SMN
-- -------- ------- -----------
-- 1 ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/The_Shrouded_Maw/bcnms/darkness_named.lua | 30 | 2857 | -----------------------------------
-- Area: The_Shrouded_Maw
-- Name: darkness_named
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/zones/Th... | gpl-3.0 |
naclander/tome | game/modules/tome/data/general/objects/objects-far-east.lua | 3 | 1050 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 later ... | gpl-3.0 |
ibm2431/darkstar | scripts/commands/delquest.lua | 11 | 1590 | ---------------------------------------------------------------------------------------------------
-- func: delquest <logID> <questID> <player>
-- desc: Deletes the given quest from the GM or target player.
---------------------------------------------------------------------------------------------------
require("sc... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Ordelles_Caves/Zone.lua | 11 | 1880 | -----------------------------------
--
-- Zone: Ordelles_Caves (193)
--
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Ordelles_Caves/TextI... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/log_ids.lua | 14 | 5472 | -----------------------------------
-- Area/Content Identifiers
-----------------------------------
SANDORIA =
{
['full_name'] = "San d' Oria",
['mission_log']= 0,
['quest_log']= 0,
['fame_area']= 0
};
BASTOK =
{
['full_name'] = "Bastok",
['mission_log']= 1,
['quest_log']= 1,
['fame_ar... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/serving_of_batagreen_saute.lua | 11 | 1098 | -----------------------------------------
-- ID: 4553
-- Item: serving_of_batagreen_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -2
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status")
require("s... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/LaisavieXBerlends1.lua | 36 | 1080 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Laisavie X Berlends
-- @zone 80
-- @pos 26 2 6
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Northern_San_dOria/npcs/Durogg.lua | 11 | 2397 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Durogg
-- Type: Past Event Watcher
-- !pos 15 0 -18 231
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
-- A... | gpl-3.0 |
ekmartin/mal | lua/core.lua | 25 | 5485 | local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local readline = require('readline')
local Nil, List, _pr_str = types.Nil, types.List, printer._pr_str
local M = {}
-- string functions
function pr_str(...)
return table.concat(
... | mpl-2.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotaryLimit.lua | 18 | 1671 |
--------------------------------
-- @module PhysicsJointRotaryLimit
-- @extend PhysicsJoint
-- @parent_module cc
--------------------------------
-- Get the max rotation limit.
-- @function [parent=#PhysicsJointRotaryLimit] getMax
-- @param self
-- @return float#float ret (return value: float)
------------... | mit |
ibm2431/darkstar | scripts/commands/hide.lua | 9 | 1175 | ---------------------------------------------------------------------------------------------------
-- func: hide
-- desc: Hides the GM from other players.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "s"
};
funct... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/candy_cane.lua | 36 | 1234 | -----------------------------------------
-- ID: 5622
-- Item: Candy Cane
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Intelligence 4
-- Mind 4
-- MP Recovery while healing 2
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Al_Zahbi/npcs/Suldiran.lua | 11 | 1140 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Suldiran
-- Type: NPC Quest
-- !pos 42 -7 -43 48
-----------------------------------
require("scripts/globals/npc_util")
require("scripts/globals/quests")
require("scripts/globals/titles")
function onTrade(player,npc,trade)
if player:getQuestStatus(AHT... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/abilities/call_beast.lua | 27 | 1071 | -----------------------------------
-- Ability: Call Beast
-- Calls a beast to fight by your side.
-- Obtained: Beastmaster Level 23
-- Recast Time: 5:00
-- Duration: Dependent on jug pet used.
-----------------------------------
require("scripts/globals/common");
require("scripts/globals/status");
------------------... | gpl-3.0 |
gwlim/luci | libs/nixio/lua/nixio/fs.lua | 184 | 3723 | --[[
nixio - Linux I/O library for lua
Copyright 2009 Steven Barth <steven@midlink.org>
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$
]]--
local... | apache-2.0 |
LegionXI/darkstar | scripts/zones/West_Ronfaure/npcs/Phairet.lua | 14 | 2649 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Phairet
-- Involved in Quest: The Trader in the Forest
-- @pos -57 -1 -501 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requ... | gpl-3.0 |
Igalia/snabbswitch | src/lib/virtio/virtq_device.lua | 14 | 3135 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- Implements virtio virtq
local lib = require("core.lib")
local memory = require("core.memory")
local ffi = require("ffi")
local C = ffi.C
local band = bit.band
local rshift = bit.rshift
require("lib.virtio... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Dangruf_Wadi/npcs/qm3.lua | 17 | 1988 | -----------------------------------
-- NPC: ??? (QM3)
-- Type: Saltvix dice roll game part 2
-- @zone 191
-- Involved in quest "As Thick As Thieves"
-----------------------------------
package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.