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 |
|---|---|---|---|---|---|
destdev/ygopro-scripts | c38680149.lua | 6 | 1612 | --トラスト・マインド
function c38680149.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetLabel(0)
e1:SetCost(c38680149.cost)
e1:SetTarget(c38680149.target)
e1:SetOpera... | gpl-2.0 |
JetBoom/fretta13 | gamemodes/fretta13/gamemode/utility.lua | 2 | 1577 | /*---------------------------------------------------------
Name: UTIL_SpawnAllPlayers
Desc: Respawn all non-spectators, providing they are allowed to spawn.
---------------------------------------------------------*/
function UTIL_SpawnAllPlayers()
for k,v in pairs( player.GetAll() ) do
if ( v:CanRespawn() ... | unlicense |
RwNigma/darkstar | scripts/zones/Zeruhn_Mines/Zone.lua | 30 | 2566 | -----------------------------------
--
-- Zone: Zeruhn_Mines (172)
--
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/zone");
require("scripts/zones/Zeruhn_Mines/Tex... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Sauromugue_Champaign/npcs/qm4.lua | 10 | 2476 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm4 (???) (Tower 4)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- @pos 129.587 -0.600 -235.525 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/abilities/pets/diamond_dust.lua | 34 | 1104 | ---------------------------------------------------
-- Diamond Dust
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
-------------------------------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/West_Ronfaure/npcs/Palcomondau.lua | 27 | 12438 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Palcomondau
-- Type: Patrol
-- @pos -349.796 -45.345 344.733 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/pathfind");
---------------... | gpl-3.0 |
kennyledet/Algorithm-Implementations | Dijkstra's_Shortest_Path/Lua/Yonaba/utils/bheap.lua | 78 | 2454 | -- Binary Heap data structure implementation
-- See: http://www.policyalmanac.org/games/binaryHeaps.htm
-- Adapted from: https://github.com/Yonaba/Binary-Heaps
local PATH = (...):gsub('%.bheap$','')
local class = require (PATH .. '.class')
-- Looks for item in an array
local function findIndex(array, item)
for k,v ... | mit |
kennyledet/Algorithm-Implementations | Best_First_Search/Lua/Yonaba/utils/bheap.lua | 78 | 2454 | -- Binary Heap data structure implementation
-- See: http://www.policyalmanac.org/games/binaryHeaps.htm
-- Adapted from: https://github.com/Yonaba/Binary-Heaps
local PATH = (...):gsub('%.bheap$','')
local class = require (PATH .. '.class')
-- Looks for item in an array
local function findIndex(array, item)
for k,v ... | mit |
Deadwing888/darkstar | scripts/zones/Al_Zahbi/npcs/Gameem.lua | 13 | 1034 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Gameem
-- Type: Standard NPC
-- @zone: 48
-- @pos 18.813 -7 11.298
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c43114901.lua | 7 | 1310 | --ジェムナイト・サニクス
function c43114901.initial_effect(c)
aux.EnableDualAttribute(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(43114901,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetRange(LO... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/effects/dia.lua | 37 | 1233 | -----------------------------------
--
-- EFFECT_DIA
--
----------------------------------
-- Quick Explanation of Algorithm:
-- Dia 1: Power of 1. Results in reduced defense of ~5.27% (27/512) and 1 hp/tick damage.
-- Dia 2: Power of 2. Results in reduced defense of ~10.35% (53/512) and 2 hp/tick damage.... | gpl-3.0 |
elptito/EmptyEpsilon | scripts/border_defend_station.lua | 1 | 4386 | -- Supporting script for a station's defensive fleet in Borderline Fever scenario.
-- In the main script, the station will need a defensive fleet attached/defined.
-- For example:
-- station_1 = SpaceStation():setTemplate("Medium Station"):setFaction("Human Navy")
-- station_1.comms_data = {
-- idle_defense_fleet = {
... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ugrihd.lua | 27 | 10480 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ugrihd
-- Coin Exchange Vendor
-- @pos -63.079 -6 -28.571 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require(... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Jugner_Forest/npcs/Alexius.lua | 13 | 1600 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Alexius
-- Involved in Quest: A purchase of Arms & Sin Hunting
-- @pos 105 1 382 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/tit... | gpl-3.0 |
vlcchina/vlc-player-dev | share/lua/playlist/metachannels.lua | 10 | 2002 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Rémi Duraffort <ivoire at videolan dot org>
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 y... | gpl-2.0 |
destdev/ygopro-scripts | c21790410.lua | 1 | 2974 | --甲虫装機 センチピード
function c21790410.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21790410,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetTarget(c21790410.eqtg)
e1:SetOperation(c21790410.eqop)
c:... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/ectosmash.lua | 11 | 1064 | ---------------------------------------------
-- Ectosmash
--
-- Description: Teleports in to smack a single target
-- Type: Ranged
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Unknown
-- Notes: Mob is still set to same spot for attacks and abilities that deal with monster position, such as Sneak Attack and Cover... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Spire_of_Vahzl/npcs/Radiant_Aureole.lua | 13 | 1136 | -----------------------------------
-- Area: Spire of Vahzl
-- NPC: Radiant Aureole
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Spire_of_Vahzl/TextIDs");
-----------------------------------
-- onTrade Act... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Port_Bastok/npcs/Hilda.lua | 26 | 5026 | -----------------------------------
-- Area: Port Bastok
-- NPC: Hilda
-- Involved in Quest: Cid's Secret, Riding on the Clouds
-- Starts & Finishes: The Usual
-- @pos -163 -8 13 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/bunch_of_buburimu_grapes.lua | 35 | 1223 | -----------------------------------------
-- ID: 4503
-- Item: Bunch of Buburimu Grapes
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -6
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Temenos/mobs/Temenos_Cleaner.lua | 7 | 1276 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Temenos_Cleaner
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------... | gpl-3.0 |
X-Coder/spacebuild | lua/weapons/gmod_tool/stools/rd3_dev_link3.lua | 1 | 10842 | --load our other stools first
--include( "RD2/tool_manifest.lua" )
--dev link stool
--TOOL = ToolObj:Create()
TOOL.Mode = "rd3_dev_link3"
TOOL.Category = 'Resource Distribution'
TOOL.Name = '#Auto Link Tool'
TOOL.Command = nil
TOOL.ConfigName = ''
if (CLIENT and GetConVarNumber("CAF_UseTab") == 1) then TOOL.Tab = ... | apache-2.0 |
ld-test/luajson | lua/json/encode/output.lua | 9 | 2404 | --[[
Licensed according to the included 'LICENSE' document
Author: Thomas Harning Jr <harningt@gmail.com>
]]
local type = type
local assert, error = assert, error
local table_concat = require("table").concat
local loadstring = loadstring or load
local io = require("io")
local setmetatable = setmetatable
local outp... | mit |
Deadwing888/darkstar | scripts/zones/Castle_Zvahl_Keep/npcs/Treasure_Chest.lua | 13 | 3743 | -----------------------------------
-- Area: Castle Zvahl Keep
-- NPC: Treasure Chest
-- @zone 162
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/collectiblejellyplant.lua | 6 | 1741 | -- 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/items/serving_of_emperor_roe.lua | 11 | 1033 | -----------------------------------------
-- ID: 4275
-- Item: serving_of_emperor_roe
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 8
-- Magic 8
-- Dexterity 4
-- Mind -4
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
---... | gpl-3.0 |
destdev/ygopro-scripts | c80769747.lua | 1 | 2993 | --C・スネーク
function c80769747.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(80769747,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c80769747.eqtg)
e1:SetOperation(c807... | gpl-2.0 |
streamdataio/kong | kong/cli/utils/dnsmasq.lua | 15 | 1412 | local IO = require "kong.tools.io"
local cutils = require "kong.cli.utils"
local constants = require "kong.constants"
local stringy = require "stringy"
local _M = {}
function _M.stop(kong_config)
local pid_file = kong_config.nginx_working_dir.."/"..constants.CLI.DNSMASQ_PID
local _, code = IO.kill_process_by_pid_... | apache-2.0 |
destdev/ygopro-scripts | c78621186.lua | 4 | 1799 | --バーバリアン・ハウリング
function c78621186.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(78621186,0))
e1:SetCategory(CATEGORY_DAMAGE+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCondition(c... | gpl-2.0 |
destdev/ygopro-scripts | c5498296.lua | 9 | 1102 | --暗黒界の斥候 スカー
function c5498296.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(5498296,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c5498296.condition)
e1:SetT... | gpl-2.0 |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/jedi/library.lua | 2 | 2493 | -- Copyright 2014 by Ida Bruhns
--
-- This file may be distributed and/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
--- The library providing the graph drawing framework Jedi
-- This labra... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/FeiYin/npcs/Underground_Pool.lua | 13 | 2447 | -----------------------------------
-- Area: FeiYin
-- NPC: Underground Pool
-- Involved In Quest: Scattered into Shadow
-- @pos 7 0 32 204 (H-8)
-- @pos 7 0 247 204 (H-5)
-- @pos -168 0 247 204 (F-5)
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
w86021702/svr_demo | 3rd/skynet/lualib/snax/gateserver.lua | 29 | 3258 | local skynet = require "skynet"
local netpack = require "netpack"
local socketdriver = require "socketdriver"
local gateserver = {}
local socket -- listen socket
local queue -- message queue
local maxclient -- max client
local client_number = 0
local CMD = setmetatable({}, { __gc = function() netpack.clear(queue) en... | mit |
Deadwing888/darkstar | scripts/zones/Caedarva_Mire/npcs/Jazaraat_s_Headstone.lua | 16 | 2063 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Jazaraat's Headstone
-- Involved in mission: The Lost Kingdom (TOAUM 13)
-- @pos -389 6 -570 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/... | gpl-3.0 |
CaveeJohnson/gmod-battle-royale | gamemode/sh_config.lua | 1 | 2745 | AddCSLuaFile()
GM.Config = {}
-- Voice range
GM.Config.VoiceRadius = 300
GM.Config.RoundReadyTime = 20
GM.Config.RoundOverTime = 30
GM.Config.Playermodels = {
"models/player/group01/male_01.mdl",
"models/player/group01/male_02.mdl",
"models/player/group01/male_03.mdl",
"models/player/group01/male_04.mdl",
"mode... | mit |
domoticz/domoticz | dzVents/runtime/device-adapters/humidity_device.lua | 20 | 1025 | local humidityMapping = {
['dry'] = 2,
['normal'] = 0,
['comfortable'] = 1,
['wet'] = 3
}
return {
baseType = 'device',
name = 'Humidty device adapter',
matches = function (device, adapterManager)
local res = (device.deviceType == 'Humidity')
if (not res) then
adapterManager.addDummyMethod(device, 'up... | gpl-3.0 |
Gethe/oUF | elements/raidroleindicator.lua | 6 | 2597 | --[[
# Element: Raid Role Indicator
Handles the visibility and updating of an indicator based on the unit's raid assignment (main tank or main assist).
## Widget
RaidRoleIndicator - A `Texture` representing the unit's raid assignment.
## Notes
This element updates by changing the texture.
## Examples
-- Posi... | mit |
3203317/ngx | front/hello1.lua | 1 | 1706 | local mysql = require "resty.mysql"
local db, err = mysql:new()
if not db then
ngx.say("failed to instantiate mysql: ", err)
return
end
db:set_timeout(1000) -- 1 sec
-- or connect to a unix domain s... | mit |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fochacha.lua | 19 | 2525 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fochacha
-- Type: Standard NPC
-- @pos 2.897 -1 -10.781 50
-- Quest: Delivering the Goods
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/weaponskills/upheaval.lua | 10 | 1590 | -----------------------------------
-- Upheaval
-- Great Axe weapon skill
-- Skill Level: 357
-- Delivers a four-hit attack. Damage varies with TP.
-- In order to obtain Upheaval, the quest Martial Mastery must be completed.
-- Aligned with Flame Gorget, Light Gorget & Shadow Gorget.
-- Aligned with Flame Belt, Light B... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/wild_rage.lua | 11 | 1205 | ---------------------------------------------
-- Wild Rage
--
-- Description: Deals physical damage to enemies within area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 15' radial
-- Notes: Has additional effect of Poison when used by King Vinegarroon.
------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c57348141.lua | 4 | 3340 | --トワイライト・イレイザー
function c57348141.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCondition(c5734814... | gpl-2.0 |
destdev/ygopro-scripts | c83032858.lua | 1 | 3109 | --エレメントセイバー・アイナ
function c83032858.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(83032858,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/items/bowl_of_tomato_soup.lua | 35 | 1498 | -----------------------------------------
-- ID: 4420
-- Item: bowl_of_tomato_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- HP Recovered While Healing 5
-- Ranged Accuracy % 9 (cap 15)
-----------------------------------------
require("scripts/... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/weaponskills/savage_blade.lua | 10 | 1597 | -----------------------------------
-- Savage Blade
-- Sword weapon skill
-- Skill Level: 240
-- Delivers an aerial attack comprised of two hits. Damage varies with TP.
-- In order to obtain Savage Blade, the quest Old Wounds must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget, Thunder... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/wild_steak.lua | 11 | 1078 | -----------------------------------------
-- ID: 4519
-- Item: wild_steak
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -2
-- Attack % 25
-- Attack Cap 50
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg"... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/spells/flood_ii.lua | 6 | 1210 | -----------------------------------------
-- Spell: Flood II
-- Deals water damage to an enemy and lowers its resistance against lightning.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
-----------------------------------------
function onMagicCastingCheck... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Castle_Oztroja/npcs/_475.lua | 13 | 1127 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _475 (Brass Door)
-- Involved in Mission: Magicite
-- @pos -99 24 -105 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Rakh_Mhappyoh.lua | 38 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Rakh Mhappyoh
-- Type: Standard NPC
-- @zone: 94
-- @pos -55.989 -4.5 48.365
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/spells/foe_lullaby.lua | 23 | 1095 | -----------------------------------------
-- Spell: Foe Lullaby
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,sp... | gpl-3.0 |
maikerumine/grieftest | mods/mg_villages/terrain_blend.lua | 4 | 2952 |
-- this function needs to be fed house x, z dimensions and rotation
-- it will then calculate the minimum point (xbmin, avsurfy, zbmin) where the house should be spawned
-- and mark a mapchunk-sized 'house area' for terrain blending
mg_villages.village_area_mark_single_house_area = function(village_area, minp, maxp, ... | lgpl-2.1 |
simonfork/aquaria | game_scripts/scripts/maps/node_enter_mithalas.lua | 6 | 1113 | -- 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 | c26845680.lua | 1 | 1358 | --オルフェゴール・プライム
function c26845680.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,26845680+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c26845680.cost)
e1:... | gpl-2.0 |
destdev/ygopro-scripts | c49684352.lua | 2 | 3001 | --虹彩の魔術師
function c49684352.initial_effect(c)
aux.EnablePendulumAttribute(c)
--Double damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(49684352,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLimit(1)
e1:SetProperty(EFFECT_FLAG_C... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Port_Bastok/npcs/Belka.lua | 36 | 1607 | -----------------------------------
-- Area: Port Bastok
-- NPC: Belka
-- Only sells when Bastok controlls Derfland Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok/Te... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Metalworks/npcs/Naji.lua | 9 | 5005 | -----------------------------------
-- Area: Metalworks
-- NPC: Naji
-- Involved in Quests: The doorman (finish), Riding on the Clouds
-- Involved in Mission: Bastok 6-2
-- !pos 64 -14 -4 237
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
destdev/ygopro-scripts | c29208536.lua | 1 | 2506 | --No.45 滅亡の予言者 クランブル・ロゴス
function c29208536.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,2,2,nil,nil,99)
c:EnableReviveLimit()
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29208536,0))
e1:SetCategory(CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT... | gpl-2.0 |
Shevraar/bloody-alchemy | bloody-alchemy/Libs/AceConsole-3.0/AceConsole-3.0.lua | 1 | 8309 | --- **AceConsole-3.0** provides registration facilities for slash commands.
-- You can register slash commands to your custom functions and use the `GetArgs` function to parse them
-- to your addons individual needs.
--
-- **AceConsole-3.0** can be embeded into your addon, either explicitly by calling AceConsole:Embed(... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/serving_of_menemen.lua | 11 | 1247 | -----------------------------------------
-- ID: 5586
-- Item: serving_of_menemen
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 30
-- MP 30
-- Agility 1
-- Intelligence -1
-- HP recovered while healing 1
-- MP recovered while healing 1
-----------------------------------------
require(... | gpl-3.0 |
destdev/ygopro-scripts | c30100551.lua | 2 | 2476 | --ライトロード・セイント ミネルバ
function c30100551.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--discard deck & draw
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DECKDES+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,30100551... | gpl-2.0 |
destdev/ygopro-scripts | c70026064.lua | 2 | 2351 | --武神-ヒルコ
function c70026064.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--spsummon
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetRange(LOCATION_PZONE)
e2:SetCost(c70026064.spcost)
e2... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tohka_Telposkha.lua | 34 | 1040 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tohka Telposkha
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Lower_Jeuno/TextIDs.lua | 15 | 5200 | -- 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 |
destdev/ygopro-scripts | c88264978.lua | 2 | 2168 | --レッドアイズ・ダークネスメタルドラゴン
function c88264978.initial_effect(c)
--spsummon proc
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c88264978.hspcon)
e1:SetOperation(c88264978.hspop)
c:Regist... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Port_Bastok/npcs/HomePoint#2.lua | 27 | 1258 | -----------------------------------
-- Area: Port_Bastok
-- NPC: HomePoint#2
-- @pos 42 8.5 -244 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_Bastok/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Aydeewa_Subterrane/npcs/qm3.lua | 29 | 1271 | -----------------------------------
-- Area: Aydeewa Subterrane
-- NPC: ??? (Spawn Chigre(ZNM T1))
-- @pos -217 35 12 68
-----------------------------------
package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aydeewa_Subterrane/TextIDs");
require... | gpl-3.0 |
goosechooser/cps2-zmq | zmq_client.lua | 1 | 3720 | local zmq = require("lzmq")
local mp = require("MessagePack")
-- RUN_LENGTH at 1024 manages to send all the data with no slow down
-- RUN_LENGTH of 2048 causes the machine to slow to 70%
-- not sure if multiple passes at different times or multiple processes at once is preferable (read: easier)
local SPRITE_START_ADDR... | mit |
Imagine-Programming/resolve-lh | resolve.lua | 1 | 17323 | --[[
Script: resolve.lua
Product: resolve.lh (MemoryEx LuaHeader)
Author: Imagine Programming <Bas Groothedde>
Website: http://www.imagine-programming.com
Contact: http://www.imagine-programming.com/contact.html
Date: 06-11-2... | mit |
Deadwing888/darkstar | scripts/globals/mobskills/Voiceless_Storm.lua | 33 | 1172 | ---------------------------------------------
-- Voiceless Storm
-- Description: AOE Damage, Silence, strips Utsusemi (MOBPARAM_WIPE_SHADOWS)
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
--------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/bowl_of_mushroom_stew.lua | 18 | 1452 | -----------------------------------------
-- ID: 4544
-- Item: mushroom_stew
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Magic Points 40
-- Strength -1
-- Mind 4
-- MP Recovered While Healing 4
-- Enmity -4
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
destdev/ygopro-scripts | c26563200.lua | 4 | 1526 | --弦魔人ムズムズリズム
function c26563200.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,3,2)
c:EnableReviveLimit()
--attack up
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(26563200,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProp... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Bastok_Mines/npcs/Faustin.lua | 12 | 1546 | -----------------------------------
-- Area: Bastok_Mines
-- NPC: Faustin
-- Only sells when Bastok controlls Ronfaure Region
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Bast... | gpl-3.0 |
Kong/kong | spec/02-integration/04-admin_api/19-vaults_spec.lua | 1 | 9321 | local helpers = require "spec.helpers"
local utils = require "kong.tools.utils"
local cjson = require "cjson"
local HEADERS = { ["Content-Type"] = "application/json" }
for _, strategy in helpers.each_strategy() do
describe("Admin API #" .. strategy, function()
local client
lazy_setup(function()
help... | apache-2.0 |
simonfork/aquaria | game_scripts/scripts/entities/_unused/spikeball.lua | 6 | 3846 | -- 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 |
maikerumine/grieftest | mods/handle_schematics/translate_nodenames_for_mc_schematic.lua | 5 | 14871 |
-- based on:
-- # Minecraft to Minetest WE schematic MCEdit filter
-- # by sfan5
-- #blockdata -1 means ignore
local P2_IGNORE = -1;
-- #blockdata -2 means copy without change
local P2_COPY = -2;
-- #blockdata -3 means copy and convert the mc facedir value to mt facedir
local P2_CONVERT= -3;
-- #blockdata -4 is for... | lgpl-2.1 |
ffxijuggalo/darkstar | scripts/globals/mobskills/plague_swipe.lua | 11 | 1252 | ---------------------------------------------
-- Plague Swipe
--
-- Description: Delivers a threefold attack in an cone effect behind user. Additional effect: Bio + Plague
-- Type: Physical
-- 2-3 Shadows
-- Range: Backward Arc
---------------------------------------------
require("scripts/globals/settings")
requi... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/trilobite.lua | 11 | 1140 | -----------------------------------------
-- ID: 4317
-- Item: Trilobite
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 3
-- Defense +16%
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
------------------... | gpl-3.0 |
Kong/kong | spec/02-integration/04-admin_api/21-admin-api-keys_spec.lua | 1 | 5526 | -- This software is copyright Kong Inc. and its licensors.
-- Use of the software is subject to the agreement between your organization
-- and Kong Inc. If there is no such agreement, use is governed by and
-- subject to the terms of the Kong Master Software License Agreement found
-- at https://konghq.com/enterpriseso... | apache-2.0 |
destdev/ygopro-scripts | c13513663.lua | 2 | 4738 | --竜魂の城
function c13513663.initial_effect(c)
c:SetUniqueOnField(1,0,13513663)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetTarget(c13513663.target1)
e1:SetOperation(c135... | gpl-2.0 |
RobLoach/libretro-lutro | deps/luajit/dynasm/dasm_ppc.lua | 61 | 37064 | ------------------------------------------------------------------------------
-- DynASM PPC module.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _in... | mit |
ffxijuggalo/darkstar | scripts/commands/setplayermodel.lua | 22 | 1655 | ---------------------------------------------------------------------------------------------------
-- func: setplayermodel <modelid> <slot> <player>
-- desc: Sets the look of the user or target player based on model id offset and slot (for testing).
---------------------------------------------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c88696724.lua | 2 | 2258 | --融合呪印生物-地
function c88696724.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetDescription(aux.Stringid(88696724,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetLabel(0)
e1:SetCost(c88696724.cost)
e1:SetTarget(c88696724.target)
e... | gpl-2.0 |
destdev/ygopro-scripts | c32360466.lua | 3 | 1543 | --天地開闢
function c32360466.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,32360466+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c32360466.target)
e1:SetOperation... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/RuLude_Gardens/npcs/Explorer_Moogle.lua | 38 | 1038 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Explorer Moogle
-- Type: Mog Tablet
-- @zone: 243
-- @pos 1.000 -1 0.000
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Ilrusi_Atoll/npcs/Rune_of_Release.lua | 13 | 2419 | -----------------------------------
-- Area:
-- NPC: rune of release
-- @zone illrusi atoll
-- @pos
-----------------------------------
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
requ... | gpl-3.0 |
destdev/ygopro-scripts | c1834107.lua | 7 | 1167 | --エレキュア
function c1834107.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--recover
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(1834107,0))
e2:SetCategory(CATEGORY_RECOVER)
e2:SetType(EFFECT_TYPE... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Mhaura/npcs/Explorer_Moogle.lua | 17 | 1783 | -----------------------------------
-- Area: Mhaura
-- NPC: Explorer Moogle
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/tele... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Lokpix.lua | 11 | 1809 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Lokpix
-- Starts Quest "Open Sesame"
-----------------------------------
local ID = require("scripts/zones/Eastern_Altepa_Desert/IDs");
require("scripts/globals/quests");
require("scripts/globals/keyitems");
-----------------------------------
... | gpl-3.0 |
LGCaerwyn/QSanguosha-Para-tangjs520-LGCaerwyn | extension-doc/4-SkillCard.lua | 8 | 8033 | --技能讲解2:技能牌SkillCard
--神杀中,技能的效果在很多时候都技能牌实现。即,把技能定义在一张没有实体的抽象“牌”当中,当你发动技能的时候,视为你使用了这张牌。
--对于指定对象发动的技能,对象的指定也算在牌的效果当中。
--很多游戏的技能发动都带有cost这个概念,即发动技能的代价。神杀中,cost只能是你的牌或装备;也就是说,
--cost只能靠ViewAsSkill来实现。如果想实现类似于“发动代价”这样的效果,请用“发动技能的负面效果”这样的概念来替换。
--由于技能牌的需要有多个实例存在(每次发动技能得到一个技能牌),
--我们在DIY module当中并不像ViewAsSkill和TriggerSki... | lgpl-3.0 |
maikerumine/grieftest | mods/chat2/init.lua | 1 | 12900 | -- Minetest 0.4.12+ mod: chat2
-- chat2 is mod for minetest game created by Andrey. It's purpose is to improve or replace game built in chat.
-- + Higlight some messages in different colors - nearby talk, PM messages, messages with your name in it, shouts(!)
-- + Also can show all regular chat messages (use "/chat2 *... | lgpl-2.1 |
ffxijuggalo/darkstar | scripts/zones/Northern_San_dOria/npcs/Rodaillece.lua | 9 | 1055 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Rodaillece
-- !pos -246.943 7.000 46.836 231
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
-----------------------------------
... | gpl-3.0 |
der-flo/dotfiles | hammerspoon/Spoons/Seal.spoon/seal_screencapture.lua | 3 | 2563 | --- === Seal.plugins.screencapture ===
---
--- A plugin to capture the screen in various ways
local obj = {}
obj.__index = obj
obj.__name = "seal_screencapture"
--- Seal.plugins.screencapture.showPostUI
--- Variable
--- Whether or not to show the screen capture UI in macOS 10.14 or later
obj.showPostUI = true
local s... | mit |
ffxijuggalo/darkstar | scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua | 9 | 2007 | -----------------------------------
-- Those Who Lurk in Shadows (III)
-- Qu'Bia Arena mission battlefield
-----------------------------------
local ID = require("scripts/zones/QuBia_Arena/IDs")
require("scripts/globals/battlefield")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
--------------... | gpl-3.0 |
kennyledet/Algorithm-Implementations | Ranrot-B-Pseudo_Random_Number_Generator/Lua/Yonaba/ranrotb_prng.lua | 27 | 1492 | -- RANROT /B PRNG Implementation
-- Assertion test for the bitwise implementation being used
local function checkBitImplementation(bit)
local msg = 'Failed testing bitwise implementation'
assert(bit.bnot ~= nil, msg)
assert(bit.lshift ~= nil, msg)
assert(bit.rshift ~= nil, ... | mit |
RwNigma/darkstar | scripts/zones/Bhaflau_Thickets/npcs/qm2.lua | 30 | 1340 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: ??? (Spawn Dea(ZNM T3))
-- @pos -34 -32 481 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/TextIDs");
require("script... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/effects/field_support_food.lua | 33 | 3130 | -----------------------------------
--
-- EFFECT_FIELD_SUPPORT_FOOD
-- From FoV and GoV
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if (effect:getPower() == 1) then -- Dried Meat
tar... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Mount_Zhayolm/npcs/Runic_Portal.lua | 9 | 1282 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Runic Portal
-- Mount Zhayolm Teleporter Back to Aht Urgan Whitegate
-- !pos 688.994 -23.960 351.496 61
-----------------------------------
local ID = require("scripts/zones/Mount_Zhayolm/IDs")
require("scripts/globals/teleports")
require("scripts/glob... | gpl-3.0 |
destdev/ygopro-scripts | c24907044.lua | 1 | 4318 | --魔界劇団-プリティ・ヒロイン
function c24907044.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--atk down
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(24907044,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DAMAGE)
e1... | gpl-2.0 |
Shevraar/bloody-alchemy | bloody-alchemy/Libs/AceGUI-3.0/widgets/AceGUIwidget-InteractiveLabel.lua | 51 | 2814 | --[[-----------------------------------------------------------------------------
InteractiveLabel Widget
-------------------------------------------------------------------------------]]
local Type, Version = "InteractiveLabel", 20
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidg... | gpl-3.0 |
Lleafll/ldots | Libs/AceGUI-3.0/widgets/AceGUIWidget-InteractiveLabel.lua | 51 | 2814 | --[[-----------------------------------------------------------------------------
InteractiveLabel Widget
-------------------------------------------------------------------------------]]
local Type, Version = "InteractiveLabel", 20
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidg... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.