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 |
|---|---|---|---|---|---|
kondrak/ProDBG | bin/macosx/tundra/scripts/tundra/dagsave.lua | 25 | 10957 | module(..., package.seeall)
local depgraph = require "tundra.depgraph"
local util = require "tundra.util"
local scanner = require "tundra.scanner"
local dirwalk = require "tundra.dirwalk"
local platform = require "tundra.platform"
local native = require "tundra.native"
local njson = require "tundra.native.j... | mit |
ffxiphoenix/darkstar | scripts/globals/weaponskills/victory_smite.lua | 30 | 1634 | -----------------------------------
-- Victory Smite
-- Hand-to-Hand Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP.
-- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped.
-- Aligned with the Light Gorget,... | gpl-3.0 |
pengting/lsyncd | bin2carray.lua | 22 | 1259 | #!/usr/bin/lua
--============================================================================
-- bin2carray.lua
--
-- License: GPLv2 (see COPYING) or any later version
--
-- Authors: Axel Kittenberger <axkibe@gmail.com>
--
-- Transforms a binary file (the compiled lsyncd runner script) in a c array
-- so it can be inc... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Yhoator_Jungle/npcs/qm3.lua | 19 | 1717 | -----------------------------------
-- Area: Davoi
-- NPC: ??? (qm3)
-- Involved in Quest: True will
-- @pos 203 0.1 82 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/blind_bolt.lua | 41 | 1057 | -----------------------------------------
-- ID: 18150
-- Item: Blind Bolt
-- Additional Effect: Blindness
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
... | gpl-3.0 |
RodneyMcKay/x_hero_siege | game/scripts/vscripts/zones/zones.lua | 1 | 84529 | if CDungeonZone == nil then
CDungeonZone = class({})
end
--------------------------------------------------------------------
function CDungeonZone:Init( data )
-- print("CDungeonZone:Init:", data)
if data == nil then
return
end
CDungeonZone.bPrecached = false
CDungeonZone.bActivated = false
CDungeonZone.bZo... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Caedarva_Mire/npcs/Logging_Point.lua | 29 | 1101 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Caedarva_Mire/TextIDs");
-----... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/weaponskills/stardiver.lua | 30 | 1549 | -----------------------------------
-- Stardiver
-- Polearm weapon skill
-- Skill Level: MERIT
-- Delivers a fourfold attack. Damage varies with TP.
-- Will stack with Sneak Attack. reduces params.crit hit evasion by 5%
-- Element: None
-- Modifiers: STR:73~85%
-- 100%TP 200%TP 300%TP
-- 0.75 1.25 ... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/Barricade.lua | 19 | 1108 | -----------------------------------
-- Area: North Gustaberg (S) (I-6)
-- NPC: Barricade
-- Involved in Quests: The Fighting Fourth
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
... | gpl-3.0 |
Quenty/NevermoreEngine | src/gameconfig/src/Client/Cmdr/GameConfigCommandServiceClient.lua | 1 | 1678 | --[=[
@class GameConfigCommandServiceClient
]=]
local require = require(script.Parent.loader).load(script)
local GameConfigCmdrUtils = require("GameConfigCmdrUtils")
local Maid = require("Maid")
local RxStateStackUtils = require("RxStateStackUtils")
local Rx = require("Rx")
local GameConfigCommandServiceClient = {}... | mit |
vilarion/Illarion-Content | content/salaveshDungeon.lua | 3 | 2638 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
PouriaDev/Signal-New | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-3.0 |
morteza1377/titann | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/commands/addcurrency.lua | 26 | 1362 | ---------------------------------------------------------------------------------------------------
-- func: @addcurrency <currency type> <amount> <target player>
-- desc: Adds the specified currency to the player
---------------------------------------------------------------------------------------------------
... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Konschtat_Highlands/npcs/Signpost3.lua | 34 | 1034 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Signpost
-- @pos -221 17 139 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Konschtat_Highlands/TextIDs");
--------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Windurst_Woods/npcs/Bin_Stejihna.lua | 36 | 1886 | -----------------------------------
-- Area: Windurst_Woods
-- NPC: Bin Stejihna
-- Only sells when Windurst controlls Zulkheim Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Wi... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Port_Bastok/npcs/Silver_Owl.lua | 34 | 1328 | -----------------------------------
-- Area: Port Bastok
-- NPC: Silver Owl
-- Type: Tenshodo Merchant
-- @pos -99.155 4.649 23.292 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/commands/reloadglobal.lua | 26 | 1230 | ---------------------------------------------------------------------------------------------------
-- func: @reloadglobal
-- desc: Attempt to reload specified global lua without a restart.
--
-- Use with caution, some files ( like player.lua )
-- can cause you problems if you reload them using this.
-- This comm... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Southern_San_dOria/npcs/Kueh_Igunahmori.lua | 34 | 1274 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Kueh Igunahmori
-- Guild Merchant NPC: Leathercrafting Guild
-- @pos -194.791 -8.800 13.130 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/status.lua | 3 | 76383 | ------------------------------------
--
-- STATUSES AND MODS
--
-- Contains variable-ized definitions of things like core enums for use in lua scripts.
------------------------------------
------------------------------------
-- Job IDs
------------------------------------
JOB_NON = 0
JOB_WAR = 1
JOB_MNK = 2
JOB_WHM... | gpl-3.0 |
vilarion/Illarion-Content | item/id_1061_teleport.lua | 2 | 2411 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/timbre_timbers_salad.lua | 35 | 1471 | -----------------------------------------
-- ID: 4321
-- Item: timbre_timbers_salad
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/s... | gpl-3.0 |
moonlight/blues-brothers-rpg | data/scripts/City.lua | 1 | 2562 | --
-- The city area
--
import("Map.lua")
City = Map:subclass
{
name = "City";
init = function(self)
local obj;
Map.init(self, "city1.map")
-- Spawn the walkie talkie. Needed by the addToInventory function.
self.walkieTalkie = self:spawn(WalkieTalkie, 1, 126)
-- Spawn the crowbar needed to remove the p... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Davoi/npcs/_451.lua | 31 | 1166 | -----------------------------------
-- Area: Davoi
-- NPC: _451 (Elevator Lever)
-- Notes: Used to operate Elevator @450 (actual npc script is _454)
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("s... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/nopales_salad_+1.lua | 36 | 1143 | -----------------------------------------
-- ID: 5702
-- Item: Nopales Salad +1
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Strength 2
-- Agility 7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
Ekdohibs/minetest_game | mods/flowers/init.lua | 6 | 7992 | -- Minetest 0.4 mod: default
-- See README.txt for licensing and other information.
-- Namespace for functions
flowers = {}
-- Map Generation
dofile(minetest.get_modpath("flowers") .. "/mapgen.lua")
--
-- Flowers
--
-- Aliases for original flowers mod
minetest.register_alias("flowers:flower_rose", "flowers:ro... | lgpl-2.1 |
ffxiphoenix/darkstar | scripts/globals/items/bunny_ball.lua | 35 | 1739 | -----------------------------------------
-- ID: 4349
-- Item: Bunny Ball
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 10
-- Strength 2
-- Vitality 2
-- Intelligence -1
-- Attack % 30
-- Attack Cap 25
-- Ranged ATT % 30
-- Ranged ATT Cap 25
-------------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/spells/raiton_san.lua | 17 | 1627 | -----------------------------------------
-- Spell: Raiton: San
-- Deals lightning damage to an enemy and lowers its resistance against earth.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCas... | gpl-3.0 |
kuoruan/packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua | 79 | 1251 | local function scrape()
-- documetation about nf_conntrack:
-- https://www.frozentux.net/iptables-tutorial/chunkyhtml/x1309.html
nat_metric = metric("node_nat_traffic", "gauge" )
for e in io.lines("/proc/net/nf_conntrack") do
-- output(string.format("%s\n",e ))
local fields = space_split(e)
local ... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Port_Windurst/npcs/Gold_Skull.lua | 17 | 2228 | -----------------------------------
-- Area: Port Windurst
-- NPC: Gold Skull
-- Mission NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/slice_of_salted_hare.lua | 35 | 1198 | -----------------------------------------
-- ID: 5737
-- Item: slice_of_salted_hare
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 10
-- Strength 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/dil.lua | 18 | 1253 | -----------------------------------------
-- ID: 5457
-- Item: Dil
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Chamber_of_Oracles/TextIDs.lua | 9 | 1386 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Apollyon/bcnms/NE_Apollyon.lua | 19 | 1059 | -----------------------------------
-- Area: Appolyon
-- Name: NE_Apollyon
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[NE_Apollyon]Unique... | gpl-3.0 |
Ne02ptzero/Grog-Knight | Tools/BuildScripts/lua-lib/penlight-1.0.2/lua/pl/List.lua | 12 | 16426 | --- Python-style list class.
--
-- **Please Note**: methods that change the list will return the list.
-- This is to allow for method chaining, but please note that `ls = ls:sort()`
-- does not mean that a new copy of the list is made. In-place (mutable) methods
-- are marked as returning 'the list' in this documentati... | apache-2.0 |
vilarion/Illarion-Content | item/skull.lua | 1 | 16490 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
lxl1140989/sdk-for-tb | feeds/luci/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua | 80 | 1260 | --[[
LuCI - Lua Configuration Interface
(c) 2009 Daniel Dickinson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
m = Map("mactodevinfo", lu... | gpl-2.0 |
morteza1377/titann | libs/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | agpl-3.0 |
jakezhaojb/gtsrb.torch | idsia_net.lua | 6 | 2246 | local networks = require 'networks'
local idsia_net = {}
function idsia_net.get_network(opt)
local network = nn.Sequential()
local nbr_elements = {}
for c in string.gmatch(opt.cnn, "%d+") do
nbr_elements[#nbr_elements + 1] = tonumber(c)
end
assert(#nbr_elements == 4,
'opt.cnn should contain 4 com... | mit |
gregier/libpeas | tests/libpeas/plugins/extension-lua/extension-lua51.lua | 2 | 3149 | --
-- Copyright (C) 2014 - Garrett Regier
--
-- libpeas is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public
-- License as published by the Free Software Foundation; either
-- version 2.1 of the License, or (at your option) any later version.
--
-- libpeas is d... | lgpl-2.1 |
Phrohdoh/OpenRA | lua/sandbox.lua | 84 | 5098 | local sandbox = {
_VERSION = "sandbox 0.5",
_DESCRIPTION = "A pure-lua solution for running untrusted Lua code.",
_URL = "https://github.com/kikito/sandbox.lua",
_LICENSE = [[
MIT LICENSE
Copyright (c) 2013 Enrique García Cota
Permission is hereby granted, free of charge, to an... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tateeya.lua | 34 | 2468 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tateeya
-- Automaton Attachment Unlocks
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
... | gpl-3.0 |
TeleDALAD/spam1 | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
shayanchabok555/newbot_shayan | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/globals/effects/innin.lua | 17 | 1454 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect) --power=30 initially, subpower=20 for enmity
target:addM... | gpl-3.0 |
AfuSensi/Mr.Green-MTA-Resources | resources/[gameplay]/radio/main_decompiled.lua | 4 | 7031 | tableasd = {2,{{{{anothertable,1}}}}}
-- Created: 27/08/2011 20:13
function makeRadioStayOff()
cancelEvent()
end
addEventHandler('onClientResourceStart', getResourceRootElement(),
function()
GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Edit = {}
GUIEditor_Grid = {}
GUIEditor_Image = {}
GUIEditor_Label = {}
... | mit |
pengting/lsyncd | examples/limagemagic.lua | 13 | 2743 | ----
-- Lsyncd user-script that creates a "magic" image converter directory.
--
-- This configuration will automatically convert all images that are placed
-- in the directory 'magicdir' all resulting images are placed in the same
-- directory!
--
-- Be sure to mkdir 'magicdir' first.
-----
-- Fileformats: .jpg .g... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/RaKaznar_Inner_Court/Zone.lua | 32 | 1345 | -----------------------------------
--
-- Zone: Ra’Kanzar Inner Court (276)
--
-----------------------------------
package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/RaKaznar_Inner_Court/TextIDs");... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Selbina/TextIDs.lua | 9 | 1899 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/La_Theine_Plateau/npcs/Vicorpasse.lua | 17 | 2134 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Vicorpasse
-- Involved in Mission: The Rescue Drill
-- @pos -344 37 266 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/weaponskills/weapon_break.lua | 18 | 1792 | -----------------------------------
-- Weapon Break
-- Great Axe weapon skill
-- Skill level: 175
-- Lowers enemy's attack. Duration of effect varies with TP.
-- Lowers attack by as much as 25% if unresisted.
-- Strong against: Manticores, Orcs, Rabbits, Raptors, Sheep.
-- Immune: Crabs, Crawlers, Funguars, Quad... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Justinius.lua | 19 | 1888 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Justinius
-- Involved in mission : COP2-3
-- @pos 76 -34 68 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("sc... | gpl-3.0 |
azekillDIABLO/Voxellar | mods/MAPGEN/caverealms_lite/init.lua | 1 | 11115 | -- caverealms v.0.8 by HeroOfTheWinds
-- original cave code modified from paramat's subterrain
-- For Minetest 0.4.8 stable
-- Depends default
-- License: code WTFPL
caverealms = {} --create a container for functions and constants
--grab a shorthand for the filepath of the mod
local modpath = minetest.get_modpath(mi... | lgpl-2.1 |
ffxiphoenix/darkstar | scripts/zones/Grauberg_[S]/npcs/qm1.lua | 19 | 1617 | -----------------------------------
-- Area: Grauberg [S]
-- NPC: ???
-- Quest - DNC AF1
-----------------------------------
package.loaded["scripts/zones/Grauberg_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Grauberg_[S]/TextIDs");
-----... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/abilities/elemental_siphon.lua | 11 | 2885 | -----------------------------------
-- Ability: Elemental Siphon
-- Drains MP from your summoned spirit.
-- Obtained: Summoner level 50
-- Recast Time: 5:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Port_Windurst/npcs/Ten_of_Clubs.lua | 38 | 1039 | -----------------------------------
-- Area: Port Windurst
-- NPC: Ten of Clubs
-- Type: Standard NPC
-- @zone: 240
-- @pos -229.393 -9.2 182.696
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------... | gpl-3.0 |
suvjunmd/OpenRA | mods/ra/maps/soviet-05/AI.lua | 26 | 4192 | IdleHunt = function(unit) if not unit.IsDead then Trigger.OnIdle(unit, unit.Hunt) end end
IdlingUnits = function()
local lazyUnits = Map.ActorsInBox(NWIdlePoint.CenterPosition, Map.BottomRight, function(actor)
return actor.HasProperty("Hunt") and (actor.Owner == GoodGuy or actor.Owner == Greece) end)
Utils.Do(laz... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/spells/bluemagic/heat_breath.lua | 18 | 1792 | -----------------------------------------
-- Spell: Heat Breath
-- Deals fire damage to enemies within a fan-shaped area originating from the caster
-- Spell cost: 169 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 4
-- Stat Bonus: STR+3
-- Level: 71
-- Casting Time: 7.5 seconds... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/san_dorian_carrot.lua | 35 | 1200 | -----------------------------------------
-- ID: 4389
-- Item: san_dorian_carrot
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
farrajota/human_pose_estimation_torch | configs.lua | 1 | 8196 | --[[
Loads necessary libraries and files.
]]
require 'paths'
require 'torch'
require 'xlua'
require 'optim'
require 'nn'
--require 'nnx'
require 'nngraph'
require 'string'
require 'image'
require 'cutorch'
require 'cunn'
require 'cudnn'
torch.setdefaulttensortype('torch.FloatTensor')
paths.dofile('projectdir.lu... | mit |
sajjad21321/alireza2130 | plugins/admin.lua | 230 | 6382 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/PsoXja/npcs/_09f.lua | 17 | 1614 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09f (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/commands/takexp.lua | 26 | 1232 | ---------------------------------------------------------------------------------------------------
-- func: @takexp <amount> <player>
-- desc: Removes experience points from the target player.
---------------------------------------------------------------------------------------------------
cmdprops =
{
p... | gpl-3.0 |
Quenty/NevermoreEngine | src/roundedbackingbuilder/src/Client/RoundedBackingBuilder.lua | 1 | 3340 | --[=[
Construct a rounded backing with a shadow.
@class RoundedBackingBuilder
]=]
local RoundedBackingBuilder = {}
RoundedBackingBuilder.__index = RoundedBackingBuilder
RoundedBackingBuilder.ClassName = "RoundedBackingBuilder"
RoundedBackingBuilder.DEFAULT_SHADOW_TRANSPARENCY = 0.7
RoundedBackingBuilder.BACKING_ASSE... | mit |
moteus/lua-lcurl | examples/cURLv3/rss.lua | 4 | 1095 | -- use LuaExpat and Lua-CuRL together for On-The-Fly XML parsing
local lxp = require "lxp"
local cURL = require "cURL"
-- create XML parser
items, tags = {}, {}
p = lxp.new{
StartElement = function (parser, tagname)
tags[#tags + 1] = tagname
if (tagname == "item") then
items[#items + 1] = {}... | mit |
AfuSensi/Mr.Green-MTA-Resources | resources/[admin]/anti/fps.lua | 1 | 2813 | ------------------------------------------
-- Fps checker, invertal check system, --
-- with strikes. Limit = kickPlayer --
-------------------------------------------
local fpsMinimum = 30
local checkInterval = 3 * 1000
local maxStrikes = 5
local fpsStrikes = {}
-- Set limit to element data
addEventHandler("onReso... | mit |
ffxiphoenix/darkstar | scripts/zones/Gusgen_Mines/npcs/Degga.lua | 34 | 1186 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Degga
-- Type: Standard Info NPC
-- @pos 40 -68 -259
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globa... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/East_Ronfaure/TextIDs.lua | 9 | 1413 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6393; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6398; -- Obtained: <item>.
GIL_OBTAINED = 6399; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6401; -- Obt... | gpl-3.0 |
perky/factorio-circuitgui | control.lua | 1 | 1527 | SECONDS = 60
MINUTES = 3600
GAME_DAY = 25000
require("defines")
require("util")
require("actor_system")
require("helpers.helpers")
require("helpers.gui_helpers")
require("helpers.coroutine_helpers")
require("actors.label_lamp_actor")
local function OnGameInit()
modHasInitialised = true
actor_system:Init()
end
loc... | mit |
ffxiphoenix/darkstar | scripts/globals/weaponskills/tachi_yukikaze.lua | 30 | 1722 | -----------------------------------
-- Tachi Yukikaze
-- Great Katana weapon skill
-- Skill Level: 200 (Samurai only.)
-- Blinds target. Damage varies with TP.
-- Blind effect duration is 60 seconds when unresisted.
-- Will stack with Sneak Attack.
-- Tachi: Yukikaze appears to have an attack bonus of 50%. http:... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Southern_San_dOria/npcs/Femitte.lua | 17 | 3110 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Femitte
-- Involved in Quest: Lure of the Wildcat (San d'Oria), Distant Loyalties
-- @pos -17 2 10 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
vilarion/Illarion-Content | monster/base/spells/projectile.lua | 3 | 12847 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fj.lua | 34 | 1109 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 88 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextID... | gpl-3.0 |
Phrohdoh/OpenRA | mods/d2k/maps/harkonnen-09a/harkonnen09a.lua | 3 | 12633 | --[[
Copyright 2007-2020 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 |
ffxiphoenix/darkstar | scripts/globals/items/pot-au-feu.lua | 32 | 1707 | -----------------------------------------
-- ID: 5752
-- Item: Pot-au-feu
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 3
-- Agility 3
-- Intelligence -3
-- Ranged Attk % 15 Cap 60
-- Ranged ACC % 10 Cap 50
-- Enmity -3
-----------------------------------------
require("scripts... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e4.lua | 43 | 1699 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Right) - Holla
-- @pos -242.301 -1.849 269.867 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Hall_of_Transf... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua | 19 | 1783 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Heruze-Moruze
-- Involved in Mission: 2-3 Windurst
-- @pos -56 -3 36 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems"... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/weaponskills/spirits_within.lua | 30 | 1518 | -----------------------------------
-- Spirits Within
-- Sword weapon skill
-- Spirits Within Sword Weapon Skill
-- TrolandAdded by Troland
-- Skill Level: 175
-- Delivers an unavoidable attack. Damage varies with HP and TP.
-- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of ... | gpl-3.0 |
Phrohdoh/OpenRA | mods/cnc/maps/nod10a/nod10a.lua | 4 | 2141 | --[[
Copyright 2007-2020 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 |
ffxiphoenix/darkstar | scripts/globals/abilities/ebullience.lua | 28 | 1132 | -----------------------------------
-- Ability: Ebullience
-- Enhances the potency of your next black magic spell.
-- Obtained: Scholar Level 55
-- Recast Time: Stratagem Charge
-- Duration: 1 black magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- ---... | gpl-3.0 |
vilarion/Illarion-Content | lte/arena_timer.lua | 4 | 2982 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
SunRed/ObjHunt | gamemode/init.lua | 2 | 13802 | AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include( "shared.lua" )
include( "server/autotaunt.lua" )
function GM:PlayerInitialSpawn( ply )
ply:SetTeam( TEAM_SPECTATOR )
player_manager.SetPlayerClass( ply, "player_spectator" )
ply:SetCustomCollisionCheck( true )
ply.nextTaunt = 0
ply.lastTaunt = Cu... | apache-2.0 |
vilarion/Illarion-Content | monster/race_1_dwarf/id_13_priest.lua | 3 | 1361 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
kondrak/ProDBG | bin/macosx/tundra/scripts/tundra/test/t_path.lua | 28 | 2760 | module(..., package.seeall)
local path = require "tundra.path"
local native = require "tundra.native"
local function check_path(t, p, expected)
p = p:gsub('\\', '/')
t:check_equal(p, expected)
end
unit_test('path.normalize', function (t)
check_path(t, path.normalize("foo"), "foo")
check_path(t, path.normaliz... | mit |
ffxiphoenix/darkstar | scripts/zones/PsoXja/npcs/_i9y.lua | 17 | 1310 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _i9y (Crystal Receptor)
-- @pos -389.980 -3.198 -203.595 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs");
--------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Windurst_Woods/npcs/Manyny.lua | 36 | 1453 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Manyny
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/Tex... | gpl-3.0 |
ProjectSkyfire/SkyFire-Community-Tools | FireAdmin/Commands/Commands_Who.lua | 1 | 5935 | -------------------------------------------------------------------------------------------------------------
--
-- FireAdmin Version 5.x
-- FireAdmin is a derivative of FireAdmin, which is a derivative of MangAdmin.
--
-- Copyright (C) 2007 Free Software Foundation, Inc.
-- License GPLv3+: GNU GPL version 3 or later ... | gpl-3.0 |
vilarion/Illarion-Content | triggerfield/letma_triggered_spawns.lua | 3 | 3806 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Uleguerand_Range/npcs/Fissure.lua | 19 | 1692 | -----------------------------------
-- Area: Uleguerand Range
-- NPC: Fissure
-- Teleports players from underground to surface
-- @pos 380.267 34.859 -179.655 5
-- @pos 460.339 -29.137 220.311 5
-- @pos 180.207 -77.147 500.276 5
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/T... | gpl-3.0 |
Ekdohibs/minetest_game | mods/default/init.lua | 15 | 1623 | -- Minetest 0.4 mod: default
-- See README.txt for licensing and other information.
-- The API documentation in here was moved into game_api.txt
-- Definitions made by this mod that other mods can use too
default = {}
default.LIGHT_MAX = 14
-- GUI related stuff
default.gui_bg = "bgcolor[#080808BB;true]"
default.gui... | lgpl-2.1 |
azekillDIABLO/Voxellar | mods/NODES/default/init.lua | 15 | 1623 | -- Minetest 0.4 mod: default
-- See README.txt for licensing and other information.
-- The API documentation in here was moved into game_api.txt
-- Definitions made by this mod that other mods can use too
default = {}
default.LIGHT_MAX = 14
-- GUI related stuff
default.gui_bg = "bgcolor[#080808BB;true]"
default.gui... | lgpl-2.1 |
azekillDIABLO/Voxellar | mods/MOBS/advanced_npc/trade/trade.lua | 1 | 27746 | -- Trading code for Advanced NPC by Zorman2000
npc.trade = {}
npc.trade.CASUAL = "casual"
npc.trade.TRADER = "trader"
npc.trade.NONE = "none"
npc.trade.OFFER_BUY = "buy"
npc.trade.OFFER_SELL = "sell"
-- This variable establishes how much items a dedicated
-- trader will buy until retiring the offer
npc.trade.DEDICA... | lgpl-2.1 |
farrajota/human_pose_estimation_torch | util/pose.lua | 1 | 1981 | -- Get prediction coordinates
predDim = {nParts,2}
------------------------------------------------------------------------------------------------------------
-- Code to generate training samples from raw images.
function generateSample(set, idx)
local pts = annot[set]['part'][idx]
local c = annot[set]['cent... | mit |
Wiladams/LJIT2Virt | libvirt-domain.lua | 1 | 94692 | --[[
/*
* libvirt-domain.h
* Summary: APIs for management of domains
* Description: Provides APIs for the management of domains
* Author: Daniel Veillard <veillard@redhat.com>
*
* Copyright (C) 2006-2015 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms... | mit |
ffxiphoenix/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Porter_Moogle.lua | 41 | 1550 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 94
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Uleguerand_Range/mobs/Jormungand.lua | 11 | 2484 | -----------------------------------
-- Area: Uleguaerand Range
-- NPC: Jormungand
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/titles");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInit... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/red_curry_bun.lua | 14 | 2267 | -----------------------------------------
-- ID: 5759
-- Item: red_curry_bun
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- Health 25
-- Strength 7
-- Agility 1
-- Intelligence -2
-- Attack % 23
-- Attack Cap 150 (cap 150)
-- Ranged Atk % 23 (cap 150)
-- Demon Killer 4
-- HP... | gpl-3.0 |
vilarion/Illarion-Content | item/signpost.lua | 3 | 1228 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/spells/bluemagic/zephyr_mantle.lua | 18 | 1329 | -----------------------------------------
-- Spell: Zephyr Mantle
-- Creates shadow images that each absorb a single attack directed at you
-- Spell cost: 31 MP
-- Monster Type: Dragons
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 2
-- Stat Bonus: AGI+2
-- Level: 65
-- Casting Time: 7 seconds
-- Recast... | gpl-3.0 |
WUTiAM/uLua2 | Assets/LuaScripts/depends/protobuf/type_checkers.lua | 1 | 3424 | --
--------------------------------------------------------------------------------
-- FILE: type_checkers.lua
-- DESCRIPTION: protoc-gen-lua
-- Google's Protocol Buffers project, ported to lua.
-- https://code.google.com/p/protoc-gen-lua/
--
-- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.co... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.