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 |
|---|---|---|---|---|---|
coltonj96/UsefulCombinators | UsefulCombinators_0.4.2/migrations/UsefulCombinators_0.2.5.lua | 14 | 1355 | game.reload_script()
for index, force in pairs(game.forces) do
force.reset_technologies()
if force.technologies["useful-combinators"].researched then
force.recipes["random-combinator"].enabled = true
force.recipes["converter-combinator"].enabled = true
if force.recipes["comparator-combinator"] t... | mit |
rrpgfirecast/firecast | Plugins/Sheets/GURPS Saint Seiya Forever/output/rdkObjs/Ficha SSF/SSF.3.lfm.lua | 1 | 55032 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmSSF3()
local obj = GUI.fromHandle(_obj_newObject("form... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/sidewinder.lua | 30 | 1400 | -----------------------------------
-- Sidewinder
-- Archery weapon skill
-- Skill level: 175
-- Delivers an inparams.accurate attack that deals quintuple damage. params.accuracy varies with TP.
-- Aligned with the Aqua Gorget, Light Gorget & Breeze Gorget.
-- Aligned with the Aqua Belt, Light Belt & Breeze Belt.... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/GURPS Saint Seiya Forever/output/rdkObjs/Ficha SSF/SSF.5.lfm.lua | 1 | 16947 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmSSF5()
local obj = GUI.fromHandle(_obj_newObject("form... | apache-2.0 |
leafo/luarocks | src/luarocks/lint.lua | 20 | 1570 |
--- Module implementing the LuaRocks "lint" command.
-- Utility function that checks syntax of the rockspec.
--module("luarocks.lint", package.seeall)
local lint = {}
package.loaded["luarocks.lint"] = lint
local util = require("luarocks.util")
local download = require("luarocks.download")
local fetch = require("luaro... | mit |
The-HalcyonDays/darkstar | scripts/globals/items/serving_of_royal_jelly.lua | 36 | 1106 | -----------------------------------------
-- ID: 4508
-- Item: Serving of Royal Jelly
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP Recovery while healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
hxw804781317/MT7620N | package/ralink/ui/luci-mtk/src/applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua | 78 | 1093 | --[[
Luci configuration model for statistics - collectd processes plugin configuration
(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 Lic... | gpl-2.0 |
domino-team/lede-1701 | package/gli-pub/openwrt-dist-luci/files/luci/model/cbi/chinadns.lua | 5 | 1395 | -- Copyright (C) 2016 OpenWrt-dist
-- Copyright (C) 2016 Jian Chang <aa65535@live.com>
-- Licensed to the public under the GNU General Public License v3.
local m, s, o
if luci.sys.call("pidof chinadns >/dev/null") == 0 then
m = Map("chinadns", translate("ChinaDNS"), "%s - %s" %{translate("ChinaDNS"), translate("RUNN... | gpl-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Mighty Blade 2e/output/rdkObjs/model/popupForms/armadura.lfm.lua | 2 | 4544 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmArmadura()
local obj = GUI.fromHandle(_obj_newObject("... | apache-2.0 |
zero-rp/ZNet | tool/zero/lualib/sprotoparser.lua | 22 | 11379 | local lpeg = require "lpeg"
local table = require "table"
local packbytes
local packvalue
if _VERSION == "Lua 5.3" then
function packbytes(str)
return string.pack("<s4",str)
end
function packvalue(id)
id = (id + 1) * 2
return string.pack("<I2",id)
end
else
function packbytes(str)
local size = #str
loc... | mit |
The-HalcyonDays/darkstar | scripts/zones/Lower_Jeuno/npcs/Sutarara.lua | 17 | 1649 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Sutarara
-- Involved in Quests: Tenshodo Menbership (before accepting)
-- @pos 30 0.1 -2 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
VersaceMedusion/otclient-utils | data/string-utils.lua | 1 | 1285 | --[[
@Authors: Ukzz (Chemik)
@Details: String utils like table format
or new wrapers functions.
]]
function string.formats(str, ...)
return (#{...} > 0 and str:format(...) or str)
end
function string:titlecase()
return self:gsub("(%a)([%w_']*)", function(first, rest) return first:upper()..rest:l... | mit |
The-HalcyonDays/darkstar | scripts/globals/mobskills/Aerial_Collision.lua | 25 | 1198 | ---------------------------------------------
-- Aerial Collusion
-- Description: Cone Attack damage and Defense Down, strips Utsusemi (MOBPARAM_WIPE_SHADOWS)
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstert... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Windurst_Waters/npcs/Upih_Khachla.lua | 30 | 2226 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Upih Khachla
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
require("scripts/globals/conquest");
packag... | gpl-3.0 |
Goranaws/Dominos | Dominos/bars/stanceBar.lua | 1 | 2701 | --[[
stanceBar - a bar for displaying class specific buttons for things like stances/forms/etc
--]]
-- don't bother loading the module if the player is currently playing something without a stance
if not (select(2, UnitClass('player')) == 'DRUID' or select(2, UnitClass('player')) == 'ROGUE' or select(2, UnitClas... | bsd-3-clause |
The-HalcyonDays/darkstar | scripts/zones/Windurst_Woods/npcs/Harara_WW.lua | 28 | 4836 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Harara, W.W.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Mission... | gpl-3.0 |
coltonj96/UsefulCombinators | UsefulCombinators_0.4.0/prototypes/recipe/recipes.lua | 5 | 5192 | data:extend({
{
type = "recipe",
name = "timer-combinator",
enabled = "false",
ingredients =
{
{"arithmetic-combinator", 1},
{"constant-combinator", 1}
},
result = "timer-combinator"
},
{
type = "recipe",
name = "counting-combinator",
enabled = "f... | mit |
coltonj96/UsefulCombinators | UsefulCombinators_0.4.3/prototypes/recipe/recipes.lua | 5 | 5192 | data:extend({
{
type = "recipe",
name = "timer-combinator",
enabled = "false",
ingredients =
{
{"arithmetic-combinator", 1},
{"constant-combinator", 1}
},
result = "timer-combinator"
},
{
type = "recipe",
name = "counting-combinator",
enabled = "f... | mit |
mcodegeeks/OpenKODE-Framework | 03_Tutorial/T02_XMCocos2D-v3-Lua/Resource/luaScript/CurrentLanguageTest/CurrentLanguageTest.lua | 4 | 2176 | local function CurrentLanguageTest()
local ret = cc.Layer:create()
local label = cc.LabelTTF:create("Current language Test", "Arial", 28)
ret:addChild(label, 0)
label:setPosition( cc.p(VisibleRect:center().x, VisibleRect:top().y-50) )
local labelLanguage = cc.LabelTTF:create("", "Arial", 20)
l... | mit |
rrpgfirecast/firecast | SDK3/Tools/LuaCheck/src/utils.lua | 1 | 8914 | local unpack = table.unpack or unpack -- luacheck: compat
local utils = {}
utils.dir_sep = package.config:sub(1,1)
utils.is_windows = utils.dir_sep == "\\"
local bom = "\239\187\191"
-- Returns all contents of file (path or file handler) or nil + error message.
function utils.read_file(file)
local handler
if... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Demônio A Queda/output/rdkObjs/Demônio A Queda/LR.lfm.lua | 1 | 11778 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmLR()
local obj = GUI.fromHandle(_obj_newObject("form")... | apache-2.0 |
hxw804781317/MT7620N | package/ralink/ui/luci-mtk/src/applications/luci-pbx/luasrc/model/cbi/pbx-calls.lua | 117 | 18881 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx 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
... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Temenos/mobs/Beli.lua | 17 | 1186 | -----------------------------------
-- Area: Temenos N T
-- NPC: Beli
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
--------------------------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Windurst_Woods/npcs/Istvan.lua | 38 | 1035 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Istvan
-- Type: ENM Quest Timer
-- @zone: 241
-- @pos 116.294 -6 -98.164
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
--------------... | gpl-3.0 |
alexsilva/sha1.lua-fallback | sha1_bxor.lua | 1 | 943795 | local lut = {}
lut[0]=0
lut[1]=1
lut[2]=2
lut[3]=3
lut[4]=4
lut[5]=5
lut[6]=6
lut[7]=7
lut[8]=8
lut[9]=9
lut[10]=10
lut[11]=11
lut[12]=12
lut[13]=13
lut[14]=14
lut[15]=15
lut[16]=16
lut[17]=17
lut[18]=18
lut[19]=19
lut[20]=20
lut[21]=21
lut[22]=22
lut[23]=23
lut[24]=24
lut[25]=25
lut[26]=26
lut[27]=27
lut[28]=28
lut[29... | mit |
drix/jagg | src/CBE/cbe_core/vent_core/core.lua | 6 | 16013 | --------------------------------------------------------------------------------
--[[
CBE Component: Vent Core
Core engine for vents.
--]]
--------------------------------------------------------------------------------
local vent_core = {}
----------------------------------------------------------------------------... | mit |
CNA2/cna3 | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Dynamis-San_dOria/Zone.lua | 28 | 2487 | -----------------------------------
--
-- Zone: Dynamis-San_dOria
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-San_dOria/TextIDs");
------------... | gpl-3.0 |
cc-paw/cc-paw | releases/cc-paw/0.4.3/bin.lua | 3 | 1449 | local ccpaw = dofile "/lib/cc-paw.lua"
local args = {...}
local function usage()
print("cc-paw version " .. tostring(ccpaw.v) .. ". Usage:")
print("cc-paw install <package> [-f]")
print("cc-paw remove <package>")
print("cc-paw purge <package>")
print("cc-paw update")
print("cc-paw upgrade [-f]")
print("... | mit |
SethCalkins/cyfe | base_customer_ARR_B.lua | 1 | 2116 | --Second part of script to sum customer contract value
--Create Variables
stage_table = {"quote", "custom1","custom2","custom3","closure"}
pagination_table = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}
local pipeline_lead_count = 0
local date = os.date("%d") - 1
local yesterday = string.format(os.date("%Y-%... | mit |
The-HalcyonDays/darkstar | scripts/globals/items/bowl_of_dhalmel_stew.lua | 35 | 1749 | -----------------------------------------
-- ID: 4433
-- Item: Bowl of Dhalmel Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 4
-- Agility 1
-- Vitality 2
-- Intelligence -2
-- Attack % 25
-- Attack Cap 45
-- Ranged ATT % 25
-- Ranged ATT Cap 45
---------------... | gpl-3.0 |
angeloc/sysdig | userspace/sysdig/chisels/httptop.lua | 4 | 4760 | --[[
Copyright (C) 2013-2018 Draios Inc dba Sysdig.
This file is part of sysdig.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ... | apache-2.0 |
mamaddeveloper/ghs | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Reinos de Ferro/output/rdkObjs/FichaRdF/FichaRdF.4.lfm.lua | 1 | 19822 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmRDF4()
local obj = GUI.fromHandle(_obj_newObject("form... | apache-2.0 |
zhaozg/luvit | deps/stream/stream_duplex.lua | 5 | 1815 | --[[
Copyright 2014 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | apache-2.0 |
reza-sec/reza-sec | plugins/antispam_pv.lua | 1 | 3411 | kicktable = {}
do
local TIME_CHECK = 3 -- seconds
local data = load_data(_config.moderation.data)
local function pre_process(msg)
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
if msg.from.type == 'user' then
local hash = 'user:'..msg.from.id
if ... | gpl-2.0 |
leafo/luarocks | src/luarocks/write_rockspec.lua | 2 | 11073 |
--module("luarocks.write_rockspec", package.seeall)
local write_rockspec = {}
package.loaded["luarocks.write_rockspec"] = write_rockspec
local dir = require("luarocks.dir")
local fetch = require("luarocks.fetch")
local fs = require("luarocks.fs")
local path = require("luarocks.path")
local persist = require("luarocks... | mit |
The-HalcyonDays/darkstar | scripts/zones/Dynamis-Tavnazia/mobs/Nightmare_Cluster.lua | 17 | 1504 | -----------------------------------
-- Area: Dynamis Tavnazia
-- NPC: Nightmare_Cluster
-----------------------------------
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Tavnazia/TextIDs"... | gpl-3.0 |
otservme/global1053 | data/npc/scripts/Alia.lua | 2 | 6399 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... | gpl-2.0 |
Stanzilla/prat-3-0 | modules/Fading.lua | 1 | 4678 | ---------------------------------------------------------------------------------
--
-- Prat - A framework for World of Warcraft chat mods
--
-- Copyright (C) 2006-2011 Prat Development Team
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public Licen... | gpl-3.0 |
spezi77/android_external_skia | tools/lua/dump_clipstack_at_restore.lua | 147 | 1096 | function sk_scrape_startcanvas(c, fileName)
canvas = c
clipstack = {}
restoreCount = 0
end
function sk_scrape_endcanvas(c, fileName)
canvas = nil
end
function sk_scrape_accumulate(t)
if (t.verb == "restore") then
restoreCount = restoreCount + 1;
-- io.write("Clip Stack at restore #... | bsd-3-clause |
geekboxzone/mmallow_external_skia | tools/lua/dump_clipstack_at_restore.lua | 147 | 1096 | function sk_scrape_startcanvas(c, fileName)
canvas = c
clipstack = {}
restoreCount = 0
end
function sk_scrape_endcanvas(c, fileName)
canvas = nil
end
function sk_scrape_accumulate(t)
if (t.verb == "restore") then
restoreCount = restoreCount + 1;
-- io.write("Clip Stack at restore #... | bsd-3-clause |
NAM-IL/VLC-2_2_0 | share/lua/playlist/metacafe.lua | 113 | 2150 | --[[
$Id$
Copyright © 2007 the VideoLAN team
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 2 of the License, or
(at your option) any later version.
This program is distribut... | lgpl-2.1 |
emersonrp/LiteMount | Location.lua | 1 | 2685 | --[[----------------------------------------------------------------------------
LiteMount/Location.lua
Some basics about the current location with respect to mounting. Most of
the mojo is done by IsUsableSpell to know if a mount can be cast, this
just helps with the prioritization.
Copyright 2011-2014 Mi... | gpl-2.0 |
CameronTofer/termide | src/window/callstack.lua | 1 | 1527 | local Class = require 'class'
local Window = require 'window.window'
local Callstack = Class({ __includes = Window })
function Callstack:update()
self.stack = {}
for i=1,64 do
local inf = debug.getinfo(i+3)
if inf == nil then
break
end
self.stack[i] = inf
local locals = {}
for j=1,... | mit |
The-HalcyonDays/darkstar | scripts/zones/Rabao/Zone.lua | 28 | 1606 | -----------------------------------
--
-- Zone: Rabao (247)
--
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Ranguemont_Pass/Zone.lua | 20 | 1885 | -----------------------------------
--
-- Zone: Ranguemont_Pass (166)
--
-----------------------------------
package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Ranguemont_Pass/TextIDs");
require("scrip... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Northern_San_dOria/npcs/Pellimie.lua | 38 | 1025 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pellimie
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 145.459 0.000 131.540
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Port_Bastok/npcs/Oggbi.lua | 19 | 3212 | -----------------------------------
-- Area: Port Bastok
-- NPC: Oggbi
-- Starts and Finishes: Ghosts of the Past, The First Meeting
-- @zone 236
-- @pos -159 -7 5
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
Kong/kong | spec/03-plugins/06-statsd/01-log_spec.lua | 1 | 46706 | local helpers = require "spec.helpers"
local pl_file = require "pl.file"
local get_hostname = require("kong.pdk.node").new().get_hostname
local fmt = string.format
local UDP_PORT = 20000
local TCP_PORT = 20001
local DEFAULT_METRICS_COUNT = 12
local DEFAULT_UNMATCHED_METRICS_COUNT = 6
local uuid_patt... | apache-2.0 |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf.lua | 3 | 2004 | -- Copyright 2012 by Till Tantau
--
-- This file may be distributed an/or modified
--
-- 1. under the LaTeX Project Public License and/or
-- 2. under the GNU Public License
--
-- See the file doc/generic/pgf/licenses/LICENSE for more information
-- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf.lu... | gpl-2.0 |
destdev/ygopro-scripts | c64788463.lua | 4 | 1345 | --キングス・ナイト
function c64788463.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(64788463,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(c64788463.spcon)
e1:SetTarget(c6478... | gpl-2.0 |
elptito/EmptyEpsilon | scripts/model_data.lua | 1 | 31574 | model = ModelData()
model:setName("space_station_4")
model:setMesh("space_station_4/space_station_4.model")
model:setTexture("space_station_4/space_station_4_color.jpg")
model:setSpecular("space_station_4/space_station_4_specular.jpg")
model:setIllumination("space_station_4/space_station_4_illumination.jpg")
model:setR... | gpl-2.0 |
destdev/ygopro-scripts | c39299733.lua | 1 | 3906 | --運命の戦車
function c39299733.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(39299733,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c39299733.eqtg)
e1:SetOperation(c3929... | gpl-2.0 |
TrevorEdwards/GmodLabyrinth | gamemodes/labyrinth/entities/entities/trap_gate_rotating/shared.lua | 1 | 1285 |
ENT.PrintName = "Rotating Gate Trap"
ENT.Author = "TB002"
if SERVER then
AddCSLuaFile("shared.lua")
end
if CLIENT then
end
ENT.Type = "anim"
ENT.open = false
ENT.size = 1
ENT.thinktime = 5
function ENT:Initialize()
self:SetModel( "models/hunter/plates/plate"..self.size.."x"..self.size..".mdl" )
sel... | mit |
Deadwing888/darkstar | scripts/globals/abilities/pets/thunderspark.lua | 28 | 1520 | ---------------------------------------------------
-- Thunderspark M=whatever
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/summon");
require("scripts/globals/magic");
require("scripts/globals/monstertpmoves");
---... | gpl-3.0 |
MrGrim48/prop_hunt | gamemode/core/hud/vgui/cl_vgui_hudlayout.lua | 1 | 3430 | --
-- vgui_hudlayout.lua
-- Prop Hunt
--
-- Created by Andrew Theis on 2013-10-31. Modified from original Facepunch fretta file.
-- Copyright (c) 2013 Andrew Theis. All rights reserved.
--
local PANEL = {}
AccessorFunc( PANEL, "Spacing", "Spacing" )
function PANEL:Init()
self.Items = {}
self:SetSpacing( 8 )
... | mit |
Deadwing888/darkstar | scripts/zones/AlTaieu/mobs/Ul_hpemde.lua | 7 | 2794 | -----------------------------------
-- Area: Al'Taieu
-- MOB: Ul'Hpemde
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-----------------------------------
-- on... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Metalworks/npcs/Takiyah.lua | 17 | 1292 | -----------------------------------
-- Area: Metalworks
-- NPC: Takiyah
-- Type: Regional Merchant
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
require(... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Yhoator_Jungle/Zone.lua | 27 | 4221 | -----------------------------------
--
-- Zone: Yhoator_Jungle (124)
--
-----------------------------------
package.loaded[ "scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Yhoator_Jungle/TextIDs"... | gpl-3.0 |
destdev/ygopro-scripts | c95081386.lua | 4 | 1734 | --スリーストライク・バリア
function c95081386.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c95081386.condition)
e1:SetTarget(c95081386.target)
e1:SetOperation(c95081386.activate)
c:RegisterEffect(e1)
end
function c95081386.conditi... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Lower_Jeuno/npcs/Morefie.lua | 13 | 1128 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Morefie
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
Kong/kong | kong/deprecation.lua | 1 | 1449 | local pl_utils = require "pl.utils"
local concat = table.concat
local select = select
local type = type
local function init_cli()
local log = require "kong.cmd.utils.log"
pl_utils.set_deprecation_func(function(msg, trace)
if trace then
log.warn(msg, " ", trace)
else
log.warn(msg)
end
e... | apache-2.0 |
RwNigma/darkstar | scripts/globals/items/cup_of_choco-delight.lua | 35 | 1167 | -----------------------------------------
-- ID: 4283
-- Item: cup_of_choco-delight
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic Regen While Healing 5
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c82044279.lua | 1 | 3002 | --クリアウィング・シンクロ・ドラゴン
function c82044279.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82044279,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O)... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/pathfind.lua | 35 | 2667 | -- Util methods for pathfinding
pathfind = {};
PATHFLAG_NONE = 0
PATHFLAG_RUN = 1
PATHFLAG_WALLHACK = 2
PATHFLAG_REVERSE = 4
-- returns the point at the given index
function pathfind.get(points, index)
local pos = {};
if (index < 0) then
index = (#points + index - 2) / 3;
end
pos[1] = poin... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/weaponskills/wheeling_thrust.lua | 11 | 1571 | -----------------------------------
-- Wheeling Thrust
-- Polearm weapon skill
-- Skill Level: 225
-- Ignores enemy's defense. Amount ignored varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifiers: STR:... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/spells/burst.lua | 12 | 1037 | -----------------------------------------
-- Spell: Burst
-- Deals lightning damage to an enemy and lowers its resistance against earth.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
-----------------------------------------
function onMagicCastingCheck(ca... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Dynamis-Bastok/Zone.lua | 28 | 2474 | -----------------------------------
--
-- Zone: Dynamis-Bastok
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Bastok/TextIDs");
-----------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Upital-Lupital.lua | 13 | 1071 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Upital-Lupital
-- Type: Standard NPC
-- @zone: 94
-- @pos -57.809 -13.339 122.753
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] ... | gpl-3.0 |
destdev/ygopro-scripts | c86196216.lua | 2 | 2915 | --RUM-デス・ダブル・フォース
function c86196216.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetHintTiming(0,TIMING_DESTROY+TIMING_END_PHASE)
e1:SetTarget(c861962... | gpl-2.0 |
destdev/ygopro-scripts | c23379054.lua | 1 | 2969 | --劫火の舟守 ゴースト・カロン
function c23379054.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,23379054)
e1:SetCondition(c23379054.condition)
e1:SetC... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Nadee_Periyaha.lua | 17 | 1493 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Nadee Periyaha
-- Standard Info NPC
-- @pos -10.802 0.000 -1.198 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/que... | gpl-3.0 |
rezatak21/TeleTakTaz | plugins/pokedex.lua | 626 | 1668 | do
local images_enabled = true;
local function get_sprite(path)
local url = "http://pokeapi.co/"..path
print(url)
local b,c = http.request(url)
local data = json:decode(b)
local image = data.image
return image
end
local function callback(extra)
send_msg(extra.receiver, extra.text, ok_cb, false)
end
lo... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#2.lua | 19 | 1220 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: HomePoint#2
-- @pos -130 0.001 -16 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require(... | gpl-3.0 |
destdev/ygopro-scripts | c19230407.lua | 6 | 1398 | --死者への供物
function c19230407.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c19230407.target)
e1:SetOperation(c19230407.activate)
c:RegisterEffect(e1)... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Mhaura/npcs/HomePoint#1.lua | 17 | 1239 | -----------------------------------
-- Area: Mhaura
-- NPC: HomePoint#1
-- @pos -12.750 -15.791 87.286 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/homepoi... | gpl-3.0 |
Markal128/skynet | examples/login/logind.lua | 49 | 1636 | local login = require "snax.loginserver"
local crypt = require "crypt"
local skynet = require "skynet"
local server = {
host = "127.0.0.1",
port = 8001,
multilogin = false, -- disallow multilogin
name = "login_master",
}
local server_list = {}
local user_online = {}
local user_login = {}
function server.auth_han... | mit |
Deadwing888/darkstar | scripts/globals/items/red_curry_bun.lua | 18 | 2193 | -----------------------------------------
-- 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 recovered wh... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/senroh_skewer.lua | 18 | 1449 | -----------------------------------------
-- ID: 5982
-- Item: Senroh Skewer
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- Dexterity 2
-- Vitality 3
-- Mind -1
-- Defense % 25 Cap 150
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Nashmau/Zone.lua | 9 | 1549 | -----------------------------------
--
-- Zone: Nashmau (53)
--
-----------------------------------
local ID = require("scripts/zones/Nashmau/IDs");
require("scripts/globals/missions");
require("scripts/globals/settings");
require("scripts/globals/zone")
-----------------------------------
function onInitialize(zone)
... | gpl-3.0 |
destdev/ygopro-scripts | c36468556.lua | 6 | 1256 | --停戦協定
function c36468556.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_POSITION+CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c36468556.target)
e1:SetOperation(c36468556.activate)
c:RegisterEffect(e1)
end
function c36468556.tg... | gpl-2.0 |
destdev/ygopro-scripts | c69243722.lua | 6 | 1822 | --ジェムナイト・エメラル
function c69243722.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(69243722,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c69243722.cost)
e1:Se... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Port_Windurst/npcs/Posso_Ruhbini.lua | 36 | 1583 | -----------------------------------
-- Area: Port Windurst
-- NPC: Posso Ruhbini
-- Regional Marchant NPC
-- Only sells when Windurst controlls Norvallen
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loa... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/collectiblepiranhaegg.lua | 6 | 3365 | -- 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 |
destdev/ygopro-scripts | c85313220.lua | 1 | 2673 | --漆黒の魔王 LV4
function c85313220.initial_effect(c)
--disable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_BATTLED)
e1:SetRange(LOCATION_MZONE)
e1:SetOperation(c85313220.disop)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetTy... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/fevered_pitch.lua | 11 | 1050 | ---------------------------------------------
-- Fevered Pitch
-- Deals damage to a single target. Additional effect: Stun and Defense Down
-- Utsusemi/Blink absorb: 1 shadow
---------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/... | gpl-3.0 |
simonfork/aquaria | game_scripts/_mods/guert_mod/tempo/biteymouth.lua | 12 | 4338 | -- 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 |
RwNigma/darkstar | scripts/globals/items/plate_of_ratatouille.lua | 35 | 1408 | -----------------------------------------
-- ID: 5731
-- Item: plate_of_ratatouille
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Agility 5
-- Evasion 5
-- HP recovered while healing 2
-- Undead Killer 5
-----------------------------------------
require("scripts/globals/status... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Maze_of_Shakhrami/Zone.lua | 30 | 1836 | -----------------------------------
--
-- Zone: Maze_of_Shakhrami (198)
--
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Maze... | gpl-3.0 |
X-Coder/spacebuild | lua/entities/nature_plant/init.lua | 5 | 3173 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')
function ENT:Initialize()
self.BaseClass.Initialize(self)
self.damaged = 0
self.time = 0
self.water = 100
self.Active = 1
self:ShowOutput()
end
function ENT:Repair()
self.BaseClass.Repair(self)
self:SetColor(C... | apache-2.0 |
destdev/ygopro-scripts | c27217742.lua | 4 | 1031 | --ONiサンダー
function c27217742.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(27217742,0))
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c27217742.thtg)
e1:SetOperation(c... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Valley_of_Sorrows/mobs/Adamantoise.lua | 1 | 1519 | -----------------------------------
-- Area: Valley of Sorrows
-- HNM: Adamantoise
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize
-----------------------------------
... | gpl-3.0 |
destdev/ygopro-scripts | c57753602.lua | 7 | 1323 | --ジェムフラッシュエナジー
function c57753602.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
c:RegisterEffect(e1)
--damage
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(57753602,0))
e2:SetCate... | gpl-2.0 |
MrGrim48/prop_hunt | gamemode/core/sh_util.lua | 1 | 3979 |
-- Information about the gamemode.
GM.Name = "Enhanced Prop Hunt"
GM.Author = "MrGrim"
GM.Email = ""
GM.Website = ""
-- Help info.
GM.Help = [[Prop Hunt is a twist on the classic backyard game Hide and Seek.
As a Prop you have ]]..HUNTER_BLINDLOCK_TIME..[[ seconds to replicate an existing prop on the ma... | mit |
destdev/ygopro-scripts | c98884569.lua | 4 | 1432 | --ブルーローズ・ドラゴン
function c98884569.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(98884569,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(E... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Renadile.lua | 36 | 4466 | -----------------------------------
-- Area: Southern San d'Oria [S]
-- NPC: Renadile
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/a... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/spells/flare.lua | 12 | 1032 | -----------------------------------------
-- Spell: Flare
-- Deals fire damage to an enemy and lowers its resistance against water.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
-----------------------------------------
function onMagicCastingCheck(caster,... | gpl-3.0 |
destdev/ygopro-scripts | c44901281.lua | 9 | 1085 | --セイバー・ホール
function c44901281.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DISABLE_SUMMON+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SUMMON)
e1:SetCondition(c44901281.condition)
e1:SetTarget(c44901281.target)
e1:SetOperation(c44901281.activate)
c... | gpl-2.0 |
destdev/ygopro-scripts | c9659580.lua | 2 | 3540 | --方界業
function c9659580.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c9659580.target)
c:RegisterEffect(e1)
--lp halve
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(9659580,1))
e2:SetType(EFFECT_TYPE_FIE... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.