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 |
|---|---|---|---|---|---|
Igdra/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/King_Zagan.lua | 23 | 1567 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: King Zagan
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngaged(... | gpl-3.0 |
brewsterl/forgottenserver | data/creaturescripts/scripts/login.lua | 24 | 1082 | function onLogin(player)
local loginStr = "Welcome to " .. configManager.getString(configKeys.SERVER_NAME) .. "!"
if player:getLastLoginSaved() <= 0 then
loginStr = loginStr .. " Please choose your outfit."
player:sendOutfitWindow()
else
if loginStr ~= "" then
player:sendTextMessage(MESSAGE_STATUS_DEFAULT, ... | gpl-2.0 |
mmdk95/cuberite | lib/tolua++/src/bin/lua/declaration.lua | 13 | 15143 | -- tolua: declaration class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide maintenance, support, updates,
-- enhancem... | apache-2.0 |
Igdra/darkstar | scripts/globals/mobskills/Plague_Swipe.lua | 33 | 1185 | ---------------------------------------------
-- Plague Swipe
--
-- Description: Delivers a threefold attack in an cone effect behind user. Additional effect: Bio + Plague
-- Type: Physical
-- 2-3 Shadows
-- Range: Backward Arc
---------------------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
cracingbozo7/simply-unproffesional | Themes/Simply Unprofessional 5.2/BGAnimations/ScreenGameplay overlay/ReceptorArrowsPosition.lua | 2 | 1225 | -- ReceptorArrow positions are hardcoded using Metrics.ini
-- in both Casual, Competitive, and ECFA modes. If we're in one
-- of those modes, bail now.
if SL.Global.GameMode ~= "StomperZ" then
return Def.Actor{}
end
local player = ...
-- these numbers are relative to the ReceptorArrowsYStandard and ReceptorArrowsYR... | gpl-3.0 |
amourking/KING | plugins/ingroup.lua | 1 | 57874 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
jzlhll/EventAlertModa | CfgEventAlertMod.lua | 1 | 3976 | U1RegisterAddon("EventAlertMod", {
title = "技能特效报警",
defaultEnable = 0,
--optionsAfterVar = 1,
load = "LOGIN", --5.0 script ran too long
--secure = 1,
--minimap = "",
--frames = {""}, --需要保存位置的框体
tags = { TAG_COMBATINFO },
icon = [[Interface\Icons\Spell_Nature_Polymorph_Cow]],
d... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/abilities/pets/lunar_cry.lua | 27 | 1072 | ---------------------------------------------------
-- Aerial Armor
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCheck(player... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Ifrits_Cauldron/TextIDs.lua | 22 | 1737 | -- 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 #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6384; -- Ob... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/chats/keepsake-berethh-encounter.lua | 3 | 1685 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Rabao/npcs/Dancing_Wolf.lua | 13 | 1660 | -----------------------------------
-- Area: Rabao
-- NPC: Dancing Wolf
-- Type: Standard NPC
-- @zone 247
-- @pos 7.619 7 81.209
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
marth8880/MEUScripts | ME5/VRMn_c2.lua | 1 | 8731 | ReadDataFile("..\\..\\addon\\ME5\\data\\_LVL_PC\\master.lvl")
isModMap = 1
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--
-- load the gametype script
ScriptCB_DoFile("ME5_Master")
ScriptCB_DoFile("ME5_setup_teams")
ScriptCB_DoFile("ME5_ObjectiveConquest")
-- REP Attacking (attac... | bsd-3-clause |
kjl2y/darkstar | scripts/zones/Yhoator_Jungle/npcs/qm3.lua | 13 | 1837 | -----------------------------------
-- Area: Davoi
-- NPC: ??? (qm3)
-- Involved in Quest: True will
-- @pos 203 0.1 82 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
tontyoutoure/DOTA2-AI-Fun | game/dota_addons/dota2_ai_fun/scripts/vscripts/heroes/persuasive/persuasive_swindle_lua.lua | 1 | 15404 |
LinkLuaModifier('modifier_persuasive_swindle_lua','heroes/persuasive/persuasive_modifiers.lua', LUA_MODIFIER_MOTION_NONE)
persuasive_swindle_lua =class({})
persuasive_change_item_slot_0_lua =class({})
persuasive_change_item_slot_1_lua =class({})
persuasive_change_item_slot_2_lua =class({})
persuasive_change_item_slot_... | mit |
kjl2y/darkstar | scripts/zones/Uleguerand_Range/npcs/HomePoint#1.lua | 27 | 1258 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Uleguerand_Range/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Dynamis-Tavnazia/mobs/Vanguard_Eye.lua | 7 | 1966 | -----------------------------------
-- Area: Dynamis tavnazia
-- NPC: Vanguard_Eye
-----------------------------------
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Tavnazia/TextIDs");
----------... | gpl-3.0 |
e-lab/torch7-demos | tensors/slicing.lua | 3 | 3458 | ----------------------------------------------------------------------
-- slicing.lua
--
-- This script demonstrates tensor slicing / manipulation.
-- To run this script, simply do:
-- torch slicing.lua
-- and then press 'y' or 'return' at each step, to keep going.
-- little function to pause execution, and request ... | bsd-3-clause |
marth8880/MEUScripts | ifelem_popup.lua | 1 | 3298 | --
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--
-- Template for a popup: a window which is overlayed over part of the
-- screen, but isn't attached to that screen (and could be shared
-- between multiple screens if desired).
--
-- This will set handlers for the buttons (if not specified... | bsd-3-clause |
Igdra/darkstar | scripts/zones/Monastic_Cavern/npcs/qm1.lua | 14 | 1423 | -----------------------------------
-- Area: Monastic Cavern
-- NPC: ???
-- Used In Quest: Whence Blows the Wind
-- @pos 168 -1 -22 150
-----------------------------------
package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Lower_Jeuno/npcs/_l05.lua | 13 | 1553 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -61.132 6 -75.010
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Upper_Jeuno/npcs/Deadly_Minnow.lua | 14 | 1844 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Deadly Minnow
-- Standard Merchant NPC
-- Involved in Quest: Borghertz's Hands (1st quest only)
-- @zone 244
-- @pos -5 1 48
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Ifrits_Cauldron/npcs/qm4.lua | 13 | 1522 | -----------------------------------
-- 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");
require("script... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/maps/zones/keepsake-cave-last.lua | 3 | 3136 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/spells/bluemagic/blood_saber.lua | 21 | 1690 | -----------------------------------------
-- Spell: Blood Saber
-- Steals HP from enemies within range. Ineffective against undead
-- Spell cost: 25 MP
-- Monster Type: Undead
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 48
-- Casting Time: 4 seconds
-- Recast Time: 90 secon... | gpl-3.0 |
triplekill/MozDef | examples/heka-lua-bro/bro_files.lua | 10 | 3443 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-- Copyright (c) 2014 Mozilla Corporation
--
-- Contributors:
-- Anthony Verez averez@mozilla.com
-- Jeff Bryner jbryn... | mpl-2.0 |
kjl2y/darkstar | scripts/zones/RuLude_Gardens/npcs/Morlepiche.lua | 14 | 3641 | -----------------------------------
-- Area: Rulude Gardens
-- NPC: Morlepiche
-- @pos -95 0 160 243
-------------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/conquest");
require... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Qulun_Dome/npcs/_440.lua | 13 | 1586 | -----------------------------------
-- Area: Qulun Dome
-- NPC: Door
-- Involved in Mission: Magicite
-- @pos 60 24 -2 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Qulun... | gpl-3.0 |
ld-test/zee | src/cut.lua | 1 | 1643 | -- Cut and paste
--
-- Copyright (c) 2010-2012 Free Software Foundation, Inc.
--
-- This file is part of Zee.
--
-- This program is free software; you can redistribute it and/or modify it
-- under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3, or (at your ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/AlTaieu/npcs/qm4.lua | 18 | 1593 | -----------------------------------
-- Area: Al'Taieu
-- NPC: ??? (Jailer of Love and Absolute Virtue Spawn)
-- Allows players to spawn the Jailer of Love by trading the Fourth Virtue, Fifth Virtue and Sixth Virtue to a ???.
-- Allows players to spawn Absolute Virtue by killing Jailer of Love.
-- @pos , 431 -0 -603
--... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/AlTaieu/npcs/HomePoint#2.lua | 29 | 1244 | -----------------------------------
-- Area: AlTaieu
-- NPC: HomePoint#2
-- @pos -532 0 447 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/homepoint");
-------------... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/mobskills/Sable_Breath.lua | 35 | 1160 | ---------------------------------------------
-- Sable Breath
--
-- Description: Deals darkness damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Vrtra and Azdaja
---------------------------------------------
require... | gpl-3.0 |
soumith/torch-android | demos/android-demo-cifar/modelPrepare/train-on-cifar.lua | 4 | 15553 | ----------------------------------------------------------------------
-- This script is based on file from below address.
--
-- https://github.com/torch/demos/blob/master/train-on-cifar/train-on-cifar.lua
--
-- Some lines are added for using model on android demo application.
-- without require Cifar-10 data set agai... | bsd-3-clause |
Igdra/darkstar | scripts/zones/Port_Bastok/npcs/Yazan.lua | 17 | 2098 | -----------------------------------
-- Area: Port Bastok
-- NPC: Yazan
-- Starts Quests: Bite the Dust (100%)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
------------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
requi... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Northern_San_dOria/npcs/Daveille.lua | 13 | 1411 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Daveille
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requi... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Al_Zahbi/npcs/Rajaaha.lua | 53 | 2325 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Rajaaha
-- Type: Goldsmithing Normal/Adv. Image Support
-- @pos 49.9 0.1 -45.2 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("sc... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/purple_polypore.lua | 18 | 1183 | -----------------------------------------
-- ID: 5682
-- Item: Purple Polypore
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- Strength -6
-- Mind +4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
tahashakiba/zedspam | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
Igdra/darkstar | scripts/globals/abilities/pets/ecliptic_howl.lua | 27 | 1252 | ---------------------------------------------------
-- Aerial Armor
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/utils");
-------------------------------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/abilities/pets/ecliptic_howl.lua | 27 | 1252 | ---------------------------------------------------
-- Aerial Armor
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/utils");
-------------------------------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Abyssea-Vunkerl/npcs/qm22.lua | 17 | 1746 | -----------------------------------
-- Zone: Abyssea-Vunkeral
-- NPC: ???
-- Spawns: Durinn
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(playe... | gpl-3.0 |
junioraby/architec.awardspace.info | vlc-2.1.4/share/lua/extensions/VLSub.lua | 12 | 52397 | --[[
VLSub Extension for VLC media player 1.1 and 2.0
Copyright 2013 Guillaume Le Maout
Authors: Guillaume Le Maout
Contact: http://addons.videolan.org/messages/?action=newmessage&username=exebetche
Bug report: http://addons.videolan.org/content/show.php/?content=148752
This program is free software; you can r... | mit |
mniestroj/turbo | examples/parrot.lua | 12 | 1047 | --- Turbo.lua "The parrot". Repeats everything it is told.
--
-- Copyright 2013 John Abrahamsen
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENS... | apache-2.0 |
kjl2y/darkstar | scripts/zones/The_Boyahda_Tree/TextIDs.lua | 15 | 1397 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtained k... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/talents/corruptions/corruptions.lua | 2 | 5786 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Mrr619/TDself | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | agpl-3.0 |
MakhofMan6032/farsi | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
triplekill/MozDef | examples/heka-lua-bro/bro_known_hosts.lua | 14 | 1784 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-- Copyright (c) 2014 Mozilla Corporation
--
-- Contributors:
-- Anthony Verez averez@mozilla.com
-- Jeff Bryner jbryn... | mpl-2.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/noxious-caldera/npcs.lua | 2 | 3611 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/mobs/Eo_zdei.lua | 14 | 3013 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- MOB: Eo'Zdei
-- Animation Sub 0 Pot Form
-- Animation Sub 1 Pot Form (reverse eye position)
-- Animation Sub 2 Bar Form
-- Animation Sub 3 Ring Form
-----------------------------------
require("scripts/zones/Grand_Palace_of_HuXzoi/MobIDs");
requi... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/loaf_of_black_bread.lua | 18 | 1269 | -----------------------------------------
-- ID: 4364
-- Item: loaf_of_black_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 8
-- Dexterity -1
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
cipriancraciun/netpanzer | scripts/initialize.lua | 1 | 1549 | --LOGGER:log("Script initialization");
--LOGGER:log("Video Config: " .. config.video.width .. " x " .. config.video.height)
--LOGGER:log("Fullscreen: " .. tostring(config.video.fullscreen))
function pairs(t)
local mt = getmetatable(t)
local iter = mt and mt.__next or next
return iter, t, nil
end
function... | gpl-2.0 |
Noneatme/iLife-SA | client/Guis/Util/infobox.lua | 1 | 1905 | --[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
sX,sY = guiGetScreenSize()
Infobox = {
["Window"] = false,
["L... | mit |
l0k1/naev | dat/factions/standing/skel.lua | 4 | 7316 | --[[
Simple skeleton for your standard faction. This is more or less what the
standard behaviour can be, but from here you can let your imagination go
wild.
--]]
-- Faction caps.
_fcap_kill = 20 -- Kill cap
_fdelta_distress = {-1, 0} -- Maximum change constraints
_fdelta_kill = {-5, 1} -- Maximum ch... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Aydeewa_Subterrane/Zone.lua | 15 | 2508 | -----------------------------------
--
-- Zone: Aydeewa_Subterrane (68)
--
-----------------------------------
package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/globals/keyitems"... | gpl-3.0 |
Zet0rz/nzombies | gamemodes/nzombies/gamemode/powerups/sh_powerups.lua | 2 | 7394 | --
if SERVER then
local plyMeta = FindMetaTable("Player")
function plyMeta:GivePowerUp(id, duration)
if duration > 0 then
if !nzPowerUps.ActivePlayerPowerUps[self] then nzPowerUps.ActivePlayerPowerUps[self] = {} end
nzPowerUps.ActivePlayerPowerUps[self][id] = CurTime() + duration
nzPowerUps:SendPl... | gpl-3.0 |
Noneatme/iLife-SA | client/Manager/Gamemode/cGamemodeManager_Derby.lua | 1 | 1082 | --[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
-- #######################################
-- ## Project: iL... | mit |
Igdra/darkstar | scripts/zones/Lower_Jeuno/npcs/Adelflete.lua | 17 | 1392 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Adelflete
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTra... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/murgol-lair/npcs.lua | 2 | 7374 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/golem-graveyard/zone.lua | 3 | 2533 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Purity-Lollipop/platform_external_skia | tools/lua/classify_rrect_clips.lua | 160 | 3346 |
function sk_scrape_startcanvas(c, fileName) end
function sk_scrape_endcanvas(c, fileName) end
function classify_rrect(rrect)
if (rrect:type() == "simple") then
local x, y = rrect:radii(0)
if (x == y) then
return "simple_circle"
else
return "simple_oval"
end... | bsd-3-clause |
kjl2y/darkstar | scripts/globals/abilities/wind_shot.lua | 16 | 3166 | -----------------------------------
-- Ability: Wind Shot
-- Consumes a Wind Card to enhance wind-based debuffs. Deals wind-based magic damage
-- Choke Effect: Enhanced DoT and VIT-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magi... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/maps/vaults/demon-nest-3.lua | 3 | 2546 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/two-leaf_mandragora_bud.lua | 18 | 1184 | -----------------------------------------
-- ID: 4368
-- Two-Leaf Mandragora Bud
-- 5 Minutes, food effect, All Races
-----------------------------------------
-- Agility +2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/two-leaf_mandragora_bud.lua | 18 | 1184 | -----------------------------------------
-- ID: 4368
-- Two-Leaf Mandragora Bud
-- 5 Minutes, food effect, All Races
-----------------------------------------
-- Agility +2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Southern_San_dOria/npcs/Legata.lua | 24 | 2064 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Legata
-- Starts and Finishes Quest: Starting a Flame (R)
-- @zone 230
-- @pos 82 0 116
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/inferno_axe.lua | 41 | 1069 | -----------------------------------------
-- ID: 16709
-- Item: Inferno Axe
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
--------------------------------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Port_Jeuno/npcs/Imasuke.lua | 20 | 3248 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Imasuke
-- Starts and Finishes Quest: The Antique Collector
-- @zone 246
-- @pos -165 11 94
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Southern_San_dOria/npcs/Phamelise.lua | 17 | 2189 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Phamelise
-- Only sells when San d'Oria controlls Zulkheim Region
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/T... | gpl-3.0 |
Greven-of-Norway/RC_CollectionAgent | CollectionAgent.lrdevplugin/Framework/System/User.lua | 2 | 1600 | --[[
User Manager
Supports multi-user plugins.
--]]
local User = Object:newClass{ className = 'User' }
--- Constructor for extending class.
--
function User:newClass( t )
return Object.newClass( self, t )
end
--- Create user object.
--
-- <p>User's name is obtained from shar... | artistic-2.0 |
kjl2y/darkstar | scripts/zones/East_Sarutabaruta/npcs/Heih_Porhiaap.lua | 13 | 1031 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Heih Porhiaap
-- @pos -118.876 -4.088 -515.731 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Sarutabaruta/TextIDs"... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/weaponskills/tachi_goten.lua | 25 | 1476 | -- ---------------------------------
-- Tachi Goten
-- Great Katana weapon skill
-- Skill Level: 70
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Light Gorget / Thunder Gorget.
-- Aligned with the Light Belt / Thunder Belt.
-- Element: Thunder... | gpl-3.0 |
Noneatme/iLife-SA | client/Manager/Sound/cTrainSoundManager.lua | 1 | 9841 | --[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
-- #######################################
-- ## Project: HUD ... | mit |
kjl2y/darkstar | scripts/globals/abilities/altruism.lua | 26 | 1150 | -----------------------------------
-- Ability: Altruism
-- Increases the accuracy of your next White Magic spell.
-- Obtained: Scholar Level 75 Tier 2 Merit Points
-- Recast Time: Stratagem Charge
-- Duration: 1 white magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
--... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm5.lua | 14 | 1383 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm5 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -259.927 -5.500 194.410 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Gusgen_Mines/npcs/Degga.lua | 12 | 1143 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Degga
-- Type: Standard Info NPC
-- @pos 40 -68 -259
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests"... | gpl-3.0 |
l0k1/naev | dat/missions/dvaered/dv_diversion.lua | 2 | 12296 | --[[
-- This is a oneoff mission where you help a new Dvaered Warlord takeover a planet
-- To Do: fix fighters being idle after mission ends
-- Other editors, feel free to update dialog to make it more dvaered like.
--]]
-- localization stuff, translators would work here
include("fleethelper.lua")
destsysna... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/spells/wind_carol.lua | 27 | 1532 | -----------------------------------------
-- Spell: Wind Carol
-- Increases wind resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/toadal_recall.lua | 27 | 1512 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: toadal_recall BCNM30
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems"... | gpl-3.0 |
alireza1998/nod32 | plugins/anti_spam.lua | 435 | 3886 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
mohammad4g/woomo | plugins/anti_spam.lua | 435 | 3886 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
BarnamehNevisan/BarnameNevisanBot | plugins/anti_spam.lua | 435 | 3886 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Windurst_Woods/npcs/Cha_Lebagta.lua | 14 | 2146 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Cha Lebagta
-- Type: Standard NPC
-- @zone 241
-- @pos 58.385 -6.249 216.670
-- Involved in Quests: As Thick as Thieves, Mihgo's Amigo
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------------... | gpl-3.0 |
Zet0rz/nzombies | gamemodes/nzombies/officialconfigs/nz_ttt_casino_b2;High Stakes;675138912.lua | 2 | 21786 | {"ZedSpecialSpawns":[{"pos":"[389.8831 -685.3874 -397.6085]"},{"pos":"[940.8306 -891.9608 -397.6085]"},{"pos":"[182.4841 -836.1248 -413.6107]"},{"link":1,"pos":"[961.8286 -548.931 -397.6085]"},{"link":1,"pos":"[1325.9843 -538.2993 -373.6107]"},{"link":1,"pos":"[1786.6635 -525.478 -269.6107]"},{"link":1,"pos":"[1800.413... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Lower_Jeuno/npcs/_6t2.lua | 13 | 4455 | -----------------------------------
-- Area: Lower Jeuno
-- Door: Merchant's House
-- Starts & Finishes Quest: Save My Son
-- Optional Involvement in Quest: Chocobo's Wounds, Path of the Beastmaster
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/hobgoblin_pie.lua | 18 | 1618 | -----------------------------------------
-- ID: 4325
-- Item: hobgoblin_pie
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 15
-- Magic 15
-- Agility 4
-- Charisma -7
-- Health Regen While Healing 2
-- Defense % 11
-- Defense Cap 60
-----------------------------------------
requir... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/hobgoblin_pie.lua | 18 | 1618 | -----------------------------------------
-- ID: 4325
-- Item: hobgoblin_pie
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 15
-- Magic 15
-- Agility 4
-- Charisma -7
-- Health Regen While Healing 2
-- Defense % 11
-- Defense Cap 60
-----------------------------------------
requir... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Southern_San_dOria/npcs/Femitte.lua | 14 | 3255 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Femitte
-- Involved in Quest: Lure of the Wildcat (San d'Oria), Distant Loyalties
-- @pos -17 2 10 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Spire_of_Dem/npcs/_0j0.lua | 14 | 1533 | -----------------------------------
-- Area: Spire_of_Dem
-- NPC: Web of Recollections
-- @pos 0.000 -2.0 247.992 19
-----------------------------------
package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
r... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Tahrongi_Canyon/npcs/qm2.lua | 13 | 2562 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: qm2 (???)
-- Note: Used to spawn Yara Ma Yha Who
-- @pos 271 0.001 -334 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/setting... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/weaponskills/full_break.lua | 18 | 2459 | -----------------------------------
-- Full Break
-- Great Axe weapon skill
-- Skill level: 225 (Warriors only.)
-- Lowers enemy's attack, defense, params.accuracy, and evasion. Duration of effect varies with TP.
-- Lowers attack and defense by 12.5%, evasion by 20 points, and estimated to also lower params.accuracy by... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Oldton_Movalpolos/Zone.lua | 17 | 2534 | -----------------------------------
--
-- Zone: Oldton_Movalpolos (11)
--
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/conquest");
require("scripts/zones/Oldton_Mova... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/engines/default/engine/colors.lua | 2 | 3816 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/wings_of_fury.lua | 27 | 1512 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: Wings of Fury BCNM20
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems"... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Metalworks/npcs/Wise_Owl.lua | 29 | 1891 | -----------------------------------
-- Area: Metalworks
-- NPC: Wise Owl
-- Type: Smithing Adv. Image Support
-- @pos -106.336 2.000 26.117 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("... | gpl-3.0 |
Noneatme/iLife-SA | server/Manager/World/cHouseManager.lua | 1 | 4904 | --[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
-- #######################################
-- ## Project: iL... | mit |
Igdra/darkstar | scripts/zones/Oldton_Movalpolos/npcs/Treasure_Chest.lua | 17 | 3546 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Treasure Chest
-- @zone 11
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("... | gpl-3.0 |
cracingbozo7/simply-unproffesional | Themes/Simply Unprofessional 5.2/Scripts/SL-PlayerOptions.lua | 1 | 18537 | ------------------------------------------------------------
-- Helper Functions for PlayerOptions
------------------------------------------------------------
local function GetModsAndPlayerOptions(player)
local mods = SL[ToEnumShortString(player)].ActiveModifiers
local topscreen = SCREENMAN:GetTopScreen():GetName(... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Bastok_Mines/npcs/Zopago.lua | 13 | 1112 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Zopago
-- Type: VCS Chocobo Trainer
-- @zone: 234
-- @pos 51.706 -0.126 -109.065
--
-- Auto-Script: Requires Verification
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones/Bastok_... | gpl-3.0 |
Bo98/DarkRP | gamemode/modules/fadmin/fadmin/access/sv_init.lua | 2 | 20078 | --Immunity
cvars.AddChangeCallback("_FAdmin_immunity", function(Cvar, Previous, New)
FAdmin.SetGlobalSetting("Immunity", (tonumber(New) == 1 and true) or false)
FAdmin.SaveSetting("_FAdmin_immunity", tonumber(New))
end)
hook.Add("DatabaseInitialized", "InitializeFAdminGroups", function()
MySQLite.query("CR... | mit |
Noneatme/iLife-SA | server/Classes/Jobs/cDrugCookJob.lua | 1 | 5874 | --[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
CDrugCookJob = {}
function CDrugCookJob:constructor()
addEven... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.