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
RwNigma/darkstar
scripts/zones/Kazham/npcs/Thali_Mhobrum.lua
15
1696
----------------------------------- -- Area: Kazham -- NPC: Thali Mhobrum -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); local path = { 55.816410, -11.000000, -43.992680, 54.761787, -11.000000, -44.0461...
gpl-3.0
destdev/ygopro-scripts
c18096222.lua
2
4052
--デュアル・ブースター function c18096222.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCondition(c18096222...
gpl-2.0
RwNigma/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Miah_Riyuh.lua
50
5024
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Miah Riyuh -- @pos 5.323 -2 37.462 94 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyite...
gpl-3.0
X-Coder/spacebuild
lua/entities/base_air_exchanger/init.lua
5
5286
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include('shared.lua') function ENT:Initialize() self.BaseClass.Initialize(self) self.Active = 0 self.damaged = 0 if not (WireAddon == nil) then self.WireDebugName = self.PrintName self.Inputs = Wire_CreateInputs(self, { "On" }) ...
apache-2.0
destdev/ygopro-scripts
c11705261.lua
2
1488
--エクシーズ・チェンジ・タクティクス function c11705261.initial_effect(c) c:SetUniqueOnField(1,0,11705261) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --draw local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(11705261,0)) e2:SetCateg...
gpl-2.0
Deadwing888/darkstar
scripts/zones/West_Sarutabaruta/TextIDs.lua
13
2666
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obt...
gpl-3.0
Deadwing888/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/TextIDs.lua
15
1760
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the <item>. Try trading again after sorting your inventory. ITEM_OBTAINED = 6384; ...
gpl-3.0
LGCaerwyn/QSanguosha-Para-tangjs520-LGCaerwyn
lang/zh_CN/Audio/HegemonyPackageLines.lua
2
2764
-- lines for Hegemony Package return { -- 乐进 ["cv:yuejin"] = "裤衩", ["$xiaoguo1"] = "三军听我号令,不得撤退!", -- 发动弃牌 ["$xiaoguo2"] = "看我先登城头,立下首功!", -- 弃置装备 ["$xiaoguo3"] = "贼有防备,只伤皮毛,来日再战!", -- 受到伤害 ["~yuejin"] = "箭疮发作,我命休矣!", -- 甘夫人 ["cv:ganfuren"] = "官方", ["$shushen1"] = "船到桥头自然直。", ["$shushen2"] = "妾身无恙,相公请安心征战。"...
lgpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/strip_of_bison_jerky.lua
11
1077
----------------------------------------- -- ID: 5207 -- Item: strip_of_bison_jerky -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 5 -- Mind -2 -- Attack % 18 -- Attack Cap 70 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg...
gpl-3.0
RwNigma/darkstar
scripts/zones/Lower_Jeuno/npcs/Harnek.lua
17
2370
----------------------------------- -- Area: Lower Jeuno -- NPC: Harnek -- Starts and Finishes Quest: The Tenshodo Showdown (finish) -- @zone 245 -- @pos 44 0 -19 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; --...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/marinara_pizza_+1.lua
11
1285
----------------------------------------- -- ID: 5744 -- Item: marinara_pizza +1 -- Food Effect: 4 hours, all Races ----------------------------------------- -- HP +25 -- Attack +21% (cap 55) -- Accuracy +11% (cap 58) -- Undead Killer ----------------------------------------- require("scripts/globals/status") require("...
gpl-3.0
destdev/ygopro-scripts
c8809344.lua
1
2787
--外神ナイアルラ function c8809344.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --rankup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8809344,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(c8809344.rk...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/items/plate_of_tentacle_sushi_+1.lua
11
1470
----------------------------------------- -- ID: 5216 -- Item: plate_of_tentacle_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- HP 20 -- Dexterity 3 -- Agility 3 -- Accuracy % 20 (cap 20) -- Ranged Accuracy % 20 (cap 20) -- Double Attack 1 ----------------------------------------...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Windurst_Walls/npcs/Chomomo.lua
13
1458
----------------------------------- -- Area: Windurst Walls -- NPC: Chomomo -- Type: Standard NPC -- @pos -1.262 -11 290.224 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts...
gpl-3.0
destdev/ygopro-scripts
c78783370.lua
9
1364
--地獄の扉越し銃 function c78783370.initial_effect(c) --reflect local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c78783370.condition) e1:SetOperation(c78783370.operation) c:RegisterEffect(e1) end function c78783370.condi...
gpl-2.0
RwNigma/darkstar
scripts/globals/weaponskills/blast_shot.lua
30
1320
----------------------------------- -- Blast Shot -- Marksmanship weapon skill -- Skill Level: 200 -- Delivers a melee-distance ranged attack. params.accuracy varies with TP. -- Aligned with the Snow Gorget & Light Gorget. -- Aligned with the Snow Belt & Light Belt. -- Element: None -- Modifiers: AGI:30% -- 10...
gpl-3.0
SIGNALTEAM/SignalTG
plugins/Admin.lua
15
10512
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
gpl-2.0
RwNigma/darkstar
scripts/globals/weaponskills/rudras_storm.lua
30
1690
----------------------------------- -- Rudra's Storm -- Dagger weapon skill -- Skill level: N/A -- Deals triple damage and weighs target down (duration: 60s). Damage varies with TP. -- Aligned with the Aqua Gorget, Snow Gorget & Shadow Gorget. -- Aligned with the Aqua Belt, Snow Belt & Shadow Belt. -- Element: N...
gpl-3.0
linuxmaniac/pkg-prosody
util/pluginloader.lua
3
1717
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local dir_sep, path_sep = package.config:match("^(%S+)%s(%S+)"); local plugin_dir = {}; for path in (CFG_...
mit
Deadwing888/darkstar
scripts/zones/Bastok_Markets/TextIDs.lua
8
5351
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; --Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6383; --Try trading again after sorting your inventory. ITEM_OBTAINED = 6384; --Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Spec...
gpl-3.0
Deadwing888/darkstar
scripts/globals/items/pitcher_of_homemade_herbal_tea.lua
18
1116
----------------------------------------- -- ID: 5221 -- Item: pitcher_of_homemade_herbal_tea -- Food Effect: 30Min, All Races ----------------------------------------- -- Charisma 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
destdev/ygopro-scripts
c63223467.lua
9
1173
--RAI-MEI function c63223467.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(63223467,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c63223467.condition) e1:SetT...
gpl-2.0
domoticz/domoticz
dzVents/runtime/device-adapters/thermostat_operating_state_device.lua
6
1249
return { baseType = 'device', name = 'Thermostat operating state device adapter', matches = function(device, adapterManager) local res = (device.deviceSubType == 'Thermostat Operating State') if (not res) then adapterManager.addDummyMethod(device, 'updateMode') end return res end, process = function...
gpl-3.0
yahoo/fili
sample-applications/luthier-sample-app/src/main/resources/wikiApp/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
destdev/ygopro-scripts
c10000030.lua
6
2955
--マジマジ☆マジシャンギャル function c10000030.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_SPELLCASTER),6,2) c:EnableReviveLimit() --effect local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(10000030,1)) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_IGN...
gpl-2.0
James226/aura-mastery
Libs/GeminiPackages.lua
3
3928
------------------------------------------------------------------------------- --- Package loader and library versioning tool -- Copyright (c) NCsoft. All rights reserved -- Author: draftomatic -- Parts of this code were taken from LibStub.lua by: -- Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke, ...
gpl-2.0
Deadwing888/darkstar
scripts/globals/abilities/pets/glittering_ruby.lua
26
1148
--------------------------------------------------- -- Glittering Ruby --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onAbilityCheck(pla...
gpl-3.0
destdev/ygopro-scripts
c18712704.lua
6
1849
--インフェルニティ・フォース function c18712704.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_BE_BATTLE_TARGET) e1:SetCondition(c18712704.condition) e1:SetTarget(c...
gpl-2.0
destdev/ygopro-scripts
c74402414.lua
1
4515
--マジック・クロニクル function c74402414.initial_effect(c) c:EnableCounterPermit(0x25) local g=Group.CreateGroup() g:KeepAlive() --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c74402414.cost) e1:SetTarget(c74402414.target) e1:SetOperation(c74402414.a...
gpl-2.0
moses1984/aafmt
book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/model/Hyperedge.lua
3
1171
-- 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/zones/Chamber_of_Oracles/npcs/Pedestal_of_Water.lua
9
2183
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Water -- Involved in Zilart Mission 7 -- !pos 199 -2 36 168 ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Upper_Jeuno/npcs/Areebah.lua
13
1296
----------------------------------- -- Area: Upper Jeuno -- NPC: Areebah -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
topameng/tolua
Assets/ToLua/Lua/list.lua
1
3316
-------------------------------------------------------------------------------- -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- Use, modification and distribution are subject to the "MIT License" -------------------------------------------------------------...
mit
Deadwing888/darkstar
scripts/zones/Upper_Delkfutts_Tower/npcs/HomePoint#1.lua
27
1293
----------------------------------- -- Area: Upper Delkfutt's Tower -- NPC: HomePoint#1 -- @pos -365 -176.5 -36 158 ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Delkfutts_Tower/TextIDs"); req...
gpl-3.0
destdev/ygopro-scripts
c31887905.lua
6
1452
--憑依装着-アウス function c31887905.initial_effect(c) --spsummon proc local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND+LOCATION_DECK) e1:SetCondition(c31887905.spcon) e1:SetOperation(c31887905.spop) c:Regis...
gpl-2.0
destdev/ygopro-scripts
c64061284.lua
1
3288
--古代の機械融合 function c64061284.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c64061284.target) e1:SetOperation(c64061284.activate) c:RegisterEff...
gpl-2.0
grondo/flux-sched
rdl/test/test-rdl.lua
4
15929
#!/usr/bin/lua --/***************************************************************************\ -- Copyright (c) 2014 Lawrence Livermore National Security, LLC. Produced at -- the Lawrence Livermore National Laboratory (cf, AUTHORS, DISCLAIMER.LLNS). -- LLNL-CODE-658032 All rights reserved. -- -- This file is part...
gpl-2.0
Deadwing888/darkstar
scripts/globals/common.lua
35
2855
----------------------------------- -- -- ----------------------------------- ----------------------------------- -- switch ----------------------------------- function switch(c) local swtbl = { casevar = c, caseof = function (self,code) local f if (self.casevar) then f = cod...
gpl-3.0
tanmaykm/thrift
lib/lua/TCompactProtocol.lua
30
13135
-- -- 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
ffxijuggalo/darkstar
scripts/zones/Southern_San_dOria/npcs/Valderotaux.lua
9
1256
----------------------------------- -- Area: Southern San d'Oria -- NPC: Valderotaux -- General Info NPC -- !pos 97 0.1 113 230 ------------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs"); require("scripts/globals/settings"); require("scripts/globals/quests"); --------------------...
gpl-3.0
ikostrikov/dataload
loadImageNet.lua
2
2379
local dl = require 'dataload._env' -- load ILSVRC2012-14 image classification dataset (A.K.A. ImageNet) -- http://image-net.org/challenges/LSVRC/2014/download-images-5jj5.php -- Wraps the Large Scale Visual Recognition Challenge 2014 (ILSVRC2014) -- classification dataset (commonly known as ImageNet). The dataset -- h...
bsd-3-clause
simonfork/aquaria
game_scripts/scripts/maps/node_savepoint.lua
6
1322
-- 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/ebullience.lua
27
1106
----------------------------------- -- Ability: Ebullience -- Enhances the potency of your next black magic spell. -- Obtained: Scholar Level 55 -- Recast Time: Stratagem Charge -- Duration: 1 black magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge -- ----- -------- --...
gpl-3.0
Kong/kong
kong/templates/nginx_kong.lua
1
15185
return [[ charset UTF-8; server_tokens off; error_log ${{PROXY_ERROR_LOG}} ${{LOG_LEVEL}}; lua_package_path '${{LUA_PACKAGE_PATH}};;'; lua_package_cpath '${{LUA_PACKAGE_CPATH}};;'; lua_socket_pool_size ${{LUA_SOCKET_POOL_SIZE}}; lua_socket_log_errors off; lua_max_running_timers 4096; lua_max_pending_tim...
apache-2.0
RwNigma/darkstar
scripts/zones/Misareaux_Coast/npcs/HomePoint#1.lua
4
1202
----------------------------------- -- Area: Misareaux Coast -- NPC: HomePoint#1 -- @pos -65 -17.5 563 25 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Misareaux_Coast/TextIDs"); require("scripts/globals/...
gpl-3.0
Kong/kong
spec/02-integration/06-invalidations/02-core_entities_invalidations_spec.lua
1
43318
local cjson = require "cjson" local helpers = require "spec.helpers" local ssl_fixtures = require "spec.fixtures.ssl" local POLL_INTERVAL = 0.1 local function assert_proxy_2_wait(request, res_status, res_headers) helpers.wait_until(function() local proxy_client_2 = helpers.http_client("127.0.0.1",...
apache-2.0
Elv13/awesome
luadoc/tag.lua
8
1091
--- awesome tag API -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008-2009 Julien Danjou module("tag") --- Tag object. -- @field name Tag name. -- @field selected True if the tag is selected to be viewed. -- @field activated True if the tag is active and can be used. -- @class table -- @name tag ...
gpl-2.0
angt/overthebox
feeds/luci/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua
5
2676
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.interface", package.seeall) function item() return luci.i18n.translate("Interfaces") end function rrdargs( graph, plugin, plugin_instance ) -- ...
gpl-3.0
SIGNALTEAM/SignalTG
plugins/Anti_Spam.lua
191
5291
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id == our_id then return msg end -- Save...
gpl-2.0
RwNigma/darkstar
scripts/zones/Metalworks/npcs/Patt-Pott.lua
19
2497
----------------------------------- -- Area: Metalworks -- NPC: Patt-Pott -- Type: Consulate Representative -- @pos 23 -17 42 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); ------------...
gpl-3.0
RwNigma/darkstar
scripts/zones/PsoXja/npcs/_095.lua
17
1614
----------------------------------- -- Area: Pso'Xja -- NPC: _095 (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos -330.000 14.074 -261.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Pso...
gpl-3.0
maikerumine/grieftest
mods/handle_schematics/analyze_we_file.lua
4
2456
handle_schematics.analyze_we_file = function(scm, we_origin) local c_ignore = minetest.get_content_id("ignore") -- this table will contain the nodes read local nodes = {} -- check if it is a worldedit file -- (no idea why reading that is done in such a complicated way; a simple deserialize and iteration over all...
lgpl-2.1
destdev/ygopro-scripts
c51351302.lua
9
1349
--ウジャト眼を持つ男 function c51351302.initial_effect(c) --confirm local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(51351302,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c51351302.target) e1:SetOperation(c513...
gpl-2.0
RwNigma/darkstar
scripts/zones/Bastok_Mines/npcs/Proud_Beard.lua
30
1726
----------------------------------- -- Area: Bastok Mines -- NPC: Proud Beard -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); require("scripts/globals/events...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Port_Windurst/npcs/Papo-Hopo.lua
9
2579
----------------------------------- -- Area: Port Windurst -- NPC: Papo-Hopo ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) TruthJusticeOnionWay = ...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Kazham/npcs/Thali_Mhobrum.lua
13
1641
----------------------------------- -- Area: Kazham -- NPC: Thali Mhobrum -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); local path = { 55.816410, -11.000000, -43.992680, 54.761787, -11.000000, -44.046181, 51.8058...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Northern_San_dOria/npcs/Phairupegiont.lua
9
1206
----------------------------------- -- Area: Northern San d'Oria -- NPC: Phairupegiont -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- !pos -46 0.1 76 231 ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs"); require("scripts/globals/quests"); -----------------------...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Behemoths_Dominion/mobs/King_Behemoth.lua
11
1784
----------------------------------- -- Area: Behemoth's Dominion -- HNM: King Behemoth ----------------------------------- local ID = require("scripts/zones/Behemoths_Dominion/IDs") mixins = {require("scripts/mixins/rage")} require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/...
gpl-3.0
RwNigma/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/King_Zagan.lua
16
1254
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: King Zagan ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function o...
gpl-3.0
destdev/ygopro-scripts
c49674183.lua
4
1287
--魔天使ローズ・ソーサラー function c49674183.initial_effect(c) --special summon 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(c49674183.spcon) e1:SetOperation(c49674183.spop) c:RegisterEffect...
gpl-2.0
ffxijuggalo/darkstar
scripts/globals/items/angler_stewpot.lua
11
1608
----------------------------------------- -- ID: 5611 -- Item: Angler's Stewpot -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% (cap 200) -- MP +10 -- HP Recoverd while healing 5 -- MP Recovered while healing 1 -- Accuracy +15% Cap 15 -- Ranged Accuracy 15% Ca...
gpl-3.0
RwNigma/darkstar
scripts/globals/mobskills/Vorpal_Wheel.lua
25
1069
--------------------------------------------- -- Vorpal Wheel -- -- Description: Throws a slicing wheel at a single target. -- Type: Physical -- Utsusemi/Blink absorb: No -- Range: Unknown -- Notes: Only used by Gulool Ja Ja, and will use it as a counterattack to any spells cast on him. Damage increases as...
gpl-3.0
simonfork/aquaria
game_scripts/scripts/maps/node_hint_beastform1.lua
6
1156
-- 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/Dynamis-Xarcabard/mobs/Marquis_Gamygyn.lua
16
1259
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Marquis Gamygyn ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- funct...
gpl-3.0
maikerumine/grieftest
mods/xdecor/mailbox.lua
1
4542
local mailbox = {} screwdriver = screwdriver or {} local function get_img(img) local img_name = img:match("(.*)%.png") if img_name then return img_name..".png" end end local function img_col(stack) local def = minetest.registered_items[stack] if not def then return "" end if def.inventory_image ~= "" then loc...
lgpl-2.1
RwNigma/darkstar
scripts/zones/Norg/npcs/Oruga.lua
34
3022
----------------------------------- -- Area: Norg -- NPC: Oruga -- Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); local path = { -0.016294, -1.251156, -30.703135, 1.135162, -1.295192, -30.737705, 2.267773, -1.620833, -30.756174, 3.344393, -1.879029, -30.778761, ...
gpl-3.0
RwNigma/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f5.lua
34
1106
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 270 -34 100 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs")...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/plate_of_ic_pilav.lua
11
1688
----------------------------------------- -- ID: 5584 -- Item: plate_of_ic_pilav -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 65 -- Strength 4 -- Vitality -1 -- Intelligence -1 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 65 -- Ranged ATT % 22 ...
gpl-3.0
RwNigma/darkstar
scripts/zones/Crawlers_Nest/npcs/Treasure_Coffer.lua
17
3973
----------------------------------- -- Area: Crawler Nest -- NPC: Treasure Coffer -- @zone 197 -- @pos -94 0 207 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/...
gpl-3.0
RwNigma/darkstar
scripts/globals/abilities/feral_howl.lua
58
3525
--------------------------------------------------- -- Ability: Feral Howl -- Terrorizes the target. -- Obtained: Beastmaster Level 75 -- Recast Time: 0:05:00 -- Duration: Apprx. 0:00:01 - 0:00:10 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status")...
gpl-3.0
destdev/ygopro-scripts
c1557499.lua
4
1626
--銀の弓矢 function c1557499.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(c1557499.target) e1:SetOperation(c1557499.operation) c:RegisterEffect(e1) --at...
gpl-2.0
destdev/ygopro-scripts
c73347079.lua
4
1790
--RR-フォース・ストリクス function c73347079.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --atk/def 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(c733...
gpl-2.0
tinybearc/sdkbox-facebook-sample
lua/src/cocos/cocos2d/OpenglConstants.lua
100
27127
if not gl then return end gl.GCCSO_SHADER_BINARY_FJ = 0x9260 gl._3DC_XY_AMD = 0x87fa gl._3DC_X_AMD = 0x87f9 gl.ACTIVE_ATTRIBUTES = 0x8b89 gl.ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a gl.ACTIVE_PROGRAM_EXT = 0x8259 gl.ACTIVE_TEXTURE = 0x84e0 gl.ACTIVE_UNIFORMS = 0x8b86 gl.ACTIVE_UNIFORM_MAX_LENGTH = 0x8b87...
mit
lyzardiar/LuaJIT2.1
src/jit/dis_arm.lua
78
19363
---------------------------------------------------------------------------- -- LuaJIT ARM disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
mit
aperezdc/snabbswitch
src/apps/tap/tap.lua
6
4124
module(..., package.seeall) local S = require("syscall") local link = require("core.link") local packet = require("core.packet") local ffi = require("ffi") local C = ffi.C local const = require("syscall.linux.constants") local os = require("os") local t = S.types.t Tap = { } function Tap:new (name) assert(name, ...
apache-2.0
anoduck/notion
contrib/scripts/query_url.lua
6
2456
-- Authors: Reuben Thomas <rrt@sc3d.org> -- License: GPL, version 2 -- Last Changed: 2005 -- -- Prompt for a URL and open it -- Use Opera bookmarks for completion -- (c) Reuben Thomas 2005 (rrt@sc3d.org); released under the GPL -- -- Completes on full URL, name of bookmark, or URL with initial http[s]://[www.] stripped...
lgpl-2.1
xjdrew/skynet
test/testmysql.lua
12
6116
local skynet = require "skynet" local mysql = require "skynet.db.mysql" local function dump(obj) local getIndent, quoteStr, wrapKey, wrapVal, dumpObj getIndent = function(level) return string.rep("\t", level) end quoteStr = function(str) return '"' .. string.gsub(str, '"', '\\"') .. '"'...
mit
infernal1200/Virus-Tg
plugins/inrealm.lua
2
37318
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin1(msg) then local group_creator = msg.from.print_name create_group_chat (group_creator, group_na...
gpl-2.0
gsmake/gsmake
lib/gsmake/lemoon/url.lua
2
12642
-- -- Created by IntelliJ IDEA. -- User: liyang -- Date: 15/11/30 -- Time: 上午11:38 -- To change this template use File | Settings | File Templates. -- -- neturl.lua - a robust url parser and builder -- -- Bertrand Mansion, 2011-2013; License MIT -- @module neturl -- @alias M local M = {} M.version = "0.9.0" --- url ...
mit
jondo/shogun
examples/undocumented/lua_modular/evaluation_contingencytableevaluation_modular.lua
21
1809
require 'modshogun' require 'load' ground_truth = load_labels('../data/label_train_twoclass.dat') math.randomseed(17) predicted = {} for i = 1, #ground_truth do table.insert(predicted, math.random()) end parameter_list = {{ground_truth,predicted}} function evaluation_contingencytableevaluation_modular(ground_truth,...
gpl-3.0
MrBrax/DarkRP
gamemode/modules/fadmin/fadmin/playeractions/teleport/cl_init.lua
6
2349
FAdmin.StartHooks["zz_Teleport"] = function() FAdmin.Messages.RegisterNotification{ name = "goto", hasTarget = true, message = {"instigator", " teleported to ", "targets"} } FAdmin.Messages.RegisterNotification{ name = "bring", hasTarget = true, message = {"...
mit
crosslife/LoveClear
Resources/DrawPrimitives.lua
57
12038
local dp_initialized = false local dp_shader = nil local dp_colorLocation = -1 local dp_color = { 1.0, 1.0, 1.0, 1.0 } local dp_pointSizeLocation = -1 local dp_pointSize = 1.0 local SHADER_NAME_POSITION_U_COLOR = "ShaderPosition_uColor" local targetPlatform = CCApplication:getInstance():getTargetPlatform() loca...
mit
mchome/drcom-generic
utils/drcom_2016.lua
1
15079
--Wireshark dr.com协议插件 --By Lixiang,douniwan5788 --Last Modify 2011/11/29 do --do...end是Lua语言的语句块关键字 --创建一个Proto类的对象,表示一种协议 local p_drcom = Proto("drcom","Dr.com V2016"); --创建几个ProtoField对象,就是主界面中部Packet Details窗格中能显示的那些属性 local pf = p_drcom.fields pf.f1_1dir = ProtoField.uint8("drcom.times","Times of Dial",b...
agpl-3.0
MrBrax/DarkRP
gamemode/modules/f4menu/cl_categories.lua
2
3372
/*--------------------------------------------------------------------------- Category header ---------------------------------------------------------------------------*/ local PANEL = {} function PANEL:Init() self:SetContentAlignment(4) self:SetTextInset(5, 0) self:SetFont("DarkRPHUD2") end function PAN...
mit
gw-sd-2016/Codir
codirWeb/node_modules/share/node_modules/livedb/lib/scripts/submit.lua
10
2111
local versionKey, opLogKey = unpack(KEYS) -- The regular keys are followed by the dirty list names local DIRTY_KEYS_IDX = 3 local v, logEntry, docVersion = unpack(ARGV) -- From redisSubmit, below. -- ... and the regular args are followed by the dirty list data. local DIRTY_ARGS_IDX = 4 v = tonumber(v) docVersion = to...
gpl-2.0
xjdrew/skynet
test/testbson.lua
29
1541
local bson = require "bson" local sub = bson.encode_order( "hello", 1, "world", 2 ) do -- check decode encode_order local d = bson.decode(sub) assert(d.hello == 1 ) assert(d.world == 2 ) end local function tbl_next(...) print("--- next.a", ...) local k, v = next(...) print("--- next.b", k, v) return k, v end...
mit
GuiSim/pixel
constants.lua
1
1648
SCREEN_WIDTH = 1920; VIRATION = 0.11 -- HMMMMMMMM 0 to 1 DEATH_VIRATION = 0.3 -- HMMMMMMMM 0 to 1 PULL_LENGTH = 450; -- How far player can pull PULL_LENGTH2 = PULL_LENGTH * PULL_LENGTH; -- Square of how far player can pull PULL_FORCE = 800; -- Force at which the player pulls the ball PULL_DAMPENING = 0.8; -- Shitty d...
mit
nmav/luci
applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua
4
1622
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.colors", package.seeall) local util = require("luci.util") Instance = util.class() function Instance.from_string( self, s ) return { tonumber(s:sub(1,2),...
apache-2.0
albag/Ultraxion-WoW
src/scripts/lua/Lua/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Nightbane.lua
30
1906
function Nightbane_Cleave(Unit, event, miscunit, misc) print "Nightbane Cleave" Unit:FullCastSpellOnTarget(42587,Unit:GetClosestPlayer()) Unit:SendChatMessage(11, 0, "Cleave on you...") end function Nightbane_Tail_Sweep(Unit, event, miscunit, misc) print "Nightbane Tail Sweep" Unit:FullCastSpellOnTarget(25653,Uni...
agpl-3.0
madmaxoft/ZeroBranePackage
documentmap.lua
2
8566
-- Copyright 2014-18 Paul Kulchenko, ZeroBrane LLC; All rights reserved local mappanel = "documentmappanel" local markers = {CURRENT = "docmap.current", BACKGROUND = "docmap.background"} local editormap, editorlinked local id local win = ide.osname == 'Windows' local needupdate local colors = { -- default values if no...
mit
Brawl345/Brawlbot-v2
otouto/plugins/reddit_post.lua
1
1818
local reddit_post = {} reddit_post.triggers = { "reddit.com/r/([A-Za-z0-9-/-_-.]+)/comments/([A-Za-z0-9-/-_-.]+)" } local BASE_URL = 'https://www.reddit.com' function reddit_post:get_reddit_data(subreddit, reddit_code) local url = BASE_URL..'/r/'..subreddit..'/comments/'..reddit_code..'.json' local res,code =...
agpl-3.0
sinarobotanlain1/TRMINATOR
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
madmaxoft/DoorMaze
DoorMaze.lua
1
13494
--- Holds all the defined mazes as an array local g_Mazes = {}; --- X/Z Size of the generated maze, in each direction from the center local MAZE_SIZE = 10; --- Height for the maze, halved local MAZE_HEIGHT = 5; --- Number of doors to change at once local MAZE_CHANGES = 50; --- Name of the file where to save an...
unlicense
smikail/isbad-
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
Vadavim/test
scripts/zones/Northern_San_dOria/npcs/Danngogg.lua
36
1427
----------------------------------- -- Area: Northern San d'Oria -- NPC: Danngogg -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests...
gpl-3.0
Vadavim/test
scripts/zones/Bastok_Mines/npcs/Eulaphe.lua
28
2055
----------------------------------- -- Area: Bastok Mines -- NPC: Eulaphe -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ---------------------------...
gpl-3.0
Elkazan/darkstar
scripts/globals/weaponskills/sniper_shot.lua
30
1451
----------------------------------- -- Sniper Shot -- Marksmanship weapon skill -- Skill Level: 80 -- Lowers enemy's INT. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: AGI:70% -- 100%TP 2...
gpl-3.0
Elkazan/darkstar
scripts/zones/Bastok_Markets/npcs/Foss.lua
36
2146
----------------------------------- -- Area: Bastok Markets -- NPC: Foss -- Starts & Finishes Repeatable Quest: Buckets of Gold ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scri...
gpl-3.0
hoku586/darkstar
scripts/zones/Quicksand_Caves/npcs/Treasure_Coffer.lua
13
4641
----------------------------------- -- Area: Quicksand Caves -- NPC: Treasure Coffer -- @zone 208 -- @pos 615 -6 -681 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/key...
gpl-3.0
Vadavim/test
scripts/globals/items/flask_of_panacea.lua
70
1742
----------------------------------------- -- ID: 4163 -- Item: Panacea -- Item Effect: Removes any number of status effects ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- function onItemCh...
gpl-3.0