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 |
|---|---|---|---|---|---|
kjl2y/darkstar | scripts/zones/Bastok_Mines/npcs/Deegis.lua | 13 | 1707 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Deegis
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones/Bastok_Mines/TextIDs");
-----------------------------------
-- onTra... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Upper_Jeuno/npcs/Shalott.lua | 13 | 1111 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Shalott
-- Optional Involvement in Quest: Save My Son
--------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
--------------------------... | gpl-3.0 |
l0k1/naev | dat/missions/empire/waste_dump.lua | 4 | 15299 | --[[
MISSION: Waste Dump (dat/empire/waste_dump.lua)
DESCRIPTION: Take toxic waste and dump it over an uninhabited planet.
Mission conceived for the Shakar system.
It would begin at the mission computer on Zembla Shakar
To change the system, just change the mission.xml entry.
NOTES: This mi... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Bastok-Jeuno_Airship/npcs/Michele.lua | 30 | 2226 | -----------------------------------
-- Area: Bastok-Jeuno Airship
-- NPC: Michele
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Bastok-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Bastok-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
ZEDSPAM1990/telecaster | plugins/map.lua | 87 | 1499 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Windurst_Waters/npcs/Jacodaut.lua | 53 | 1826 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jacodaut
-- Type: Cooking Image Support
-- @pos -125.890 -2.999 62.499 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Port_Bastok/npcs/Sawyer.lua | 17 | 1578 | -----------------------------------
-- Area: Port Bastok
-- NPC: Sawyer
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
----------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Ryunchi-Pauchi_WW.lua | 13 | 3350 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Ryunchi-Pauchi, W.W.
-- Type: Outpost Conquest Guards
-- @pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/qm3.lua | 9 | 1400 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm3 (???)
-- Spawns Apademak
-- @pos ? ? ? 253
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/maps/tutorial/tutorial2.lua | 3 | 2054 | -- 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 |
amourking/KING | plugins/Filtering.lua | 1 | 5361 | local function save_filter(msg, name, value)
local hash = nil
if msg.to.type == 'channel' then
hash = 'chat:'..msg.to.id..':filters'
end
if msg.to.type == 'user' then
return 'Just For Group Chat'
end
if hash then
redis:hset(hash, name, value)
return "Done !"
end
end
local function get_filter_hash(msg)
... | gpl-2.0 |
kjl2y/darkstar | scripts/zones/Upper_Jeuno/npcs/Guslam.lua | 13 | 7029 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Guslam
-- Starts Quest: Borghertz's Hands (AF Hands, Many job)
-- @zone 244
-- @pos -5 1 48
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Cloister_of_Gales/mobs/Garuda_Prime.lua | 23 | 2774 | -----------------------------------
-- Area: Cloister of Gales
-- MOB: Garuda Prime
-- Involved in Quest: Trial by Wind
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/status");
... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Port_Bastok/npcs/Dhen_Tevryukoh.lua | 14 | 1586 | -----------------------------------
-- Area: Port Bastok
-- NPC: Dhen Tevryukoh
-- Only sells when Bastok controlls Elshimo Uplands
-- @zone 236
-- @pos 35 -2 2
-- Confirmed shop stock, August 2013
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
---------------------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/general/objects/objects-far-east.lua | 3 | 1050 | -- 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 |
brunovalads/smw-tas | snes9x/scripts/snes9x-smw-record-ghost.lua | 1 | 2245 | outprefix = "ghost"
dumpfile = outprefix..".dump"
nomovie = false
local updatedFrame = false -- this is a hack due to snes9x internal timing starting the level 1 frame before it should
io.output(dumpfile)
snes9x.speedmode("turbo")
-- compatibility
local u8 = memory.readbyte
local u16 = memory.readword
if not SHIFT ... | mit |
kjl2y/darkstar | scripts/zones/Ilrusi_Atoll/Zone.lua | 19 | 1390 | -----------------------------------
--
-- Zone: Ilrusi_Atoll
-- zone 55
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
require("scripts/zones/Ilrusi_Atoll/TextIDs");
require("scripts/globals/settings");
----------------------------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/North_Gustaberg/npcs/Waterfall_Base.lua | 14 | 1402 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Waterfall Base
-- Involved In Quest: Drachenfall
-- @pos -217.594 98.644 464.722 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/ques... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/spells/bluemagic/frypan.lua | 21 | 2090 | -----------------------------------------
-- Spell: Frypan
-- Delivers an area attack. Additional effect: "Stun." Accuracy varies with TP
-- Spell cost: 65 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+2
-- Level: 63
-- Casting Time: 1 seconds
-- Recast Time: 26... | gpl-3.0 |
treeform/mal | lua/core.lua | 25 | 5485 | local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local readline = require('readline')
local Nil, List, _pr_str = types.Nil, types.List, printer._pr_str
local M = {}
-- string functions
function pr_str(...)
return table.concat(
... | mpl-2.0 |
teleforspeed100/telefor_speed | plugins/groupmanager.lua | 166 | 11272 | -- 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 not is_admin(msg) then
return "You're not admin!"
end
local group_creator = msg.from.print_name
create_group_chat (group_cr... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Horlais_Peak/bcnms/shattering_stars.lua | 27 | 2473 | -----------------------------------
-- Area: Horlais Peak
-- Name: Shattering stars - Maat Fight
-- @pos -509 158 -211 139
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/ques... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/engines/default/engine/ui/Gestures.lua | 3 | 5650 | -- 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/Spire_of_Vahzl/npcs/_0n1.lua | 66 | 1356 | -----------------------------------
-- Area: Spire_of_vahlz
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Vahzl/TextIDs");
-------------------... | gpl-3.0 |
Noneatme/iLife-SA | client/Classes/Shop/cEinkaufszentrum.lua | 2 | 2850 | --[[
/////// //////////////////
/////// 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: MTA i... | mit |
Noneatme/iLife-SA | client/Guis/Corporation/Management/cStorageManagement.lua | 1 | 14943 | --[[
/////// //////////////////
/////// 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
/////// /////////////////
]]
--
-- Created by IntelliJ IDEA.
-- User: Noneatme
-- Date: 05.0... | mit |
Noneatme/iLife-SA | server/Manager/Gamemode/cGamemodeManager.lua | 1 | 10035 | --[[
/////// //////////////////
/////// 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
/////// /////////////////
]]
--
-- Created by IntelliJ IDEA.
-- User: Noneatme
-- Date: 07.0... | mit |
kjl2y/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Corbrere.lua | 13 | 1061 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Corbrere
-- Type: Standard NPC
-- @zone: 94
-- @pos -46.925 -4.5 49.006
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
---... | gpl-3.0 |
e-lab/torch7-demos | demo-core/process.lua | 1 | 20768 | require 'image'
local videodecoder = require 'libvideo_decoder'
local ffi = require('ffi')
ffi.cdef [[
int connectedComponent(int *outputMaskPointer, int *coordinates, int coordinatesSize, int height, int width);
]]
-- local lib8cc = ffi.load('lib8cc.so')
local process = {}
local diffarea, diffsens
local previmg
loc... | bsd-3-clause |
kjl2y/darkstar | scripts/zones/Halvung/npcs/qm1.lua | 15 | 1266 | -----------------------------------
-- Area: Halvung
-- NPC: ??? (Spawn Big Bomb)
-- @pos -233.830 13.613 286.714 62
-----------------------------------
package.loaded["scripts/zones/Halvung/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Halvung/TextIDs");
-------------------------------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Port_Jeuno/npcs/_6ue.lua | 14 | 1426 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Door: Departures Exit (for Windurst)
-- @zone 246
-- @pos 3 7 -54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glob... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/general/objects/scrolls.lua | 2 | 14991 | -- 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/zones/The_Celestial_Nexus/mobs/Exoplates.lua | 23 | 3112 | -----------------------------------
-- Area: The Celestial Nexus
-- MOB: Exoplates
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
... | gpl-3.0 |
h113331pp/scratchbox2 | lua_scripts/init_argvmods_rules.lua | 1 | 7690 | -- Copyright (c) 2009,2012 Nokia Corporation.
-- Author: Lauri T. Aarnio
--
-- Licensed under LGPL version 2.1, see top level LICENSE file for details.
--
-- Read in argvmods_{gcc,misc}.lua files and insert
-- exec preprocessing rules to the rule tree db.
local argvmods_allowed_rulenames = {
"name",
"path_prefixes",... | lgpl-2.1 |
Igdra/darkstar | scripts/zones/Temenos/mobs/Carbuncle_Prime.lua | 20 | 2230 | -----------------------------------
-- Area: Temenos E T
-- NPC: mystic Avatar
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/spells/phalanx_ii.lua | 20 | 1122 | -----------------------------------------
-- Spell: PHALANX
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Phalanx II value per point is '3' This is a constant set in the table 'merits'
-----------------------------------------
require("scripts/globa... | gpl-3.0 |
mickem/nscp | scripts/lua/test_ext_script.lua | 1 | 10117 | test = require("test_helper")
TestExtScript = {
requests = {},
responses = {}
}
function TestExtScript:install(arguments)
local conf = nscp.Settings()
conf:set_string('/modules', 'test_extscripts', 'CheckExternalScripts')
conf:set_string('/modules', 'luatest', 'LUAScript')
conf:set_string('/settings/luatest... | gpl-2.0 |
haste/ivar2 | libs/logging.lua | 3 | 5995 | -------------------------------------------------------------------------------
-- includes a new tostring function that handles tables recursively
--
-- @author Danilo Tuler (tuler@ideais.com.br)
-- @author Andre Carregal (info@keplerproject.org)
-- @author Thiago Costa Ponte (thiago@ideais.com.br)
--
-- @copyright 20... | mit |
kjl2y/darkstar | scripts/zones/Norg/npcs/Washu.lua | 17 | 3758 | -----------------------------------
-- Area: Norg
-- NPC: Washu
-- Involved in Quest: Yomi Okuri
-- Starts and finishes Quest: Stop Your Whining
-- @pos 49 -6 15 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyi... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Bajahb.lua | 13 | 1249 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Bajahb
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("scripts/g... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Port_Bastok/npcs/Vattian.lua | 17 | 1456 | -----------------------------------
-- Area: Port Bastok
-- NPC: Vattian
-- Only sells when Bastok controlls Kuzotz Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] =... | gpl-3.0 |
Igdra/darkstar | scripts/zones/East_Ronfaure/npcs/Cavernous_Maw.lua | 29 | 1436 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Cavernous Maw
-- @pos 322 -59 503 101
-- Teleports Players to East Ronfaure [S]
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Windurst_Walls/npcs/HomePoint#1.lua | 27 | 1278 | -----------------------------------
-- Area: Windurst Walls
-- NPC: HomePoint#1
-- @pos -72.069 -5.013 124.784 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Walls/TextIDs");
require("scripts/g... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/East_Ronfaure/npcs/Cavernous_Maw.lua | 29 | 1436 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Cavernous Maw
-- @pos 322 -59 503 101
-- Teleports Players to East Ronfaure [S]
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Rabao/npcs/Generoit.lua | 13 | 1359 | -----------------------------------
-- Area: Rabao
-- NPC: Generoit
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
-- onTrade Action
---------... | gpl-3.0 |
Igdra/darkstar | scripts/globals/weaponskills/blade_shun.lua | 24 | 1835 | -----------------------------------
-- Blade Shun
-- Katana weapon skill
-- Skill level: N/A
-- Description: Delivers a fivefold attack. Attack power varies with TP.
-- In order to obtain Blade: Shun the quest Martial Mastery must be completed.
-- This Weapon Skill's first hit params.ftp is duplicated for all additiona... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Dynamis-Tavnazia/Zone.lua | 7 | 2433 | -----------------------------------
--
-- Zone: Dynamis-Tavnazia
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
require("scripts/zones/Dynamis-Tavnazia/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
Smokedalmond/FPLift | Libs/LibStub/LibStub.lua | 32 | 1397 | -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN RE... | apache-2.0 |
ralzate/TestGit | vendor/bundle/ruby/2.1.0/gems/haml-4.0.7/test/haml-spec/lua_haml_spec.lua | 23 | 1096 | local dir = require 'pl.dir'
local haml = require 'haml'
local json = require 'json'
local path = require 'pl.path'
local telescope = require 'telescope'
local assert = assert
local describe = telescope.describe
local getinfo = debug.getinfo
local it = telescope.it
local open = io... | mit |
festevezga/ToME---t-engine4 | game/modules/tome/data/talents/psionic/voracity.lua | 2 | 9912 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011, 2012, 2013 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 o... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Bastok_Markets/npcs/Sororo.lua | 17 | 1769 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Sororo
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zo... | gpl-3.0 |
Igdra/darkstar | scripts/globals/abilities/light_maneuver.lua | 19 | 1610 | -----------------------------------
-- Ability: Light Maneuver
-- Enhances the effect of light attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/bowl_of_jack-o-soup.lua | 18 | 1561 | -----------------------------------------
-- ID: 4522
-- Item: Bowl of Jack-o'-Soup
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 2
-- Agility 3
-- Vitality -1
-- Health Regen While Healing 5
-- Ranged ACC % 8
-- Ranged ACC Cap 25
-----------------------------------------
requ... | gpl-3.0 |
MakhofMan6032/farsi | plugins/arabic_lock.lua | 4 | 1379 | antiarabic = {}-- An empty table for solving multiple kicking problem
do
local function run(msg, matches)
if is_momod(msg) then -- Ignore mods,owner,admins
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['lock_arabic'] then
if data[tostring(msg.to.id)... | gpl-2.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/gfx/particles/ice_shards.lua | 3 | 1523 | -- 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/talents/techniques/strength-of-the-berserker.lua | 2 | 10242 | -- 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 |
junioraby/architec.awardspace.info | vlc-2.1.4/share/lua/playlist/dailymotion.lua | 23 | 3045 | --[[
Translate Daily Motion video webpages URLs to the corresponding
FLV URL.
$Id$
Copyright © 2007-2011 the VideoLAN team
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 versio... | mit |
kjl2y/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Spondulix.lua | 13 | 1170 | -----------------------------------
-- Area: Fort Karugo-Narugo
-- NPC: Spondulix
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
---------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Stellar_Fulcrum/npcs/_4z0.lua | 13 | 1623 | -----------------------------------
-- Area: Stellar Fulcrum
-- Door: Qe'Lov Gate
-- @pos -520 -4 17 179
-------------------------------------
package.loaded["scripts/zones/Stellar_Fulcrum/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/globals/bcnm... | gpl-3.0 |
Zet0rz/nzombies | gamemodes/nzombies/entities/entities/nz_script_triggerzone/shared.lua | 2 | 2311 | AddCSLuaFile( )
ENT.Type = "anim"
ENT.PrintName = "triggerzone"
ENT.Author = "Zet0r"
ENT.Contact = ""
ENT.Purpose = ""
ENT.Instructions = ""
ENT.RenderGroup = RENDERGROUP_TRANSLUCENT
function ENT:Initialize()
if SERVER then
self:SetMoveType( MOVETYPE_NONE )
self:SetSolid( SOLID_NONE )
self:DrawShadow... | gpl-3.0 |
c3r1c3/obs-studio | UI/frontend-plugins/frontend-tools/data/scripts/pause-scene.lua | 21 | 1169 | obs = obslua
pause_scene = ""
function on_event(event)
if event == obs.OBS_FRONTEND_EVENT_SCENE_CHANGED then
local scene = obs.obs_frontend_get_current_scene()
local scene_name = obs.obs_source_get_name(scene)
if pause_scene == scene_name then
obs.obs_frontend_recording_pause(true)
else
obs.obs_frontend... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rn.lua | 14 | 1661 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _0rn (Oil lamp)
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/maps/vaults/treasure1.lua | 3 | 1769 | -- 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/cup_of_caravan_tea.lua | 17 | 1321 | -----------------------------------------
-- ID: 5927
-- Item: Cup of Caravan Tea
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 22
-- MP 32
-- Charisma 6
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/cup_of_caravan_tea.lua | 17 | 1321 | -----------------------------------------
-- ID: 5927
-- Item: Cup of Caravan Tea
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 22
-- MP 32
-- Charisma 6
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Yhoator_Jungle/npcs/Guddal_IM.lua | 13 | 3321 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Guddal, I.M.
-- Border Conquest Guards
-- @pos -84.113 -0.449 224.902 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Bastok_Mines/npcs/Crying_Wind_IM.lua | 13 | 5589 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Crying Wind, I.M.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Missions and... | gpl-3.0 |
tahashakiba/zedspam | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
yasinmoradi/thebot | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
imcaffrey/QSanguosha | extension-doc/2-ViewAsSkill.lua | 7 | 12145 | --技能详解1:ViewAsSkill(视为技,也叫视作技)
--在太阳神三国杀中,常用的基本技能是两种:触发技和视为技。我们使用这两种基本技能的复合来完成大多数复杂的技能。
--此外,我们还有距离技等特殊类型的技能,它们用于实现某些某种程度上“要求改变游戏系统”的技能。
--触发技可以用来实现“在某个时机,满足发动条件时,执行某个效果(包括做出选择)”这样的技能。
--触发技也可以用来改变游戏事件而不仅是单纯的产生效果。比如,放弃摸牌阶段并执行xx这样的技能也可以用触发技实现。
--事实上,一个触发技就是一条游戏规则。如果某名武将具有某个触发技,这个触发技就会被在服务端“注册”成为这局游戏的一条规则。
--被注册的触发技,通常... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Grauberg_[S]/Zone.lua | 4 | 1827 | -----------------------------------
--
-- Zone: Grauberg_[S] (89)
--
-----------------------------------
package.loaded["scripts/zones/Grauberg_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Grauberg_[S]/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/weather")... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/chats/zigur-mindstar-store.lua | 3 | 4337 | -- 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/gfx/particles/suncloak.lua | 3 | 2976 | -- 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/weaponskills/insurgency.lua | 18 | 1760 | -----------------------------------
-- Insurgency
-- Scythe weapon skill
-- Skill level: N/A
-- Delivers a fourfold attack. Damage varies with TP. Liberator: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Dark Knight) quest.
-- Appears to be heavily modified by attack.
-- Alig... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Port_Bastok/npcs/Klaus.lua | 13 | 1030 | -----------------------------------
-- Area: Port Bastok
-- NPC: Klaus
-- Type: Standard NPC
-- @pos -89.355 -3.611 -15.256 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Bastok/TextIDs");
--------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/talents/cursed/slaughter.lua | 2 | 14356 | -- 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/zones/Behemoths_Dominion/TextIDs.lua | 15 | 1076 | -- 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... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/timbre_timbers_salad.lua | 18 | 1459 | -----------------------------------------
-- ID: 4321
-- Item: timbre_timbers_salad
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Metalworks/npcs/Ayame.lua | 12 | 2954 | -----------------------------------
-- Area: Metalworks
-- NPC: Ayame
-- Involved in Missions
-- Starts and Finishes Quest: True Strength
-- @pos 133 -19 34 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/maps/zones/keepsake-cave-entrance.lua | 3 | 2282 | -- 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 |
tontyoutoure/DOTA2-AI-Fun | game/dota_addons/dota2_ai_fun/scripts/vscripts/heroes/hero_invoker/invoker_retro_inferno.lua | 1 | 6504 | --[[ ============================================================================================================
Author: Rook
Date: March 7, 2015
Called when Inferno is cast.
Additional parameters: keys.InfernoSpawnRadius, keys.InfernoExplosionDelay, keys.InfernoExplosionDuration,
keys.InfernoRadius, keys.Infern... | mit |
teleforspeed100/telefor_speed | plugins/translate.lua | 674 | 1637 |
--[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local p... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Temenos/mobs/Thrym.lua | 28 | 1188 | -----------------------------------
-- Area: Temenos N T
-- NPC: Thrym
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Selbina/npcs/Mendoline.lua | 14 | 1165 | -----------------------------------
-- Area: Selbina
-- NPC: Mendoline
-- Guild Merchant NPC: Fishing Guild
-- @pos -13.603 -7.287 10.916 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Den_of_Rancor/npcs/_4g6.lua | 27 | 2366 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Lantern (SE)
-- @pos -59 45 24 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/TextIDs")... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/candy_ring.lua | 18 | 1250 | -----------------------------------------
-- ID: 5621
-- Item: Candy Ring
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Charisma 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Temenos/mobs/Ice_Elemental.lua | 28 | 1805 | -----------------------------------
-- Area: Temenos E T
-- NPC: Ice_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------------------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/engines/default/modules/boot/data/damage_types.lua | 3 | 2041 | -- ToME - Tales of Middle-Earth
-- 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 la... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Lower_Jeuno/npcs/HomePoint#2.lua | 27 | 1255 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: HomePoint#2
-- @pos 18 -1 54 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/homepoint");
--... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Temenos/bcnms/Central_Temenos_4th_Floor.lua | 35 | 1480 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[C_Temenos_4th]UniqueID",GenerateLimbusKey());
HideArmouryCrates(GetInstanceRegion(1306),TE... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Temenos/bcnms/Central_Temenos_4th_Floor.lua | 35 | 1480 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[C_Temenos_4th]UniqueID",GenerateLimbusKey());
HideArmouryCrates(GetInstanceRegion(1306),TE... | gpl-3.0 |
amirTg/Telepersian | plugins/inrealm.lua | 92 | 25223 | -- 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_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
Greven-of-Norway/RC_CollectionAgent | CollectionAgent.lrdevplugin/Framework/System/Windows.lua | 1 | 5332 | --[[
Windows.lua
Extends operating system functionality for Windows specific behavior.
--]]
local Windows, dbg, dbgf = OperatingSystem:newClass{ className = 'Windows' }
--- Constructor for extending class.
--
function Windows:newClass( t )
return OperatingSystem.newClass( self, t )
end
... | artistic-2.0 |
cracingbozo7/simply-unproffesional | Themes/Simply Unprofessional 5.2/BGAnimations/ScreenGameOver decorations/playerStats.lua | 1 | 1564 | local player = ...
local profile = PROFILEMAN:GetProfile(player)
local playerName = profile:GetLastUsedHighScoreName()
local totalSongs = profile:GetNumTotalSongsPlayed()
local calories = round(profile:GetCaloriesBurnedToday())
local stageStats = STATSMAN:GetCurStageStats()
local currentCombo = stageStats:GetPlayerSta... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Port_San_dOria/npcs/_6g9.lua | 13 | 1554 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Door: Departures Exit
-- @zone 232
-- @pos -19 -8 27
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Temenos/mobs/Earth_Elemental.lua | 28 | 1790 | -----------------------------------
-- Area: Temenos E T
-- NPC: Earth_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
marth8880/MEUScripts | ME5/fel1n_siege.lua | 1 | 6690 | ReadDataFile("..\\..\\addon\\ME5\\data\\_LVL_PC\\master.lvl")
--
-- 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_ObjectiveBFConquest")
-- Create a new MapManager object
man... | bsd-3-clause |
kjl2y/darkstar | scripts/zones/Port_Bastok/npcs/Powhatan.lua | 29 | 3470 | -----------------------------------
-- Area: Port Bastok
-- NPC: Powhatan
-- Starts & Ends Quest: Welcome to Bastok, Guest of Hauteur
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Upper_Jeuno/npcs/Laila.lua | 6 | 10454 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Laila
-- Type: Job Quest Giver
-- @zone: 244
-- @pos -54.045 -1 100.996
--
--TODO--
-- make sure the surrounding npcs react to the player accordingly after each quest. There are a few event IDs that I don't recall using
-- make global variables for al... | gpl-3.0 |
daniel-david-gabriel/Errant-Audubon | lua/images.lua | 1 | 23239 | Images = {}
Images.__index = Images
setmetatable(Images, {
__index = Images,
__call = function (cls, ...)
local self = setmetatable({}, cls)
self:_init(...)
return self
end,
})
function Images:_init()
self.images = {}
self.images["attackHurt"] = self:loadSprite("attack_hurt", "media/sprites/... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.