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
kidaa/Awakening-Core3
bin/scripts/object/tangible/terminal/terminal_newbie_medicine.lua
3
2256
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/dressed_tatooine_ikka_gesul.lua
3
2224
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/dressed_garyn_prowler_trandoshan_female_01.lua
3
2284
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/building/poi/yavin4_abandoned_rebel_camp_small2.lua
1
2276
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/scout/item_camp_improved.lua
2
3105
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/lair/malkloc/lair_malkloc_desert.lua
2
2304
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/shear_mite_broodling.lua
3
2196
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
widelands/widelands
data/campaigns/emp04.wmf/scripting/tribes/farm1/init.lua
1
1674
dirname = "campaigns/emp04.wmf/" .. path.dirname (__file__) push_textdomain("scenario_emp04.wmf") wl.Descriptions():new_productionsite_type { name = "empire_farm1", descname = pgettext("empire_building", "Farm"), icon = dirname .. "menu.png", size = "big", enhancement = { name = "empire_farm", ...
gpl-2.0
kidaa/Awakening-Core3
bin/scripts/object/building/general/mun_all_hospital_s02.lua
2
2400
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/static/item/item_con_winebottle_01.lua
3
2224
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/bio_engineer/dna_template/dna_template_narglatch.lua
3
2344
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/screenplays/cities/dathomir_science_outpost.lua
2
2069
DathomirScienceOutpostScreenPlay = ScreenPlay:new { numberOfActs = 1, screenplayName = "DathomirScienceOutpostScreenPlay" } registerScreenPlay("DathomirScienceOutpostScreenPlay", true) function DathomirScienceOutpostScreenPlay:start() if (isZoneEnabled("dathomir")) then self:spawnMobiles() end end function D...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/building/tatooine/guild_university_tatooine_style_02.lua
3
2391
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
NezzKryptic/Wire
lua/entities/gmod_wire_egp/lib/objects/poly.lua
6
2574
-- Author: Divran local Obj = EGP:NewObject( "Poly" ) Obj.w = nil Obj.h = nil Obj.x = nil Obj.y = nil Obj.vertices = {} Obj.verticesindex = "vertices" Obj.HasUV = true -- Returns whether c is to the left of the line from a to b. local function counterclockwise( a, b, c ) local area = (a.x - c.x) * (b.y - c.y) - (b.x ...
apache-2.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/lair/base/poi_all_lair_bones_large_evil_fire_small.lua
2
2376
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/mobile/thug/information_broker.lua
1
1075
information_broker = Creature:new { objectName = "@mob/creature_names:bothan_information_broker", socialGroup = "Mercenary", pvpFaction = "", faction = "", level = 5, chanceHit = 0.25, damageMin = 45, damageMax = 50, baseXp = 85, baseHAM = 135, baseHAMmax = 165, armor = 0, resists = {0,0,0,0,0,0,0,-1,-1}, ...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/gualama.lua
3
2144
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/static/structure/general/streetlamp_large_style_01_off.lua
3
2304
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/clothing/clothing_ith_robe_formal_01.lua
2
3670
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/loot/collectible/collectible_rewards/gong.lua
3
2288
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/static/item/item_basket_frame.lua
3
2204
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/rancor_hue.lua
3
2156
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/item/item_tumble_blender.lua
2
3503
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/lair/striped_fish/serverobjects.lua
3
2187
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
dlannan/funLuaJit
byt3d/ffi/win32.lua
1
12440
-- -- Created by David Lannan -- User: grover -- Date: 19/04/13 -- Time: 12:04 AM -- Copyright 2013 Developed for use with the byt3d engine. -- local ffi = require( "ffi" ) user32 = ffi.load( "USER32" ) kernel32 = ffi.load( "KERNEL32" ) ffi.cdef[[ typedef char* PCIDLIST_ABSOLUTE; typedef char* LPCTSTR; ...
mit
Death15/SuperSwatchTG
plugins/media.lua
297
1590
do local function run(msg, matches) local receiver = get_receiver(msg) local url = matches[1] local ext = matches[2] local file = download_to_file(url) local cb_extra = {file_path=file} local mime_type = mimetype.get_content_type_no_sub(ext) if ext == 'gif' then print('send_file') send_docum...
gpl-2.0
e-lab/torch-toolbox
Sanitize/sanitize.lua
1
2501
require('torch') require('nn') require('cunn') require('cudnn') -- common obj name to be freed local common = {'output', 'gradInput'} -- temporary buffer name other than output/gradInput local t = { -- convolution ['nn.SpatialConvolution'] = {'finput', 'fgradInput'}, ['nn.SpatialConvolutionMM'] = {'finput',...
bsd-3-clause
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/clothing/clothing_bodysuit_field_15.lua
2
3422
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
Whit3Tig3R/telegrambot2
plugins/weather.lua
274
1531
do local BASE_URL = "http://api.openweathermap.org/data/2.5/weather" local function get_weather(location) print("Finding weather in ", location) location = string.gsub(location," ","+") local url = BASE_URL url = url..'?q='..location url = url..'&units=metric' url = url..'&appid=bd82977b86bf27fb59a04b61b6...
gpl-2.0
eraffxi/darkstar
scripts/zones/Outer_Horutoto_Ruins/TextIDs.lua
2
2336
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6586; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6592; -- Obtained: <item>. GIL_OBTAINED = 6593; -- Obtained <number> gil. KEYITEM_OBTAINED = 6595; -- Obta...
gpl-3.0
mramir8274/x.ybot
plugins/ingroup.lua
527
44020
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
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/space/shields/serverobjects.lua
3
3911
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/commands/harmful.lua
4
2114
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
eraffxi/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/_4fx.lua
2
1536
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Granite Door -- !pos 340 0.1 329 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Temple_of_Uggalepih/TextIDs"); require("scripts...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/ship/components/shield_generator/shd_unknown_holosteel_x1.lua
3
2352
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
eraffxi/darkstar
scripts/globals/items/serving_of_herb_quus.lua
2
1076
----------------------------------------- -- ID: 4559 -- Item: serving_of_herb_quus -- Food Effect: 180Min, All Races ----------------------------------------- -- Dexterity 1 -- Mind -1 -- Ranged ACC % 7 -- Ranged ACC Cap 10 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/droid/droid_binary_load_lifter.lua
2
4027
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/ship/crafted/shields/shield_energy_saver_kit_mk5.lua
1
2906
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/ship/components/armor/arm_koensayr_light_advanced_durasteel.lua
3
2360
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/building/poi/dathomir_freedprisonercamp_small2.lua
1
2272
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
meshr-net/meshr_tomato-RT-N
usr/lib/lua/luci/jsonrpc.lua
12
2238
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 h...
apache-2.0
kidaa/Awakening-Core3
bin/scripts/mobile/townsperson/serverobjects.lua
1
2035
includeFile("townsperson/agriculturalist.lua") includeFile("townsperson/artisan.lua") includeFile("townsperson/audience_member.lua") includeFile("townsperson/bartender.lua") includeFile("townsperson/businessman.lua") includeFile("townsperson/chassis_broker.lua") includeFile("townsperson/cll8_binary_load_lifter.lua") i...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/mobile/event/event_dark_jedi_sentinel.lua
1
1028
event_dark_jedi_sentinel = Creature:new { objectName = "@mob/creature_names:dark_jedi_sentinel", customName = "a Dark Jedi Sentinel (event)", socialGroup = "self", pvpFaction = "self", faction = "", level = 300, chanceHit = 300, damageMin = 2645, damageMax = 5000, baseXp = 0, baseHAM = 1106000, baseHAMmax =...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/gamorrean.lua
3
2152
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
sam1i/Turres-Monacorum
love2d/external/anim.lua
3
5864
--[[ Copyright (c) 2009-2013 Bart Bes Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,...
mit
davymai/CN-QulightUI
Interface/AddOns/Aurora/AddOns/Blizzard_LookingForGuildUI.lua
1
3920
local F, C = unpack(select(2, ...)) C.themes["Blizzard_LookingForGuildUI"] = function() local r, g, b = C.r, C.g, C.b F.SetBD(LookingForGuildFrame) F.CreateBD(LookingForGuildInterestFrame, .25) LookingForGuildInterestFrameBg:Hide() F.CreateBD(LookingForGuildAvailabilityFrame, .25) LookingForGuildAvailabilityFra...
gpl-2.0
ppriest/mame
3rdparty/genie/tests/actions/make/test_makesettings.lua
57
1055
-- -- tests/actions/make/test_makesettings.lua -- Tests makesettings lists in generated makefiles. -- Copyright (c) 2011 Jason Perkins and the Premake project -- T.make_settings = { } local suite = T.make_settings local make = premake.make local sln, prj, cfg function suite.setup() _ACTION = "gmake" sln...
gpl-2.0
ddysher/turbo
turbo/3rdparty/JSON.lua
10
26141
-- -*- coding: utf-8 -*- -- -- Copyright 2010-2011 Jeffrey Friedl -- http://regex.info/blog/ -- local VERSION = 20111207.5 -- version history at end of file local OBJDEF = { VERSION = VERSION } -- -- Simple JSON encoding and decoding in pure Lua. -- http://www.json.org/ -- -- -- JSON = loadfile "JSON.lua" -- one-ti...
apache-2.0
feiying1460/witi-openwrt
package/ramips/ui/luci-mtk/src/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua
80
2172
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 h...
gpl-2.0
n0xus/darkstar
scripts/globals/items/dish_of_spaghetti_boscaiola.lua
35
1721
----------------------------------------- -- ID: 5192 -- Item: dish_of_spaghetti_boscaiola -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 18 -- Health Cap 120 -- Magic 35 -- Strength -5 -- Dexterity -2 -- Vitality 2 -- Mind 4 -- Magic Regen While Healing 1 ----------...
gpl-3.0
xxlxx20/DEVKEEPER
plugins/banhmmer.lua
2
15023
local function pre_process(msg) local data = load_data(_config.moderation.data) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Chec...
gpl-2.0
chawan/RepHelper
RepHelperSkin.lua
1
1655
if IsAddOnLoaded("ElvUI") then local E = unpack(_G.ElvUI) local buttons = { RPH_OptionsButton, RPH_ShowAllButton, RPH_ExpandButton, RPH_ShowNoneButton, RPH_CollapseButton, RPH_SupressNoneFactionButton, RPH_SupressNoneGlobalButton, RPH_ClearSessionGainButton, } local checkboxes = { RPH_Orde...
gpl-3.0
metadeus/luv
tests/db/sql/mysql.lua
1
6117
local io, tostring = io, tostring local TestCase, sql, mysql = require "luv.dev.unittest".TestCase, require "luv.db.sql", require "luv.db.sql.mysql" module(...) local validDsn = "mysql://test:test@localhost/test" return TestCase:extend{ __tag = ..., dsn = validDsn, setUp = function (self) self.db = sql.Factory(...
bsd-3-clause
n0xus/darkstar
scripts/globals/items/dish_of_salsa.lua
35
1591
----------------------------------------- -- ID: 5299 -- Item: dish_of_salsa -- Food Effect: 3Min, All Races ----------------------------------------- -- Strength -1 -- Dexterity -1 -- Agility -1 -- Vitality -1 -- Intelligence -1 -- Mind -1 -- Sleep Resist 5 ----------------------------------------- requ...
gpl-3.0
n0xus/darkstar
scripts/zones/Port_Bastok/npcs/Kurando.lua
38
2161
----------------------------------- -- Area: Port Bastok -- NPC: Kurando -- Type: Quest Giver -- @zone: 236 -- @pos -23.887 3.898 0.870 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ---------------------...
gpl-3.0
CameronHynes/OpenRA
mods/ra/maps/soviet-01/soviet01.lua
28
2150
Yaks = { "yak", "yak", "yak" } Airfields = { Airfield1, Airfield2, Airfield3 } InsertYaks = function() local i = 1 Utils.Do(Yaks, function(yakType) local start = YakEntry.CenterPosition + WVec.New(0, (i - 1) * 1536, Actor.CruiseAltitude(yakType)) local dest = StartJeep.Location + CVec.New(0, 2 * i) local yak =...
gpl-3.0
coderpunch/evolvemod
lua/evolve/plugins/sh_ignite.lua
1
1991
--[[----------------------------------------------------------------------------------------------------------------------- Ignite a player -----------------------------------------------------------------------------------------------------------------------]]-- local PLUGIN = {} PLUGIN.Title = "Ignite" PLUGIN.Descr...
apache-2.0
n0xus/darkstar
scripts/globals/spells/armys_paeon_ii.lua
31
1390
----------------------------------------- -- Spell: Army's Paeon II -- Gradually restores target's HP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingChec...
gpl-3.0
alexandre-mbm/SimTools
RandomWeather/Lua/RandomWeather/Generator.lua
2
11773
-- Weather restrictions etc. local cloud_type_restriction = { -- Allowed cloud types above another [0] = { [1] = true, [8] = true, [9] = true, [10] = true, }, [1] = { }, [8] = { [8] = true, [9] = true, [10] = true, }, [9] = { [9] = true, [10] = true, }, [10] = { [9] = true, [10] = true, ...
mit
davymai/CN-QulightUI
Interface/AddOns/DBM-BlackrockFoundry/HansgarAndFranzok.lua
1
11185
local mod = DBM:NewMod(1155, "DBM-BlackrockFoundry", nil, 457) local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 12934 $"):sub(12, -3)) mod:SetCreatureID(76974, 76973) mod:SetEncounterID(1693) mod:SetZone() --mod:SetUsedIcons(5, 4, 3, 2, 1) mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "S...
gpl-2.0
ddysher/turbo
turbo/inotify.lua
12
5820
--- Turbo.lua inotify Module -- -- 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/LICENSE-2.0 -- -- Unless required by...
apache-2.0
n0xus/darkstar
scripts/zones/Metalworks/npcs/Fariel.lua
34
2197
----------------------------------- -- Area: Metalworks -- NPC: Fariel -- Type: Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); require("scripts/globals/pathfind");...
gpl-3.0
chawan/RepHelper
Locales/ruRU.lua
1
25847
-- Русский (Russian) -------------------- -------------------- if (GetLocale() =="ruRU") then -- Binding names BINDING_HEADER_REPHELPER = "RepHelper" BINDING_NAME_SHOWCONFIG = "Показать окно опций" BINDING_NAME_SHOWDETAILS = "Отображение детальной информации о репутации" RPH_TXT = {} RPH_TXT.Mob = {} -- help R...
gpl-3.0
davymai/CN-QulightUI
Interface/AddOns/DBM-Outlands/localization.cn.lua
1
1620
if GetLocale() ~= "zhCN" then return end local L --Maulgar L = DBM:GetModLocalization("Maulgar") L:SetGeneralLocalization{ name = "莫加尔大王" } --Gruul the Dragonkiller L = DBM:GetModLocalization("Gruul") L:SetGeneralLocalization{ name = "屠龙者格鲁尔" } L:SetWarningLocalization{ WarnGrowth = "%s (%d)" } L:SetOptionL...
gpl-2.0
privatesource/Vira_max
plugins/pass.lua
15
2226
do local function set_pass(msg, pass, id) local hash = nil if msg.to.type == "channel" then hash = 'setpass:' end local name = string.gsub(msg.to.print_name, '_', '') if hash then redis:hset(hash, pass, id) return send_large_msg("channel#id"..msg.to.id, "ߔ᠐assword of group:\n["..name.."] has be...
gpl-2.0
mpeterv/luacheck
spec/globbing_spec.lua
2
2858
local globbing = require "luacheck.globbing" local fs = require "luacheck.fs" local cur_dir = fs.get_current_dir() local function check_match(expected_result, glob, path) glob = fs.normalize(fs.join(cur_dir, glob)) path = fs.normalize(fs.join(cur_dir, path)) assert.equal(expected_result, globbing.match(glob,...
mit
n0xus/darkstar
scripts/globals/items/king_truffle.lua
35
1193
----------------------------------------- -- ID: 4386 -- King Truffle -- 5 Minutes, food effect, All Races ----------------------------------------- -- Strength -6 -- Mind +4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
rekotc/game-engine-demo
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/cgilua/examples/authentication_conf.lua
4
3501
---------------------------- -- Authentication configuration file -- -- Defines the method and details of the authentication mechanism -- -- $Id: authentication_conf.lua,v 1.1 2007/12/05 18:40:17 carregal Exp $ ---------------------------- require"cgilua.authentication" local options = { -- Authentication method...
lgpl-3.0
mpeterv/busted
spec/randomize_spec.lua
8
1115
local unexpected = {} local order = {} describe('Randomizing test order', function() randomize() for i = 1, 100 do table.insert(unexpected, i) it('does 100 its', function() table.insert(order, i) end) end end) describe('Order of tests ran', function() it('randomized', function() assert...
mit
n0xus/darkstar
scripts/zones/Port_Bastok/npcs/Fo_Mocorho.lua
59
1038
----------------------------------- -- Area: Port Bastok -- NPC: Fo Mocorho -- Type: Weather Reporter ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Port_Bastok/TextIDs"); --...
gpl-3.0
davymai/CN-QulightUI
Interface/AddOns/DBM-DragonSoul/SpineDeathwing.lua
1
11604
local mod = DBM:NewMod(318, "DBM-DragonSoul", nil, 187) local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 145 $"):sub(12, -3)) mod:SetCreatureID(53879) mod:SetEncounterID(1291) mod:SetZone() mod:SetUsedIcons(6, 5, 4, 3, 2, 1) mod:SetModelSound("sound\\CREATURE\\Deathwing\\VO_DS_DEATHWING_BACKEVENT_01.O...
gpl-2.0
rekotc/game-engine-demo
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/lua/pl/classx.lua
3
5439
--- extra classes: MultiMap, OrderedMap and Typed List. -- @class module -- @name pl.classx local function module(...) end --[[ module ('pl.classx') ]] local classes = require 'pl.class' local tablex = require 'pl.tablex' local utils = require 'pl.utils' local List = require 'pl.list' . List local class,Map = classes...
lgpl-3.0
n0xus/darkstar
scripts/globals/abilities/pets/frost_breath.lua
25
1248
--------------------------------------------------- -- Frost Breath --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onAbilityCh...
gpl-3.0
ArmanIr/ProFbOt
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
n0xus/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Hagakoff.lua
34
1998
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Hagakoff -- Standard Merchant NPC -- Partitionally Implemented -- Difficult Shop Script needed ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
ozhanf/ozhanf--bot
plugins/qr.lua
637
1730
--[[ * qr plugin uses: * - http://goqr.me/api/doc/create-qr-code/ * psykomantis ]] local function get_hex(str) local colors = { red = "f00", blue = "00f", green = "0f0", yellow = "ff0", purple = "f0f", white = "fff", black = "000", gray = "ccc" } for color, value in pairs(colors)...
gpl-2.0
rekotc/game-engine-demo
Assets/Scripts/TeapotBrains.lua
4
2835
--======================================================================== -- TeapotBrains.lua : Base class for teapot brains -- -- Part of the GameCode4 Application -- -- GameCode4 is the sample application that encapsulates much of the source code -- discussed in "Game Coding Complete - 4th Edition" by Mike McShaffry...
lgpl-3.0
n0xus/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Luck_Rune.lua
34
1080
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- @pos -95.486 11.188 418.153 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ------------------------------------- require("scripts/...
gpl-3.0
n0xus/darkstar
scripts/zones/Dangruf_Wadi/Zone.lua
17
3020
----------------------------------- -- -- Zone: Dangruf_Wadi (191) -- ----------------------------------- package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/status")...
gpl-3.0
davymai/CN-QulightUI
Interface/AddOns/DBM-Firelands/FandralStaghelm.lua
1
8089
local mod = DBM:NewMod(197, "DBM-Firelands", nil, 78) local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 142 $"):sub(12, -3)) mod:SetCreatureID(52571) mod:SetEncounterID(1185) mod:DisableEEKillDetection() mod:SetZone() mod:SetUsedIcons(8) mod:SetModelSound("Sound\\Creature\\FandralFlameDruid\\VO_FL_FAND...
gpl-2.0
n0xus/darkstar
scripts/zones/Xarcabard/npcs/Heavy_Bear_IM.lua
30
3041
----------------------------------- -- Area: Xarcabard -- NPC: Heavy Bear, I.M. -- Type: Border Conquest Guards -- @pos -133.678 -22.517 112.224 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
goblinor/BomBus1
plugins/stats.lua
15
4017
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
rigeirani/bib
plugins/stats.lua
2
3997
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
n0xus/darkstar
scripts/globals/abilities/dark_maneuver.lua
54
1332
----------------------------------- -- Ability: Dark Maneuver -- Enhances the effect of dark attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
n0xus/darkstar
scripts/zones/Northern_San_dOria/npcs/Matildie.lua
34
1696
----------------------------------- -- Area: Northern San d'Oria -- NPC: Matildie -- Adventurer's Assistant ------------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
n0xus/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f4.lua
34
1106
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Titan's Gate -- @pos 180 -34 -15 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs")...
gpl-3.0
n0xus/darkstar
scripts/zones/Riverne-Site_A01/npcs/_0u3.lua
17
1341
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_A01/Text...
gpl-3.0
n0xus/darkstar
scripts/zones/Northern_San_dOria/npcs/Olbergieut.lua
17
2258
----------------------------------- -- Area: Northern San d'Oria -- NPC: Olbergieut -- Type: Quest NPC -- @zone 231 -- @pos 91 0 121 -- -- Starts and Finishes Quest: Gates of Paradise ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ---------------------...
gpl-3.0
n0xus/darkstar
scripts/globals/items/roast_pipira.lua
35
1575
----------------------------------------- -- ID: 4538 -- Item: roast_pipira -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 3 -- Mind -1 -- Attack % 14 -- Attack Cap 85 -- Ranged ATT % 14 -- Ranged ATT Cap 85 ----------------------------------------- require("script...
gpl-3.0
realglobe-Inc/edo-auth
lib/erro.lua
1
2248
-- Copyright 2015 realglobe, Inc. -- -- 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/LICENSE-2.0 -- -- Unless required by applicable law or agreed to...
apache-2.0
n0xus/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Mushosho.lua
17
1888
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Mushosho -- Type: Outpost Vendor -- @pos -290 16 415 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); re...
gpl-3.0
davymai/CN-QulightUI
Interface/AddOns/QulightUI/Config/configui.lua
1
1703
local myPlayerRealm = GetRealmName() local myPlayerName = UnitName("player") if not IsAddOnLoaded("Qulight_ConfigUI") then return end if not QulightConfigAll then QulightConfigAll = {} end if (QulightConfigAll[myPlayerRealm] == nil) then QulightConfigAll[myPlayerRealm] = {} end if (QulightConfigAll[myPlayerRealm][...
gpl-2.0
n0xus/darkstar
scripts/zones/Mount_Zhayolm/npcs/Runic_Portal.lua
17
1862
----------------------------------- -- Area: Mount Zhayolm -- NPC: Runic Portal -- Mount Zhayolm Teleporter Back to Aht Urgan Whitegate -- @pos 688 -23 349 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
xxlxx20/DEVKEEPER
plugins/addword.lua
2
3042
--[[ ----- (منع والغاء منع الكلمات) ---admin @llX8Xll --]] local function addword(msg, name) local hash = 'chat:'..msg.to.id..':badword' redis:hset(hash, name, 'newword') return "تــٰم بالفعـــل ☑️ اضافــةة كلمـٰه 🗓 جديده آلى قائمــةة المنـٰـع❌♥️❗️\n>"..name end local function get_variables_hash(msg) ...
gpl-2.0
n0xus/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Icon_Prototype.lua
16
1390
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Icon Prototype ----------------------------------- package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("script...
gpl-3.0
n0xus/darkstar
scripts/globals/items/slice_of_juicy_mutton.lua
35
1397
----------------------------------------- -- ID: 4335 -- Item: slice_of_juicy_mutton -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 35 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
Thadah/NSPlugins
crafting/entities/weapons/hl2_m_wrench.lua
2
2134
if (SERVER) then SWEP.Weight = 10 SWEP.AutoSwitchTo = false SWEP.AutoSwitchFrom = false end if ( CLIENT ) then SWEP.PrintName = "Wrench" SWEP.Author = "Black Tea" SWEP.Instructions = "Left click to attack." SWEP.ShowWorldModel = false SWEP.ViewModelBoneMods = { ["v_weapon.Knife_Handle"] = { s...
gpl-3.0
peete-q/lua-socket
samples/lpr.lua
59
1574
local lp = require("socket.lp") local function usage() print('\nUsage: lua lpr.lua [filename] [keyword=val...]\n') print('Valid keywords are :') print( ' host=remote host or IP address (default "localhost")\n' .. ' queue=remote queue or printer name (default "printer")\n' .. ' port=remote port ...
mit
n0xus/darkstar
scripts/zones/Windurst_Waters/npcs/Qhum_Knaidjn.lua
17
2806
----------------------------------- -- Area: Windurst Waters -- NPC: Qhum_Knaidjn -- Type: Guildworker's Union Representative -- @zone: 238 -- @pos -112.561 -2 55.205 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globals/keyitems"); r...
gpl-3.0
n0xus/darkstar
scripts/zones/Metalworks/npcs/HomePoint#2.lua
19
1185
----------------------------------- -- Area: Metalworks -- NPC: HomePoint#2 -- @pos: -78 2 2 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Metalworks/TextIDs"); require("scripts/globals/homepoint"); ----...
gpl-3.0