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 |
|---|---|---|---|---|---|
MrGrim48/prop_hunt | gamemode/modules/custom_rounds/rounds/sh_huntedhunters.lua | 1 | 8062 | --[[
sh_huntedhunters.lua
Copyright© Nekom Glew, 2017
--]]
local ROUND = {}
ROUND.Name = "Hunters become Hunted"
ROUND.Cooldown = 5
ROUND.Force = 2000
ROUND.DamageMultiplier = 0.8
ROUND.DamageMin = 1
ROUND.DamageMax = 30
ROUND.Speed = 290
ROUND.Range = 100
ROUND.RespawnCooldown = 5
ROUND.PickupCoo... | mit |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/misclayout/BalloonLayout.lua | 3 | 1564 | -- Copyright 2013 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/gd... | gpl-2.0 |
jcosborn/qhmc | lua/penlight-1.3.1/examples/seesubst.lua | 15 | 1272 | -- shows how replacing '@see module' in the Markdown documentation
-- can be done more elegantly using PL.
-- We either have something like 'pl.config' (a module reference)
-- or 'pl.seq.map' (a function reference); these cases must be distinguished
-- and a Markdown link generated pointing to the LuaDoc file.
require... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/caedarva_frog.lua | 18 | 1463 | -----------------------------------------
-- ID: 5465
-- Item: Caedarva Frog
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
GroundhogLighting/glare | prereleasescripts/document.lua | 1 | 10442 | #!/bin/env lua
local d = {}
local files = require(scripts_dir.."/files")
local format = require(scripts_dir.."/format")
local doxygen_log = "./developer-doc/doc.log"
d.doxygen = function()
os.execute("doxygen >"..null_output)
log = io.open(doxygen_log,"r")
first_line = log:read()
log:close() ... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Xarcabard/IDs.lua | 8 | 4136 | -----------------------------------
-- Area: Xarcabard
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.XARCABARD] =
{
text =
{
NOTHING_HAPPENS = 119, -- Nothing happens...
ITEM_CANNOT_BE... | gpl-3.0 |
dromozoa/dromozoa-zmq | build_symbols.lua | 1 | 6855 | -- Copyright (C) 2018,2019 Tomoyuki Fujimori <moyu@dromozoa.com>
--
-- This file is part of dromozoa-zmq.
--
-- dromozoa-zmq 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, o... | gpl-3.0 |
destdev/ygopro-scripts | c97617181.lua | 1 | 3601 | --銀河零式
function c97617181.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:SetCountLimit(1,97617181+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c97617181.target)
... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Windurst_Woods/npcs/Roberta.lua | 17 | 2132 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Roberta
-- Working 100%
-- @zone 241
-- @pos 21 -4 -157
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTr... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/abilities/curing_waltz_v.lua | 19 | 2095 | -----------------------------------
-- Ability: Curing Waltz V
-- Restores target's HP
-- Obtained: Dancer Level 87
-- TP Required: 80%
-- Recast Time: 00:23
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onAbilityChe... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Attohwa_Chasm/npcs/Cradle_of_Rebirth.lua | 12 | 1558 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Cradle_of_Rebirth
-----------------------------------
local ID = require("scripts/zones/Attohwa_Chasm/IDs");
require("scripts/globals/settings");
require("scripts/globals/keyitems");
-----------------------------------
function onTrade(player,npc,trad... | gpl-3.0 |
destdev/ygopro-scripts | c74003290.lua | 1 | 2958 | --迷い風
function c74003290.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(74003290,0))
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:S... | gpl-2.0 |
cloudflare/raven-lua | tests/luasocket.lua | 1 | 6260 | -- vim: st=4 sts=4 sw=4 et:
-- Copyright (c) 2014-2017 CloudFlare, Inc.
HTTP_RESPONSE =
"HTTP/1.1 200 OK\r\n" ..
"Server: yolo-http/0.0.0\r\n" ..
"Content-Type: application/json\r\n" ..
"Connection: close\r\n" ..
"\r\n" ..
"{\"id\": \"02c7830aae684d0088a0616a9ed81a6b\"}"
describe("Luasocket n... | bsd-3-clause |
ffxijuggalo/darkstar | scripts/globals/abilities/earth_shot.lua | 11 | 3152 | -----------------------------------
-- Ability: Earth Shot
-- Consumes a Earth Card to enhance earth-based debuffs. Deals earth-based magic damage
-- Rasp Effect: Enhanced DoT and DEX-, Slow Effect +10%
-----------------------------------
require("scripts/globals/ability")
require("scripts/globals/magic")
require("scri... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Upper_Jeuno/npcs/Zuber.lua | 17 | 1823 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Zuber
-- Involved in Quests: Save the Clock Tower
-- @zone 244
-- @pos -106 0 90
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/love_chocolate.lua | 18 | 1125 | -----------------------------------------
-- ID: 5230
-- Item: love_chocolate
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic Regen While Healing 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
destdev/ygopro-scripts | c1357146.lua | 7 | 1670 | --粋カエル
function c1357146.initial_effect(c)
--change code
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetValue(84451804)
c:RegisterEffect(e1)
--draw
local e2=Effect.CreateEffect(c)
e2:SetD... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/items/galkan_sausage_+3.lua | 11 | 1056 | -----------------------------------------
-- ID: 5861
-- Item: galkan_sausage_+3
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 6
-- Intelligence -7
-- Attack 12
-- Ranged Attack 12
-----------------------------------------
require("scripts/globals/status")
require("scripts/globa... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/oarfish.lua | 6 | 7011 | -- 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 |
ffxijuggalo/darkstar | scripts/globals/spells/bio.lua | 11 | 2274 | -----------------------------------------
-- Spell: Bio
-- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/utils")
req... | gpl-3.0 |
gvvaughan/optparse | lib/optparse/init.lua | 1 | 26099 | --[[
Simple Command Line Option Parsing for Lua 5.1, 5.2, 5.3 & 5.4
Copyright (C) 2014-2018, 2021-2022 Gary V. Vaughan
]]
--[[--
Parse and process command line options.
In the common case, you can write the long-form help output typical of
a modern-command line program, and let this module generate a custom
pars... | mit |
Deadwing888/darkstar | scripts/zones/Bibiki_Bay/mobs/Shen.lua | 7 | 1237 | -----------------------------------
-- Area: Bibiki Bay
-- MOB: Shen
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobFight Action
-------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c7268133.lua | 2 | 2329 | --EMライフ・ソードマン
function c7268133.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EVENT_RECOVER)
e1:SetCondition(c7268133.spcon)
e1:SetTarget(c7268133.sptg)
e1:SetO... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/maps/_unused/node_foundsecret01.lua | 6 | 1100 | -- 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 |
libretro/libretro-lutro | deps/luajit/dynasm/dynasm.lua | 5 | 31015 | ------------------------------------------------------------------------------
-- DynASM. A dynamic assembler for code generation engines.
-- Originally designed and implemented for LuaJIT.
--
-- Copyright (C) 2005-2022 Mike Pall. All rights reserved.
-- See below for full copyright notice.
----------------------------... | mit |
ichramm/LuaNode | test/simple/disabled/test-fs-read.lua | 2 | 1272 | module(..., lunit.testcase, package.seeall)
local common = dofile("common.lua")
local path = require "luanode.path"
local fs = require "luanode.fs"
function test()
local expected = 'xyz\n'
local readCalled = 0
local filepath = path.join(common.fixturesDir, 'x.txt')
fd, err = fs.openSync(filepath, 'r')
fs.read(fd, ... | mit |
LuaDist2/tableutils | src/listutils.lua | 1 | 3745 | --- tableutil/listutil: Utility functions for working with list-like tables
--
-- Peter Aronoff
-- BSD 3-Clause License
-- 2013-2015
local ipairs = ipairs
local foreach = function (func, list)
for _, val in ipairs(list) do
func(val)
end
end
local foreach_withindex = function (func, list)
for idx, val in ipa... | bsd-3-clause |
ffxijuggalo/darkstar | documentation/bcnm_loot_converted.lua | 10 | 106076 | -- todo:
-- see scripts/zones/Balgas_Dais/npcs/Armoury_Crate.lua
-- copy these into a loot table and pass to dsp.battlefield.HandleLootRolls (like in above script)
-- most bcnms can use their ids as the key, though limbus does its own shit
-- you'll need to look up these ids in bcnm_loot table to find any bcnms theyre... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Bastok_Markets/npcs/Hortense.lua | 36 | 1972 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Hortense
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require... | gpl-3.0 |
crwnet/openwrt | package/crwsoft/luci-app-adbyby/luasrc/model/cbi/adbyby/global.lua | 2 | 2429 | --[[
openwrt-dist-luci: Adbyby
]]--
local ds = require "luci.dispatcher"
local ipkg = require("luci.model.ipkg")
local uci = luci.model.uci.cursor()
local pkg_name
local min_version = "2.6"
local adbyby = "adbyby"
local m, s, o
function is_installed(name)
return ipkg.installed(name)
end
function get_version()
loc... | gpl-2.0 |
angt/overthebox | feeds/luci/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/openvpn.lua | 5 | 1338 | -- Copyright 2015 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local m, s, o
m = Map("luci_statistics",
translate("OpenVPN Plugin Configuration"),
translate("The OpenVPN plugin gathers information about the current vpn connection status."))
s = m:section( NamedSection, ... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Bastok_Mines/npcs/Babenn.lua | 17 | 2308 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Babenn
-- Finishes Quest: The Eleventh's Hour
-- Involved in Quests: Riding on the Clouds
-- @zone 234
-- @pos 73 -1 34
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
package.loaded["scripts/glob... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Mhaura/npcs/Take.lua | 29 | 4533 | -----------------------------------
-- Area: Mhaura
-- NPC: Take
-- Involved In Quest: RYCHARDE_THE_CHEF
-- Starts and finishes quest: Expertice
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scr... | gpl-3.0 |
MonkeyFirst/urho3d-staticmodel-instances | Sources/bin/Data/LuaScripts/TestScene.lua | 3 | 21961 | require "LuaScripts/Utilities/Network"
local testScene
local camera
local cameraNode
local yaw = 0
local pitch = 0
local drawDebug = 0
function Start()
if not engine:IsHeadless() then
InitConsole()
InitUI()
else
OpenConsoleWindow()
end
ParseNetworkArguments()
InitScene()... | mit |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Abda-Lurabda.lua | 34 | 1404 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Abda Lurabda
-- Standard Info NPC
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/pets");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/mobskills/Benthic_Typhoon.lua | 33 | 1030 | ---------------------------------------------
-- Benthic Typhoon
--
-- Description: Delivers an area attack that lowers target's defense and magic defense. Damage varies with TP.
-- Type: Physical (Piercing)
--
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
ariakabiryan/tnt-bot | plugins/remind.lua | 362 | 1875 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rr.lua | 17 | 1459 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna... | gpl-3.0 |
fodinabor/Polycode | bindings/lua/Polycode/SceneMesh.lua | 1 | 4587 | require "Polycode/Entity"
class "SceneMesh" (Entity)
function SceneMesh:__getvar(name)
if name == "lineWidth" then
return Polycode.SceneMesh_get_lineWidth(self.__ptr)
elseif name == "lineSmooth" then
return Polycode.SceneMesh_get_lineSmooth(self.__ptr)
elseif name == "pointSmooth" then
return Polycode.Scene... | mit |
destdev/ygopro-scripts | c70479321.lua | 2 | 3015 | --EMドラミング・コング
function c70479321.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--atk
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_ATKCHANGE)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_ATTACK_ANNOUNCE)
e2:SetRange(LOCATION_PZONE)
e2:SetProperty(EFFECT_FL... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Castle_Oztroja/npcs/_47z.lua | 17 | 1385 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47z (Torch Stand)
-- Notes: Opens door _474
-- @pos -62.464 24.218 -67.313 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ca... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Konschtat_Highlands/Zone.lua | 17 | 4146 | -----------------------------------
--
-- Zone: Konschtat_Highlands (108)
--
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Konschtat_High... | gpl-3.0 |
destdev/ygopro-scripts | c29508346.lua | 4 | 1093 | --ライバル・アライバル
function c29508346.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,29508346+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c29508346.condition)
e1:SetTarget(c29508346.target)
e1:S... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Windurst_Woods/npcs/Amimi.lua | 25 | 1980 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Amimi
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
--... | gpl-3.0 |
angt/overthebox | feeds/luci/applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua | 10 | 7956 | -- Copyright (c) 2016, prpl Foundation
--
-- Permission to use, copy, modify, and/or distribute this software for any purpose with or without
-- fee is hereby granted, provided that the above copyright notice and this permission notice appear
-- in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/spells/slow.lua | 21 | 1465 | -----------------------------------------
-- Spell: Slow
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-- Slow's potency is calculated with the formula (150 + dMND*2)/1024, and caps at 300/1024 (~29.3%).
-- And MND of 75 is neccessary to reach the hardcap of Slow.
-------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Xarcabard/npcs/Telepoint.lua | 17 | 1640 | -----------------------------------
-- Area: Xarcabard
-- NPC: Telepoint
-- @pos 150.258 -21.047 -37.256 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Xarcabard/T... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/roast_trout.lua | 11 | 1050 | -----------------------------------------
-- ID: 4404
-- Item: roast_trout
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Mind -1
-- Ranged ATT % 14 (cap 50)
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
---------... | gpl-3.0 |
Kong/kong | spec/01-unit/01-db/01-schema/15-workspaces_spec.lua | 1 | 1899 | local workspaces = require "kong.db.schema.entities.workspaces"
local Entity = require "kong.db.schema.entity"
local Workspaces = assert(Entity.new(workspaces))
describe("workspaces schema", function()
describe("name attribute", function()
-- refusals
it("rejects invalid names", function()
local... | apache-2.0 |
destdev/ygopro-scripts | c7305060.lua | 1 | 2396 | --アモルファージ・プレスト
function c7305060.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--flip
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_FLIP)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetOperation(c7305060.flipop)
c:RegisterEffect(e1... | gpl-2.0 |
destdev/ygopro-scripts | c65503206.lua | 1 | 2872 | --スクラップ・ソルジャー
function c65503206.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetOperation(c65503206.regop)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Kuftal_Tunnel/mobs/Phantom_Worm.lua | 8 | 1633 | -----------------------------------
-- Area: Kuftal Tunnel (173)
-- Mob: Phantom Worm
-----------------------------------
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer,ally)
end;
-----------------------------------
-- onMobDespawn
----------... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/roodshrimp.lua | 6 | 5376 | -- 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 | c8316565.lua | 6 | 1194 | --ジョルト・カウンター
function c8316565.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c8316565.condition)
e1:SetTarget(c8316565.target)
e1:SetOperation(c8316565.activate)
c:Registe... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Loillie.lua | 13 | 1613 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Loillie
-- @zone 80
-- @pos 78 -8 -23
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
--------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Qulun_Dome/mobs/Diamond_Quadav.lua | 27 | 1447 | -----------------------------------
-- Area: Qulun_Dome
-- NM: Diamond_Quadav
-- Note: PH for Za Dha Adamantking PH
-----------------------------------
require("scripts/zones/Qulun_Dome/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMo... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Dynamis-Xarcabard/npcs/qm1.lua | 13 | 1344 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: ??? (Spawn when mega is defeated)
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/serving_of_herb_crawler_eggs.lua | 11 | 1245 | -----------------------------------------
-- ID: 4552
-- Item: serving_of_herb_crawler_eggs
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 6
-- Health Cap 80
-- Magic 10
-- Agility 3
-- Vitality -1
-- Evasion 8
-----------------------------------------
require("scripts/globals/s... | gpl-3.0 |
destdev/ygopro-scripts | c86240887.lua | 3 | 2083 | --竜破壊の剣士-バスター・ブレイダー
function c86240887.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFun(c,78193831,aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),1,true,true)
--cannot direct attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_DIRECT_A... | gpl-2.0 |
Kaixhin/Easy21 | lin-func-approx.lua | 1 | 6063 | local gnuplot = require 'gnuplot'
local environ = require 'environ'
-- Set manual seed
torch.manualSeed(1)
-- Load Q* from MC control
local QStar = torch.load('Q.t7')
local nEpisodes = 1000
-- Number of discrete actions
local m = #environ.A
-- Translates state to coarse-coded feature vector (not incl. action)
local ... | mit |
ffxijuggalo/darkstar | scripts/globals/magiantrials.lua | 50 | 9360 | -------------------------------------------
-- Magian trial functions, vars, tables
-------------------------------------------
-----------------------------------
-- getTrialInfo
-----------------------------------
-- once fully filled out, these info tables might get large enough to need their own file, we'll see...... | gpl-3.0 |
streamdataio/kong | spec/integration/dao/cassandra/migrations_spec.lua | 7 | 6857 | local DAO = require "kong.dao.cassandra.factory"
local cassandra = require "cassandra"
local Migrations = require "kong.tools.migrations"
local spec_helper = require "spec.spec_helpers"
--
-- Stubs, instanciation and custom assertions
--
local TEST_KEYSPACE = "kong_migrations_tests"
local PLUGIN_MIGRATIONS_STUB = req... | apache-2.0 |
destdev/ygopro-scripts | c89914395.lua | 2 | 1365 | --ミョルニルの魔槌
function c89914395.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCondition(c89914395.condition)
e1:SetTarget(c89914395.target)
e1:SetOperation(c89914395.operation)
c:RegisterEff... | gpl-2.0 |
destdev/ygopro-scripts | c10678778.lua | 2 | 3372 | --魔海城アイガイオン
function c10678778.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,8,2)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(10678778,0))
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCAT... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/clump_of_shungiku.lua | 18 | 1192 | -----------------------------------------
-- ID: 5236
-- Item: Clump of Shungiku
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility +1
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm3.lua | 2 | 1335 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Ullikummi)
-- @pos 739 -99 -581 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvita... | gpl-3.0 |
dxd214/wax | lib/build-scripts/luac.lua | 17 | 2517 | #!/usr/bin/env lua
-- usage: lua luac.lua module-name output.file base_dir starting-file.lua [-L [other-files.lua]*]
--
-- base_dir: The root for all the lua files. So folder modules can be used
--
-- creates a precompiled chunk that preloads all modules listed after
-- -L and then runs all programs listed before -L.
... | mit |
The-HalcyonDays/darkstar | scripts/globals/items/serving_of_crimson_jelly.lua | 35 | 1426 | -----------------------------------------
-- ID: 5144
-- Item: serving_of_crimson_jelly
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 12
-- Magic Cap 85
-- Intelligence 6
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/global... | gpl-3.0 |
godly-devotion/Baka-MPlayer-old | Baka MPlayer/bin/Debug/libquvi-scripts/0.9/common/quvi/time.lua | 3 | 3486 | -- libquvi-scripts
-- Copyright (C) 2013 Toni Gundogdu <legatvs@gmail.com>
--
-- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
--
-- 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 Sof... | gpl-2.0 |
drix/jagg | src/scenes/hud/score.lua | 1 | 3034 | -------------------------------------------------------------------------
-- Created by Adriano Spadoni
-- alte_br@hotmail.com
-- 07 Jun 2014
-------------------------------------------------------------------------
-- animations
local greemSequence = {
{name="start", start=1, count=20, time=1500, loopCount=1}
}
loc... | mit |
The-HalcyonDays/darkstar | scripts/globals/items/head_of_napa.lua | 35 | 1195 | -----------------------------------------
-- ID: 5235
-- Item: head_of_napa
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Nashmau/npcs/HomePoint#1.lua | 12 | 1239 | -----------------------------------
-- Area: Nashmau
-- NPC: HomePoint#1
-- @pos -19.860 0.001 -25.441 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
Kinathka/gmod_airbase_vehicles | avehicle_jumperv29/lua/entities/avehicle_puddlejumperv29/cl_init.lua | 1 | 14476 | if not AVehicles then
Msg("\nAJumper:AVehicle Base not installed! Please install it for this addon to work!\n")
end
include('shared.lua')
language.Add("avehicle_puddlejumperv29","AV Puddle Jumper V 2.9")
function ENT:Initialize()
self.BaseClass.Initialize(self)
self.Emitter = ParticleEmitter(self.Entity:GetPos(... | lgpl-3.0 |
APItools/monitor | lua/inspect.lua | 17 | 6154 | -----------------------------------------------------------------------------------------------------------------------
-- inspect.lua - v1.2.1 (2013-01)
-- Enrique García Cota - enrique.garcia.cota [AT] gmail [DOT] com
-- human-readable representations of tables.
-- inspired by http://lua-users.org/wiki/TableSerializa... | mit |
Kinathka/gmod_airbase_vehicles | avehicle_main/lua/effects/effect_av_lightsmokes/init.lua | 1 | 1202 | --Light Smoke effect
--effect_av_lightsmokes
function EFFECT:Init( data )
self.StartPos = data:GetOrigin()
local Pos = self.StartPos
local obj = data:GetEntity()
if (not IsValid( obj ) ) then
return
end
local scale = data:GetScale() or 1
local mag = data:GetMagnitude() or 1
local Normal = obj:GetForwar... | lgpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/PsoXja/Zone.lua | 13 | 4106 | -----------------------------------
--
-- Zone: PsoXja (9)
--
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/zones/PsoXja/TextIDs");
require... | gpl-3.0 |
rrpgfirecast/firecast | SDK3/Tools/LuaCheck/src/argparse.lua | 3 | 40102 | -- The MIT License (MIT)
-- Copyright (c) 2013 - 2018 Peter Melnichenko
-- Permission is hereby granted, free of charge, to any person obtaining a copy of
-- this software and associated documentation files (the "Software"), to deal in
-- the Software without restriction, including without limitation the rights to
--... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm2.lua | 12 | 2192 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: Shimmering Circle (BCNM Exits)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/title... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/qm4.lua | 34 | 1034 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm4 (???)
-- Notes: Opens west door @ J-9
-- @pos 92.542 -25.907 26.548 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
telegrambot81/farsi | plugins/bot.lua | 11 | 1876 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Apollyon/mobs/Sirin.lua | 17 | 1134 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Sirin
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Port_San_dOria/npcs/Noquerelle.lua | 36 | 1376 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Noquerelle
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Te... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/namas_arrow.lua | 12 | 1755 | -----------------------------------
-- Skill Level: N/A
-- Description: Additional Effect: Temporarily improves Ranged Accuracy
-- Aligned with the Light Gorget, Snow Gorget & Aqua Gorget.
-- Properties
-- Element: N/A
-- Skillchain Properties: Light/Distortion
-- Modifiers: STR: 40% AGI: 40%
-- Damage Multipli... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Reinos de Ferro/output/rdkObjs/FichaRdF/FichaRdF.1.lfm.lua | 1 | 94048 | 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_frmRDF1()
local obj = GUI.fromHandle(_obj_newObject("form... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Nashmau/npcs/Kakkaroon.lua | 17 | 2217 | -----------------------------------
-- Area: Nashmau
-- NPC: Kakkaroon
-- Standard Info NPC
-- @pos 13.245 0.000 -25.307 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/global... | gpl-3.0 |
otservme/global1053 | data/npc/scripts/Hal.lua | 2 | 1765 | 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) npcH... | gpl-2.0 |
zhaozg/luvit | tests/test-fs-write-stream.lua | 11 | 1590 | --[[
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 |
gregfjohnson/codea_gitbridge | receiveFile.lua | 1 | 3028 | #! /usr/bin/env lua
-----------------------------------------------------------------------------
-- Copyright (c) Greg Johnson, Gnu Public Licence v. 2.0.
-----------------------------------------------------------------------------
local scriptDir = debug.getinfo(1).source:match('@(.*)')
if scriptDir:match('[/\\]') ... | gpl-2.0 |
Kinathka/gmod_airbase_vehicles | avehicle_heli/lua/entities/avehicle_uh1yvenom_rotor/init.lua | 1 | 2112 | AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include( 'shared.lua' )
function ENT:Initialize()
self:SetModel( "models/Flyboi/UH1YVenom/venomrotorm_fb.mdl" )
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSICS )
if IsValid(self.Heli) then
self:Set... | lgpl-3.0 |
APItools/monitor | lua/controllers/services_controller.lua | 2 | 3399 | local h = require 'controller_helpers'
local inspect = require 'inspect'
local m = require 'model_helpers'
local fn = require 'functional'
local shared_dict = require 'shared_dict'
local Service = require 'models.service'
local MiddlewareSpec = require 'mode... | mit |
DaanVanYperen/ns2-skulks-with-shotguns | output/lua/SkulksWithShotguns/sws_Shared.lua | 1 | 1891 |
// Constants
Script.Load("lua/SkulksWithShotguns/sws_Globals.lua")
Script.Load("lua/SkulksWithShotguns/sws_DamageTypes.lua")
Script.Load("lua/SkulksWithShotguns/sws_Sounds.lua")
// Utilities
Script.Load("lua/SkulksWithShotguns/sws_Locale.lua")
Script.Load("lua/SkulksWithShotguns/sws_Utility.lua")
Script.Load("lua/Sku... | mit |
The-HalcyonDays/darkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/_4e2.lua | 17 | 1329 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: Elevator
-- @pos -294 -143 27 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zone... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ao cair da noite/output/rdkObjs/Ficha ACN/ACN.6.lfm.lua | 1 | 115830 | 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_frmACN6()
local obj = GUI.fromHandle(_obj_newObject("form... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Dynamis-Valkurm/mobs/Goblin_Replica.lua | 17 | 2382 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Goblin Replica
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/porter_moogle_util.lua | 27 | 27581 | -----------------------------------
-- Porter Moogle Utilities
-- desc: Common functionality for Porter Moogles.
-----------------------------------
require("scripts/globals/common");
-- Item IDs for all of the slips.
local slipIds = { 29312, 29313, 29314, 29315, 29316, 29317, 29318, 29319, 29320, 29321, 29322, 29323,... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/bowl_of_humpty_soup.lua | 35 | 1400 | -----------------------------------------
-- ID: 4521
-- Item: Bowl of Humpty Soup
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 6
-- Health Cap 35
-- Magic 5
-- Health Regen While Healing 5
-----------------------------------------
require("scripts/globals/status")... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Bastok_Markets/npcs/Rothais.lua | 36 | 1061 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Rothais
-- Involved in Quest: Gourmet
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
----------------------------... | gpl-3.0 |
amir1213/teletamir | plugins/plugins.lua | 257 | 4732 | 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 |
The-HalcyonDays/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j1.lua | 38 | 1045 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos -331 0.1 -300 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Sacrificial_Chamber/TextIDs");
-------... | gpl-3.0 |
CodeAndWeb/TexturePacker-Shiva-JPSprite | ShivaProject/Resources/Scripts/JPSpriteData_Handler_onInit.lua | 1 | 1507 | --------------------------------------------------------------------------------
-- Handler.......... : onInit
-- Author........... :
-- Description...... :
--------------------------------------------------------------------------------
----------------------------------------------------------------------------... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.