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
kjmac123/metabuilder
metabuilder/metabase/ndk_android.lua
1
1400
metabase "ndk_android" import "metabase_common.lua" import "platform_android.lua" supportedplatforms { "NDK", } writer "writer_ndk.lua" option("ndkoptions", "APP_ABI", "all") option("ndkoptions", "APP_PLATFORM", "android-14") option("ndkoptions", "NDK_TOOLCHAIN_VERSION", "clang") option("n...
mit
jshackley/darkstar
scripts/zones/Kazham/npcs/Khau_Mahiyoeloh.lua
15
1102
----------------------------------- -- Area: Kazham -- NPC: Khau Mahiyoeloh -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action -------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Temenos/bcnms/Temenos_Western_Tower.lua
19
1039
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[Temenos_W_Tower]UniqueID",GenerateLimbusKey()); HideArmouryCrates(GetInstanceRegion(1298),TEMENOS);...
gpl-3.0
goksie/newfies-dialer
lua/libs/pythonic/optparse.lua
8
6134
--[[ LUA MODULE pythonic.optparse - Lua-based partial reimplementation of Python's optparse [2-3] command-line parsing module. SYNOPSIS local OptionParser = require "pythonic.optparse" . OptionParser local opt = OptionParser{usage="%prog [options] [gzip-file...]", version="foo...
mpl-2.0
DipColor/mehrabon3
plugins/help.lua
290
1653
do -- Returns true if is not empty local function has_usage_data(dict) if (dict.usage == nil or dict.usage == '') then return false end return true end -- Get commands for that plugin local function plugin_help(name) local plugin = plugins[name] if not plugin then return nil end local text = "" if ...
gpl-2.0
LiberatorUSA/GUCEF
dependencies/tolua/src/bin/lua/feature.lua
14
2134
-- tolua: abstract feature class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: feature.lua,v 1.3 2009/11/24 16:45:14 fabraham Exp $ -- 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 obligati...
apache-2.0
LiberatorUSA/GUCEF
dependencies/tolua/src/bin/lua/clean.lua
7
1341
-- mark up comments and strings STR1 = "\001" STR2 = "\002" STR3 = "\003" STR4 = "\004" REM = "\005" ANY = "([\001-\005])" ESC1 = "\006" ESC2 = "\007" MASK = { -- the substitution order is important {ESC1, "\\'", "\\'"}, {ESC2, '\\"', '\\"'}, {STR1, "'", "'"}, {STR2, '"', '"'}, {STR3, "%[%[", "[["}, {STR4, "%]...
apache-2.0
jshackley/darkstar
scripts/zones/Yughott_Grotto/TextIDs.lua
15
1096
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6543; -- Obtained: <item>. GIL_OBTAINED = 6544; -- Obtained <number> gil. KEYITEM_OBTAINED = 6546; -- Obtained...
gpl-3.0
elbamos/nn
ClassSimplexCriterion.lua
10
3822
local ClassSimplexCriterion, parent = torch.class('nn.ClassSimplexCriterion', 'nn.MSECriterion') --[[ This file implements a criterion for multi-class classification. It learns an embedding per class, where each class' embedding is a point on an (N-1)-dimensional simplex, where N is the number of c...
bsd-3-clause
jshackley/darkstar
scripts/globals/spells/light_carol.lua
18
1505
----------------------------------------- -- Spell: Light Carol -- Increases light resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -----------...
gpl-3.0
jshackley/darkstar
scripts/zones/Dynamis-Valkurm/mobs/Avatar_Idol.lua
1
1131
----------------------------------- -- Area: Dynamis Valkurm -- MOB: Manifest_Idol ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("scripts/zones...
gpl-3.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/applications/luci-statistics/luasrc/model/cbi/luci_statistics/ping.lua
11
1439
--[[ Luci configuration model for statistics - collectd ping plugin configuration (c) 2008 Freifunk Leipzig / 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 ...
gpl-2.0
Ombridride/minetest-minetestforfun-server
mods/returnmirror/init.lua
9
4260
returnmirror = {} returnmirror.cost_teleport = 200 returnmirror.cost_set = 20 if tonumber(minetest.setting_get("returnmirror_cost_teleport")) ~= nil then returnmirror.cost_teleport = tonumber(minetest.setting_get("returnmirror_cost_teleport")) end if tonumber(minetest.setting_get("returnmirror_cost_set")) ~= nil then...
unlicense
Victek/wrt1900ac-aa
veriksystems/luci-0.11/contrib/luadoc/lua/luadoc/doclet/formatter.lua
171
2556
------------------------------------------------------------------------------- -- Doclet to format source code according to LuaDoc standard tags. This doclet -- (re)write .lua files adding missing standard tags. Texts are formatted to -- 80 columns and function parameters are added based on code analysis. -- -- @relea...
gpl-2.0
jshackley/darkstar
scripts/zones/Ifrits_Cauldron/npcs/qm4.lua
2
1574
----------------------------------- -- Area: Ifrit's Cauldron -- NPC: ??? -- Involved in Mission: Bastok 6-2 -- @pos 171 0 -25 205 ----------------------------------- package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); requi...
gpl-3.0
SpRoXx/GTW-RPG
[resources]/GTWpolice/blips.lua
2
1262
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.404rq.com/mta-se...
bsd-2-clause
jshackley/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/Runic_Portal.lua
17
2025
----------------------------------- -- Area: Alzadaal Undersea Ruins -- NPC: Runic Portal -- Arrapago Reef Teleporter Back to Aht Urgan Whitegate -- @pos 206.500 -1.220 33.500 72 -- @pos 206.500 -1.220 6.500 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] =...
gpl-3.0
jshackley/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/_0zt.lua
17
1389
----------------------------------- -- Area: The_Garden_of_RuHmet -- NPC: Luminus convergence ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Garden...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/email/hudkit.lua
12
1044
-- HudKit, by rubenwardy -- License: Either WTFPL or CC0, you can choose. local function hudkit() return { players = {}, add = function(self, player, id, def) local name = player:get_player_name() local elements = self.players[name] if not elements then self.players[name] = {} elements = self.p...
unlicense
jshackley/darkstar
scripts/zones/Port_Jeuno/npcs/Purequane.lua
17
1361
----------------------------------- -- Area: Port Jeuno -- NPC: Purequane -- @zone 246 -- @pos -76 8 54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/mesecons/mesecons_extrawires/crossover.lua
8
5068
function crossover_get_rules(node) return { {--first wire {x=-1,y=0,z=0}, {x=1,y=0,z=0}, }, {--second wire {x=0,y=0,z=-1}, {x=0,y=0,z=1}, }, } end local crossover_states = { "mesecons_extrawires:crossover_off", "mesecons_extrawires:crossover_01", "mesecons_extrawires:crossover_10", "mesecons_...
unlicense
sp3ctum/lean
tests/lua/old/hop2.lua
6
4657
import("util.lua") function pibody(e) while (e:is_pi()) do local _, _, r = e:fields() e = r end return e end function funbody(e) while (e:is_lambda()) do local _, _, r = e:fields() e = r end return e end function hoptst(rule, target, expected, perfect_match, no_env) if ex...
apache-2.0
luastoned/turbo
turbo/3rdparty/middleclass/middleclass.lua
12
5300
-- middleclass.lua - v2.0 (2011-09) -- Copyright (c) 2011 Enrique García Cota -- 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,...
apache-2.0
jshackley/darkstar
scripts/zones/La_Theine_Plateau/Zone.lua
17
5853
----------------------------------- -- -- Zone: La_Theine_Plateau (102) -- ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/La_Theine_Plateau/...
gpl-3.0
jshackley/darkstar
scripts/zones/Bostaunieux_Oubliette/npcs/Novalmauge.lua
17
4021
----------------------------------- -- Area: Bostaunieux Obliette -- NPC: Novalmauge -- Starts and Finishes Quest: The Rumor -- Involved in Quest: The Holy Crest, Trouble at the Sluice -- @pos 70 -24 21 167 ----------------------------------- package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil; ...
gpl-3.0
luastoned/turbo
spec/hash_spec.lua
12
1760
-- Turbo Unit test -- -- 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 applicabl...
apache-2.0
jshackley/darkstar
scripts/globals/mobs.lua
30
1617
----------------------------------- -- -- -- ----------------------------------- package.loaded["scripts/globals/conquest"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/missions"); require("scripts/globals/conquest"); require("scripts/globals/status"...
gpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Woods/npcs/Hauh_Colphioh.lua
17
2809
----------------------------------- -- Area: Windurst Woods -- NPC: Hauh Colphioh -- Type: Guildworker's Union Representative -- @zone: 241 -- @pos -38.173 -1.25 -113.679 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/globals/keyitems");...
gpl-3.0
ziweiwu/ziweiwu.github.io
vendor/cache/ruby/2.4.0/gems/pygments.rb-0.6.3/vendor/pygments-main/tests/examplefiles/example.lua
102
8677
--[[ Auctioneer Advanced Version: <%version%> (<%codename%>) Revision: $Id: CoreMain.lua 2233 2007-09-25 03:57:33Z norganna $ URL: http://auctioneeraddon.com/ This is an addon for World of Warcraft that adds statistical history to the auction data that is collected when the auction is scanned, so that you can ea...
mit
jshackley/darkstar
scripts/zones/Nashmau/npcs/Fhe_Maksojha.lua
19
2163
----------------------------------- -- Area: Nashmau -- NPC: Fhe Maksojha -- Type: Standard NPC -- @pos 19.084 -7 71.287 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/set...
gpl-3.0
SwadicalRag/hash.js
plugins/lua/user_modules/tetris.lua
4
4093
local L = true; local n = false; LEFT = true; RIGHT = false; local prints = { [L] = "#"; [n] = "_"; }; local pieces = { { pos = {1,1}; shape = { {L,L,n,n}, {L,L,n,n}, {n,n,n,n}, {n,n,n,n}, }; size = {2,2}; offset = 0; }, { pos = {1,4}; shape = { {L,L,L,L}, {n,n,n,n}, {n,n,n,n...
cc0-1.0
sugiartocokrowibowo/Algorithm-Implementations
Golden_Ratio_Algorithms/Lua/Yonaba/golden_ratio.lua
26
3449
-- Golden Ratio approximation algorithms -- See: http://en.wikipedia.org/wiki/Golden_ratio -- Fuzzy equality test local function fuzzy_equal(a, b, eps) return (math.abs(a - b) < eps) end -- Computes an approximate value of the Golden Ratio -- Using a root based iteration. -- See: http://en.wikipedia.org/wiki/Golden_r...
mit
jshackley/darkstar
scripts/globals/items/bowl_of_humpty_soup.lua
35
1400
----------------------------------------- -- ID: 4521 -- Item: Bowl of Humpty Soup -- Food Effect: 240Min, All Races ----------------------------------------- -- Health % 6 -- Health Cap 35 -- Magic 5 -- Health Regen While Healing 5 ----------------------------------------- require("scripts/globals/status")...
gpl-3.0
10sa/Advanced-Nutscript
nutscript/plugins/broadcast/entities/entities/nut_bdcast.lua
1
1103
ENT.Type = "anim" ENT.PrintName = "방송 시스템" ENT.Author = "Chessnut" ENT.Spawnable = true ENT.AdminOnly = true ENT.Category = "Nutscript" ENT.PersistentSave = false; if (SERVER) then function ENT:Initialize() self:SetModel("models/props_lab/citizenradio.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVE...
mit
sugiartocokrowibowo/Algorithm-Implementations
Fibonacci_series/Lua/Yonaba/fib.lua
26
1110
-- Fibonacci series implementation -- See: http://en.wikipedia.org/wiki/Fibonacci_number -- Implementation note: -- With respect to Lua's array numbering, with starts at 1, -- the following assumes that, given a function F which returns -- the i-th term in a Fibonacci series, -- F(0) is undefined -- F(1) = 1 -- F...
mit
simonhaines/vitamink
src/types/vector.lua
1
5468
-- Persistent vectors, modelled on Clojurescript vectors require("table") require("bit32") local function clone(array) -- 5.2 compatable -- Returns a copy of an array return table.pack(table.unpack(array)) end local function tailoffset(vector) -- Returns the offset (0-indexed) of the start of the tail node ...
mit
Ombridride/minetest-minetestforfun-server
mods/homedecor_modpack/homedecor/furniture_medieval.lua
9
3237
local S = homedecor.gettext homedecor.register("bars", { description = S("Bars"), tiles = { "homedecor_generic_metal_black.png^[transformR270" }, node_box = { type = "fixed", fixed = { { -0.5, -0.50, -0.10, -0.4, 0.50, 0.10 }, { -0.1, -0.50, -0.10, 0.1, 0.50, 0.10 }, { 0.4, -0.50, -0.10, 0.5, ...
unlicense
myth384/AdiButtonAuras
rules/Priest.lua
1
3360
--[[ AdiButtonAuras - Display auras on action buttons. Copyright 2013-2014 Adirelle (adirelle@gmail.com) All rights reserved. This file is part of AdiButtonAuras. AdiButtonAuras 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 Softwa...
gpl-3.0
LiberatorUSA/GUCEF
plugins/CORE/codecspluginSTBRUMMEHASH/premake4.lua
12
2365
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
apache-2.0
jshackley/darkstar
scripts/globals/effects/healing.lua
4
1837
----------------------------------- -- -- EFFECT_HEALING -- -- Activated through the /heal command ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) ...
gpl-3.0
jshackley/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Talwahn.lua
34
1032
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Talwahn -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----------...
gpl-3.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/applications/luci-qos/luasrc/model/cbi/qos/qos.lua
6
2669
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> 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 $Id: qos.lua 9...
gpl-2.0
jshackley/darkstar
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_HM.lua
1
1628
----------------------------------- -- Area: LaLoff Amphitheater -- MOB: Ark Angel HM ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/status"); ----...
gpl-3.0
Th2Evil/SuperPlus
libs/feedparser.lua
543
11955
local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...") local XMLElement = (loadfile "./libs/XMLElement.lua")() local dateparser = (loadfile "./libs/dateparser.lua")() local URL = (loadfile "./libs/url.lua")() local tinsert, tremove, tconcat = table.insert...
gpl-2.0
jshackley/darkstar
scripts/zones/Behemoths_Dominion/mobs/Behemoth.lua
7
1510
----------------------------------- -- Area: Behemoth's Dominion -- HNM: Behemoth ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize ----------------------------------- ...
gpl-3.0
studio666/cjdns
contrib/lua/cjdns/admin.lua
42
2939
-- Cjdns admin module for Lua -- Written by Philip Horger common = require 'cjdns/common' AdminInterface = {} AdminInterface.__index = AdminInterface common.AdminInterface = AdminInterface function AdminInterface.new(properties) properties = properties or {} properties.host = properties.host or "127.0.0...
gpl-3.0
jshackley/darkstar
scripts/globals/items/walnut.lua
36
1072
----------------------------------------- -- ID: 5661 -- Item: Walnut -- Food Effect: 5Min, All Races ----------------------------------------- -- HP 30 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------------------------...
gpl-3.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/Label.lua
3
10197
-------------------------------- -- @module Label -- @extend SpriteBatchNode,LabelProtocol -------------------------------- -- @function [parent=#Label] isClipMarginEnabled -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- @function [parent=#Label] enableShadow...
mit
hockeychaos/Core-Scripts-1
CoreScriptsRoot/Modules/Server/ClientChat/DefaultClientChatModules/MessageCreatorModules/DefaultChatMessage.lua
2
4282
-- // FileName: DefaultChatMessage.lua -- // Written by: TheGamer101 -- // Description: Create a message label for a standard chat message. local clientChatModules = script.Parent.Parent local ChatSettings = require(clientChatModules:WaitForChild("ChatSettings")) local ChatConstants = require(clientChatModules:WaitFor...
apache-2.0
jshackley/darkstar
scripts/globals/spells/bluemagic/chaotic_eye.lua
18
1455
----------------------------------------- -- Spell: Chaotic Eye -- Silences an enemy -- Spell cost: 13 MP -- Monster Type: Beasts -- Spell Type: Magical (Wind) -- Blue Magic Points: 2 -- Stat Bonus: AGI+1 -- Level: 32 -- Casting Time: 3 seconds -- Recast Time: 10 seconds -- Magic Bursts on: Detonation, Fragm...
gpl-3.0
jshackley/darkstar
scripts/zones/Cloister_of_Frost/Zone.lua
32
1658
----------------------------------- -- -- Zone: Cloister_of_Frost (203) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Frost/TextIDs"); ------...
gpl-3.0
jshackley/darkstar
scripts/zones/VeLugannon_Palace/mobs/Zipacna.lua
1
1801
----------------------------------- -- Area: VeLugannon Palace -- NPC: Zipacna ----------------------------------- local path = { -202, 0, 391, -209, 0, 387, -214, 0, 381, -238, 0, 380, -256, 4, 381, -261, 8, 400, -257, 12, 417, -240, 16, 420, -257, 12, 417, -261, 8, 400, -256, 4, 381, -238, 0, 380, -214, 0, 381, -209...
gpl-3.0
jshackley/darkstar
scripts/zones/Port_Windurst/npcs/Martin.lua
19
1228
----------------------------------- -- Area: Port Windurst -- NPC: Martin -- Type: Standard NPC ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ----------------------------------- -- onTrade Action ------------------...
gpl-3.0
knipferrc/dotfiles
nvim/lua/user/project.lua
4
1835
local status_ok, project = pcall(require, "project_nvim") if not status_ok then return end project.setup({ ---@usage set to false to disable project.nvim. --- This is on by default since it's currently the expected behavior. active = true, on_config_done = nil, ---@usage set to true to disable setting the curre...
mit
jshackley/darkstar
scripts/globals/mobskills/Gusting_Gouge.lua
25
1025
--------------------------------------------- -- Gusting Gouge -- -- Description: Deals Wind damage in a threefold attack to targets in a fan-shaped area of effect. -- Type: Physical? -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Melee? -- Notes: Used only by Lamia equipped with a one-handed weapon. If t...
gpl-3.0
jshackley/darkstar
scripts/zones/Empyreal_Paradox/mobs/Promathia_2.lua
8
2578
----------------------------------- -- Area: Empyreal Paradox -- MOB: Promathia (phase 2) ----------------------------------- package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Empyreal_Paradox/TextIDs"); require("scripts/globals/status"); require...
gpl-3.0
Keithenneu/Dota2-FullOverwrite
itemPurchase/generic.lua
1
23261
------------------------------------------------------------------------------- --- AUTHOR: Nostrademous, dralois --- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite ------------------------------------------------------------------------------- DEBUG = false local utils = require( GetScriptDirectory(...
gpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Woods/npcs/Matata.lua
34
1781
----------------------------------- -- Area: Windurst Woods -- NPC: Matata -- Type: Standard NPC -- @zone: 241 -- @pos 131 -5 -109 -- Involved in quest: In a Stew ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/globals/titles"...
gpl-3.0
dani-sj/tekmilienod
plugins/anti_bot.lua
26
3209
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Daggao.lua
17
1975
----------------------------------- -- Area: Southern San d'Oria -- NPC: Daggao -- Involved in Quest: Peace for the Spirit, Lure of the Wildcat (San d'Oria) -- @pos 89 0 119 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; --------------------------------...
gpl-3.0
slanska/flexilite
src_lua/flexi_CreateClass.lua
1
7962
--- --- Created by slanska. --- DateTime: 2017-11-01 11:34 PM --- --[[ select flexi('create class', class_name [, class_def_JSON]) or select flexi('class create', class_name [, class_def_JSON]) or select flexi('create', class_name [, class_def_JSON]) or select flexi('class', class_name [, class_def_JSON]) Expected pa...
mpl-2.0
Ombridride/minetest-minetestforfun-server
mods/trm_pyramids/init.lua
9
5065
--[[ This is an example Treasure Registration Mod (TRM) for the default mod. It is meant to use together with the default mod and the treasurer mod. This TRM registers a bunch of items found in the default mod. Note that the probabilities may not be very well balanced, this file is just there as an example. It, ...
unlicense
jshackley/darkstar
scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Mercenary.lua
2
1028
----------------------------------- -- Area: Labyrinth of Onzozo -- MOB: Goblin Mercenary -- Note: Place holder Soulstealer Skullnix ----------------------------------- require("scripts/zones/Labyrinth_of_Onzozo/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function...
gpl-3.0
Mizugola/MeltingSaga
engine/Lib/Extlibs/pl/Map.lua
5
2669
--- A Map class. -- -- > Map = require 'Lib.Extlibs.pl.Map' -- > m = Map{one=1,two=2} -- > m:update {three=3,four=4,two=20} -- > = m == M{one=1,two=20,three=3,four=4} -- true -- -- Dependencies: `pl.utils`, `pl.class`, `pl.tablex`, `pl.pretty` -- @classmod pl.Map local tablex = require 'Lib.Extlibs.pl.t...
mit
doctorluk/ULX-Age-Verificator
ageverificator/lua/autorun/server/sv_ageverificator.lua
1
20128
-- Made by Luk -- http://steamcommunity.com/id/doctorluk/ -- Version: 1.3 -- https://github.com/doctorluk/ULX-Age-Verificator if SERVER then if not AGECHECK_LANGUAGE then include( "ageverificator_config.lua" ) end -- Make sure we always get valid Zodiacs from the player's net message VALID_ZODIACS = AGECHECK_ZODIAC...
mit
jshackley/darkstar
scripts/zones/Pashhow_Marshlands/npcs/Luck_Rune.lua
34
1089
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- @pos 573.245 24.999 199.560 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ------------------------------------- require("sc...
gpl-3.0
jshackley/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
Ombridride/minetest-minetestforfun-server
mods/christmas_craft/crafts.lua
9
8508
minetest.register_craft({ output = "christmas_craft:christmas_lights 4", recipe = { {"farming:string","default:mese_crystal", "farming:string"}, {"default:glass","default:glass", "default:glass"}, } }) minetest.register_craft({ output = "christmas_craft:christmas_leaves 4", recipe = { {"default:leaves","de...
unlicense
Ombridride/minetest-minetestforfun-server
mods/snow/src/aliases.lua
9
6741
-- Some aliases for compatibility switches and some to make "/give" commands -- a little easier minetest.register_alias("snow:needles", "default:pine_needles") minetest.register_alias("snow:snow", "default:snow") minetest.register_alias("default_snow", "default:snow") minetest.register_alias("snow:snowball", "default:...
unlicense
DipColor/mehrabon3
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
jshackley/darkstar
scripts/globals/quests.lua
13
38222
require("scripts/globals/npc_util"); ----------------------------------- -- -- QUESTS ID -- ----------------------------------- QUEST_AVAILABLE = 0; QUEST_ACCEPTED = 1; QUEST_COMPLETED = 2; ----------------------------------- -- Areas ID ----------------------------------- SANDORIA = 0; BASTOK ...
gpl-3.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsWorld.lua
3
2730
-------------------------------- -- @module PhysicsWorld -------------------------------- -- @function [parent=#PhysicsWorld] getGravity -- @param self -- @return Vec2#Vec2 ret (return value: cc.Vec2) -------------------------------- -- @function [parent=#PhysicsWorld] getAllBodies -- @param self -- @retur...
mit
jshackley/darkstar
scripts/zones/Throne_Room/mobs/Shadow_Lord.lua
1
5239
----------------------------------- -- Area: Throne Room -- MOB: Shadow Lord -- Mission 5-2 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMob...
gpl-3.0
ff94315/hiwifi-openwrt-HC5661-HC5761
staging_dir/target-mipsel_r2_uClibc-0.9.33.2/root-ralink/usr/lib/lua/ssl.lua
4
2319
------------------------------------------------------------------------------ -- LuaSec 0.4.1 -- Copyright (C) 2006-2011 Bruno Silvestre -- ------------------------------------------------------------------------------ module("ssl", package.seeall) require("ssl.core") require("ssl.context") _VERSION = "0.4.1" _C...
gpl-2.0
BeyondTeam/TeleBeyond
plugins/supergroup.lua
1
111051
--Begin supergrpup.lua --Check members #Add supergroup local function check_member_super(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg if success == 0 then send_large_msg(receiver, "ابتدا منو ادمین سوپر گروه کنید!") end for k,v in pairs(re...
agpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Waters/npcs/Chomo_Jinjahl.lua
33
1210
----------------------------------- -- Area: Windurst Waters -- NPC: Chomo Jinjahl -- Guild Merchant NPC: Cooking Guild -- @pos -105.094 -2.222 73.791 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
Victek/wrt1900ac-aa
feeds/xwrt/webif-iw-lua/files/usr/lib/lua/lua-xwrt/xwrt/util.lua
18
3762
require("webif2.addon.string") require("webif2.xwrt.translator") local string = string local io = io local os = os local pairs, ipairs = pairs, ipairs local table = table local type = type local print = print local tostring, tonumber = tostring, tonumber local __TOCHECK = __TOCHECK local __UCI_CMD = __UCI_CMD local _...
gpl-2.0
jshackley/darkstar
scripts/zones/Windurst_Woods/npcs/Aja-Panja.lua
38
1038
----------------------------------- -- Area: Windurst Woods -- NPC: Aja-Panja -- Type: Standard NPC -- @zone: 241 -- @pos -7.251 -6.55 -134.127 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -----------...
gpl-3.0
jshackley/darkstar
scripts/zones/Bibiki_Bay/npcs/Toh_Zonikki.lua
19
4706
----------------------------------- -- Area: Bibiki Bay -- NPC: Toh Zonikki -- Type: Clamming NPC -- @pos -371 -1 -421 4 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; require("scripts/zones/Bibiki_Bay/TextIDs"); require("scripts/globals/keyitems"); -------------------...
gpl-3.0
sugiartocokrowibowo/Algorithm-Implementations
Best_First_Search/Lua/Yonaba/utils/bheap.lua
78
2454
-- Binary Heap data structure implementation -- See: http://www.policyalmanac.org/games/binaryHeaps.htm -- Adapted from: https://github.com/Yonaba/Binary-Heaps local PATH = (...):gsub('%.bheap$','') local class = require (PATH .. '.class') -- Looks for item in an array local function findIndex(array, item) for k,v ...
mit
Shrike78/Shilke2D
Samples/FileSystem/IO_functions.lua
1
1335
require("Shilke2D/include") function test() print(IO.getBaseDir()) print(IO.getWorkingDir(false)) print(IO.getWorkingDir(true)) print(IO.getAbsolutePath("PlanetCute/PlanetCute.lua", false)) print(IO.getAbsolutePath("PlanetCute/PlanetCute.lua", true)) print(IO.getAbsolutePath("/PlanetCute/PlanetCute.lua", false))...
mit
dani-sj/tekmilienod
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
jshackley/darkstar
scripts/zones/Sauromugue_Champaign/npcs/Tiger_Bones.lua
17
1730
----------------------------------- -- Area: Sauromugue Champaign -- NPC: Tiger Bones -- Involed in Quest: The Fanged One. -- @pos 666 -8 -379 120 ------------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ------------------------------------- require("scripts/g...
gpl-3.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/libs/nixio/docsrc/CHANGELOG.lua
95
1036
--- Changes and improvements. module "CHANGELOG" --- Service Release. -- <ul> -- <li>Added getifaddrs() function.</li> -- <li>Added getsockopt(), setsockopt(), getsockname() and getpeername() -- directly to TLS-socket objects unifying the socket interface.</li> -- <li>Added support for CyaSSL as cryptographical backen...
gpl-2.0
jshackley/darkstar
scripts/zones/North_Gustaberg/npcs/Cavernous_Maw_2.lua
58
1887
----------------------------------- -- Area: North Gustaberg -- NPC: Cavernous Maw -- @pos -78 -0.5 600 106 -- Teleports Players to Abyssea - Grauberg ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setting...
gpl-3.0
iofun/treehouse
luerl/a8d96f9f101896509588e74ab62d3d8f.lua
1
2077
-- Our unit function table local this_unit = {} -- Where we are and fast we move local x, y, dx, dy -- Our name local name = "Protoss_Robotics_Facility" -- Our color local color = "yellow" -- Our BWAPI unit type local type = 155 -- Size of a clock tick msec local tick -- It's me, the unit structure local me = unit.s...
agpl-3.0
LiberatorUSA/GUCEF
platform/gucefIMAGE/premake5.lua
1
2773
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
apache-2.0
ScottNZ/OpenRA
mods/cnc/maps/nod01/nod01.lua
14
3143
InitialForcesA = { "bggy", "e1", "e1", "e1", "e1" } InitialForcesB = { "e1", "e1", "bggy", "e1", "e1" } RifleInfantryReinforcements = { "e1", "e1" } RocketInfantryReinforcements = { "e3", "e3", "e3", "e3", "e3" } SendInitialForces = function() Media.PlaySpeechNotification(nod, "Reinforce") Reinforcements.Reinforce...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/mobs/bunny.lua
7
2060
-- Bunny by ExeterDad mobs:register_mob("mobs:bunny", { -- animal, monster, npc type = "animal", -- is it aggressive passive = true, reach = 1, -- health & armor hp_min = 3, hp_max = 6, armor = 200, -- textures and model collisionbox = {-0.268, -0.5, -0.268, 0.268, 0.167, 0.268}, visual = "mesh", mesh =...
unlicense
iofun/treehouse
luerl/6531923c8f81b03535d041faa14c867c.lua
1
2158
-- The Queen is a quick-flying air unit with the ability to cast multiple spells. -- Our unit function table local this_unit = {} -- Where we are and fast we move local x, y, dx, dy -- Our name local name = "Zerg_Queen" -- Our color local color = "red" -- Our BWAPI unit type local type = 45 -- Our label local label = ...
agpl-3.0
andremm/lua-parser
lua-parser/parser.lua
1
19466
--[[ This module implements a parser for Lua 5.3 with LPeg, and generates an Abstract Syntax Tree that is similar to the one generated by Metalua. For more information about Metalua, please, visit: https://github.com/fab13n/metalua-parser block: { stat* } stat: `Do{ stat* } | `Set{ {lhs+} {expr+} } ...
mit
bsmr-games/OpenRA
mods/ra/maps/soviet-04a/reinforcements_teams.lua
20
2642
Civs = { civ1, civ2, civ3 } Village = { civ1, civ2, civ3, village1, village2, village5 } SovietMCV = { "mcv" } InfantryReinfGreece = { "e1", "e1", "e1", "e1", "e1" } Avengers = { "jeep", "1tnk", "2tnk", "2tnk", "1tnk" } Patrol1Group = { "jeep", "jeep", "2tnk", "2tnk" } Patrol2Group = { "jeep", "1tnk", "1tnk", "1tnk" } ...
gpl-3.0
jshackley/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Stone_Monument.lua
32
1299
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 320.755 -4.000 368.722 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
wilhantian/catui
catui/Control/UIImage.lua
2
2440
--[[ The MIT License (MIT) Copyright (c) 2016 WilhanTian 田伟汉 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, me...
mit
SpRoXx/GTW-RPG
[resources]/GTWgroups/c_gui.lua
2
12332
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Sebbe (smart), Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.4...
bsd-2-clause
BeyondTeam/TeleBeyond
plugins/setsticker.lua
1
1385
local function tosticker(msg, success, result) local receiver = get_receiver(msg) if success then local user_id = msg.from.id local file = './info/'..user_id..'.webp' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) send_document(get_receiver(msg), f...
agpl-3.0
jshackley/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Fochacha.lua
19
2525
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Fochacha -- Type: Standard NPC -- @pos 2.897 -1 -10.781 50 -- Quest: Delivering the Goods ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
jshackley/darkstar
scripts/zones/Mhaura/npcs/Bihoro-Guhoro.lua
17
1509
----------------------------------- -- Area: Mhaura -- NPC: Bihoro-Guhoro -- Involved in Quest: Riding on the Clouds -- @pos -28 -8 41 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requir...
gpl-3.0
jshackley/darkstar
scripts/zones/Port_San_dOria/npcs/Meinemelle.lua
38
1130
----------------------------------- -- Area: Port San d'Oria -- NPC: Meinemelle -- Type: Standard NPC -- @zone: 232 -- @pos -8.289 -9.3 -146.093 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require(...
gpl-3.0
jshackley/darkstar
scripts/zones/Bhaflau_Remnants/mobs/Colibri.lua
16
1620
----------------------------------- -- Area: Mamook -- MOB: Colibri ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobFight Action ----------------------------------- function onMobFight(mob, target) local delay =...
gpl-3.0