repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
Deadwing888/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm18.lua | 57 | 2138 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm18 (??? - Bomb Coal Fragments)
-- Involved in Quest: In Defiant Challenge
-- @pos -13.425,-1.176,191.669 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/spells/bluemagic/sandspray.lua | 18 | 1455 | -----------------------------------------
-- Spell: Sandspray
-- Blinds enemies within a fan-shaped area originating from the caster
-- Spell cost: 43 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 2
-- Stat Bonus: VIT+1
-- Level: 66
-- Casting Time: 3 seconds
-- Recast Time:... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/sleep_bolt.lua | 26 | 1183 | -----------------------------------------
-- ID: 18149
-- Item: Sleep Bolt
-- Additional Effect: Sleep
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
func... | gpl-3.0 |
tetoali605/THETETOO_A9 | plugins/stats.lua | 7 | 4649 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : سـتارت ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/RoMaeve/Zone.lua | 13 | 3526 | -----------------------------------
--
-- Zone: RoMaeve (122)
--
-----------------------------------
package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/RoMaeve/TextIDs");
require("scripts/globals/zone");
--------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/divine_sword.lua | 12 | 1078 | -----------------------------------------
-- ID: 16549
-- Item: Divine Sword
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(pla... | gpl-3.0 |
0x4C4A/lua-pdu | lua/luapdu/smsobject.lua | 1 | 11923 | require("bit")
local pduString = require("luapdu.string")
local pduSmsObject = {}
pduSmsObject.__index = pduSmsObject
function pduSmsObject.new(content)
local self = content
setmetatable(self, pduSmsObject)
return self
end
--! Create new TX sms object with default values
function pduSmsObject.newTx(recip... | mit |
ffxijuggalo/darkstar | scripts/zones/Pashhow_Marshlands_[S]/IDs.lua | 9 | 1767 | -----------------------------------
-- Area: Pashhow_Marshlands_[S]
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.PASHHOW_MARSHLANDS_S] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <it... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Temenos/mobs/Goblin_Fencer.lua | 16 | 1148 | -----------------------------------
-- Area: Temenos N T
-- NPC: Goblin_Fencer
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Sealions_Den/Zone.lua | 9 | 1216 | -----------------------------------
--
-- Zone: Sealions_Den (32)
--
-----------------------------------
local ID = require("scripts/zones/Sealions_Den/IDs")
require("scripts/globals/conquest")
require("scripts/globals/missions")
-----------------------------------
function onInitialize(zone)
end;
function onConquest... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Oldton_Movalpolos/npcs/Scrawled_Writing.lua | 17 | 1399 | -----------------------------------
-- Area: Oldton_Movalpolos
-- NPC: Scrawled_Writing
-- Allows players to spawn NM Goblin Wolfman
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Oldton_Movalpolos... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Kf_ghrah_whm.lua | 19 | 1707 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- MOB: Kf'ghrah WHM
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic"); -- no spells are currently set due to lack of info
-----------------------------------
-- OnMobSpawn Action
-- Set core Skin... | gpl-3.0 |
destdev/ygopro-scripts | c7241272.lua | 2 | 3674 | --獄炎のカース・オブ・ドラゴン
function c7241272.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(7241272,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/weaponskills/tachi_kasha.lua | 30 | 1971 | -----------------------------------
-- Tachi Kasha
-- Great Katana weapon skill
-- Skill Level: 250
-- Paralyzes target. Damage varies with TP.
-- Paralyze effect duration is 60 seconds when unresisted.
-- In order to obtain Tachi: Kasha, the quest The Potential Within must be completed.
-- Will stack with Sneak... | gpl-3.0 |
destdev/ygopro-scripts | c24221808.lua | 1 | 2890 | --メンタルオーバー・デーモン
function c24221808.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_PSYCHO),aux.NonTuner(Card.IsRace,RACE_PSYCHO),2)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(24221808,0))
e1:SetCategory(CATEGO... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Port_Bastok/npcs/Flying_Axe_IM.lua | 28 | 4883 | -----------------------------------
-- Area: Port Bastok
-- NPC: Flying Axe, I.M.
-- 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 Missio... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/Runic_Portal.lua | 9 | 1597 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: Runic Portal
-- Arrapago Reef Teleporter Back to Aht Urgan Whitegate
-- !pos 206.500 -1.220 33.500 72
-- !pos 206.500 -1.220 6.500 72
-----------------------------------
local ID = require("scripts/zones/Alzadaal_Undersea_Ruins/IDs")
--------... | gpl-3.0 |
destdev/ygopro-scripts | c65301952.lua | 6 | 2114 | --アルケミック・マジシャン
function c65301952.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_SPELLCASTER),4,3)
c:EnableReviveLimit()
--atkup
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:S... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/entities/_unused/cc_wantgf.lua | 6 | 1610 | -- 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 |
Deadwing888/darkstar | scripts/zones/Jugner_Forest_[S]/mobs/Lobison.lua | 13 | 1678 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Lobison
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("transformTime", os.time())
end;
-------------------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/crystal_weapon_wind.lua | 11 | 1045 | ---------------------------------------------
-- Crystal Weapon
--
-- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown
-- Notes: Can be Fire, Earth, Wind, or Water element. Funct... | gpl-3.0 |
kennyledet/Algorithm-Implementations | Rabin_Karp/Lua/Yonaba/rabin_karp_test.lua | 26 | 1214 | -- Tests for rabin_karp.lua
local rabin_karp = require 'rabin_karp'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 en... | mit |
destdev/ygopro-scripts | c65591858.lua | 4 | 1978 | --先史遺産ウィングス・スフィンクス
function c65591858.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(65591858,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET... | gpl-2.0 |
Fractal-Architect/Lua-Scripts | My Scripts/makeRandom/Julian_Pearls.lua | 1 | 4742 | --[[
Copyright 2008 shortgreenpigg.deviantart.com
This script is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This script is distributed in... | gpl-2.0 |
destdev/ygopro-scripts | c97922283.lua | 7 | 1471 | --野生の咆哮
function c97922283.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--no damage & spsummon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(97922283,0))
e2:SetCategory(CATEGORY_DAMAGE)
e2:SetType(EFFECT_TY... | gpl-2.0 |
JetBoom/fretta13 | gamemodes/fretta13/gamemode/round_controller.lua | 1 | 7829 |
function GM:SetRoundWinner( ply, resulttext ) SetGlobalEntity( "RoundWinner", ply ) SetGlobalString( "RRText", tostring(resulttext) ) end
function GM:SetRoundResult( i, resulttext ) SetGlobalInt( "RoundResult", i ) SetGlobalString( "RRText", tostring(resulttext) ) end
function GM:ClearRoundResult() SetGlobalEntity( "R... | unlicense |
ffxijuggalo/darkstar | scripts/zones/Western_Adoulin/npcs/Barenngo.lua | 9 | 1137 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Barenngo
-- Type: Standard NPC and Quest NPC
-- Involved with Quests: 'Dont Ever Leaf Me'
-- !pos -101 3 14 256
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
function onTrade(player,npc,tr... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Vanguard_Eye.lua | 4 | 1903 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Vznguard_Eye
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
-----------... | gpl-3.0 |
destdev/ygopro-scripts | c69695704.lua | 6 | 1772 | --ブラッドストーム
function c69695704.initial_effect(c)
--attackup
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(c69695704.atkval)
c:RegisterEffect(e1)
--destroy
local e2=Effect.CreateEff... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Northern_San_dOria/npcs/Charmealaut.lua | 38 | 1045 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Charmealaut
-- Type: Merchant
-- @zone: 231
-- @pos 0.000 -0.501 29.303
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
----... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Bastok_Markets/npcs/Brygid.lua | 17 | 6299 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Brygid
-- Start & Finishes Quest: Brygid the Stylist & Brygid the Stylist Returns
-- Involved in Quests: Riding on the Clouds
-- @zone 235
-- @pos -90 -4 -108
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/Tex... | gpl-3.0 |
Kong/kong | spec/02-integration/05-proxy/13-error_handlers_spec.lua | 1 | 1313 | local helpers = require "spec.helpers"
for _, strategy in helpers.each_strategy() do
describe("Proxy error handlers", function()
local proxy_client
helpers.get_db_utils(strategy, {})
lazy_setup(function()
assert(helpers.start_kong {
nginx_conf = "spec/fixtures/custom_nginx.template",
})
end)
... | apache-2.0 |
Deadwing888/darkstar | scripts/globals/spells/huton_ichi.lua | 5 | 1217 | -----------------------------------------
-- Spell: Huton: Ichi
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
--------------... | gpl-3.0 |
destdev/ygopro-scripts | c86346643.lua | 1 | 4156 | --レインボー・ネオス
function c86346643.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFun(c,89943723,aux.FilterBoolFunction(Card.IsFusionSetCard,0x2034),1,false,false)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DIS... | gpl-2.0 |
phamelin/ardupilot | libraries/AP_Scripting/examples/Mission_test.lua | 22 | 1972 | -- This script is a test for AP_Mission bindings
local last_mission_index = mission:get_current_nav_index()
function update() -- this is the loop which periodically runs
-- check for scripting DO commands in the mission
local time_ms, param1, param2, param3, param4 = mission_receive()
if time_ms then
gcs:s... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/_unused/creatorform3.lua | 6 | 22685 | -- 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 |
Deadwing888/darkstar | scripts/globals/abilities/pets/attachments/auto-repair_kit.lua | 23 | 1090 | -----------------------------------
-- Attachment: Auto-repair Kit
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
pet:addMod(MOD_HPP, 6)
end
function onUnequip(pet)
pet:delMo... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Valkurm_Dunes/npcs/Field_Manual.lua | 29 | 1045 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
--------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c57441100.lua | 2 | 1639 | --金剛真力
function c57441100.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(57441100,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetT... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Lower_Jeuno/npcs/Morefie.lua | 37 | 1171 | -----------------------------------
-- 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");
-----------------------------------
... | gpl-3.0 |
destdev/ygopro-scripts | c65149697.lua | 4 | 1036 | --レアル・ジェネクス・クラッシャー
function c65149697.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(65149697,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTar... | gpl-2.0 |
lyntel/OpenRA | mods/ra/maps/desert-shellmap/desert-shellmap.lua | 22 | 5274 | if DateTime.IsHalloween then
UnitTypes = { "ant", "ant", "ant" }
BeachUnitTypes = { "ant", "ant" }
ProxyType = "powerproxy.parazombies"
ProducedUnitTypes =
{
{ AlliedBarracks1, { "e1", "e3" } },
{ AlliedBarracks2, { "e1", "e3" } },
{ SovietBarracks1, { "ant" } },
{ SovietBarracks2, { "ant" } },
{ SovietB... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/spells/bluemagic/tail_slap.lua | 28 | 1767 | -----------------------------------------
-- Spell: Tail Slap
-- Delivers an area attack. Additional effect: "Stun." Damage varies with TP
-- Spell cost: 77 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: MND+2
-- Level: 69
-- Casting Time: 1 seconds
-- Reca... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Behemoths_Dominion/Zone.lua | 12 | 1901 | -----------------------------------
--
-- Zone: Behemoths_Dominion (127)
--
-----------------------------------
package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Behemoths_Do... | gpl-3.0 |
AenAllAin/factorio-walls | prototypes/technology/technology.lua | 2 | 2813 | data:extend(
{
{
type = "technology",
name = "concrete-walls",
icon = "__n^3_walls__/graphics/technology/concrete-walls.png",
effects =
{
{
type = "unlock-recipe",
recipe = "concrete-wall"
},
},
prerequisites = { "stone-walls", "concrete" },
unit =
{
... | gpl-3.0 |
omarroth/Townvalds | main.lua | 1 | 2804 | PLUGIN = nil;
function Initialize(Plugin)
PLUGIN = Plugin;
PLUGIN:SetName("Townvalds");
PLUGIN:SetVersion(1);
-- Load the Info shared library:
dofile(cPluginManager:GetPluginsPath() .. "/InfoReg.lua");
--Bind all the commands:
RegisterPluginInfoCommands();
RegisterPluginInfoConsoleCommands();
... | agpl-3.0 |
X-Coder/spacebuild | lua/entities/base_temperature_exchanger/init.lua | 5 | 6068 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')
function ENT:Initialize()
self.BaseClass.Initialize(self)
self.Active = 0
self.damaged = 0
self.gtemp = 0
if not (WireAddon == nil) then
self.WireDebugName = self.PrintName
self.Inputs = Wire_CreateInputs(... | apache-2.0 |
nikai3d/naev | dat/events/pirate_fame.lua | 1 | 2127 |
--[[
-- Pirate Fame/Faction Standing script
When the player enters a system, his fame has a chance of being lowered.
If he is using a pirate ship, the chances of his fame being lowered are
reduced. If the player is using an impressive non-pirate ship, like the
cruiser or carrier of a major faction, will ... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Chamber_of_Oracles/mobs/Maat.lua | 6 | 1144 | -----------------------------------
-- Area: Chamber of Oracles
-- MOB: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Chamber_of_Oracles/TextIDs");
-------------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/bowl_of_pebble_soup.lua | 18 | 1130 | -----------------------------------------
-- ID: 4455
-- Item: Bowl of Pebble Soup
-- Food Effect: 3 Hr, All Races
-----------------------------------------
-- MP Recovered while healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
destdev/ygopro-scripts | c91449144.lua | 7 | 1255 | --ガスタの静寂 カーム
function c91449144.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(91449144,0))
e1:SetCategory(CATEGORY_DRAW)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c914... | gpl-2.0 |
Kong/kong | spec/02-integration/05-proxy/25-upstream_keepalive_spec.lua | 1 | 4998 | local helpers = require "spec.helpers"
local ssl_fixtures = require "spec.fixtures.ssl"
local fixtures = {
http_mock = {
upstream_mtls = [[
server {
listen 16798 ssl;
ssl_certificate ../spec/fixtures/mtls_certs/example.com.crt;
ssl_certificate_key ../spec/fixtures/... | apache-2.0 |
destdev/ygopro-scripts | c72129804.lua | 4 | 2539 | --捕食生成
function c72129804.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_COUNTER)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c72129804.target)
e1:SetOperation(c72129804.activate)
c:RegisterEffect(e1)
... | gpl-2.0 |
AenAllAin/factorio-walls | release/n^3_walls_0.0.9/control.lua | 2 | 5330 | require "defines"
require "util_ext"
script.on_init(function()
init_n3_walls()
end)
script.on_load(function()
init_n3_walls()
end)
function init_n3_walls()
script.on_event(defines.events.on_built_entity, build_n3)
script.on_event(defines.events.on_robot_built_entity, build_n3)
script.on_event(d... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Selbina/npcs/Humilitie.lua | 39 | 1459 | -----------------------------------
-- Area: Selbina
-- NPC: Humilitie
-- Reports the time remaining before boat arrival.
-- @pos 17.979 -2.39 -58.800 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextI... | gpl-3.0 |
your-gatsby/skynet | test/testsha.lua | 79 | 77629 | local skynet = require "skynet"
local crypt = require "crypt"
local function sha1(text)
local c = crypt.sha1(text)
return crypt.hexencode(c)
end
local function hmac_sha1(key, text)
local c = crypt.hmac_sha1(key, text)
return crypt.hexencode(c)
end
-- test case from http://regex.info/code/sha1.lua
print(1) asser... | mit |
Markal128/skynet | test/testsha.lua | 79 | 77629 | local skynet = require "skynet"
local crypt = require "crypt"
local function sha1(text)
local c = crypt.sha1(text)
return crypt.hexencode(c)
end
local function hmac_sha1(key, text)
local c = crypt.hmac_sha1(key, text)
return crypt.hexencode(c)
end
-- test case from http://regex.info/code/sha1.lua
print(1) asser... | mit |
simonfork/aquaria | game_scripts/scripts/entities/miaghost.lua | 6 | 1752 | -- 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 |
ld-test/luajson | lua/json/decode/util.lua | 7 | 3704 | --[[
Licensed according to the included 'LICENSE' document
Author: Thomas Harning Jr <harningt@gmail.com>
]]
local lpeg = require("lpeg")
local select = select
local pairs, ipairs = pairs, ipairs
local tonumber = tonumber
local string_char = require("string").char
local rawset = rawset
local jsonutil = require("json.... | mit |
Deadwing888/darkstar | scripts/zones/Bhaflau_Thickets/mobs/Greater_Colibri.lua | 8 | 1638 | -----------------------------------
-- Area: Bhaflau Thickets
-- MOB: Greater Colibri
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobFight Action
-----------------------------------
function onMobFight(mob, target)... | gpl-3.0 |
destdev/ygopro-scripts | c94381039.lua | 4 | 1797 | --ライトロード・エンジェル ケルビム
function c94381039.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(94381039,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/items/moat_carp.lua | 11 | 1048 | -----------------------------------------
-- ID: 4401
-- Item: moat_carp
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
--------------------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/anchovy_pizza.lua | 18 | 1204 | -----------------------------------------
-- ID: 5699
-- Item: anchovy_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Dexterity 1
-- Attack 20%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--... | gpl-3.0 |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/lib/Simplifiers.lua | 3 | 6052 | -- 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/gd... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/items/yellow_globe.lua | 11 | 1051 | -----------------------------------------
-- ID: 4403
-- Item: yellow_globe
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/abilities/pets/healing_breath_ii.lua | 25 | 1488 | ---------------------------------------------------
-- Healing Breath II
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCheck(p... | gpl-3.0 |
destdev/ygopro-scripts | c69831560.lua | 2 | 4683 | --アルカナフォースEX-THE DARK RULER
function c69831560.initial_effect(c)
c:EnableReviveLimit()
--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(c69831560.spcon)
e1:SetOperatio... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/oblivion_smash.lua | 11 | 1293 | ---------------------------------------------
-- Oblivion Smash
--
-- Description: Deals damage to players within area of effect and inflicts blind, silence, bind, and weight.
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
---------------------------------------------
require("scripts... | gpl-3.0 |
jcosborn/qhmc | lua/penlight-1.3.1/tests/test-strict.lua | 8 | 1149 | local strict = require 'pl.strict'
local test = require 'pl.test'
local app = require 'pl.app'
-- in strict mode, you must assign to a global first, even if just nil.
test.assertraise(function()
print(x)
print 'ok?'
end,"variable 'x' is not declared")
-- can assign to globals in main (or from C extens... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Port_Bastok/npcs/Sawyer.lua | 36 | 1612 | -----------------------------------
-- Area: Port Bastok
-- NPC: Sawyer
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
... | gpl-3.0 |
rezatak21/TeleTakTaz | plugins/isup.lua | 741 | 3095 | do
local socket = require("socket")
local cronned = load_from_file('data/isup.lua')
local function save_cron(msg, url, delete)
local origin = get_receiver(msg)
if not cronned[origin] then
cronned[origin] = {}
end
if not delete then
table.insert(cronned[origin], url)
else
for k,v in pairs(cronned[... | gpl-2.0 |
aqasaeed/spartafox | plugins/isup.lua | 741 | 3095 | do
local socket = require("socket")
local cronned = load_from_file('data/isup.lua')
local function save_cron(msg, url, delete)
local origin = get_receiver(msg)
if not cronned[origin] then
cronned[origin] = {}
end
if not delete then
table.insert(cronned[origin], url)
else
for k,v in pairs(cronned[... | gpl-2.0 |
pouria346/selfbot3 | plugins/isup.lua | 741 | 3095 | do
local socket = require("socket")
local cronned = load_from_file('data/isup.lua')
local function save_cron(msg, url, delete)
local origin = get_receiver(msg)
if not cronned[origin] then
cronned[origin] = {}
end
if not delete then
table.insert(cronned[origin], url)
else
for k,v in pairs(cronned[... | gpl-2.0 |
krips89/opendetection | 3rdparty/pugixml-1.6/scripts/premake4.lua | 128 | 2376 | -- Reset RNG seed to get consistent results across runs (i.e. XCode)
math.randomseed(12345)
local static = _ARGS[1] == 'static'
local action = premake.action.current()
if string.startswith(_ACTION, "vs") then
if action then
-- Disable solution generation
function action.onsolution(sln)
sln.vstudio_configs = p... | bsd-3-clause |
RwNigma/darkstar | scripts/globals/effects/saber_dance.lua | 18 | 1747 | -----------------------------------
--
-- EFFECT_SABER_DANCE
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
... | gpl-3.0 |
angt/overthebox | feeds/luci/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua | 5 | 5457 | -- Copyright 2017-2019 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
local fs = require("nixio.fs")
local uci = require("luci.model.uci").cursor()
local util = require("luci.util")
local nw = require("luci.model.network").init()
local fw ... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/mobskills/Osmosis.lua | 5 | 1139 | ---------------------------------------------
-- Osmosis
--
-- Description: Steals an enemy's HP and one beneficial status effect. Ineffective against undead.
-- Type: Magical
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scri... | gpl-3.0 |
mehrpouya81/tele_gold | plugins/channels.lua | 356 | 1732 | -- 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 |
RwNigma/darkstar | scripts/globals/items/koen.lua | 42 | 1472 | -----------------------------------------
-- ID: 6430
-- Item: Koen
-- Additional Effect: Fire Damage
-- Enchantment: "Enfire"
-- Charges: 30 Reuse: 300 Secs
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAddition... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/commands/setmobflags.lua | 22 | 1334 | ---------------------------------------------------------------------------------------------------
-- func: setmobflags <flags> <optional MobID>
-- desc: Used to manipulate a mob's nameflags for testing.
-- MUST either target a mob first or else specify a Mob ID.
-------------------------------------------------... | gpl-3.0 |
ariakabiryan/tnt-bot | plugins/service_entergroup.lua | 355 | 3585 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Ilrusi_Atoll/npcs/Excaliace.lua | 14 | 4011 | -----------------------------------
-- Area: Periqia
-- NPC: Excaliace
-----------------------------------
require("scripts/zones/Periqia/IDs");
require("scripts/globals/pathfind");
local start = {-322,-16.5,380};
local startToChoice1 = {
-320.349548, -16.046591, 379.684570
-318.312317, -16.046591, 379.57986... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Norg/npcs/Solby-Maholby.lua | 13 | 1451 | -----------------------------------
-- Area: Norg
-- NPC: Solby-Maholby
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
require("scripts/zones/Norg/TextIDs");
-----------------------------------
-- onTrade Action
-------... | gpl-3.0 |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered/FastHierarchyLayout.lua | 3 | 3095 | -- 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 |
RwNigma/darkstar | scripts/zones/West_Sarutabaruta/Zone.lua | 2 | 4779 | -----------------------------------
--
-- Zone: West_Sarutabaruta (115)
--
-----------------------------------
package.loaded[ "scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require( "scripts/zones/West_Sarutabarut... | gpl-3.0 |
fodinabor/Polycode | bindings/lua/Polycode/ShaderPass.lua | 1 | 1136 | class "ShaderPass"
function ShaderPass:__getvar(name)
if name == "wireframe" then
return Polycode.ShaderPass_get_wireframe(self.__ptr)
elseif name == "blendingMode" then
return Polycode.ShaderPass_get_blendingMode(self.__ptr)
end
end
function ShaderPass:__setvar(name,value)
if name == "wireframe" then
Poly... | mit |
RwNigma/darkstar | scripts/globals/items/mihgo_mithkabob.lua | 36 | 1394 | -----------------------------------------
-- ID: 5708
-- Item: Mihgo Mithkabob
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 5
-- Vitality 2
-- Mind -2
-- Defense % 25
-- Defense Cap 65
-----------------------------------------
require("scripts/globals/status");
-------------... | gpl-3.0 |
destdev/ygopro-scripts | c53550467.lua | 6 | 2223 | --聖騎士トリスタン
function c53550467.initial_effect(c)
--cannot be battle target
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e1:SetCondition(c53550467.con)
e1:SetValue(c53550467.atlimit)
c:... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Castle_Oztroja/npcs/Brass_Statue.lua | 19 | 1377 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Brass Statue
-- Type: Passageway Machine
-- @pos -60.061 -4.348 -61.538 151 (1)
-- @pos -18.599 -19.307 20.024 151 (2)
-- @pos -60 22 -100 151 (3)
-- @pos -100 -72 -19 151 (4)
-----------------------------------
package.loaded["scripts/zones/Cast... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Kfghrah_WHM.lua | 9 | 1386 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- Mob: Kf'ghrah WHM
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic"); -- no spells are currently set due to lack of info
-----------------------------------
function onMobSpawn(mob)
-- Set co... | gpl-3.0 |
destdev/ygopro-scripts | c35419032.lua | 7 | 2967 | --侵略の侵喰感染
function c35419032.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)
e1:SetTarget(c35419032.target1)
e1:SetOperation(c35419032.operation)
c:RegisterEffect(e1)
--instant(chain)
local e2=Effec... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Longsword.lua | 7 | 1518 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Longsword
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobE... | gpl-3.0 |
destdev/ygopro-scripts | c69456283.lua | 4 | 3314 | --コイツ
function c69456283.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(69456283,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c69456283.eqtg)
e1:SetOperation(c694562... | gpl-2.0 |
destdev/ygopro-scripts | c11012887.lua | 4 | 1411 | --ジュラック・グアイバ
function c11012887.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(11012887,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetCondition(aux.bdocon)
e1:SetTarget... | gpl-2.0 |
destdev/ygopro-scripts | c42956963.lua | 4 | 1882 | --ナイトメア・デーモンズ
function c42956963.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c42956963.cost)
e1:SetTarget(c42956963.target)
e1:SetOperation(c42956963.activate)
c:Regi... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/entities/krotite-end.lua | 6 | 1743 | -- 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/zones/Metalworks/npcs/Aishah.lua | 34 | 1044 | -----------------------------------
-- Area: Metalworks
-- NPC: Aishah
-- Type: Standard Info NPC
-- @pos -83.038 2.390 -26.209 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
... | gpl-3.0 |
destdev/ygopro-scripts | c9753964.lua | 1 | 3513 | --琰魔竜 レッド・デーモン・アビス
function c9753964.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(c9753964.sfilter),1,1)
c:EnableReviveLimit()
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(9753964,0))
e1:SetCategory(CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1... | gpl-2.0 |
w86021702/svr_demo | 3rd/skynet/service/service_mgr.lua | 19 | 3853 | local skynet = require "skynet"
require "skynet.manager" -- import skynet.register
local snax = require "snax"
local cmd = {}
local service = {}
local function request(name, func, ...)
local ok, handle = pcall(func, ...)
local s = service[name]
assert(type(s) == "table")
if ok then
service[name] = handle
else
... | mit |
Deadwing888/darkstar | scripts/globals/weaponskills/backhand_blow.lua | 11 | 1348 | -----------------------------------
-- Backhand Blow
-- Hand-to-Hand weapon skill
-- Skill Level: 100
-- Deals params.critical damage. Chance of params.critical hit varies with TP.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: None
-- Modifiers: STR:30% ; DEX:30%
-- 100%TP 200%TP ... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.