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 |
|---|---|---|---|---|---|
Yonaba/mario-kart | src/cup1r1w.lua | 1 | 1142 | wall = Image.load("Menu/back2.png")
--Player Id Recovery
file = io.open("data/cup1_1p.spl" , "r")
pp = file:read()
file:close()
----------------------------------------------------
----------------------------------------------------
--opponent Id recovery
file = io.open("data/cup1_1e.spl" , "r")
op = file:read()
file... | mit |
Vivitarut/darkstar | scripts/globals/items/beef_stewpot.lua | 36 | 1674 | -----------------------------------------
-- ID: 5547
-- Item: Beef Stewpot
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 50
-- MP +10
-- HP Recoverd while healing 5
-- MP Recovered while healing 1
-- Attack +15% Cap 40
-- Evasion +5
--------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Meriphataud_Mountains/npcs/Mushosho.lua | 2 | 1808 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Mushosho
-- Type: Outpost Vendor
-- @pos -290 16 415 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scr... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Abyssea-Vunkerl/Zone.lua | 1 | 1068 | -----------------------------------
--
-- Zone: Abyssea-Vunkerl
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Abyssea-Vunkerl/TextIDs"] = nil;
require("scripts/zones/Abyssea-Vunkerl/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/West_Ronfaure/TextIDs.lua | 3 | 1290 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6392; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6395; -- Obtained: <item>.
GIL_OBTAINED = 6396; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6398; -- Obt... | gpl-3.0 |
czanyou/node.lua | modules/mqtt/tests/examples/test_message.lua | 1 | 1546 | local mqtt = require('mqtt')
local assert = require('assert')
local TAG = "mqtt"
-- 主要测试了
-- 这个测试需要用到 MQTT 服务器
local url = 'mqtt://127.0.0.1:1883'
url = 'mqtt://iot.wotcloud.cn:1883'
local options = { clientId = 'wotc_34dac1400002_test' }
local client = mqtt.connect(url, options)
client.options.debugEnabled = tru... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Spire_of_Vahzl/npcs/Radiant_Aureole.lua | 17 | 1158 | -----------------------------------
-- Area: Spire of Vahzl
-- NPC: Radiant Aureole
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Spire_of_Vahzl/TextIDs");
-----------------------------------
-- o... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Bastok_Mines/npcs/Titus.lua | 56 | 1742 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Titus
-- Alchemy Synthesis Image Support
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
require... | gpl-3.0 |
farid79n/AdvanSource | plugins/setwlc.lua | 20 | 2761 | do
local function run(msg, matches, callback, extra)
local data = load_data(_config.moderation.data)
local rules = data[tostring(msg.to.id)]['rules']
local about = data[tostring(msg.to.id)]['description']
local hash = 'group:'..msg.to.id
local group_welcome = redis:hget(hash,'welcome')
if matches[1] == 'delwlc' and not... | gpl-2.0 |
jdhk94/DarkRP | gamemode/modules/fadmin/fadmin/playeractions/strip_weapons/sv_init.lua | 10 | 1063 | local function StripWeapons(ply, cmd, args)
local targets = FAdmin.FindPlayer(args[1])
if not targets or #targets == 1 and not IsValid(targets[1]) then
FAdmin.Messages.SendMessage(ply, 1, "Player not found")
return false
end
for _, target in pairs(targets) do
if not FAdmin.Acces... | mit |
Vivitarut/darkstar | scripts/zones/Selbina/npcs/Aleria.lua | 34 | 1076 | -----------------------------------
-- Area: Selbina
-- NPC: Aleria
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------------------
-- onTrade Ac... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Waughroon_Shrine/bcnms/prehistoric_pigeons.lua | 4 | 1786 | -----------------------------------
-- Area: Waughroon_Shrine
-- Name: Prehistoric Pigeons
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Dynamis-Qufim/mobs/Antaeus.lua | 17 | 2116 | -----------------------------------
-- Area: Dynamis Qufim
-- NPC: Antaeus
-----------------------------------
package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Qufim/TextIDs");
require("script... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Bastok_Mines/npcs/Rodellieux.lua | 16 | 1406 | -----------------------------------
-- Area: Bastok_Mines
-- NPC: Rodellieux
-- Only sells when Bastok controlls Fauregandi Region
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Cloister_of_Flames/npcs/Fire_Protocrystal.lua | 6 | 1438 | -----------------------------------
-- Area: Cloister of Flames
-- NPC: Fire Protocrystal
-- Involved in Quests: Trial by Fire, Trial Size Trial by Fire
-- @pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Apollyon/mobs/Dee_Wapa_the_Desolator.lua | 17 | 2385 | -----------------------------------
-- Area: Apollyon CS
-- NPC: Dee_Wapa_the_Desolator
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-------------... | gpl-3.0 |
zynjec/darkstar | scripts/globals/mobskills/crystal_weapon_stone.lua | 11 | 1046 | ---------------------------------------------
-- Crystal Weapon
--
-- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown
-- Notes: Can be Fire, Earth, Wind, or Water element. Funct... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/mobskills/Floodlight.lua | 18 | 1194 | ---------------------------------------------------
-- Floodlight
--
-- Description: ~300 magic damage, Flash, Blind and Silence, ignores Utsusemi
-- Type: Magical
--
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Kazham/npcs/Swift.lua | 13 | 1029 | -----------------------------------
-- Area: Kazham
-- NPC: Swift
-- Type: Standard NPC
-- @zone: 250
-- @pos 2.017 -5 -1.880
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
smithmid/CQUI_Community-Edition | Assets/UI/Popups/boostunlockedpopup.lua | 2 | 14887 | -- ===========================================================================
--
-- Popup when a Tech/Civic Boost unlock occurs.
--
-- ===========================================================================
include("SupportFunctions");
-- ==========================================================================... | mit |
Vadavim/jsr-darkstar | scripts/zones/Bibiki_Bay/npcs/qm1.lua | 14 | 1389 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: ??? (qm1)
-- Notes: Used to spawn Shen
-- @pos -115.108 0.300 -724.664 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bibiki_Bay/TextIDs");
---... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Riverne-Site_B01/mobs/Nimbus_Hippogryph.lua | 12 | 1453 | -----------------------------------
-- Area: Riverne - Site B01
-- MOB: Nimbus Hippogryph
-- Note: Place holder Imdugud
-----------------------------------
require("scripts/zones/Riverne-Site_B01/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,... | gpl-3.0 |
JarnoVgr/InfectedWars | entities/weapons/iw_hegrenade/shared.lua | 1 | 5165 | --[[-----------------------------------------------------------------------------
* Infected Wars, an open source Garry's Mod game-mode.
*
* Infected Wars is the work of multiple authors,
* a full list can be found in CONTRIBUTORS.md.
* For more information, visit https://github.com/JarnoVgr/InfectedWars
*
* Inf... | mit |
Colettechan/darkstar | scripts/zones/Arrapago_Remnants/IDs.lua | 12 | 1635 | Arrapago = {
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 |
Colettechan/darkstar | scripts/zones/Horlais_Peak/Zone.lua | 30 | 1723 | -----------------------------------
--
-- Zone: Horlais_Peak (139)
--
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Horlais_Peak/TextIDs");
--------------------------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Dynamis-Bastok/mobs/Ko_Dho_Cannonball.lua | 17 | 1122 | -----------------------------------
-- Area: Dynamis Bastok
-- NPC: Ko'Dho Cannonball
-- Boss Trigger for Gu'Dha Effigy
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-... | gpl-3.0 |
RJRetro/mame | 3rdparty/bgfx/scripts/example-common.lua | 5 | 2031 | --
-- Copyright 2010-2016 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
--
project ("example-common")
uuid ("21cc0e26-bf62-11e2-a01e-0291bd4c8125")
kind "StaticLib"
includedirs {
path.join(BX_DIR, "include"),
path.join(BGFX_DIR, "include"),
path.jo... | gpl-2.0 |
zevv/lgi | samples/mxwidgets.lua | 6 | 3172 | #! /usr/bin/env lua
--
-- Basic MX sample, adapted from Vala code from
-- http://live.gnome.org/Vala/MxSample
--
local lgi = require('lgi')
local GObject = lgi.GObject
local Mx = lgi.require('Mx', '1.0')
local Clutter = lgi.require('Clutter', '1.0')
local app = Mx.Application { application_name = "MX Widget Factory"... | mit |
Colettechan/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fr.lua | 13 | 2636 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: South Plate
-- @pos 180 -34 -31 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Western_Adoulin/npcs/Dewalt.lua | 14 | 2104 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Dewalt
-- Type: Standard NPC and Quest NPC
-- Involved with Quests: 'Flavors of our Lives'
-- 'Dont Ever Leaf Me'
-- @zone 256
-- @pos -23 0 28 256
-----------------------------------
require("scripts/globals/quests");
--... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/weaponskills/blade_retsu.lua | 19 | 2071 | -----------------------------------
-- Blade Retsu
-- Katana weapon skill
-- Skill Level: 30
-- Delivers a two-hit attack. Paralyzes enemy. Duration of paralysis varies with TP.
-- Proc rate of Paralyze seems to be based on your level in comparison to the targets level. The higher level you are compared to your target,... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Port_Windurst/npcs/Dehn_Harzhapan.lua | 14 | 1050 | -----------------------------------
-- Area: Port Windurst
-- NPC: Dehn Harzhapan
-- Type: Standard NPC
-- @zone 240
-- @pos -7.974 -7 152.633
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
--------------... | gpl-3.0 |
Ali-2h/iranibot | plugins/banhammer.lua | 31 | 11983 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
Vadavim/jsr-darkstar | scripts/globals/items/m&p_cracker.lua | 18 | 1358 | -----------------------------------------
-- ID: 5640
-- Item: M&P Cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Vitality 5
-- Mind -5
-- Defense % 25
-- Attack Cap 154
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/m&p_cracker.lua | 18 | 1358 | -----------------------------------------
-- ID: 5640
-- Item: M&P Cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Vitality 5
-- Mind -5
-- Defense % 25
-- Attack Cap 154
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Port_San_dOria/npcs/Pomilla.lua | 13 | 1718 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Pomilla
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -38 -4 -55 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/ques... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/loaf_of_pain_de_neige.lua | 18 | 1182 | -----------------------------------------
-- ID: 4292
-- Item: loaf_of_pain_de_neige
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 18
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
Vavius/moai-ide | editor/lua/editor-framework/introspection.lua | 3 | 1170 | --------------------------------------------------------------------------------
--
--
--
--------------------------------------------------------------------------------
CLASS = {}
setmetatable(CLASS, CLASS)
---
-- Create a new type definition
-- @params table
-- available parameters:
-- inherit = {... | mit |
mieczkowski/AtBall | bin/scripts/wiatraki.lua | 2 | 2350 | -- WIATRAKI
wentylatory = {}
smigla = {}
function DodajSmiglo(name)
local s = {}
local id = string.sub(name,1,1) * 1
s.name = name
s.rotation = {x=0, y=600.0, z=0}
s.rotationManual = false;
table.insert(smigla,id,s)
end
function UruchomSmigla()
for id,smiglo in ipairs(smigla) do
if smiglo.rotation... | mit |
Colettechan/darkstar | scripts/globals/items/jack-o-pie.lua | 18 | 1257 | -----------------------------------------
-- ID: 5644
-- Item: jack-o-pie
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP 45
-- CHR -1
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Valkurm_Dunes/npcs/Prunilla_RK.lua | 14 | 3332 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Prunilla, R.K.
-- Type: Border Conquest Guards
-- @pos 908.245 -1.171 -411.504 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/TouchesTest/Ball.lua | 12 | 2815 | require "VisibleRect"
require "TouchesTest/Paddle"
Ball = class("Ball", function(texture)
return cc.Sprite:createWithTexture(texture)
end)
Ball.__index = Ball
Ball.m_velocity = cc.p(0,0)
local M_PI = 3.1415926
function Ball:radius()
local size = self:getTexture():getContentSize()
return size.width/2
e... | mit |
tripleee/emacs-snapshot | test/etags/lua-src/allegro.lua | 53 | 6727 | -- ase -- allegro-sprite-editor: the ultimate sprites factory
-- Copyright (C) 2001-2004 by David A. Capello
--
-- Read "LEGAL.txt" for more information.
-- internal routine
local function get_layer_by_name (sprite, layer, name)
if layer.readable == false then
return nil;
end
if layer.name and strcmp (layer... | gpl-3.0 |
jugglerchris/textadept-vi | regex/pegex.lua | 1 | 12560 | -- Copyright (C) 2014 Chris Emerson <github@mail.nosreme.org>
-- See LICENSE for details (MIT license).
-- Support for regular expressions (parsed and implemented with LPeg).
local M = {}
local lpeg = require('lpeg')
local P = lpeg.P
local R = lpeg.R
local S = lpeg.S
local C = lpeg.C
local V = lpeg.V
local B = lpeg.B... | mit |
Vadavim/jsr-darkstar | scripts/zones/Valley_of_Sorrows/Zone.lua | 4 | 1794 | -----------------------------------
--
-- Zone: Valley_of_Sorrows (128)
--
-----------------------------------
package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Valley_of_Sorr... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Upper_Jeuno/npcs/Baudin.lua | 26 | 4773 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Baudin
-- Starts and Finishes Quest: Crest of Davoi, Save My Sister
-- Involved in Quests: Save the Clock Tower
-- @zone 244
-- @pos -75 0 80
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/bottle_of_hallowed_water.lua | 21 | 1848 | -----------------------------------------
-- ID: 5306
-- Item: Bottle of Hallowed Water
-- Item Effect: Removes curse. Better chance to remove doom.
-----------------------------------------
require("scripts/globals/settings");
-----------------------------------------
-- OnItemCheck
---------------------------------... | gpl-3.0 |
zynjec/darkstar | scripts/mixins/rage.lua | 12 | 1894 | --[[
Mobs that enter rage mode after a specified amount of time in combat. Controlled by following vars that can be set onMobSpawn:
localVar default description
-------- ------- -----------
rageTimer 1200 seconds into combat at which point the mob will rage.
https://ffxiclopedia.fandom.com/wiki... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Field_Manual.lua | 29 | 1053 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
----------------------... | gpl-3.0 |
darklost/quick-ng | cocos/scripting/lua-bindings/script/init.lua | 17 | 3138 | --[[
Copyright (c) 2011-2015 chukong-incc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | mit |
Vadavim/jsr-darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/qm10.lua | 14 | 1037 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm10 (???)
-- Notes: Opens south door @ J-7
-- @pos 113.474 -26.000 91.610 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Batallia_Downs/mobs/Weeping_Willow.lua | 21 | 1050 | -----------------------------------
-- Area: Batallia Downs
-- MOB: Weeping Willow
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobFight Action
-----------------... | gpl-3.0 |
darklost/quick-ng | cocos/scripting/lua-bindings/auto/api/Scene.lua | 7 | 1822 |
--------------------------------
-- @module Scene
-- @extend Node
-- @parent_module cc
--------------------------------
-- Render the scene.<br>
-- param renderer The renderer use to render the scene.<br>
-- js NA
-- @function [parent=#Scene] render
-- @param self
-- @param #cc.Renderer renderer
-- @return Scene#Sc... | mit |
zynjec/darkstar | scripts/globals/abilities/pets/healing_breath.lua | 12 | 1507 | ---------------------------------------------
-- Healing Breath I
---------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/msg")
---------------------------------------------
function onAbility... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/angler_stewpot.lua | 18 | 1762 | -----------------------------------------
-- ID: 5611
-- Item: Angler's Stewpot
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10%
-- MP +10
-- HP Recoverd while healing 5
-- MP Recovered while healing 1
-- Accuracy +15% Cap 15
-- Ranged Accuracy 15% Cap 15
-----... | gpl-3.0 |
youtube/cobalt_sandbox | third_party/skia/tools/lua/count_dashes.lua | 15 | 1689 | --
-- Copyright 2016 Google Inc.
--
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
--
-- Dashed path scraping script.
-- This script is designed to count the total number of dashes in a dashed path
-- by computing the fill path and then counting how many individ... | bsd-3-clause |
sjznxd/luci-20121016 | applications/luci-splash/luasrc/model/cbi/splash/splash.lua | 13 | 2984 | --[[
LuCI - Lua Configuration Interface
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
]]--
require("luci.model.uci")
luci.i18n.loadc("splash")
m = Ma... | apache-2.0 |
createuniverses/praxis | prods/cauldron/cwsliders.lua | 2 | 1045 |
do
redslider = Slider.new(vec3d(0,0,0), 0, 255)
greenslider = Slider.new(vec3d(0,0,0), 0, 255)
blueslider = Slider.new(vec3d(0,0,0), 0, 255)
end
do
redslider.depth = 100
redslider.width = 10
greenslider.depth = 100
greenslider.width = 10
blueslider.depth = 100
blueslider.width = 10
redslider.lspace = transform.new()... | mit |
Hozu/darkstar | scripts/globals/abilities/spirit_surge.lua | 12 | 1639 | -----------------------------------
-- Ability: Spirit Surge
-- Adds your wyvern's strength to your own.
-- Obtained: Dragoon Level 1
-- Recast Time: 1:00:00
-- Duration: 1:00
-----------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------
functi... | gpl-3.0 |
LuaDist2/sailor | src/sailor/blank-app/start-server.lua | 14 | 1952 | local xavante = require "xavante"
local filehandler = require "xavante.filehandler"
local cgiluahandler = require "xavante.cgiluahandler"
local redirect = require "xavante.redirecthandler"
local conf = (require "conf.conf").sailor
-- Define here where Xavante HTTP documents scripts are located
local webDir = "."
loc... | mit |
cuit-zhaxin/skynet | test/testredis.lua | 85 | 1039 | local skynet = require "skynet"
local redis = require "redis"
local conf = {
host = "127.0.0.1" ,
port = 6379 ,
db = 0
}
local function watching()
local w = redis.watch(conf)
w:subscribe "foo"
w:psubscribe "hello.*"
while true do
print("Watch", w:message())
end
end
skynet.start(function()
skynet.fork(watc... | mit |
Hozu/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 |
sjznxd/luci-20121016 | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua | 9 | 1081 | --[[
Luci statistics - cpu plugin diagram definition
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
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... | apache-2.0 |
Hozu/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5e5.lua | 2 | 1409 | -----------------------------------
-- Area: Outer Horutoto Ruins
-- NPC: Cracked Wall
-- Involved In Mission: The Jester Who'd Be King
-- !pos -424.255 -1.909 619.995
-----------------------------------
local ID = require("scripts/zones/Outer_Horutoto_Ruins/IDs")
require("scripts/globals/keyitems")
require("scripts/g... | gpl-3.0 |
me02mo/Memo.Al_iraqi | plugins/msg_checks.lua | 149 | 11202 | --Begin msg_checks.lua
--Begin pre_process function
local function pre_process(msg)
-- Begin 'RondoMsgChecks' text checks by @rondoozle
if is_chat_msg(msg) or is_super_group(msg) then
if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user
local data = load_data(_config.moderatio... | gpl-3.0 |
anupritaisno1/Clannadbot | plugins/msg_checks.lua | 149 | 11202 | --Begin msg_checks.lua
--Begin pre_process function
local function pre_process(msg)
-- Begin 'RondoMsgChecks' text checks by @rondoozle
if is_chat_msg(msg) or is_super_group(msg) then
if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user
local data = load_data(_config.moderatio... | agpl-3.0 |
anupritaisno1/Clannadbot | plugins/plugins1/msg_checks.lua | 149 | 11202 | --Begin msg_checks.lua
--Begin pre_process function
local function pre_process(msg)
-- Begin 'RondoMsgChecks' text checks by @rondoozle
if is_chat_msg(msg) or is_super_group(msg) then
if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user
local data = load_data(_config.moderatio... | agpl-3.0 |
anupritaisno1/Clannadbot | plugins1/plugins1/plugins/msg_checks.lua | 149 | 11202 | --Begin msg_checks.lua
--Begin pre_process function
local function pre_process(msg)
-- Begin 'RondoMsgChecks' text checks by @rondoozle
if is_chat_msg(msg) or is_super_group(msg) then
if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user
local data = load_data(_config.moderatio... | agpl-3.0 |
ckaotik/Twinkle | items/bags.lua | 1 | 1421 | local addonName, addon, _ = ...
-- GLOBALS: _G
-- "interesting" constants: NUM_BAG_SLOTS:<slots>
local LibItemLocations = LibStub('LibItemLocations', true)
local views = addon:GetModule('views')
local items = views:GetModule('items')
local bags = items:NewModule('Bags', 'AceEvent-3.0')
bags.icon = 'Inte... | mit |
Hozu/darkstar | scripts/globals/mobskills/dragon_breath.lua | 11 | 1434 | ---------------------------------------------
-- Dragon Breath
--
-- Description: Deals Fire damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Fafnir, Nidhogg, Cynoprosopi, and Wyrm. Because of the high damage output... | gpl-3.0 |
Hozu/darkstar | scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua | 2 | 1409 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Heruze-Moruze
-- Involved in Mission: 2-3 Windurst
-- !pos -56 -3 36 231
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
---... | gpl-3.0 |
literacyapp-org/nyas-space-quest | cocos2d/plugin/luabindings/auto/api/ProtocolUser.lua | 146 | 1133 |
--------------------------------
-- @module ProtocolUser
-- @extend PluginProtocol
-- @parent_module plugin
--------------------------------
-- brief config the application info<br>
-- param devInfo This parameter is the info of aplication,<br>
-- different plugin have different format<br>
-- warning Must invoke this... | apache-2.0 |
createuniverses/praxis | prods/flashback2013/cognitive.lua | 2 | 7969 | -- cognitive.lua
workspace = {}
function clearWorkspace()
workspace.items = {}
do
for i=1,300,1 do
workspace.items[i] = { red = 100, green = 100, blue = 150 }
end
end
workspace.cursor = 1
end
clearWorkspace()
function workspace:setColorAtCursor(r,g,b)
self.items[self.cursor] = { red = r, gr... | mit |
RoosterDragon/OpenRA | mods/ra/maps/soviet-11b/soviet11b.lua | 7 | 1419 | --[[
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 |
SimonSchick/sa2 | entities/effects/life_support_leak_fire.lua | 1 | 1898 | local soundlist = {};
local sprites = {};
function EFFECT:Init(effectdata)
local pos = effectdata:GetOrigin();
local ent = effectdata:GetEntity();
self:SetPos(pos);
self:SetAngles(effectdata:GetNormal():Angle());
self:SetParent(ent);
self.AirRes = self:GetMagnitude();
self.Emitter = ParticleEmitter(pos,false);
... | gpl-3.0 |
SPARKTEA/spark.team | bot/seedbot.lua | 1 | 11278 | 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 = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
Hozu/darkstar | scripts/globals/items/tavnazian_goby.lua | 11 | 1053 | -----------------------------------------
-- ID: 5130
-- Item: Tavnazian Goby
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -4
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
---------------------------------... | gpl-3.0 |
Hozu/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 |
PancakeFriday/love2d-editor | libs/codetoutf8.lua | 1 | 1381 | function stringToUTF8( text )
temp = ""
for k in string.gmatch(text,'%S+') do
temp = temp .. CodeToUTF8(k)
end
return temp
end
function CodeToUTF8 (Unicode)
if (Unicode <= 0x7F) then return string.char(Unicode); end;
if (Unicode <= 0x7FF) then
local Byte0 = 0xC0 + math.floor(Unicode / 0x40);... | gpl-2.0 |
Hozu/darkstar | scripts/globals/items/fire_sword.lua | 12 | 1070 | -----------------------------------------
-- ID: 16543
-- Item: Fire Sword
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(player... | gpl-3.0 |
Hozu/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 |
ForgeUI/ForgeUI | ForgeUI_InfoBar/ForgeUI_InfoBar.lua | 1 | 5804 | ----------------------------------------------------------------------------------------------
-- Client Lua Script for ForgeUI addon
--
-- name: ForgeUI_InfoBar.lua
-- author: Winty Badass@Jabbit
-- about: Info bar addon for ForgeUI
----------------------------------------------------------------------------------... | mit |
Hozu/darkstar | scripts/globals/items/serving_of_batagreen_sautee.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 |
axkibe/lsyncd | tests/filter-rsync.lua | 1 | 2728 | require( 'posix' )
dofile( 'tests/testlib.lua' )
cwriteln( '****************************************************************' )
cwriteln( ' Testing filters (rsync)' )
cwriteln( '****************************************************************' )
local tdir, srcdir, trgdir = mktemps( )
local logfile = tdir .. "log"
lo... | gpl-2.0 |
noresources/premake-core | modules/vstudio/vs2022.lua | 3 | 1601 | --
-- vs2022.lua
-- Extend the existing exporters with support for Visual Studio 2022.
-- Copyright (c) Jason Perkins and the Premake project
--
local p = premake
local vstudio = p.vstudio
---
-- Define the Visual Studio 2019 export action.
---
newaction {
-- Metadata for the command line and help system
trigger ... | bsd-3-clause |
ScottPhillips/Corona-SDK-Lua-Image-Size | imagesize/format/mng.lua | 9 | 1079 | local Util = require "imagesize.util"
local MIME_TYPE = "video/x-mng"
-- See <URL:http://www.libpng.org/pub/mng/spec/> for the specification.
-- Basically a copy of the PNG one.
local function size (stream, options)
-- Offset to first Chunk Type code = 8-byte ident + 4-byte chunk length + 1
local offset = 12
... | artistic-2.0 |
chloxen95/RspamdConfiguration | target/test-classes/rule/regexp_headers.lua | 2 | 38400 | -- Actually these regular expressions were obtained from SpamAssassin project, so they are licensed by apache license:
--
-- 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 copyr... | apache-2.0 |
Hozu/darkstar | scripts/globals/abilities/feral_howl.lua | 12 | 3371 | ---------------------------------------------------
-- Ability: Feral Howl
-- Terrorizes the target.
-- Obtained: Beastmaster Level 75
-- Recast Time: 0:05:00
-- Duration: Apprx. 0:00:01 - 0:00:10
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
-... | gpl-3.0 |
sjznxd/luci-20121016 | protocols/relay/luasrc/model/network/proto_relay.lua | 77 | 3432 | --[[
LuCI - Network model - relay protocol extension
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
... | apache-2.0 |
ajgeiss0702/GMapRotate | gmaprotate/lua/sv_gmr_config.lua | 1 | 2281 | --[[
Auto Map rotator
Made by ajgeiss0702 for AstroGmod GuessWho
AMR_ before the variables stand for AutoMapRotate (or rotator)
This is to makesure another addon will not be setting the variables.
If another addon is setting these, make an issue on the github page here: https://github.com/ajgeiss0702/GMapRotate/i... | mit |
Hozu/darkstar | scripts/globals/spells/bluemagic/saline_coat.lua | 12 | 1225 | -----------------------------------------
-- Spell: Saline Coat
-- Enhances magic defense
-- Spell cost: 66 MP
-- Monster Type: Luminians
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+2, AGI+2, MP+10
-- Level: 72
-- Casting Time: 3 seconds
-- Recast Time: 60 seconds
-- Duration: 60 seconds
-... | gpl-3.0 |
Hozu/darkstar | scripts/globals/items/bowl_of_miso_ramen.lua | 11 | 1548 | -----------------------------------------
-- ID: 6460
-- Item: bowl_of_miso_ramen
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +100
-- STR +5
-- VIT +5
-- DEF +10% (cap 170)
-- Magic Evasion +10% (cap 50)
-- Magic Def. Bonus +5
-- Resist Slow +10
-------------------------------------... | gpl-3.0 |
Hozu/darkstar | scripts/zones/Batallia_Downs_[S]/npcs/Cavernous_Maw.lua | 3 | 1730 | -----------------------------------
-- Area: Batallia Downs [S]
-- NPC: Cavernous Maw
-- !pos -48 0 435 84
-- Teleports Players to Batallia Downs
-----------------------------------
require("scripts/globals/teleports");
require("scripts/globals/campaign");
require("scripts/globals/titles");
---------------------------... | gpl-3.0 |
sjznxd/luci-20121016 | modules/niu/luasrc/controller/niu/network.lua | 49 | 1175 | --[[
LuCI - Lua Development Framework
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$
]]--
modul... | apache-2.0 |
Hozu/darkstar | scripts/globals/items/bowl_of_zoni_broth.lua | 11 | 1832 | -----------------------------------------
-- ID: 5618
-- Item: bowl_of_zoni_broth
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 10
-- MP 10
-- Strength 1
-- Dexterity 1
-- Vitality 1
-- Agility 1
-- Accuracy +1
-- Ranged Accuracy +1
-- Attack +1
-- Ranged Attack +1
-- Evasion +1
-- HP ... | gpl-3.0 |
anupritaisno1/Clannadbot | .luarocks/share/lua/5.2/luarocks/refresh_cache.lua | 20 | 1108 |
--- Module implementing the luarocks-admin "refresh_cache" command.
--module("luarocks.refresh_cache", package.seeall)
local refresh_cache = {}
package.loaded["luarocks.refresh_cache"] = refresh_cache
local util = require("luarocks.util")
local cfg = require("luarocks.cfg")
local cache = require("luarocks.cache")
re... | agpl-3.0 |
anupritaisno1/Clannadbot | plugins/plugins/supergroup.lua | 33 | 75432 | --Begin supergrpup.lua
--Check members #Add supergroup
local function check_member_super(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
if success == 0 then
send_large_msg(receiver, "Promote me to admin first!")
end
for k,v in pairs(result... | agpl-3.0 |
anupritaisno1/Clannadbot | plugins1/plugins/supergroup.lua | 33 | 75432 | --Begin supergrpup.lua
--Check members #Add supergroup
local function check_member_super(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
if success == 0 then
send_large_msg(receiver, "Promote me to admin first!")
end
for k,v in pairs(result... | agpl-3.0 |
Hozu/darkstar | scripts/globals/spells/bluemagic/bludgeon.lua | 6 | 1490 | -----------------------------------------
-- Spell: Bludgeon
-- Delivers a threefold attack. Accuracy varies with TP
-- Spell cost: 16 MP
-- Monster Type: Arcana
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: STR+1
-- Level: 18
-- Casting Time: 0.5 seconds
-- Recast Time: 11.75 seconds
-- Skillc... | gpl-3.0 |
OpenQCam/qcam | trunk/builders/cmake/crtmpserver/streamer.lua | 1 | 7357 | -- Start of the configuration. This is the only node in the config file.
-- The rest of them are sub-nodes
configuration=
{
-- if true, the server will run as a daemon.
-- NOTE: all console appenders will be ignored if this is a daemon
daemon=false,
-- the OS's path separator. Used in composing paths
pathSeparato... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.