repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
davidedmonds/darkstar | scripts/globals/items/slice_of_buffalo_meat.lua | 18 | 1424 | -----------------------------------------
-- ID: 5152
-- Item: slice_of_buffalo_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 4
-- Agility -5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Ordelles_Caves/npcs/Grounds_Tome.lua | 34 | 1140 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade... | gpl-3.0 |
lhog/Zero-K | units/striderarty.lua | 1 | 4133 | return { striderarty = {
unitname = [[striderarty]],
name = [[Merlin]],
description = [[Heavy Saturation Artillery Strider]],
acceleration = 0.328,
brakeRate = 1.165,
buildCostMetal = 3500,
builder = false,
buildPic... | gpl-2.0 |
NovusTheory/RBXGamework-NotRoleplaying | Core/Main.mod.lua | 1 | 2054 | local this = {};
local extract;
local pack = function(...) return {n=select('#',...),...} end;
do
-- CreateNew
local crn = newproxy(true);
local cache = {};
local mt = getmetatable(crn);
mt.__index = function(t,k)
return cache[k];
end;
mt.__call = function(t,ty)
return cache[ty]
end;
mt.__met... | gpl-3.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Tasks/ActTeacher/ActTeacher.lua | 1 | 2347 | --[[
author:{pbb}
time:2021-09-08 09:39:53
Desc:
use lib:
local ActTeacher = NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/ActTeacher/ActTeacher.lua")
ActTeacher.ShowView()
]]
local KeepWorkItemManager = NPL.load("(gl)script/apps/Aries/Creator/HttpAPI/KeepWorkItemManager.lua");
local HttpW... | gpl-2.0 |
RyMarq/Zero-K | LuaUI/Widgets/cmd_commandinsert.lua | 1 | 8716 | -- $Id: gui_commandinsert.lua 3171 2008-11-06 09:06:29Z det $
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
local version= "1.003"
function widget:GetInfo()
return {
name = "CommandInsert",
... | gpl-2.0 |
TeamHypersomnia/Hypersomnia | hypersomnia/content/gfx/metropolis_torso_knife_walk_5.meta.lua | 2 | 2833 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.43000000715255737,
amplification = 140,
light_colors = {
"89 31 168 255",
"48 42 88 255",
"61 16 123 0"
},
radius = {
x = 80,
y = 80
},
standard_deviati... | agpl-3.0 |
pixeljetstream/luajit_gfx_sandbox | runtime/lua/socket/http.lua | 45 | 12330 | -----------------------------------------------------------------------------
-- HTTP/1.1 client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
---------------------------------------------------------------------... | mit |
M4J1D/Tabchi_robotsazTeam | bot/api.lua | 1 | 10396 | tabchi = dofile('./bot/funcation.lua')
tabchi_id = 343317686
---------------------------------
json = dofile('./libs/JSON.lua')
----~~~~~~~~~~~~~~~~
URL = require "socket.url"
----~~~~~~~~~~~~~~~~
serpent = dofile("./libs/serpent.lua")
------~~~~~~~~~~~~~~~~
http = require "socket.http"
-----~~~~~~~~~~~~~~~~
https = r... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/dialogs/ShowEquipInven.lua | 2 | 12472 | -- TE4 - T-Engine 4
-- 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 version.... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/steamed_catfish.lua | 1 | 1439 | -----------------------------------------
-- ID: 4557
-- Item: steamed_catfish
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 30
-- Magic % 1
-- Vitality 3
-- Intelligence 1
-- Mind -3
-- Earth Def 10
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
TeamHypersomnia/Hypersomnia | hypersomnia/content/gfx/truck_inside.meta.lua | 14 | 2020 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 60,
light_colors = {
"0 255 255 255",
"255 0 0 255",
"255 0 255 255",
"0 255 174 255",
"255 0 228 255",
"0 198 255 255"
},
radius = {
... | agpl-3.0 |
TeamHypersomnia/Hypersomnia | hypersomnia/content/gfx/cyan_shell.meta.lua | 14 | 2020 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 60,
light_colors = {
"0 255 255 255",
"255 0 0 255",
"255 0 255 255",
"0 255 174 255",
"255 0 228 255",
"0 198 255 255"
},
radius = {
... | agpl-3.0 |
notcake/cac-administration | vermilion2groupsystem.lua | 1 | 2264 | local self = {}
CAC.Vermilion2GroupSystem = CAC.MakeConstructor (self, CAC.SimpleReadOnlyGroupSystem)
function self:ctor ()
end
-- IReadOnlyGroupSystem
function self:GetId ()
return "Vermilion2GroupSystem"
end
function self:GetName ()
return "Vermilion 2"
end
function self:IsAvailable ()
return istable (Vermilio... | mit |
electrodude/pipeworks | luaentity.lua | 2 | 10264 | local max_entity_id = 1000000000000 -- If you need more, there's a problem with your code
local luaentity = {}
pipeworks.luaentity = luaentity
luaentity.registered_entities = {}
local filename = minetest.get_worldpath().."/luaentities"
local function read_file()
local f = io.open(filename, "r")
if f == nil then re... | lgpl-2.1 |
KenPowers/dotfiles | home/config/nvim/lua/plugins/nvim-lspconfig.lua | 1 | 2633 | local wk = require('which-key')
local li = require('nvim-lsp-installer')
local illum = require('illuminate')
local lsp = vim.lsp
local diag = vim.diagnostic
wk.register(
{
l = {
name = 'LSP',
f = { function() lsp.buf.formatting() end, 'Format' },
i = { function() lsp.buf.implementation() end, '... | mit |
RyMarq/Zero-K | scripts/factoryplane.lua | 1 | 4577 | include "constants.lua"
local spGetUnitTeam = Spring.GetUnitTeam
--pieces
local base = piece "base"
local bay = piece "bay"
local narm1 = piece "narm1"
local nano1 = piece "nano1"
local emit1 = piece "emit1"
local arm1b = piece "arm1b"
local arm1 = piece "arm1"
local arm1top = piece "arm1top"
local arm1bot = piece "... | gpl-2.0 |
TerminalShell/zombiesurvival | entities/weapons/weapon_zs_bonemesh/init.lua | 1 | 1858 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
function SWEP:Reload()
self.BaseClass.SecondaryAttack(self)
end
local function DoFleshThrow(pl, wep)
if pl:IsValid() and pl:Alive() and wep:IsValid() then
pl:ResetSpeed()
local startpos = pl:GetPos()
startpos.z = pl:GetShootPos().z... | gpl-3.0 |
RyMarq/Zero-K | LuaUI/Widgets/gui_chili_radial_buildmenu.lua | 1 | 10136 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Chili Radial Build Menu",
desc = "v0.093 Radial Build Menu",
author = "CarRepairer",
... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Areas/GameDock.lua | 1 | 4531 | --[[
Title: The dock page
Author(s): LiXizhi
Date: 2012/12/28
Desc:
There dock has 2 mode: one for editor and one for creator
Use Lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Areas/GameDock.lua");
local GameDock = commonlib.gettable("MyCompany.Aries.Creator... | gpl-2.0 |
madpilot78/ntopng | attic/scripts/lua/admin/remote_assistance.lua | 2 | 9719 | --
-- (C) 2018 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
local remote_assistance = require("remote_assistance")
local template = require "template_utils"
local page_utils = require("page_utils")
if((not isAdministrator... | gpl-3.0 |
nimaghorbani/creed | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/bowl_of_dragon_soup.lua | 1 | 1953 | -----------------------------------------
-- ID: 4549
-- Item: Bowl of Dragon Soup
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Strength 7
-- Agility 2
-- Vitality 2
-- Intelligence -3
-- Health Regen While Healing 8
-- Attack % 22
-- Attack Cap 150
-- Ranged ... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/zones/vor-armoury/npcs.lua | 3 | 3366 | -- 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 |
james2doyle/lit | deps/coro-http.lua | 3 | 4956 | --[[lit-meta
name = "creationix/coro-http"
version = "2.1.1"
dependencies = {
"creationix/coro-net@2.1.0",
"luvit/http-codec@2.0.0"
}
homepage = "https://github.com/luvit/lit/blob/master/deps/coro-http.lua"
description = "An coro style http(s) client and server helper."
tags = {"coro", "http"}
l... | apache-2.0 |
nyczducky/darkstar | scripts/zones/Selbina/npcs/Explorer_Moogle.lua | 17 | 1855 | -----------------------------------
-- Area: Selbina
-- NPC: Explorer Moogle
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/teleports"... | gpl-3.0 |
lgeek/koreader | plugins/evernote.koplugin/clip.lua | 5 | 9667 | local DocumentRegistry = require("document/documentregistry")
local DocSettings = require("docsettings")
local ReadHistory = require("readhistory")
local logger = require("logger")
local md5 = require("ffi/MD5")
local util = require("util")
local MyClipping = {
my_clippings = "/mnt/us/documents/My Clippings.txt",
... | agpl-3.0 |
nyczducky/darkstar | scripts/globals/spells/knights_minne_v.lua | 27 | 1498 | -----------------------------------------
-- Spell: Knight's Minne V
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cast... | gpl-3.0 |
moltafet35/senatorv2 | plugins/antispam.lua | 5 | 2407 | local NUM_MSG_MAX = 3 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 3
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Western_Adoulin/npcs/Ishvad.lua | 14 | 1796 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Ishvad
-- Type: Shop NPC
-- @zone 256
-- @pos 44 32 125 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/z... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/Monolith.lua | 14 | 5393 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: Monolith
-- @pos <many>
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs");
-----------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Spire_of_Dem/Zone.lua | 30 | 1399 | -----------------------------------
--
-- Zone: Spire_of_Dem (19)
--
-----------------------------------
package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Spire_of_Dem/TextIDs");
---------------------------------... | gpl-3.0 |
jakianroy/NGUI_To_Be_Best | LuaEncoder/luajit_ios/x86_64/jit/dis_arm.lua | 78 | 19363 | ----------------------------------------------------------------------------
-- LuaJIT ARM disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | gpl-3.0 |
jakianroy/NGUI_To_Be_Best | LuaEncoder/luajit_ios/x86/jit/dis_arm.lua | 78 | 19363 | ----------------------------------------------------------------------------
-- LuaJIT ARM disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | gpl-3.0 |
dddaaaddd/teleiran_new | plugins/plugins.lua | 1 | 4713 | 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 |
nyczducky/darkstar | scripts/globals/mobskills/Bomb_Toss_Suicide.lua | 17 | 1242 | ---------------------------------------------------
-- Bomb Toss - Suicide
-- Throws a bomb at an enemy. Sometimes backfires.
---------------------------------------------
require("scripts/globals/monstertpmoves");
require("scripts/globals/settings");
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Windurst_Walls/npcs/Zokima-Rokima.lua | 14 | 2914 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Zokima-Rokima
-- Starts Windurst Missions
-- @pos 0 -16 124 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
-----------------------------------
re... | gpl-3.0 |
jbeich/Aquaria | files/scripts/entities/breakablecommon.lua | 5 | 3492 | -- 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/mobskills/Wanion.lua | 43 | 1329 | ---------------------------------------------------
-- Wanion
-- AoE of all status ailments it has.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------... | gpl-3.0 |
sevu/wesnoth | data/ai/micro_ais/cas/ca_coward.lua | 6 | 4471 | local AH = wesnoth.require "ai/lua/ai_helper.lua"
local F = wesnoth.require "functional"
local function get_coward(cfg)
local filter = wml.get_child(cfg, "filter") or { id = cfg.id }
local coward = AH.get_units_with_moves {
side = wesnoth.current.side,
{ "and", filter }
}[1]
return cow... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Southern_San_dOria/npcs/Dahjal.lua | 14 | 1242 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Dahjal
-- first in conquest Npc
-- @zone 230
-- @pos
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs");
... | gpl-3.0 |
moltafet35/senatorv2 | plugins/groupmanager.lua | 15 | 11324 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
return "You're not admin!"
end
local group_creator = msg.from.print_name
create_group_chat (group_cr... | gpl-2.0 |
bncastle/love2d-tutorial | scenes/Test.lua | 1 | 2513 | local Scene = require("lib.Scene")
local U = require("lib.Utils")
local Vector2 = require("lib.Vector2")
local Vector3 = require("lib.Vector3")
local Entity = require("lib.Entity")
local Transform = require("lib.components.Transform")
local CC = require("lib.components.physics.CircleCollider")
local PC = require("lib... | mit |
nyczducky/darkstar | scripts/zones/Yuhtunga_Jungle/Zone.lua | 12 | 4004 | -----------------------------------
--
-- Zone: Yuhtunga_Jungle (123)
--
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Yuhtunga_Jungle/TextIDs");
requ... | gpl-3.0 |
francot514/CardGamePRO-Simulator | data/cards/c1501.lua | 1 | 1501 | --Zeus
function c1501.initial_effect(c)
--negate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCode(EVENT_CHAINING)
e1:SetCond... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/upsidedownjelly.lua | 6 | 6495 | -- 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/campaigns/World_Conquest/lua/map/scenarios/WC_II_1p_scenario5.lua | 11 | 1055 | world_conquest_tek_scenario_res(1, 6, 56)
local generators = {
wct_map_generator("classic", "6a", 66, 14, 10, 16320, 8, 7, 7),
wct_map_generator("maritime", "6b", 66, 14, 10, 16320, 8, 7, 7),
wct_map_generator("industrial", "6c", 66, 14, 10, 18360, 7, 7, 7),
wct_map_generator("feudal", "6d", 66, 14, 10, 16320, 8, 7... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Dynamis-Buburimu/mobs/Goblin_Replica.lua | 22 | 1186 | -----------------------------------
-- Area: Dynamis Buburimu
-- MOB: Goblin Replica
-----------------------------------
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Buburimu/TextIDs");
--------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20u.lua | 26 | 3263 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- Door: Gilded Gateway (Arrapago)
-- @pos -580 0 -159 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("sc... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/mobskills/Sand_Blast.lua | 24 | 1154 | ---------------------------------------------------
-- Sand Blast
-- Deals Earth damage to targets in a fan-shaped area of effect. Additional effect: Blind
-- Range: 8' cone
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/spells/earth_carol.lua | 27 | 1535 | -----------------------------------------
-- Spell: Earth Carol
-- Increases earth resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------... | gpl-3.0 |
dtrip/awesome | lib/naughty/widget/message.lua | 3 | 2584 | ----------------------------------------------------------------------------
--- A notification content message.
--
-- This widget is a specialized `wibox.widget.textbox` with the following extra
-- features:
--
-- * Honor the `beautiful` notification variables.
-- * React to the `naughty.notification` object message c... | gpl-2.0 |
francot514/CardGamePRO-Simulator | data/levels/campaign/7a-Avernum.lua | 1 | 1304 | ---7a Avernum
Debug.SetAIName("Egyptian")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,10,0,0)
Debug.SetPlayerInfo(1,20,0,0)
Debug.AddCard(1340,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(1540,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(1201,0,0,LOCATION_SZON... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/items/red_hot_cracker.lua | 12 | 1337 | -----------------------------------------
-- ID: 4281
-- Item: red_hot_cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- HP Recovered While Healing 9
-- Beast Killer 12
-- Resist Sleep 12
-----------------------------------------
require("scripts/globals/status");
------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/spells/bluemagic/cold_wave.lua | 9 | 2132 | -----------------------------------------
-- Spell: Cold Wave
-- Deals ice damage that lowers Agility and gradually reduces HP of enemies within range
-- Spell cost: 37 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 1
-- Stat Bonus: INT-1
-- Level: 52
-- Casting Time: 4 seconds
-- Recast ... | gpl-3.0 |
andrenho/hotlogo | src/extra/helper/functional.lua | 2 | 2906 | function filter(table, func)
local new_table = {}
for _,v in ipairs(table) do
if func(v) then new_table[#new_table+1] = v end
end
return new_table
end
function filter_tbl(table, func)
local new_table = {}
for k,v in pairs(table) do
if func(k, v) then new_table[k] = v end
end
return new_table
en... | mit |
sjznxd/lc-20121231 | applications/luci-polipo/luasrc/model/cbi/polipo.lua | 79 | 5961 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Aleksandar Krsteski <alekrsteski@gmail.com>
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$... | apache-2.0 |
nyczducky/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5ca.lua | 14 | 2341 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Mahogany Door
-- Involved In Quest: Making Headlines
-- Involved in Mission 2-1
-- @pos -11 0 20 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
jbeich/Aquaria | game_scripts/_mods/jukebox/scripts/node_jukebox.lua | 6 | 2114 | -- 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/advancing_march.lua | 27 | 1451 | -----------------------------------------
-- Spell: Advancing March
-- Gives party members Haste
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,s... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/entities/scooter.lua | 5 | 6377 | -- 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 |
ahmedjabbar/uor | plugins/lock_username.lua | 20 | 1116 | --[[
#
#ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#:((
# For More Information ....!
# Developer : Aziz < @TH3_GHOST >
# our channel: @DevPointTeam
# Version: 1.1
#:))
#ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#
]]
lo... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Southern_San_dOria/npcs/Estiliphire.lua | 14 | 1290 | -----------------------------------
-- Area: Southern Sandoria
-- NPC: Estiliphire
-- Type: Event Sideshow NPC
-- @zone 230
-- @pos -41.550 1.999 -2.845
--
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zone... | gpl-3.0 |
sjznxd/lc-20121231 | applications/luci-asterisk/luasrc/model/cbi/asterisk-iax-connections.lua | 80 | 2000 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 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
h... | apache-2.0 |
nyczducky/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Logging_Point.lua | 17 | 1100 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Buburimu_Peninsula/TextIDs");
... | gpl-3.0 |
sevu/wesnoth | utils/emmylua/builtin.lua | 5 | 3168 | ---@meta
-- This file covers the built-in OS and debug modules, or rather, the parts of them
-- that exist in Wesnoth.
std_print = print
wesnoth.require = require
os = {}
debug = {}
--[========[OS library - truncated]========]
--(copy-pasted from the plugin's internal meta files)
---
---Returns an approximation of ... | gpl-2.0 |
wenhulove333/ScutServer | Sample/Koudai/Client/lua/scenes/InheritScene.lua | 1 | 21708 | ------------------------------------------------------------------
-- InheritScene.lua
-- Author : Zonglin Liu
-- Version : 1.25
-- Date :
-- Description:
------------------------------------------------------------------
module("InheritScene", package.seeall)
mScene = nil -- ³¡¾°
fu... | mit |
pakozm/april-pi-cnn-line-follower | utils.lua | 1 | 8430 | local brickpi = require "brickpi"
local utils = {
ACTION_FORWARD = 1,
ACTION_LEFT = 2,
ACTION_RIGHT = 3,
NACTIONS = 3,
--
ACTION_STOP = 4,
--
EPSILON = 0.2,
--
LEFT_MOTOR = brickpi.PORT_A,
RIGHT_MOTOR = brickpi.PORT_D,
LIGHT_SENSOR = brickpi.PORT_1,
--
SPEED ... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Promyvion-Vahzl/npcs/_0mc.lua | 17 | 1403 | -----------------------------------
-- Area: Promyvion vahzl
-- NPC: Memory flux (1)
-----------------------------------
package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Promyvion-Vahzl/TextIDs");
require("sc... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/include/healthupgradetemplate.lua | 5 | 4721 | -- 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 |
dtrip/awesome | lib/gears/object.lua | 2 | 9968 | ---------------------------------------------------------------------------
-- The object oriented programming base class used by various Awesome
-- widgets and components.
--
-- It provide basic observer pattern, signaling and dynamic properties.
--
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @utill... | gpl-2.0 |
ruleless/skynet | examples/watchdog.lua | 12 | 1173 | local skynet = require "skynet"
local netpack = require "netpack"
local CMD = {}
local SOCKET = {}
local gate
local agent = {}
function SOCKET.open(fd, addr)
skynet.error("New client from : " .. addr)
agent[fd] = skynet.newservice("agent")
skynet.call(agent[fd], "lua", "start", { gate = gate, client = fd, watchdog... | mit |
nyczducky/darkstar | scripts/zones/Rolanberry_Fields/npcs/qm1.lua | 14 | 1507 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: qm1 (???)
-- @pos -686.216 -31.556 -369.723 110
-- Notes: Spawns Chuglix Berrypaws for ACP mission "Gatherer of Light (I)"
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Abyssea-Konschtat/npcs/qm20.lua | 10 | 1349 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: qm20 (???)
-- Spawns Siranpa-Kamuy
-- @pos ? ? ? 15
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade... | gpl-3.0 |
wenhulove333/ScutServer | Sample/Doudizhu/Client/lua/layers/PrivateChatLayer.lua | 1 | 4353 | --
-- PrivateChatLayer.lua
-- Author : Chensy
-- Version : 1.0
-- Date :
-- Description: ÁÄÌì½Ó¿Ú¹ÜÀí
--
module("PrivateChatLayer", package.seeall)
-- ³¡¾°ÖÐÓõ½µÄ³ÉÔ±±äÁ¿ÒªÔÚÎļþÍ·²¿ÏÈÉêÃ÷£¬²¢¸½¼Ó±ØÒªµÄ˵Ã÷
-- ³ÉÔ±±äÁ¿Í³Ò»ÒÔÏ»®Ïß¿ªÊ¼£¬½ô½ÓµÄÊ××ÖĸҪСд
local _chatMessage = {};
local _al... | mit |
esbullington/snabbp4 | syntax/symbols/declarations/parser_declarations.lua | 1 | 4077 | local class = require("snabbp4.syntax.utils.middleclass")
local utils = require("snabbp4.syntax.utils.debug")
-- base symbol
local base = require("snabbp4.syntax.symbols.base")
local BaseSymbol = base.BaseSymbol
-- precedence values
local precedence = require("snabbp4.syntax.precedence")
local ParserF... | apache-2.0 |
nyczducky/darkstar | scripts/globals/abilities/feral_howl.lua | 58 | 3525 | ---------------------------------------------------
-- 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 |
nyczducky/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Ix_aern_drk.lua | 7 | 3668 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- MOB: Ix'aern (drk)
-- @pos -240 5.00 440 35
-- @pos -280 5.00 240 35
-- @pos -560 5.00 239 35
-- @pos -600 5.00 440 35
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/apple_pie_+1.lua | 12 | 1295 | -----------------------------------------
-- ID: 4320
-- Item: Apple Pie +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 30
-- Intelligence 4
-- Magic Regen While Healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_Windurst/npcs/Kuroido-Moido.lua | 28 | 4137 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kuriodo-Moido
-- Involved In Quest: Making Amends, Wonder Wands
-- Starts and Finishes: Making Amens!
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/cherry_muffin.lua | 12 | 1316 | -----------------------------------------
-- ID: 5653
-- Item: Cherry Muffin
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Intelligence 1
-- Magic % 10
-- Magic Cap 80
-- Agility -1
-----------------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
mehrpouya81/giantbot | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
mynameiscraziu/mycaty | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
Megaf/RPi | mods/default/mapgen.lua | 2 | 4285 | -- minetest/default/mapgen.lua
--
-- Aliases for map generator outputs
--
minetest.register_alias("mapgen_stone", "default:stone")
minetest.register_alias("mapgen_tree", "default:tree")
minetest.register_alias("mapgen_leaves", "default:leaves")
minetest.register_alias("mapgen_apple", "default:apple")
minetest.registe... | mit |
nyczducky/darkstar | scripts/zones/Cape_Teriggan/npcs/Bright_Moon.lua | 14 | 1912 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Bright Moon
-- Type: Outpost Vendor
-- @pos -185 7 -63 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/c... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Windurst_Woods/npcs/Kuoh_Rhel.lua | 13 | 4075 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Kuoh Rhel
-- Type: Standard NPC
-- @zone 241
-- @pos 131.437 -6 -102.723
-- Starts quests: Chocobilious, In a Stew
-- Note: In a Stew should only repeat once per conquest tally. The tally is not implemented at time of
-- writing this quest. ... | gpl-3.0 |
dtrip/awesome | lib/awful/permissions/init.lua | 2 | 27313 | ---------------------------------------------------------------------------
--- Implements EWMH requests handling.
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2009 Julien Danjou
-- @module awful.permissions
---------------------------------------------------------------------------
local clien... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Al_Zahbi/npcs/Iphaaf.lua | 14 | 1038 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Iphaaf
-- Type: Mihli's Attendant
-- @zone 48
-- @pos -28.014 -7 64.371
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_Bastok/npcs/Evelyn.lua | 17 | 1484 | -----------------------------------
-- Area: Port Bastok
-- NPC: Evelyn
-- Only sells when Bastok controlls Gustaberg Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok/TextIDs"]... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Southern_San_dOria/npcs/Maugie.lua | 16 | 2556 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Maugie
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs");
require("scripts/global... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/items/green_quiche.lua | 12 | 1457 | -----------------------------------------
-- ID: 5170
-- Item: green_quiche
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Agility 1
-- Vitality -1
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
timn/roslua | src/roslua/message.lua | 1 | 17813 |
----------------------------------------------------------------------------
-- message.lua - Message base class
--
-- Created: Mon Jul 26 19:50:16 2010 (at Intel Research, Pittsburgh)
-- License: BSD, cf. LICENSE file of roslua
-- Copyright 2010-2011 Tim Niemueller [www.niemueller.de]
-- 2010 ... | bsd-3-clause |
nyczducky/darkstar | scripts/zones/Xarcabard/npcs/Kaya_IM.lua | 14 | 3316 | -----------------------------------
-- Area: Xarcabard
-- NPC: Kaya, I.M.
-- Type: Outpost Conquest Guards
-- @pos 207.548 -24.795 -203.694 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require(... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Valkurm_Dunes/npcs/Hieroglyphics.lua | 7 | 2555 | -----------------------------------
-- Area: Valkurm_Dunes
-- NPC: Hieroglyphics
-- Dynamis Valkurm_Dunes Enter
-- @pos 117 -10 133 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Southern_San_dOria/npcs/Well.lua | 14 | 1415 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Well
-- Involved in Quest: Grave Concerns
-- @zone 230
-- @pos -129 -6 92
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Kazham/npcs/Pofhu_Tendelicon.lua | 17 | 1074 | -----------------------------------
-- Area: Kazham
-- NPC: Pofhu Tendelicon
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------... | gpl-3.0 |
aktel/vice-players | Vendor/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/doit.lua | 7 | 1776 | -- Generate binding code
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- Last update: Apr 2003
-- $Id: doit.lua 1141 2006-05-18 23:58:45Z lindquist $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/mobskills/Drop_Hammer.lua | 33 | 1032 | ---------------------------------------------
-- Drop Hammer
--
-- Description: Drops the hammer. Additional effect: Bind
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows?
-- Range: Melee
-- Notes: Only used by "destroyers" (carrying massive warhammers).
---------------------------------------------
requi... | gpl-3.0 |
lgeek/koreader | frontend/ui/gesturerange.lua | 7 | 2083 | local TimeVal = require("ui/timeval")
local GestureRange = {
-- gesture matching type
ges = nil,
-- spatial range limits the gesture emitting position
range = nil,
-- temproal range limits the gesture emitting rate
rate = nil,
-- scale limits of this gesture
scale = nil,
}
function Ges... | agpl-3.0 |
AquariaOSE/Aquaria | files/scripts/entities/starmie2.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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.