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 |
|---|---|---|---|---|---|
nyczducky/darkstar | scripts/globals/items/la_theine_cabbage.lua | 12 | 1188 | -----------------------------------------
-- ID: 4366
-- Item: la_theine_cabbage
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
sevu/wesnoth | data/ai/micro_ais/cas/ca_patrol.lua | 6 | 9374 | local AH = wesnoth.require "ai/lua/ai_helper.lua"
local BC = wesnoth.dofile "ai/lua/battle_calcs.lua"
local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua"
local function get_patrol(cfg)
local filter = wml.get_child(cfg, "filter") or { id = cfg.id }
local patrol = AH.get_units_with_moves {
... | gpl-2.0 |
oldstylejoe/vlc-timed | share/lua/playlist/vimeo.lua | 7 | 3483 | --[[
$Id$
Copyright © 2009-2013 the VideoLAN team
Authors: Konstantin Pavlov (thresh@videolan.org)
François Revol (revol@free.fr)
Pierre Ynard
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 S... | gpl-2.0 |
TheHipster/cwlourp | plugins/books/plugin/items/sh_book_pha.lua | 1 | 4012 | --[[
© 2013 CloudSixteen.com do not share, re-distribute or modify
without permission of its author (kurozael@gmail.com).
--]]
ITEM = Clockwork.item:New("book_base");
ITEM.name = "Poison Headcrab Anatomy";
ITEM.cost = 6;
ITEM.model = "models/props_lab/bindergraylabel01b.mdl";
ITEM.uniqueID = "book_pha";
IT... | unlicense |
guangbin79/Lua_5.1.5-iOS | lua-script/cgilua/urlcode.lua | 2 | 3762 | ----------------------------------------------------------------------------
-- Utility functions for encoding/decoding of URLs.
--
-- @release $Id: urlcode.lua,v 1.10 2008/01/21 16:11:32 carregal Exp $
----------------------------------------------------------------------------
local ipairs, next, pairs, tonumber, ty... | mit |
guangbin79/Lua_5.1.5-iOS | cgilua-5.2.1/src/cgilua/urlcode.lua | 2 | 3762 | ----------------------------------------------------------------------------
-- Utility functions for encoding/decoding of URLs.
--
-- @release $Id: urlcode.lua,v 1.10 2008/01/21 16:11:32 carregal Exp $
----------------------------------------------------------------------------
local ipairs, next, pairs, tonumber, ty... | mit |
moltafet35/senatorv2 | plugins/youtube.lua | 644 | 1722 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
function get_yt_data (yt_code)
local url = 'https://www.googleapis.com/yo... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/items/felicifruit.lua | 12 | 1197 | -----------------------------------------
-- ID: 5964
-- Item: Felicifruit
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
Mariappan/rcfiles | home/.notion/looks/look_tiny_min_tabs.lua | 7 | 3113 | -- Authors: Unknown
-- License: Unknown
-- Last Changed: Unknown
--
-- look_tiny.min_tabs.lua: an ion3 style for use with the min_tabs
-- extension, based on:
-- look_tiny.lua: an ion3 style for small screens...like mine :(
-- based on look_minimalist.lua
if not gr.select_engine("de") then return end
de.reset()
de.d... | gpl-2.0 |
sudheesh001/RFID-DBSync | cardpeek-0.8.3/dot_cardpeek_dir/scripts/lib/tlv.lua | 1 | 8537 | --
-- This file is part of Cardpeek, the smartcard reader utility.
--
-- Copyright 2009-2013 by 'L1L1'
--
-- Cardpeek 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
-- (a... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Northern_San_dOria/npcs/Vichuel.lua | 17 | 1946 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Vichuel
-- Only sells when San d'Oria controlls Fauregandi Region
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/North... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Abyssea-Grauberg/npcs/qm9.lua | 14 | 1343 | -----------------------------------
-- Zone: Abyssea-Grauberg
-- NPC: qm9 (???)
-- Spawns Lorelei
-- @pos ? ? ? 254
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[
... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/bowl_of_ulbuconut_milk.lua | 12 | 1206 | -----------------------------------------
-- ID: 5976
-- Item: Bowl of Ulbuconut Milk
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Charisma +3
-- Vitality -2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
GSRMOHAMMAD/fortg | bot/taylor-bot.lua | 1 | 13911 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Lutete.lua | 14 | 1123 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Lutete
-- Type: Standard NPC
-- @zone 94
-- @pos 169.205 -0.879 -9.107
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
------... | gpl-3.0 |
dtrip/awesome | lib/awful/widget/watch.lua | 2 | 3577 | ---------------------------------------------------------------------------
--- Watch widget.
-- Here is an example of simple temperature widget which will update each 15
-- seconds implemented in two different ways.
-- The first, simpler one, will just display the return command output
-- (so output is stripped by she... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Dangruf_Wadi/npcs/_5b1.lua | 14 | 2971 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: Strange Apparatus
-- @pos -494 -4 -100 191
-----------------------------------
package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil;
require("scripts/zones/Dangruf_Wadi/TextIDs");
require("scripts/globals/strangeapparatus");
--------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/tricolored_carp.lua | 12 | 1330 | -----------------------------------------
-- ID: 4426
-- Item: tricolored_carp
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
ihaveamac/mashers-gl-updater | mglupdate/drawing.lua | 1 | 11775 | -- colors
c_white = Color.new(255, 255, 255)
c_grey = Color.new(127, 127, 127)
c_light_red = Color.new(255, 127, 127)
c_light_blue = Color.new(127, 127, 255)
-- print to screen
function print(x, y, text, clr)
if not clr then
clr = c_white
end
Screen.debugPrint(x, y, text, clr, TOP_SCREEN)
end
funct... | mit |
GeekMasher/MyLittleBoxOfLinuxTricks | nvim/.config/nvim/lua/geekmasher/telescope.lua | 1 | 1355 |
local map = vim.api.nvim_set_keymap
local default_opts = {noremap = true}
local actions = require("telescope.actions")
require("telescope").setup({
defaults = {
file_sorter = require("telescope.sorters").get_fzy_sorter,
prompt_prefix = "🔍",
hidden = true,
color_devicons = true,
... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/weaponskills/aeolian_edge.lua | 24 | 1470 | -- Aeolian Edge
-- Dagger weapon skill
-- Delivers an area attack that deals wind elemental damage. Damage varies with TP.
-- Skill Level: 290
-- Aligned with the Breeze Gorget, Soil Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt, Soil Belt & Thunder Belt.
-- Element: Wind
-- Skillchain Properties: Impaction ... | gpl-3.0 |
xamgeis/project_vulcan | models/openface/vgg-face.small1.def.lua | 14 | 2626 | -- Model: vgg-face.small1.def.lua
-- Description: Modified VGG Face network. Smaller and with batch normalization.
-- !! In progress, may change.
-- Input size: 3x96x96
-- Number of Parameters from net:getParameters() with embSize=128: TODO
-- Components: Mostly `nn`
-- Devices: CPU and CUDA
--
-- Brandon Amos <http... | apache-2.0 |
sjznxd/lc-20121231 | protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua | 24 | 4064 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Jo-Philipp Wich <xm@subsignal.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
]]--
local ma... | apache-2.0 |
nyczducky/darkstar | scripts/globals/mobskills/Cyclone_Wing.lua | 15 | 1128 | ---------------------------------------------
-- Cyclone Wing
--
-- Description: Deals darkness damage to enemies within a very wide area of effect. Additional effect: Sleep
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Vrtra and Azdaja
---------------------------... | gpl-3.0 |
abcdefg30/OpenRA | mods/d2k/scripts/campaign.lua | 7 | 6045 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/weaponskills/pyrrhic_kleos.lua | 19 | 2150 | -----------------------------------
-- Pyrrhic Kleos
-- Dagger weapon skill
-- Skill level: N/A
-- Description: Delivers a fourfold attack that lowers target's evasion. Duration of effect varies with TP. Terpsichore: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Dancer) quest... | gpl-3.0 |
ld-test/xlsxwriter | test/unit/worksheet/test_write_col_info.lua | 2 | 3349 | ----
-- Tests for the xlsxwriter.lua Worksheet class.
--
-- Copyright 2014, John McNamara, jmcnamara@cpan.org
--
require "Test.More"
plan(6)
----
-- Tests setup.
--
local expected
local got
local caption
local Worksheet = require "xlsxwriter.worksheet"
local Format = require "xlsxwriter.format"
local worksheet
lo... | mit |
nyczducky/darkstar | scripts/globals/spells/voidstorm.lua | 32 | 1182 | --------------------------------------
-- Spell: Voidstorm
-- Changes the weather around target party member to "gloomy."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
... | gpl-3.0 |
GSRMOHAMMAD/fortg | plugins/ID.lua | 1 | 8206 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, result)
local receiver = cb_ext... | gpl-2.0 |
benloz10/FinalFrontier | gamemodes/finalfrontier/gamemode/sv_init.lua | 1 | 4628 | -- Copyright (c) 2014 James King [metapyziks@gmail.com]
--
-- This file is part of Final Frontier.
--
-- Final Frontier is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Lesser General Public License as
-- published by the Free Software Foundation, either version 3 of
-- the Licen... | lgpl-3.0 |
nyczducky/darkstar | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_s_Mandragora.lua | 23 | 1258 | -----------------------------------
-- Area: LaLoff Amphitheater
-- MOB: Ark Angel's Mandragora
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/statu... | gpl-3.0 |
pombredanne/splash | splash/lua_modules/vendor/inspect.lua | 11 | 9184 | local inspect ={
_VERSION = 'inspect.lua 3.0.0',
_URL = 'http://github.com/kikito/inspect.lua',
_DESCRIPTION = 'human-readable representations of tables',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2013 Enrique García Cota
Permission is hereby granted, free of charge, to any person obtaining a
... | bsd-3-clause |
kpkhxlgy0/pbc | binding/lua/protobuf.lua | 13 | 12815 | local c = require "protobuf.c"
local setmetatable = setmetatable
local type = type
local table = table
local assert = assert
local pairs = pairs
local ipairs = ipairs
local string = string
local print = print
local io = io
local tinsert = table.insert
local rawget = rawget
module "protobuf"
local _pattern_cache = {}... | mit |
nyczducky/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e5.lua | 14 | 1358 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Left) - Dem
-- @pos -239 -41 -270 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scri... | gpl-3.0 |
benloz10/FinalFrontier | gamemodes/finalfrontier/gamemode/sgui/shipview.lua | 3 | 5298 | -- Copyright (c) 2014 James King [metapyziks@gmail.com]
--
-- This file is part of Final Frontier.
--
-- Final Frontier is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Lesser General Public License as
-- published by the Free Software Foundation, either version 3 of
-- the Lic... | lgpl-3.0 |
nyczducky/darkstar | scripts/globals/effects/mnd_down.lua | 34 | 1108 | -----------------------------------
--
-- EFFECT_MND_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_MND) - effect:ge... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Everbloom_Hollow/Zone.lua | 17 | 1103 | -----------------------------------
--
-- Zone: Everbloom_Hollow
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Everbloom_Hollow/TextIDs"] = nil;
require("scripts/zones/Everbloom_Hollow/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Newton_Movalpolos/npcs/Mining_Point.lua | 17 | 1092 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Newton_Movalpolos/TextIDs");
-----... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/weaponskills/refulgent_arrow.lua | 15 | 1441 | -----------------------------------
-- Refulgent Arrow
-- Archery weapon skill
-- Skill level: 290
-- Delivers a twofold attack. Damage varies with TP.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light Belt.
-- Element: None
-- Modifiers: STR: 60% http://www.bg-wiki.com/bg/Refulgent_... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Northern_San_dOria/npcs/Pikiki.lua | 17 | 1450 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pikiki
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/globals/se... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Lower_Jeuno/npcs/Bluffnix.lua | 25 | 5561 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Bluffnix
-- Starts and Finishes Quests: Gobbiebags I-X
-- @pos -43.099 5.900 -114.788 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
omidtarh/elbot | bot/bot.lua | 2 | 7112 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Windurst_Waters/npcs/Npopo.lua | 14 | 1467 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Npopo
-- Type: Standard NPC
-- @pos -35.464 -5.999 239.120 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scri... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/keyitems.lua | 17 | 136227 | ---------------------------------------------
--
-- KEYITEMS IDS
--
---------------------------------------------
ZERUHN_REPORT = 1;
PALBOROUGH_MINES_LOGS = 2;
BLUE_ACIDITY_TESTER = 3;
RED_ACIDITY_TESTER = 4;
LETTER_TO_THE_CONSUL... | gpl-3.0 |
weweadsl/thrift | lib/lua/TProtocol.lua | 98 | 5119 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
nyczducky/darkstar | scripts/globals/spells/bluemagic/temporal_shift.lua | 26 | 1386 | -----------------------------------------
-- Spell: Temporal Shift
-- Enemies within range are temporarily prevented from acting
-- Spell cost: 48 MP
-- Monster Type: Luminians
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 5
-- Stat Bonus: HP+10, MP+15
-- Level: 73
-- Casting Time: 0.5 seconds
-- Recast Time... | gpl-3.0 |
jbeich/Aquaria | files/scripts/entities/starmie1.lua | 6 | 1141 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
sevu/wesnoth | data/lua/wml/set_variable.lua | 7 | 5565 |
function wesnoth.wml_actions.set_variable(cfg, variables)
local name = cfg.name or wml.error "trying to set a variable with an empty name"
if variables == nil then variables = wml.variables end
if cfg.value ~= nil then -- check for nil because user may try to set a variable as false
variables[name] = cfg.value
... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/_unused/tungar.lua | 6 | 1530 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/abilities/stutter_step.lua | 14 | 7929 | -----------------------------------
-- Ability: Stutter Step
-- Applies Weakened Daze. Lowers the targets magic resistance. If successful, you will earn two Finishing Moves.
-- Obtained: Dancer Level 40
-- TP Required: 10%
-- Recast Time: 00:05
-- Duration: First Step lasts 1 minute, each following Step extends its cur... | gpl-3.0 |
Arashbrsh/lifeeee | 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 |
hanikk/tele-you | 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 |
AquariaOSE/Aquaria | files/scripts/entities/rockhead.lua | 6 | 2729 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/spells/bluemagic/refueling.lua | 27 | 1232 | -----------------------------------------
-- Spell: Refueling
-- Increases attack speed
-- Spell cost: 29 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 4
-- Stat Bonus: AGI+2
-- Level: 48
-- Casting Time: 1.5 seconds
-- Recast Time: 30 seconds
-- Duration: 5 minutes
--
-- Combos: None
... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/whale_staff.lua | 42 | 1075 | -----------------------------------------
-- ID: 17533
-- Item: Whale Staff
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Crawlers_Nest/npcs/Treasure_Coffer.lua | 13 | 4678 | -----------------------------------
-- Area: Crawler Nest
-- NPC: Treasure Coffer
-- @zone 197
-- @pos -94 0 207
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems")... | gpl-3.0 |
mehrpouya81/giantbot | 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 |
francot514/CardGamePRO-Simulator | data/cards/c1282.lua | 1 | 1280 | --Shipwreck
function c1282.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c1282.condition)
e1:SetCost(c1282.cost)
e1:SetTarget(c1282.target)
e1:SetOperation(c1282.activate)... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/items/plate_of_ikra_gunkan_+1.lua | 12 | 1738 | -----------------------------------------
-- ID: 5220
-- Item: plate_of_ikra_gunkan_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 30
-- Magic 12
-- Dexterity 3
-- Mind -1
-- Accuracy % 18
-- Accuracy Cap 30
-- Ranged ACC % 18
-- Ranged ACC Cap 30
-------------------------------... | gpl-3.0 |
dtrip/awesome | docs/build_rules_index.lua | 4 | 1082 | #! /usr/bin/lua
local args = {...}
local typename = args[2]
local parser = require("docs._parser")
assert(typename)
local files = {
"./objects/"..typename..".c",
"./lib/awful/"..typename..".lua",
"./lib/naughty/"..typename..".lua"
}
local matcher, matcher2 = "(.*)", ".*"
-- The client function comes fro... | gpl-2.0 |
lumail/lumail | user.config.lua | 4 | 8367 | --
-- This is the per-user configuration file for lumail.
--
-- To make it active copy it to either:
--
-- ~/.lumail/lumail.lua
-- ~/.lumail/$(hostname --fqdn).lua
--
-- Changes here will override the defaults which are loaded by the
-- global configuration file (/etc/lumail/lumail.lua).
--
-- It is *highly* recomm... | gpl-2.0 |
rstutsman/RAMCloud | ft/luabit/hex.lua | 26 | 1705 | --[[---------------
Hex v0.4
-------------------
Hex conversion lib for lua.
How to use:
hex.to_hex(n) -- convert a number to a hex string
hex.to_dec(hex) -- convert a hex string(prefix with '0x' or '0X') to number
Part of LuaBit(http://luaforge.net/projects/bit/).
Under the MIT license.
copyright(c... | isc |
dtrip/awesome | lib/menubar/index_theme.lua | 6 | 5672 | ---------------------------------------------------------------------------
--- (Deprecated) class module for parsing an index.theme file
--
-- @author Kazunobu Kuriyama
-- @copyright 2015 Kazunobu Kuriyama
-- @classmod menubar.index_theme
---------------------------------------------------------------------------
-- ... | gpl-2.0 |
liloman/awesome | rc/xrun.lua | 1 | 1114 | -- run a command only if the client does not already exist
local xrun_now = function(name, cmd)
-- Try first the list of clients from awesome (which is available
-- only if awesome has fully started, therefore, this function
-- should be run inside a 0 timer)
local squid = { name, name:sub(1,1):upper() .. ... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Quicksand_Caves/npcs/_5s0.lua | 14 | 1271 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -21 0 -60 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextIDs"... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Bastok_Mines/npcs/Tibelda.lua | 17 | 1377 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Tibelda
-- Only sells when Bastok controlls Valdeaunia Region
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones/Ba... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/dynamis.lua | 13 | 57778 | require("scripts/globals/status");
require("scripts/globals/keyitems");
dynamis = {};
-----------------------------------
-- Dynamis-Bastok
-----------------------------------
-- 1: BST Vanguard Beasttender + Vanguard's Scorpion
-- 2: WHM Vanguard Constable
-- 3: PLD Vanguard Defender
-- 4: DRG Vanguard Drakekee... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Runic_Portal.lua | 28 | 3118 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Runic Portal
-- Aht Urhgan Teleporter to Other Areas
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"... | gpl-3.0 |
sudheesh001/RFID-DBSync | cardpeek-0.8.3/dot_cardpeek_dir/scripts/calypso/c131.lua | 16 | 8380 | --
-- This file is part of Cardpeek, the smart card reader utility.
--
-- Copyright 2009-2014 by Alain Pannetrat <L1L1@gmx.com>
--
-- Cardpeek 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... | gpl-2.0 |
mehrpouya81/giantbot | plugins/tweet.lua | 634 | 7120 | local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
local client = OAuth.new(consumer_key,
consumer_secret,
... | gpl-2.0 |
moltafet35/senatorv2 | plugins/tweet.lua | 634 | 7120 | local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
local client = OAuth.new(consumer_key,
consumer_secret,
... | gpl-2.0 |
hacker44-h44/teleguard-v2 | plugins/tweet.lua | 634 | 7120 | local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
local client = OAuth.new(consumer_key,
consumer_secret,
... | gpl-2.0 |
dtrip/awesome | tests/examples/awful/widget/layoutlist/wibar.lua | 6 | 1831 | --DOC_NO_USAGE --DOC_GEN_IMAGE
local awful = require("awful") --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
screen[1]._resize {width = 480, height = 100} --DOC_HIDE
local wb = awful.wibar { position = "top", } --DOC_HIDE
--DOC_HIDE Create the same number of tags as the default config
awful.tag({ "1", ... | gpl-2.0 |
ld-test/xlsxwriter | test/unit/core/test_core02.lua | 2 | 2244 | ----
-- Tests for the xlsxwriter.lua core class.
--
-- Copyright 2014, John McNamara, jmcnamara@cpan.org
--
require "Test.More"
require "Test.LongString"
plan(1)
----
-- Tests setup.
--
local expected
local got
local caption
local Core = require "xlsxwriter.core"
local core
-- Remove extra whitespace in the formatt... | mit |
nyczducky/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 |
nyczducky/darkstar | scripts/zones/Caedarva_Mire/npcs/Nahshib.lua | 3 | 2603 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Nahshib
-- Type: Assault
-- @pos -274.334 -9.287 -64.255 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Caedarva_Mire/TextIDs");
require("sc... | gpl-3.0 |
jbeich/Aquaria | files/scripts/entities/deepeel.lua | 6 | 4161 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Morangeart.lua | 14 | 1070 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Morangeart
-- Type: ENM Quest Activator
-- @zone 26
-- @pos -74.308 -24.782 -28.475
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] =... | gpl-3.0 |
Sojerbot/new | plugins/pluginns.lua | 285 | 6096 | 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 |
abcdefg30/OpenRA | mods/cnc/maps/nod02a/nod02a.lua | 6 | 2932 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
sevu/wesnoth | data/campaigns/World_Conquest/lua/game_mechanics/supply.lua | 5 | 1477 |
local supply_images =
{
"misc/blank-hex.png~BLIT(items/straw-bale2.png~CROP(24,15,48,57))~BLIT(items/straw-bale1.png~CROP(0,9,72,63))",
"misc/blank-hex.png~BLIT(items/straw-bale1.png~CROP(8,15,64,57))~BLIT(items/leather-pack.png~CROP(0,10,62,62),10,0)~BLIT(items/leather-pack.png~CROP(0,0,69,72),3,0)",
"misc/blank-h... | gpl-2.0 |
naxiwer/Atlas | examples/tutorial-warnings.lua | 40 | 2248 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Misareaux_Coast/npcs/HomePoint#1.lua | 9 | 1272 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: HomePoint#1
-- @pos -65 -17.5 563 25
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Misareaux_Coast/TextIDs");
require("scripts/globals/... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Windurst_Waters/npcs/Hariga-Origa.lua | 13 | 3723 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Hariga-Origa
-- Starts & Finishes Quest: Glyph Hanger
-- Involved in Mission 2-1
-- @pos -62 -6 105 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Bastok_Mines/npcs/Griselda.lua | 14 | 1984 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Griselda
-- Standard Merchant NPC
-- @pos -25.749 -0.044 52.360 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/glo... | gpl-3.0 |
vobject/gaming-experiments | demos/raycasting_1/world.lua | 1 | 2020 | world {
level_size = { x=24, y=24 },
level_layout = {
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
1, 0... | gpl-2.0 |
guangbin79/Lua_5.1.5-iOS | luasocket-3.0-rc1/etc/tftp.lua | 45 | 4798 | -----------------------------------------------------------------------------
-- TFTP support for the Lua language
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- ... | mit |
nyczducky/darkstar | scripts/zones/Southern_San_dOria/npcs/Meuneille.lua | 27 | 1992 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Meuneille
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------... | gpl-3.0 |
devadvisor/Advisor | plugins/inpm.lua | 85 | 9513 | local function pre_process(msg)
local to = msg.to.type
local service = msg.service
if to == 'user' and msg.fwd_from then
if not is_support(msg.from.id) and not is_admin1(msg) then
return
end
local user = 'user#id'..msg.from.id
local from_id = msg.fwd_from.peer_id
if msg.fwd_from.first_name then
from_f... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/GentleTiger.lua | 14 | 1782 | ----------------------------------
-- Area: Bastok Markets [S]
-- NPC: GentleTiger
-- Type: Quest
-- @pos -203 -10 1
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]/TextIDs");
----... | gpl-3.0 |
introlab/rtabmap_ros | launch/jfr2018/pr2.lua | 1 | 1599 | -- Copyright 2016 The Cartographer Authors
--
-- 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 or... | bsd-3-clause |
nyczducky/darkstar | scripts/zones/Qulun_Dome/Zone.lua | 30 | 1586 | -----------------------------------
--
-- Zone: Qulun_Dome (148)
--
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Qulun_Dome/TextIDs");
-----------------------------------
--... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Selbina/npcs/Zaldon.lua | 16 | 73227 | -----------------------------------
-- Area: Selbina
-- NPC: Zaldon
-- Involved in Quests: Under the sea, A Boy's Dream
-- Starts and Finishes: Inside the Belly
-- @pos -13 -7 -5 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/spells/bluemagic/infrasonics.lua | 26 | 1391 | -----------------------------------------
-- Spell: Infrasonics
-- Lowers the evasion of enemies within a fan-shaped area originating from the caster
-- Spell cost: 42 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 4
-- Stat Bonus: INT+1
-- Level: 65
-- Casting Time: 5 seconds
-- Recast ... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/RuAun_Gardens/npcs/_3m0.lua | 14 | 1104 | -----------------------------------
-- Area: Ru'Avitau Gate
-- NPC: _3m0
-- @pos 0.1 -45 -113 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
-----------------------------------
--... | gpl-3.0 |
wenhulove333/ScutServer | Sample/Doudizhu/Client/lua/lib/Tools.lua | 2 | 1365 | ------------------------------------------------------------------
-- Tools.lua
-- Author :
-- Version : 1.15
-- Date :
-- Description: ,
------------------------------------------------------------------
module("Tools", package.seeall)
--两矩形是否碰到
function is_meet(xx,yy,ww,hh,x,y,w,h)
local... | mit |
lgeek/koreader | frontend/apps/reader/modules/readerrotation.lua | 8 | 1031 | local InputContainer = require("ui/widget/container/inputcontainer")
local Device = require("device")
local Event = require("ui/event")
local _ = require("gettext")
local ReaderRotation = InputContainer:new{
current_rotation = 0
}
function ReaderRotation:init()
if Device:hasKeyboard() then
self.key_ev... | agpl-3.0 |
pakozm/april-pi-cnn-line-follower | learn.lua | 1 | 2190 | package.path = "%s?.lua;%s"%{ arg[0]:get_path(), package.path }
local utils = require "utils"
local brickpi = require "brickpi"
--
local images_dir = "%simages"%{ arg[0]:get_path() }
--
local filename = arg[1] or "nets/default.net"
local out_filename = arg[2] or "nets/last.net"
-- QLearning parameter... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Rolanberry_Fields/mobs/Ochu.lua | 14 | 1069 | -----------------------------------
-- Area: Rolanberry Fields
-- MOB: Ochu
-- Note: PH for Drooling Daisy
-----------------------------------
require("scripts/globals/fieldsofvalor");
require("scripts/zones/Rolanberry_Fields/MobIDs");
-----------------------------------
-- onMobDeath
-------------------------------... | gpl-3.0 |
sevu/wesnoth | data/campaigns/Son_Of_The_Black_Eye/ai/ca_transport_S6.lua | 6 | 6669 | local LS = wesnoth.require "location_set"
local M = wesnoth.map
local T = wml.tag
local ca_transport = {}
-- Move transport ships according to these rules:
-- 1. If transport can get to its designated landing site this move, find
-- close hex with the most unoccupied adjacent non-water hexes and move there
-- 2. I... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.