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 |
|---|---|---|---|---|---|
davidedmonds/darkstar | scripts/zones/Dynamis-Valkurm/mobs/Serjeant_Tombstone.lua | 12 | 2172 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Serjeant_Tombstone
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Northern_San_dOria/npcs/Maurinne.lua | 38 | 1026 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Maurinne
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -127.185 0.000 179.193
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs")... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c18706034.lua | 1 | 1324 | --少女的庇佑伞
function c18706034.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,18706034)
e1:SetTarget(c18706034.target)
e1:SetOperation(c187... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/magic.lua | 6 | 53124 | require("scripts/globals/magicburst")
require("scripts/globals/status")
require("scripts/globals/weather")
require("scripts/globals/utils")
MMSG_BUFF_FAIL = 75;
DIVINE_MAGIC_SKILL = 32;
HEALING_MAGIC_SKILL = 33;
ENHANCING_MAGIC_SKILL = 34;
ENFEEBLING_MAGIC_SKILL = 35;
ELEMENTAL_MAGIC_SKILL... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c33700001.lua | 1 | 3921 | --上级Protoform 乞力马扎罗
function c33700001.initial_effect(c)
--spsummon limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetCondition(c33700001.sumcon)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(... | gpl-3.0 |
kidaa/darkstar | scripts/globals/mobskills/Blade_Metsu.lua | 7 | 1091 | ---------------------------------------------
-- Blade Metsu
--
-- Description: Additional effect: Paralysis
-- Hidden effect: temporarily enhances Subtle Blow effect.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/sta... | gpl-3.0 |
mammadfucklif/mammadassassin | plugins/setrank.lua | 40 | 8897 | do
local Dev = 122774063 --put your id here(BOT OWNER ID)
local function setrank(msg, name, value) -- setrank function
local hash = nil
if msg.to.type == 'chat' then
hash = 'rank:'..msg.to.id..':variables'
end
if hash then
redis:hset(hash, name, value)
return send_msg('chat#id'..msg.to.id, 'مقام کاربر... | gpl-2.0 |
waterlgndx/darkstar | scripts/globals/items/homemade_steak.lua | 2 | 1587 | -----------------------------------------
-- ID: 5226
-- Item: homemade_steak
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 1
-- Accuracy +12% (cap 80)
-- Attack +10% (cap 40)
-- Ranged Accuracy +12% (cap 80)
-- Ranged Attack +10% (cap 40)
---------------------------------------... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Port_Windurst/npcs/Kumama.lua | 36 | 1748 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kumama
-- 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/TextIDs... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c29201103.lua | 1 | 7214 | --地耀团-铳修女 贝蒂
function c29201103.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--destroy replace
local ea=Effect.CreateEffect(c)
ea:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
ea:SetCode(EFFECT_DESTROY_REPLACE)
ea:SetRange(LOCATION_PZONE)
ea:SetTarget(c29201103.reptg)
ea:SetValue(c292... | gpl-3.0 |
ozkriff/misery-lua | parser.lua | 1 | 4868 | -- See LICENSE file for copyright and license details
local Misc = require('misc')
local Assert = require('assert')
local M = Misc.newType()
M.new = function()
local self = {}
setmetatable(self, M)
return self
end
M.setLexer = function(self, lexer)
assert(lexer)
self._lexer = lexer
end
local parseTypeFie... | mit |
leobaixada/BolScripts | ViktorMechanics.lua | 3 | 23930 | --[[
_____ _____ __ .__
/ \_______ / _ \________/ |_|__| ____ __ __ ____ ____
/ \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \
/ Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> )
\____|__ /__| \___... | gpl-2.0 |
kidaa/darkstar | scripts/zones/Nashmau/npcs/Wata_Khamazom.lua | 34 | 1438 | -----------------------------------
-- Area: Nashmau
-- NPC: Wata Khamazom
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
-----... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/items/balik_sis_+1.lua | 35 | 1664 | -----------------------------------------
-- ID: 5601
-- Item: Balik Sis +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 5
-- Mind -2
-- Attack % 15
-- Attack Cap 45
-- Ranged ACC 1
-- Ranged ATT % 15
-- Ranged ATT Cap 45
-----------------------------------------
... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Southern_San_dOria/npcs/Raminel.lua | 18 | 4705 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Raminel
-- Involved in Quests: Riding on the Clouds
-- @zone 230
-- @pos -56 2 -21
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
yinjimmy/sdkbox-samples | src/cocos/framework/components/event.lua | 62 | 4752 |
local Event = class("Event")
local EXPORTED_METHODS = {
"addEventListener",
"dispatchEvent",
"removeEventListener",
"removeEventListenersByTag",
"removeEventListenersByEvent",
"removeAllEventListeners",
"hasEventListener",
"dumpAllEventListeners",
}
function Event:init_()
self.tar... | mit |
will4wachter/Project1 | scripts/globals/items/tortilla.lua | 35 | 1264 | -----------------------------------------
-- ID: 4408
-- Item: tortilla
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 6
-- Dexterity -1
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ugrihd.lua | 2 | 10009 | -----------------------------------
-- 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 |
kidaa/darkstar | scripts/globals/abilities/pets/healing_breath_ii.lua | 3 | 1466 | ---------------------------------------------------
-- Healing Breath II
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbil... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Port_San_dOria/npcs/Laucimercen.lua | 36 | 1377 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Laucimercen
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/T... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Ifrits_Cauldron/npcs/qm4.lua | 8 | 1475 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: ???
-- Involved in Mission: Bastok 6-2
-- @pos 171 0 -25 205
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
requi... | gpl-3.0 |
asasasasasasas11/uzzbot | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
mobinantispam/antispam412 | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
pedro-andrade-inpe/calibration | examples/sir-samde-point.lua | 1 | 1687 | -- @example Calibration of a SIR model using a single point. The best fit is reached when the
-- simulation produces the same maximum number of infected in the same time instant.
-- Note that the other parts of the curves are not so good.
-- @image sir-samde-point.bmp
import("sysdyn") -- investigate why SAMDE enters i... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Mhaura/npcs/Numi_Adaligo.lua | 17 | 1403 | -----------------------------------
-- Area: Mhaura
-- NPC: Numi Adaligo
-- Involved In Quest: RYCHARDE_THE_CHEF
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/set... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Lindgard_IM.lua | 30 | 3065 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Lindgard, I.M.
-- Outpost Conquest Guards
-- @pos -258.041 7.473 -254.527 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/spells/foe_requiem_vii.lua | 2 | 1866 | -----------------------------------------
-- Spell: Foe Requiem VII
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
en... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/The_Sanctuary_of_ZiTah/npcs/relic.lua | 38 | 2786 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: <this space intentionally left blank>
-- @pos 646 -2 -165 121
-- @pos -18 0 55 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Yuhtunga_Jungle/mobs/Overgrown_Rose.lua | 4 | 1379 | -----------------------------------
-- Area: Yuhtunga Jungle
-- MOB: Overgrown Rose
-----------------------------------
function OnMobRoam(mob)
local Rose_Garden = 17281357;
local Rose_Garden_PH = 0;
local Rose_Garden_PH_Table =
{
17281356
};
local Rose_Garden_ToD = GetMobByID(Rose_Garden):g... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Celennia_Memorial_Library/Zone.lua | 15 | 1349 | -----------------------------------
--
-- Zone: Celennia Memorial Library (284)
--
-----------------------------------
package.loaded["scripts/zones/Celennia_Memorial_Library/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Celennia_Memorial_Libr... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Ifrits_Cauldron/npcs/relic.lua | 38 | 1848 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: <this space intentionally left blank>
-- @pos -18 40 20 205
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
--... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Ifrits_Cauldron/npcs/relic.lua | 38 | 1848 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: <this space intentionally left blank>
-- @pos -18 40 20 205
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
--... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Windurst_Woods/npcs/Harara_WW.lua | 6 | 4820 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Harara, W.W.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Mission... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/weaponskills/split_shot.lua | 6 | 1577 | -----------------------------------
-- Split Shot
-- Marksmanship weapon skill
-- Skill Level: 40
-- Ignores enemy's defense. Amount ignored varies with TP.
-- The amount of defense ignored is 0% @ 100TP, 35% @ 200TP and 50% @ 300TP.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/VeLugannon_Palace/npcs/Monolith.lua | 17 | 3651 | -----------------------------------
-- Area: VeLugannon Palace
-- NPC: Monolith
-- @pos <many>
-----------------------------------
package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/VeLugannon_Palace/TextIDs");
-----------------------... | gpl-3.0 |
Thonik/FritoMod | fritomod/TestSuite.lua | 1 | 6468 | if nil ~= require then
require "fritomod/basic";
require "fritomod/currying";
require "fritomod/Metatables";
require "fritomod/Functions";
require "fritomod/OOP";
require "fritomod/OOP-Class";
require "fritomod/Metatables";
require "fritomod/Lists";
require "fritomod/Iterators";
require "fritomod/Tests";
end;... | mit |
elihugarret/Moonlet | loveosc/vstruct/lexer.lua | 2 | 1160 | local lexis = {}
local function lexeme(name)
return function(pattern)
lexis[#lexis+1] = { name=name, pattern="^"..pattern }
end
end
lexeme (false) "%s+" -- whitespace
lexeme "table" "(%b{})"
lexeme "group" "(%b())"
lexeme "name_atom" "([%a_][%w_]*)%:(%a)([%d.]*)"
lexeme "name_table" "([%a_][%w_]*)%:(%b{})"
... | gpl-2.0 |
kidaa/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_iz2.lua | 19 | 1961 | -----------------------------------
-- Area: The Garden of RuHmet
-- NPC: _iz2 (Ebon_Panel)
-- @pos 422.351 -5.180 -100.000 35 | Hume Tower
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Garden_o... | gpl-3.0 |
LuaDist2/dromozoa-regexp | dromozoa/regexp/syntax_tree/ere_parser.lua | 3 | 6281 | -- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com>
--
-- This file is part of dromozoa-regexp.
--
-- dromozoa-regexp 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, ... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c33700035.lua | 1 | 3524 | --Protoform Cosplay - Kotori
function c33700035.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--ret&draw
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVE... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Temenos/mobs/Enhanced_Ahriman.lua | 17 | 1287 | -----------------------------------
-- 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 |
kidaa/darkstar | scripts/zones/Northern_San_dOria/npcs/Narcheral.lua | 23 | 3760 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Narcheral
-- Starts and Finishes Quest: Messenger from Beyond, Prelude of Black and White (Finish), Pieuje's Decision (Finish)
-- @zone 231
-- @pos 129 -11 126
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/T... | gpl-3.0 |
stevedonovan/luabuild | modules/luasocket/src/mbox.lua | 4 | 2699 | local Public = {}
mbox = Public
function Public.split_message(message_s)
local message = {}
message_s = string.gsub(message_s, "\r\n", "\n")
string.gsub(message_s, "^(.-\n)\n", function (h) message.headers = h end)
string.gsub(message_s, "^.-\n\n(.*)", function (b) message.body = b end)
if not mes... | mit |
davidedmonds/darkstar | scripts/zones/Port_Bastok/npcs/Valah_Molkot.lua | 35 | 3185 | -----------------------------------
-- Area: Port Bastok
-- NPC: Valah Molkot
-- Starts and Finishes Quest: A Lady's Heart
-- @zone 236
-- @pos 59 8 -221
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Port_Bastok/TextIDs");
... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c80023032.lua | 1 | 4226 | --丁香兽
function c80023032.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(80023032,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_T... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/items/bowl_of_sutlac.lua | 36 | 1315 | -----------------------------------------
-- ID: 5577
-- Item: Bowl of Sutlac
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +10
-- INT +1
-- MP Recovered while healing +2
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
kidaa/darkstar | scripts/globals/items/windurst_salad.lua | 35 | 1465 | -----------------------------------------
-- ID: 4555
-- Item: windurst_salad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 10
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Al_Zahbi/npcs/Nudahaal.lua | 12 | 2264 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Nudahaal
-- Type: Bonecraft Normal/Adv. Image Support
-- @pos -57.056 -7 -88.377 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Al_Zahbi/TextIDs"... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Ilrusi_Atoll/npcs/Rune_of_Release.lua | 16 | 2473 | -----------------------------------
-- 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/bc... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c19300084.lua | 1 | 3139 | --镜现诗·红魔馆门番
function c19300084.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c19300084.sumtg)
e1:SetOperation(c19300084.sumop)
c:RegisterEff... | gpl-3.0 |
Lh4cKg/sl4a | lua/src/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | apache-2.0 |
davidedmonds/darkstar | scripts/zones/Bastok_Markets/npcs/Horatius.lua | 38 | 2104 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Horatius
-- Type: Quest Giver
-- Starts and Finishes: Breaking Stones
-- @pos -158.392 -5.839 -117.061 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c37564318.lua | 1 | 5180 | --uta
local m=37564318
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c37564765") end,function() require("script/c37564765") end)
cm.Senya_name_with_jysp=1
function cm.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c23304009.lua | 1 | 2439 | --六道剑「一念无量劫」
function c23304009.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_ZOMBIE),2,3,c23304009.ovfilter,aux.Stringid(23304009,0),5)
c:EnableReviveLimit()
--direct attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DIRECT_ATT... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Selbina/npcs/Oswald.lua | 17 | 4682 | -----------------------------------
-- Area: Selbina
-- NPC: Oswald
-- Starts and Finishes Quest: Under the sea (finish), The gift, The real gift
-- @pos 48 -15 9 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Selbina/npcs/Oswald.lua | 17 | 4682 | -----------------------------------
-- Area: Selbina
-- NPC: Oswald
-- Starts and Finishes Quest: Under the sea (finish), The gift, The real gift
-- @pos 48 -15 9 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Leushenko/blue-moon | tests/strings.lua | 9 | 9838 | print('testing strings and string library')
assert('alo' < 'alo1')
assert('' < 'a')
assert('alo\0alo' < 'alo\0b')
assert('alo\0alo\0\0' > 'alo\0alo\0')
assert('alo' < 'alo\0')
assert('alo\0' > 'alo')
assert('\0' < '\1')
assert('\0\0' < '\0\1')
assert('\1\0a\0a' <= '\1\0a\0a')
assert(not ('\1\0a\0b' <= '\1\0a\0a'))
ass... | mit |
NewbProgrammer101/Lord-of-the-Test | mods/darkage/stairs_functions.lua | 2 | 1425 |
if minetest.get_modpath("moreblocks") then
function darkage.register_stairs(nodeName)
local ndef = assert(minetest.registered_nodes[nodeName], "Error: "..nodeName.." is not registered")
local mod = "darkage"
local node = nodeName:split(":")[2]
stairsplus:register_all(mod, node, node... | lgpl-2.1 |
will4wachter/Project1 | scripts/globals/items/plate_of_bream_sushi_+1.lua | 35 | 1470 | -----------------------------------------
-- ID: 5177
-- Item: plate_of_bream_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 6
-- Vitality 5
-- Accuracy % 17
-- Ranged ACC % 17
-- Sleep Resist 5
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
kidaa/darkstar | scripts/globals/items/plate_of_bream_sushi_+1.lua | 35 | 1470 | -----------------------------------------
-- ID: 5177
-- Item: plate_of_bream_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 6
-- Vitality 5
-- Accuracy % 17
-- Ranged ACC % 17
-- Sleep Resist 5
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
kidaa/darkstar | scripts/globals/weaponskills/omniscience.lua | 12 | 4694 | -----------------------------------
-- Omniscience
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's magic attack. Duration of effect varies with TP. Tupsimati: Aftermath effect varies with TP.
-- Reduces enemy's magic attack by -10.
-- Available only after completing the Unlocking a Myth (Scholar) que... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tabar.lua | 17 | 1476 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Tabar
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
kidaa/lit | commands/serve.lua | 5 | 2615 | local createServer = require('coro-net').createServer
local uv = require('uv')
local httpCodec = require('http-codec')
local websocketCodec = require('websocket-codec')
local log = require('log').log
local wrapper = require('coro-wrapper')
local readWrap, writeWrap = wrapper.reader, wrapper.writer
local makeRemote = r... | apache-2.0 |
kidaa/darkstar | scripts/zones/Bastok_Mines/npcs/Gerbaum.lua | 19 | 2167 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Gerbaum
-- Starts & Finishes Repeatable Quest: Minesweeper (100%)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("sc... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Throne_Room/mobs/Zeid.lua | 7 | 1872 | -----------------------------------
-- Area: Throne Room
-- NPC: Zeid
-- Mission 9-2 BASTOK BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/missions");
require("scripts/globals/settings");
require("scripts/globals/monstertpm... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c80004028.lua | 1 | 2988 | --花之终结
function c80004028.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_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetCost(c80004028.cost)
e1:SetTarget(c80004028.target)
e1:Se... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/items/magma_steak.lua | 2 | 1396 | -----------------------------------------
-- ID: 6071
-- Item: Magma Steak
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- Strength +8
-- Attack +23% Cap 180
-- Ranged Attack +23% Cap 180
-- Vermin Killer +5
-----------------------------------------
require("scripts/globals/status");
---... | gpl-3.0 |
kidaa/darkstar | scripts/globals/effects/teleport.lua | 23 | 2889 | -----------------------------------
--
-- EFFECT_TELEPORT
--
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/teleports");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
e... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c18740403.lua | 1 | 5347 | --狂猎 亚瑟
function c18740403.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(55885348,0))
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_DECKDES)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetTarge... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Ordelles_Caves/Zone.lua | 13 | 2039 | -----------------------------------
--
-- Zone: Ordelles_Caves (193)
--
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Ordelles_C... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Windurst_Waters/TextIDs.lua | 7 | 5524 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- Come back after sorting your inventory.
ITEM_OBTAINED = 6542; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>>
GIL_OBTAINED = 6543; -- Obtaine... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/items/roll_of_buche_au_chocolat.lua | 2 | 1288 | -----------------------------------------
-- ID: 5550
-- Item: Roll of Buche Au Chocolat
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +3% Cap 13
-- Intelligence +2
-- HP Recovered while healing +1
-- MP Recovered while healing +4
-----------------------... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hajawaa.lua | 36 | 4458 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hajawaa
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorst... | gpl-3.0 |
yuto-yamanaka/MySQL-Proxy | tests/suite/base/t/bug_43078-mock.lua | 4 | 1572 | --[[ $%BEGINLICENSE%$
Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is distribut... | gpl-2.0 |
davidedmonds/darkstar | scripts/globals/mobskills/Trembling.lua | 19 | 1093 | ---------------------------------------------
-- Trembling
--
-- Description: Deals physical damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Physical
-- Wipes Shadows
-- Range: 10' radial
---------------------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
kidaa/darkstar | scripts/globals/items/goblin_mushpot.lua | 35 | 1300 | -----------------------------------------
-- ID: 4543
-- Item: goblin_mushpot
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Mind 10
-- Charisma -5
-- Dark Resist 10
-----------------------------------------
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
lhog/Zero-K | LuaRules/Gadgets/unit_dont_fire_at_radar.lua | 6 | 7267 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c29201024.lua | 1 | 5406 | --镜世录 一寸法师
function c29201024.initial_effect(c)
--lv change
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29201024,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(2)
e1:SetTarget(c29201024.target)
... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Sauromugue_Champaign/npcs/qm3.lua | 11 | 2298 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm3 (???) (Tower 3)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- @pos 417.121 15.598 -137.466 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-----------------------------... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Moana_CA.lua | 38 | 1064 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Moana, C.A.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos -27.237 -60.888 -48.111
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]/Te... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Beaucedine_Glacier_[S]/npcs/Moana_CA.lua | 38 | 1064 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Moana, C.A.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos -27.237 -60.888 -48.111
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]/Te... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Moana_CA.lua | 38 | 1064 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Moana, C.A.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos -27.237 -60.888 -48.111
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]/Te... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Lower_Jeuno/npcs/Chetak.lua | 37 | 1430 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Chetak
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Nijaom.lua | 33 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Nijaom
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c21520119.lua | 1 | 1298 | --素星曜兽-毕月乌
function c21520119.initial_effect(c)
--special summon in hand
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(c21520119.spcon)
c:RegisterEffect(e1)
--draw
local e2=Effect... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Windurst_Waters/npcs/Jourille.lua | 36 | 1569 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jourille
-- Only sells when Windurst controlls Ronfaure Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Wind... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Yughott_Grotto/npcs/HomePoint#1.lua | 12 | 1255 | -----------------------------------
-- Area: Yughott_Grotto
-- NPC: HomePoint#1
-- @pos 434 -40.299 171 142
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Yughott_Grotto/TextIDs");
require("script... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c29200995.lua | 1 | 4214 | --欢迎来到妖怪们的世界
function c29200995.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--search
local e12=Effect.CreateEffect(c)
e12:SetDescription(aux.Stringid(29200995,0))
e12:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/items/plate_of_felicifruit_gelatin.lua | 2 | 1072 | -----------------------------------------
-- 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");
--------------------... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c60150903.lua | 1 | 4068 | --幻想曲T致命旋律 利刃
function c60150903.initial_effect(c)
Duel.EnableGlobalFlag(GLOBALFLAG_DECK_REVERSE_CHECK)
--Special Summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN+CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,60150903)
... | gpl-3.0 |
mr-sepehr/sphrbot | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c29201064.lua | 1 | 5450 | --镜世录 杜拉罕
function c29201064.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_TO_HAND)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c29201064.spcon)
e1:SetCost(c29201064.spcost)
... | gpl-3.0 |
lakehanne/RAL2017 | farnn/src/ros/pose_sub.lua | 1 | 2165 | --[[
This code subscribes to the twist motion of the head from vicon_listener that I wrote.
It also subscribes to the geometry/TransformStamped message from vicon bridge
The twist motion is what we pass to the neyral network to develo a real-time function approximator
Author: Olalekan Ogunmolu.
Date: October 2... | mit |
davidedmonds/darkstar | scripts/zones/Temenos/mobs/Praetorian_Guard_CCCXI.lua | 16 | 1196 | -----------------------------------
-- Area: Temenos N T
-- NPC: Praetorian_Guard
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
--------------------... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Northern_San_dOria/npcs/Beadurinc.lua | 12 | 1818 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Beadurinc
-- Type: Smithing Synthesis Image Support
-- @pos -182.300 10.999 146.650 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/PsoXja/npcs/_09e.lua | 2 | 1042 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09e (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- !pos 310.000 -1.925 -21.599 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/globals");... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Valley_of_Sorrows/mobs/Adamantoise.lua | 1 | 1706 | -----------------------------------
-- Area: Valley of Sorrows
-- NPC: Adamantoise
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
------------------... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Port_Bastok/npcs/Silver_Owl.lua | 34 | 1328 | -----------------------------------
-- Area: Port Bastok
-- NPC: Silver Owl
-- Type: Tenshodo Merchant
-- @pos -99.155 4.649 23.292 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
lhog/Zero-K | LuaUI/Widgets/chili_old/Controls/button.lua | 6 | 1229 | --//=============================================================================
Button = Control:Inherit{
classname= "button",
caption = 'button',
defaultWidth = 70,
defaultHeight = 20,
noFont = false,
align = "center",
valign = "center",
alignPadding = 0.5,
}
local this = Button
local inherited ... | gpl-2.0 |
davidedmonds/darkstar | scripts/zones/Bastok_Markets/npcs/Loulia.lua | 37 | 1076 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Loulia
-- Type: Room Renters
-- @zone: 235
-- @pos -176.212 -9 -25.049
--
-- Auto-Script: Requires Verification. Validated standard dialog - thrydwolf 12/8/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/Tex... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.