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/Yhoator_Jungle/npcs/qm2.lua | 13 | 1933 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: ??? Used for Norg quest "Stop Your Whining"
-- @pos -94.073 -0.999 22.295 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
r... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Metalworks/npcs/Franziska.lua | 15 | 1120 | -----------------------------------
-- Area: Metalworks
-- NPC: Franziska
-- Type: Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
destdev/ygopro-scripts | c31328739.lua | 7 | 1125 | --サイキック・インパルス
function c31328739.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c31328739.cost)
e1:SetTarget(c31328739.target)
e1:SetOpe... | gpl-2.0 |
sina021/specialtg | plugins/help_fa.lua | 1 | 3719 | do
function run(msg, matches)
if msg.to.type == 'chat' and is_momod(msg) then
return 'SPECIAL Team BOT Command List'.. [[
💙 ليست دستورات به زبان فارسي ❤️
🔴 اخراج [کد،ايدي،ريپلی]
🔹شخص مورد نظر از گروه اخراج ميشود.
🔴 بن [ايدي،کد،ريپلی]
🔹شخص مورد نظر از گروه محروم ميشود
🔴 حذف بن [کد،ايدي،ریپلی]
🔹شخص مورد نظر ... | gpl-2.0 |
destdev/ygopro-scripts | c89538537.lua | 2 | 3159 | --オルターガイスト・シルキタス
function c89538537.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetDescription(aux.Stringid(89538537,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetProperty(EFFEC... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Kazham/npcs/Lalapp.lua | 13 | 3749 | -----------------------------------
-- Area: Kazham
-- NPC: Lalapp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
require("scripts/globals/pathfind");
local path = {
-63.243702, -11.000023, -97.916130,
-63.970551,... | gpl-3.0 |
destdev/ygopro-scripts | c12219047.lua | 1 | 2813 | --幻影騎士団カースド・ジャベリン
function c12219047.initial_effect(c)
aux.AddXyzProcedure(c,nil,2,2)
--disable and reduce ATK
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(12219047,0))
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetProper... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm14.lua | 17 | 1888 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns: Glavoid
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(play... | gpl-3.0 |
destdev/ygopro-scripts | c40253382.lua | 9 | 1517 | --TG-SX1
function c40253382.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c40253382.condition)
e1:SetTarget(c40253382.target)
e1:Set... | gpl-2.0 |
Lleafll/ldots | Libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua | 38 | 6512 | --[[-----------------------------------------------------------------------------
Keybinding Widget
Set Keybindings in the Config UI.
-------------------------------------------------------------------------------]]
local Type, Version = "Keybinding", 24
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not Ace... | mit |
RwNigma/darkstar | scripts/zones/Port_Windurst/npcs/Pherchabalet.lua | 38 | 1039 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pherchabalet
-- Type: Standard NPC
-- @zone: 240
-- @pos 34.683 -5.999 137.447
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Selbina/npcs/Tilala.lua | 13 | 1151 | -----------------------------------
-- Area: Selbina
-- NPC: Tilala
-- Guild Merchant NPC: Clothcrafting Guild
-- @pos 14.344 -7.912 10.276 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
destdev/ygopro-scripts | c4896788.lua | 4 | 1310 | --強欲な壺の精霊
function c4896788.initial_effect(c)
--draw
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_MZONE)
e1:SetOperation(aux.chainreg)
c:RegisterEffect(e1)
local e2=Effect.CreateEf... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/weaponskills/iron_tempest.lua | 11 | 1350 | -----------------------------------
-- Iron Tempest
-- Great Axe weapon skill
-- Skill Level: 40
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP 300%TP
-... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/RaKaznar_Turris/Zone.lua | 29 | 1324 | -----------------------------------
--
-- Zone: Ra’Kanzar Turris (277)
--
-----------------------------------
package.loaded["scripts/zones/RaKaznar_Turris/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/RaKaznar_Turris/TextIDs");
-----------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Waughroon_Shrine/bcnms/shattering_stars.lua | 19 | 1935 | -----------------------------------
-- Area: Waughroon Shrine
-- Name: Shattering stars - Maat Fight
-- @pos -345 104 -260 144
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Waughroon_Shrine/TextIDs");
----... | gpl-3.0 |
authbox-lib/thrift | lib/lua/TMemoryBuffer.lua | 100 | 2266 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
destdev/ygopro-scripts | c99157310.lua | 1 | 3693 | --ティンダングル・ドロネー
function c99157310.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BATTLE_DAMAGE)
e1:SetCondition(c99157310.condition)
e1:SetTarget(c99157310.target)
e1:SetOperation(c99157310.a... | gpl-2.0 |
destdev/ygopro-scripts | c64681432.lua | 4 | 3084 | --破壊竜ガンドラ
function c64681432.initial_effect(c)
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEffect(e1)
--summon,flip
local e2=Effect.CreateEffect(c)
e2:Set... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Caedarva_Mire/mobs/Experimental_Lamia.lua | 9 | 1334 | -----------------------------------
-- Area: Caedarva Mire (79)
-- ZNM: Experimental Lamia
-- !pos -773.369 -11.824 322.298 79
-----------------------------------
local ID = require("scripts/zones/Caedarva_Mire/IDs")
require("scripts/globals/status")
-----------------------------------
local function spawnMinions(mob... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Lower_Jeuno/npcs/Amalasanda.lua | 19 | 1284 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Amalasanda
-- Type: Tenshodo Merchant
-- @pos 28.149 2.899 -44.780 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/mobskills/Pile_Pitch.lua | 17 | 1246 | ---------------------------------------------------
-- Guided_Missile
--
-- Description: Reduces target's HP to 5% of its maximum value, ignores Utsusemi ,Bind (30 sec)
-- Type: Magical
--
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status")... | gpl-3.0 |
destdev/ygopro-scripts | c63789924.lua | 7 | 2250 | --盗人の煙玉
function c63789924.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c63789924.target)
e1:SetOperation(c63789924.operation)
c:RegisterEffect(e1)
... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/weaponskills/evisceration.lua | 9 | 1547 | -----------------------------------
-- Evisceration
-- Dagger weapon skill
-- Skill level: 230
-- In order to obtain Evisceration, the quest Cloak and Dagger must be completed.
-- Delivers a fivefold attack. Chance of params.critical hit varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Temenos/mobs/Enhanced_Ahriman.lua | 16 | 1291 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Enhanced_Ahriman
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/QuBia_Arena/bcnms/brothers_d_aurphe.lua | 9 | 1064 | -----------------------------------
-- Brothers D'Aurphe
-- Qu'Bia Arena BCNM60, Moon Orb
-- !additem 1130
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function on... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/effects/sigil.lua | 32 | 3008 | -----------------------------------
--
-- EFFECT_SIGIL
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower(); -- Tracks which bonus effects are in use.
local sub... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Lutete.lua | 38 | 1110 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Lutete
-- Type: Standard NPC
-- @zone: 94
-- @pos 169.205 -0.879 -9.107
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Carpenters_Landing/npcs/Beugungel.lua | 19 | 1190 | -----------------------------------
-- Area: Carpenters' Landing
-- NPC: Beugungel
-- Type: Guild Merchant NPC (Woodworking Guild)
-- @pos -333.729, -5.512, 475.647 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/bowl_of_loach_gruel.lua | 36 | 1567 | -----------------------------------------
-- ID: 5670
-- Item: Bowl of Loach Gruel
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Make Group Effect
-- Dexterity 2
-- Agility 2
-- Accuracy 7% Cap 30
-- HP 7% Cap 30
-- Evasion 4
-----------------------------------------
require("scri... | gpl-3.0 |
destdev/ygopro-scripts | c296499.lua | 2 | 1530 | --一族の掟
function c296499.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c296499.target)
c:RegisterEffect(e1)
--cannot attack
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_ATTACK)
e... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/West_Ronfaure/npcs/Laillera.lua | 17 | 1111 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Laillera
-- @pos -127.297 -62.000 266.800 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Wes... | gpl-3.0 |
nikai3d/naev | dat/ai/proteron.lua | 6 | 2651 | include("dat/ai/tpl/generic.lua")
include("dat/ai/personality/patrol.lua")
-- Settings
mem.armour_run = 40
mem.armour_return = 70
mem.aggressive = true
function create ()
-- Not too many credits.
ai.setcredits( rnd.rnd(ai.pilot():ship():price()/300, ai.pilot():ship():price()/70) )
-- Get refuel chance
... | gpl-3.0 |
destdev/ygopro-scripts | c61665245.lua | 2 | 4916 | --サモン・ソーサレス
function c61665245.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,aux.NOT(aux.FilterBoolFunction(Card.IsLinkType,TYPE_TOKEN)),2,99,c61665245.lcheck)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(61665245,0))
e1:SetCategory(CATEGORY_SPECI... | gpl-2.0 |
destdev/ygopro-scripts | c66789970.lua | 6 | 2302 | --聖刻龍-セテクドラゴン
function c66789970.initial_effect(c)
c:EnableReviveLimit()
--spsummon from hand
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetCondition(c66789970.hspc... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/La_Theine_Plateau/npcs/Dimensional_Portal.lua | 12 | 1393 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Dimensional Portal
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
yahoo/fili | luthier/src/test/resources/app/defaults.lua | 2 | 4746 | -- Copyright 2019 Oath Inc.
-- Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms.
--- a module provides default strategies, including constants and variables, in a centralized way.
-- @module Utils
local misc = require 'lib.misc'
local M = {}
--- Constan... | apache-2.0 |
Deadwing888/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Yang.lua | 5 | 1296 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NM: Yang
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob,target)
end;
----------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Castle_Oztroja/npcs/_47m.lua | 13 | 1612 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47m (Torch Stand)
-- Notes: Opens door _471 near password #3
-- @pos -45.230 -17.832 17.668 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Konschtat_Highlands/mobs/Ghillie_Dhu.lua | 15 | 2301 | -----------------------------------
-- Area: Konschtat Highlands
-- NM: Ghillie Dhu
-----------------------------------
require("scripts/globals/utils");
require("scripts/globals/status");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobInitialize
-------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Southern_San_dOria/npcs/Lusiane.lua | 11 | 1154 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Lusiane
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Southern_San_dOria/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
require("scripts/globals/shop")
function onTrad... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Chateau_dOraguille/npcs/_6h0.lua | 9 | 4595 | -----------------------------------
-- Area: Chateau d'Oraguille
-- Door: Prince Royal's
-- Finishes Quest: A Boy's Dream, Under Oath
-- Involved in Missions: 3-1, 5-2, 8-2
-- !pos -38 -3 73 233
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
destdev/ygopro-scripts | c74371660.lua | 2 | 2141 | --水精鱗-ガイオアビス
function c74371660.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WATER),7,2)
c:EnableReviveLimit()
--atklimit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_ATTACK)
e1:SetRange(LOCATION_MZONE)
e1:SetTa... | gpl-2.0 |
destdev/ygopro-scripts | c45195443.lua | 4 | 2631 | --E・HERO ソリッドマン
function c45195443.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(45195443,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c45195443.sptg1)
e1:SetOper... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Marjami_Ravine/Zone.lua | 34 | 1245 | -----------------------------------
--
-- Zone: Marjami Ravine
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil;
require("scripts/zones/Marjami_Ravine/TextIDs");
-----------------------------------
-- onInitialize
-... | gpl-3.0 |
destdev/ygopro-scripts | c59965151.lua | 4 | 2032 | --デッド・ガードナー
function c59965151.initial_effect(c)
--change battle target
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(59965151,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c59965151.cbcon)
e1:SetTarget(c59... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/entities/greenseadragon.lua | 6 | 6527 | -- 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 |
liv3dn8as/captivePortal | httpserver-basicauth.lua | 1 | 1438 | -- httpserver-basicauth.lua
-- Part of nodemcu-httpserver, authenticates a user using http basic auth.
-- Author: Sam Dieck
basicAuth = {}
-- Returns true if the user/password match one of the users/passwords in httpserver-conf.lua.
-- Returns false otherwise.
function loginIsValid(user, pwd, users)
if us... | gpl-2.0 |
destdev/ygopro-scripts | c85239662.lua | 1 | 1297 | --神秘の妖精 エルフィリア
function c85239662.initial_effect(c)
--xyz limit
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(85239662,0))
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1)
e2:SetCost(c85239662.cost)
e2:SetOperation(c85239662.operation)
c:RegisterEffect(e2)
end
f... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Nyzul_Isle/instances/path_of_darkness.lua | 9 | 2307 | -----------------------------------
--
-- TOAU-42: Path of Darkness
--
-----------------------------------
local ID = require("scripts/zones/Nyzul_Isle/IDs")
require("scripts/globals/instance")
require("scripts/globals/keyitems");
-----------------------------------
function afterInstanceRegister(player)
local ins... | gpl-3.0 |
destdev/ygopro-scripts | c25880422.lua | 4 | 1084 | --『攻撃』封じ
function c25880422.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c25880422.target)
e1:SetOperation(c25880422.activate)
c:RegisterEffect(e1... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Giddeus/npcs/Harvesting_Point.lua | 13 | 1059 | -----------------------------------
-- Area: Giddeus
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Giddeus/TextIDs");
---------------------------... | gpl-3.0 |
SIGNALTEAM/SignalTG | plugins/Warn.lua | 9 | 7697 | local function warn_by_username(extra, success, result) -- /warn <@username>
if success == 1 then
local msg = result
local target = extra.target
local receiver = extra.receiver
local hash = 'warn:'..target
local value = redis:hget(hash, msg.id)
local text = ''
local name = ''
if msg.first_name then... | gpl-2.0 |
destdev/ygopro-scripts | c77826734.lua | 2 | 1350 | --ペンデュラム・リボーン
function c77826734.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:SetTarget(c77826734.target)
e1:SetOperation(c77826734.activate)
c:RegisterEffect(e1)
end
function c77826734.filte... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/spells/bluemagic/metallic_body.lua | 45 | 1520 | -----------------------------------------
-- Spell: Metallic Body
-- Absorbs an certain amount of damage from physical and magical attacks
-- Spell cost: 19 MP
-- Monster Type: Aquans
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 1
-- Stat Bonus: None
-- Level: 8
-- Casting Time: 7 seconds
-- Recast Time: 60 sec... | gpl-3.0 |
destdev/ygopro-scripts | c66994718.lua | 6 | 1133 | --ラプターズ・ガスト
function c66994718.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:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetCondition(c66994718.condition)
e1:SetTarge... | gpl-2.0 |
nikai3d/naev | dat/ai/tpl/merchant.lua | 6 | 2284 | include("dat/ai/include/basic.lua")
-- Variables
mem.enemy_close = 500 -- Distance enemy is too close for comfort
-- Required control rate
control_rate = 2
-- Required "control" function
function control ()
task = ai.taskname()
enemy = ai.getenemy()
-- Runaway if enemy is near
if task ~= "runaway" a... | gpl-3.0 |
destdev/ygopro-scripts | c6022371.lua | 2 | 3162 | --ウォーター・ドラゴン-クラスター
function c6022371.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(c6022371.splimit)
c:RegisterEffe... | gpl-2.0 |
kosicki123/forgottenserver | data/talkactions/scripts/deathlist.lua | 43 | 2176 | local function getArticle(str)
return str:find("[AaEeIiOoUuYy]") == 1 and "an" or "a"
end
local function getMonthDayEnding(day)
if day == "01" or day == "21" or day == "31" then
return "st"
elseif day == "02" or day == "22" then
return "nd"
elseif day == "03" or day == "23" then
return "rd"
else
return "t... | gpl-2.0 |
Jokler/JC2MP-Scripts | Racing/client/OBJLoader/cMeshRequester.lua | 2 | 1203 | function OBJLoader.MeshRequester:__init(modelPath , callback , callbackInstance)
self.modelPath = modelPath
self.callback = callback
self.callbackInstance = callbackInstance
Network:Send("OBJLoaderRequest" , modelPath)
self.sub = Network:Subscribe("OBJLoaderReceive" , self , self.Receive)
end
function OBJLoader... | mit |
Seadragon91/SkyBlock | SkyBlock.lua | 1 | 8559 | -- SkyBlock plugin for cuberite.
-- Before starting the server, you need to add a (configurable world name in Config.ini)
-- world in the settings.ini under the section [Worlds]
-- Example: World=skyblock
PLUGIN = nil
ISLAND_NUMBER = nil -- Gets increased, before a new island is created
ISLAND_DISTANCE = nil -- Distan... | apache-2.0 |
destdev/ygopro-scripts | c98585345.lua | 3 | 1897 | --ハネクリボー LV10
function c98585345.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--d... | gpl-2.0 |
destdev/ygopro-scripts | c87257460.lua | 1 | 3909 | --魅惑の女王 LV3
function c87257460.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(87257460,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCondition(c87257460.... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/maps/_unused/node_memorycrystalscene.lua | 6 | 2197 | -- 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/Port_Windurst/npcs/Taniko-Maniko.lua | 36 | 1836 | -----------------------------------
-- Area: Port Windurst
-- NPC: Taniko-Maniko
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/... | gpl-3.0 |
AenAllAin/factorio-walls | release/n^3_walls_0.0.9/prototypes/entity/concrete-wall.lua | 2 | 8650 | -- Concrete Walls
data:extend (
{
{
type = "wall",
name = "concrete-wall",
icon = "__n^3_walls__/graphics/icons/concrete-wall.png",
flags = {"placeable-neutral", "player-creation"},
collision_box = {{-0.29, -0.29}, {0.29, 0.29}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
minable = {minin... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/pelagic_tempest.lua | 11 | 1182 | ---------------------------------------------
-- Pelagic Tempest
--
-- Description: Delivers an area attack that inflicts Shock and Terror.
-- Type: Physical?
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' cone
-- Notes: Used by Murex affiliated with lightning element. Shock effect is fairly strong (28/t... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Southern_San_dOria/npcs/Nokkhi_Jinjahl.lua | 12 | 5151 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Nokkhi Jinjahl
-- Type: Travelling Merchant NPC / NPC Quiver Maker / San d'Oria 1st Place
-- !pos 23 2 -13 230
-----------------------------------
local ID = require("scripts/zones/Southern_San_dOria/IDs");
-----------------------------------
f... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Dynamis-Xarcabard/IDs.lua | 9 | 8606 | -----------------------------------
-- Area: Dynamis-Xarcabard
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/dynamis")
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.DYNAMIS_XARCABARD] =
{
text =
{
... | gpl-3.0 |
ld-test/lua-xmlreader | doc/extract_doc.lua | 3 | 2184 | modules={}
function module(name)
if modules[name] then
current_module=modules[name]
else
current_module={name=name, description=""}
modules[#modules+1]=name
modules[name]=current_module
end
current_obj=current_module
end
function signature(name)
current_obj = {name=name, params={}, returns={}... | mit |
RwNigma/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Quelveuiat.lua | 34 | 2668 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Quelveuiat
-- Standard Info NPC
-- @pos -3.177 -22.750 -25.970 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");... | gpl-3.0 |
Kong/kong | kong/plugins/request-transformer/schema.lua | 1 | 3380 | local pl_template = require "pl.template"
local tx = require "pl.tablex"
local typedefs = require "kong.db.schema.typedefs"
local validate_header_name = require("kong.tools.utils").validate_header_name
local compile_opts = {
escape = "\xff", -- disable '#' as a valid template escape
}
-- entries must have colons ... | apache-2.0 |
ffxijuggalo/darkstar | scripts/zones/West_Ronfaure/npcs/Zovriace.lua | 9 | 41586 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Zovriace
-- Type: Patrol NPC
-- !pos -436.356 -15.851 -258.168 100
-----------------------------------
local ID = require("scripts/zones/West_Ronfaure/IDs")
require("scripts/globals/pathfind")
-----------------------------------
local path =
{
-43... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Promyvion-Dem/Zone.lua | 13 | 7696 | -----------------------------------
--
-- Zone: Promyvion-Dem (18)
--
-----------------------------------
package.loaded["scripts/zones/Promyvion-Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/missions");
require... | gpl-3.0 |
destdev/ygopro-scripts | c28053763.lua | 1 | 2444 | --ドラゴノイド・ジェネレーター
function c28053763.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c28053763.cost)
c:RegisterEffect(e1)
--Special Summon
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
... | gpl-2.0 |
streamdataio/kong | spec/plugins/response-transformer/access_spec.lua | 3 | 3154 | local spec_helper = require "spec.spec_helpers"
local http_client = require "kong.tools.http_client"
local cjson = require "cjson"
local STUB_GET_URL = spec_helper.PROXY_URL.."/get"
local STUB_HEADERS_URL = spec_helper.PROXY_URL.."/response-headers"
describe("Response Transformer Plugin #proxy", function()
setup(f... | apache-2.0 |
RwNigma/darkstar | scripts/zones/Port_Windurst/npcs/HomePoint#2.lua | 17 | 1253 | -----------------------------------
-- Area: Port Windurst
-- NPC: HomePoint#2
-- @pos -207 -8.159 210 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/TextIDs");
require("scripts/g... | gpl-3.0 |
jcosborn/qhmc | lua/Init.lua | 1 | 2685 | -- this file is loaded at startup by default
function printfAll(...)
io.write(string.format(...))
end
function eprintfAll(...)
io.stderr:write(string.format(...))
end
if qopqdp and qopqdp.master then
function printf(...)
if(qopqdp.master()) then
printfAll(...)
end
end
function eprintf(...)
... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/dragon_steak.lua | 18 | 1866 | -----------------------------------------
-- ID: 4350
-- Item: dragon_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 25
-- Strength 7
-- Intelligence -3
-- Health Regen While Healing 2
-- Attack % 20
-- Attack Cap 150
-- Ranged ATT % 20
-- Ranged ATT Cap 150
-- Demon Killer ... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Mount_Kamihr/Zone.lua | 34 | 1279 | -----------------------------------
--
-- Zone: Mount Kamihr
--
-----------------------------------
package.loaded["scripts/zones/Mount_Kamihr/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mount_Kamihr/TextIDs");
---------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/_540.lua | 17 | 2177 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Cermet Door for Windy Ambassador
-- Windurst Mission 3.3 "A New Journey"
-- @pos 636 16 59 184
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Upper_Jeuno/npcs/Theraisie.lua | 12 | 1397 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Theraisie
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Upper_Jeuno/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/shop.lua | 7 | 24263 | -----------------------------------
--
-- Functions for Shop system
--
-----------------------------------
require("scripts/globals/conquest")
require("scripts/globals/settings")
require("scripts/globals/crafting")
-----------------------------------
dsp = dsp or {}
dsp.shop =
{
--[[ **************************... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/bowl_of_sprightly_soup.lua | 36 | 1326 | -----------------------------------------
-- ID: 5930
-- Item: Bowl of Sprightly Soup
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP 30
-- Mind 4
-- HP Recovered While Healing 4
-- Enmity -4
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
MonkeyFirst/urho3d-staticmodel-instances | Sources/bin/Data/LuaScripts/Utilities/Touch.lua | 32 | 2209 | -- Mobile framework for Android/iOS
-- Gamepad from Ninja Snow War
-- Touches patterns:
-- - 1 finger touch = pick object through raycast
-- - 1 or 2 fingers drag = rotate camera
-- - 2 fingers sliding in opposite direction (up/down) = zoom in/out
-- Setup: Call the update function 'UpdateTouches()' from... | mit |
ffxijuggalo/darkstar | scripts/globals/items/plate_of_felicifruit_gelatin.lua | 11 | 1086 | -----------------------------------------
-- ID: 5978
-- Item: Plate of Felicifruit Gelatin
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- MP % 5 Cap 100
-- Intelligence +7
-- MP Healing +3
-----------------------------------------
require("scripts/globals/status")
require("scripts/glob... | gpl-3.0 |
destdev/ygopro-scripts | c43455065.lua | 3 | 2816 | --魔力の泉
function c43455065.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCountLimit(1,43455065+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c43455065.target)
e1:SetO... | gpl-2.0 |
lyntel/OpenRA | mods/cnc/maps/nod02b/nod02b.lua | 12 | 6483 | NodUnits = { "bggy", "e1", "e1", "e1", "e1", "e1", "bggy", "e1", "e1", "e1", "bggy" }
NodBaseBuildings = { "hand", "fact", "nuke" }
Grd2ActorTriggerActivator = { Refinery, Yard }
Atk4ActorTriggerActivator = { Guard1 }
Atk3ActorTriggerActivator = { Guard4 }
Atk6ActorTriggerActivator = { Guard2, Guard3 }
HuntActorTrigge... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Arrapago_Reef/Zone.lua | 9 | 3774 | -----------------------------------
--
-- Zone: Arrapago_Reef (54)
--
-----------------------------------
local ID = require("scripts/zones/Arrapago_Reef/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/npc_util")
require("scripts/globals/settings")
require("scripts... | gpl-3.0 |
Enhex/Urho3D-CEF3 | Bin_Debug/Data/LuaScripts/16_Chat.lua | 2 | 7338 | -- Chat example
-- This sample demonstrates:
-- - Starting up a network server or connecting to it
-- - Implementing simple chat functionality with network messages
require "LuaScripts/Utilities/Sample"
-- Identifier for the chat network messages
local MSG_CHAT = 32
-- UDP port we will use
local CHAT_SERVER_P... | mit |
kidaa/luakit | lib/lousy/uri.lua | 7 | 3484 | ------------------------------------------------------
-- URI parsing functions --
-- © 2011 Mason Larobina <mason.larobina@gmail.com> --
------------------------------------------------------
-- Get lua environment
local table = table
local string = string
local ipairs = ipairs
local pairs ... | gpl-3.0 |
madmaxoft/ZeroBranePackage | remoteedit.lua | 2 | 3152 | local id = ID("remoteedit.openremotefile")
local lastfile = ""
local editors = {}
local function reportErr(err) return(err:gsub('.-:%d+:%s*','')) end
local mobdebug = require("mobdebug")
local copas = require("copas")
return {
name = "Remote edit",
description = "Allows to edit files remotely while debugging is i... | mit |
fkooman/luci | applications/luci-app-privoxy/luasrc/controller/privoxy.lua | 33 | 4608 | -- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed under the Apache License, Version 2.0
module("luci.controller.privoxy", package.seeall)
local NX = require "nixio"
local NXFS = require "nixio.fs"
local HTTP = require "luci.http"
local UCI = require "luci.model.uci"
l... | apache-2.0 |
DeepMark/deepmark | torch/audio/Dataset.lua | 1 | 3240 | ------------------------------------------------------------------------
--[[ Dataset ]] --
-- Creates a dataset of random numbers based on the Baidu chosen
-- distribution of dataset for the benchmark.
------------------------------------------------------------------------
require 'nn'
local Dataset = torch.class('nn... | apache-2.0 |
andrew-d/luabuild | modules/luasocket/src/socket.lua | 3 | 4875 | -----------------------------------------------------------------------------
-- LuaSocket helper module
-- Author: Diego Nehab
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Declare module and import depend... | mit |
LuaDist/lrexlib-tre | mkrockspecs.lua | 5 | 1276 | -- Generate the rockspecs
require "std"
if select ("#", ...) < 2 then
io.stderr:write "Usage: mkrockspecs VERSION MD5SUM\n"
os.exit ()
end
version = select (1, ...)
md5sum = select (2, ...)
function format (x, indent)
indent = indent or ""
if type (x) == "table" then
local s = "{\n"
for i, v in pair... | mit |
nmav/luci | applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua | 2 | 12088 | -- Copyright 2016-2018 Stan Grishin <stangri@melmac.net>
-- Licensed to the public under the Apache License 2.0.
local readmeURL = "https://github.com/openwrt/packages/tree/master/net/simple-adblock/files/README.md"
-- local readmeURL = "https://github.com/stangri/openwrt_packages/tree/master/simple-adblock/files/READ... | apache-2.0 |
kikito/ld-29 | lib/middleclass.lua | 63 | 6117 | local middleclass = {
_VERSION = 'middleclass v3.0.1',
_DESCRIPTION = 'Object Orientation for Lua',
_URL = 'https://github.com/kikito/middleclass',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2011 Enrique García Cota
Permission is hereby granted, free of charge, to any person obtaining... | mit |
MegaThorx/open_reallife | open_reallife/client/login.lua | 2 | 2836 | Login = {}
Login.Display = function(...)
Login.ShowWindow(...)
end
addEvent("onClientDisplayLogin", true)
addEventHandler("onClientDisplayLogin", root, Login.Display)
Login.DisplayRegister = function(...)
Login.ShowWindowRegister(...)
end
addEvent("onClientDisplayRegister", true)
addEventHandler("onClientDisplay... | mit |
FaceDeer/crafting | furnace.lua | 1 | 14494 | local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local recipes = simplecrafting_lib.get_crafting_info("furnace").recipes
local show_guides = crafting.config.show_guides
local clear_default_crafting = crafting.config.clear_default_crafting
local max_heat = ItemSt... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.