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
Ombridride/minetest-minetestforfun-server
mods/more_chests/cobble.lua
8
3467
local function has_locked_chest_privilege(meta, player) if player:get_player_name() ~= meta:get_string("owner") then return false end return true end minetest.register_node("more_chests:cobble", { description = "Cobble Chest", tiles = {"default_cobble.png", "default_cobble.png", "default_cobble.png", "default...
unlicense
Ombridride/minetest-minetestforfun-server
mods/homedecor_modpack/homedecor/doors_and_gates.lua
7
20086
-- Node definitions for Homedecor doors local S = homedecor.gettext -- doors local function isSolid(pos,adj) local adj = {x=adj[1],y=adj[2],z=adj[3]} local node = minetest.get_node(vector.add(pos,adj)) if node then local idef = minetest.registered_nodes[minetest.get_node(vector.add(pos,adj)).name...
unlicense
jshackley/darkstar
scripts/zones/Crawlers_Nest/npcs/qm12.lua
57
2120
----------------------------------- -- Area: Crawlers' Nest -- NPC: qm12 (??? - Exoray Mold Crumbs) -- Involved in Quest: In Defiant Challenge -- @pos 99.326 -0.126 -188.869 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
jshackley/darkstar
scripts/globals/mobskills/Astral_Flow_Pet.lua
4
2687
--------------------------------------------------- -- Astral Flow -- Will make existing pet use astral flow skill --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------...
gpl-3.0
jshackley/darkstar
scripts/globals/items/bowl_of_yayla_corbasi.lua
35
1482
----------------------------------------- -- ID: 5579 -- Item: bowl_of_yayla_corbasi -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 20 -- Dexterity -1 -- Vitality 2 -- HP Recovered While Healing 3 -- MP Recovered While Healing 1 ----------------------------------------- req...
gpl-3.0
hockeychaos/Core-Scripts-1
CoreScriptsRoot/Modules/HttpAnalyticsTab.lua
2
17316
local ROW_HEIGHT = 20 local COL_WIDTH = 100 local BORDER_WIDTH = 1 local BORDER_COLOR = Color3.new(1,1,1) local STD_BG_COLOR = Color3.new(0.25, 0.75, 0.75) local ALT_BG_COLOR = Color3.new(0.25, 0.25, 0.75) local TEXT_COLOR = Color3.new(1, 1, 1) local SORTED_TITLE_COLOR = Color3.new(1,0,1) local BG_TRANSPARENCY = 0.9 l...
apache-2.0
jshackley/darkstar
scripts/zones/La_Theine_Plateau/npcs/Narvecaint.lua
17
1702
----------------------------------- -- Area: La Theine Plateau -- NPC: Narvecaint -- Involved in Mission: The Rescue Drill -- @pos -263 22 129 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
golden-tech-native/gd_facerecognize
facelib/openface/models/openface/nn4.small2.def.lua
14
4434
-- Model: nn4.small2.def.lua -- Description: FaceNet's NN4 network with 4b, 4c, and 4d layers removed -- and smaller 5 layers. -- Input size: 3x96x96 -- Number of Parameters from net:getParameters() with embSize=128: 3733968 -- Components: Mostly `nn` -- Devices: CPU and CUDA -- -- Brandon Amos <http://bamos.github.i...
mit
jshackley/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Vanguard_Eye.lua
1
2878
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Vanguard_Eye -- Map Position: http://images.wikia.com/ffxi/images/c/cc/Xar.jpg ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); ----------------------------------- -- onMobInitia...
gpl-3.0
jshackley/darkstar
scripts/globals/items/gateau_aux_fraises.lua
36
1415
----------------------------------------- -- ID: 5542 -- Item: Gateau aux fraises -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP 8 -- MP 8% Cap 50 -- Intelligence 1 -- MP Recovered while healing 1 ----------------------------------------- require("scripts/globals...
gpl-3.0
mohammad12344/powerdark
plugins/translate.lua
58
1663
--[[ -- 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/zones/Tavnazian_Safehold/npcs/Nilerouche.lua
37
1301
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Nilerouche -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Miah_Riyuh.lua
50
5024
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Miah Riyuh -- @pos 5.323 -2 37.462 94 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyite...
gpl-3.0
Keithenneu/Dota2-FullOverwrite
modes/fight.lua
1
5481
------------------------------------------------------------------------------- --- AUTHOR: Nostrademous --- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite ------------------------------------------------------------------------------- BotsInit = require( "game/botsinit" ) local X = BotsInit.CreateGe...
gpl-3.0
iofun/treehouse
luerl/5c69cfdfffcecb0d77b7b7bac87fd4f8.lua
1
2059
-- Our unit function table local this_unit = {} -- Where we are and fast we move local x, y, dx, dy -- Our name local name = "Protoss_Forge" -- Our color local color = "yellow" -- Our BWAPI unit type local type = 166 -- Size of a clock tick msec local tick -- It's me, the unit structure local me = unit.self() -- The...
agpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Pihra_Rhebenslo.lua
36
4463
----------------------------------- -- Area: Windurst Waters [S] -- NPC: Pihra_Rhebenslo -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/a...
gpl-3.0
JoMiro/arcemu
src/scripts/lua/LuaBridge/AUCHINDOUN/SHADOW_LABYRINTH/hellmaw.lua
13
7317
--?!MAP=555 assert( include("shadowlabyrinth.lua") , "Failed to load shadowlabyrinth.lua") local mod = require("DUNGEON_AUCHINDOUN.INSTANCE_SHADOW_LABYRINTH") if(type(mod) ~= "table") then error("Missing Shadow Labyrinth module!") end module(mod._NAME..".AMBASSADOR_HELLMAW",package.seeall) local self = getfenv(1) fun...
agpl-3.0
jshackley/darkstar
scripts/zones/Carpenters_Landing/npcs/Beugungel.lua
19
1190
----------------------------------- -- Area: Carpenters' Landing -- NPC: Beugungel -- Type: Guild Merchant NPC (Woodworking Guild) -- @pos -333.729, -5.512, 475.647 2 ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
jshackley/darkstar
scripts/globals/items/elshimo_coconut.lua
35
1217
----------------------------------------- -- ID: 5187 -- Item: elshimo_coconut -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -1 -- Intelligence -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
jshackley/darkstar
scripts/zones/Rabao/npcs/Dancing_Wolf.lua
19
1645
----------------------------------- -- Area: Rabao -- NPC: Dancing Wolf -- Type: Standard NPC -- @zone: 247 -- @pos 7.619 7 81.209 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; -------------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Den_of_Rancor/npcs/Treasure_Coffer.lua
17
3342
----------------------------------- -- Area: Den of Rancor -- NPC: Treasure Coffer -- @zone 160 -- @pos ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems...
gpl-3.0
jshackley/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/qm1.lua
17
1641
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: ??? -- Involved in Quests: Acting in Good Faith -- @zone 195 -- @pos -17 0 59 (I-10) -- @pos -- @pos -- @pos ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; --------------...
gpl-3.0
a1ive/grub2-filemanager
boot/grubfm/language.lua
1
1516
#!lua -- Grub2-FileManager -- Copyright (C) 2020 A1ive. -- -- Grub2-FileManager 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
hockeychaos/Core-Scripts-1
CoreScriptsRoot/Modules/PlayerPermissionsModule.lua
1
1147
local PlayerPermissionsModule = {} local function HasRankInGroupFunctionFactory(groupId, requiredRank) local hasRankCache = {} assert(type(requiredRank) == "number", "requiredRank must be a number") return function(player) if player and player.UserId > 0 then if hasRankCache[player.UserId] == nil then loca...
apache-2.0
jshackley/darkstar
scripts/zones/Port_Windurst/npcs/Hakkuru-Rinkuru.lua
17
7052
----------------------------------- -- Area: Port Windurst -- NPC: Hakkuru-Rinkuru -- Involved In Quest: Making Amends -- Starts and Ends Quest: Wonder Wands -- @pos -111 -4 101 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; package.loaded["scripts/globals/...
gpl-3.0
anoidgit/reading-comprehension
models/Full2QAM.lua
1
1567
require "nngraph" require "deps.vecLookup" require "deps.TableContainer" require "deps.SequenceContainer" require "models.FullTagger" require "deps.MaxColl" return function (osize, hsize, cisize, nlayer, hidsize) local function halfsize(sizein) local rs = math.ceil(sizein/2) if rs%2==1 then rs = rs + 1 end ...
gpl-3.0
wfxiang08/thrift
lib/lua/TCompactProtocol.lua
30
13135
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
jshackley/darkstar
scripts/zones/Giddeus/npcs/Quu_Bokye.lua
19
1876
----------------------------------- -- Area: Giddeus -- NPC: Quu Bokye -- Involved in Quest: Dark Legacy -- @pos -159 16 181 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Giddeus/TextIDs"); -------------------...
gpl-3.0
wilhantian/catui
catui/Utils/Utils.lua
1
1441
local point = {} function point.rotate(x, y, ox, oy, r) local angle = r * math.pi / 180 local sinAngle = math.sin(angle) local cosAngle = math.cos(angle) if ox == 0 and oy == 0 then local tempX = x * cosAngle - y * sinAngle y = y * cosAngle + x * sinAngle x = tempX else ...
mit
Ombridride/minetest-minetestforfun-server
minetestforfun_game/mods/farming/init.lua
7
16938
--[[ Minetest Farming Redo Mod 1.22 (4th June 2016) by TenPlus1 NEW growing routine by prestidigitator auto-refill by crabman77 ]] farming = {} farming.mod = "redo" farming.path = minetest.get_modpath("farming") farming.hoe_on_use = default.hoe_on_use farming.select = { type = "fixed", fixed = {-0.5, -0.5, -0.5,...
unlicense
jshackley/darkstar
scripts/zones/Apollyon/bcnms/CS_Apollyon.lua
19
1260
----------------------------------- -- Area: Appolyon -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[CS_Apollyon]UniqueID",Generat...
gpl-3.0
jshackley/darkstar
scripts/globals/items/bowl_of_mog_pudding.lua
36
1154
----------------------------------------- -- ID: 6009 -- Item: Bowl of Mog Pudding -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 7 -- Vitality 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----...
gpl-3.0
SpRoXx/GTW-RPG
[resources]/GTWtraindriver/train_c.lua
1
8597
--[[ ******************************************************************************** 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/La_Theine_Plateau/npcs/Laurisse.lua
17
1709
----------------------------------- -- Area: La Theine Plateau -- NPC: Laurisse -- Involved in Mission: The Rescue Drill -- @pos -292 28 143 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/mi...
gpl-3.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/modules/admin-full/luasrc/model/cbi/admin_system/startup.lua
5
2852
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2012 Jo-Philipp Wich <xm@subsignal.org> Copyright 2010 Manuel Munz <freifunk at somakoma dot de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with t...
gpl-2.0
jshackley/darkstar
scripts/zones/Upper_Jeuno/npcs/Rouliette.lua
17
2208
----------------------------------- -- Area: Upper Jeuno -- NPC: Rouliette -- Starts and Finishes Quest: Candle-making -- @zone 244 -- @pos -24 -2 11 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; --------------...
gpl-3.0
hockeychaos/Core-Scripts-1
PlayerScripts/StarterPlayerScripts/CameraScript/Invisicam.lua
1
20200
--[[ Invisicam Modified 5.16.2017 by AllYourBlox to consider combined transparency when looking through multiple parts, and to add a mode that takes advantage of the reduced cost of ray casts from re-implementing GetPartsObscuringTarget on the C++ side to be O(N) for N parts hit, rather than O(N^2), and to have o...
apache-2.0
Shahabambesik/merbot
plugins/webshot.lua
1
1614
do local helpers = require 'OAuth.helpers' local base = 'https://screenshotmachine.com/' local url = base..'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = 'GET', sink = ltn12.sink.table(response_body), ...
gpl-2.0
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Arpetion.lua
36
1469
----------------------------------- -- Area: Southern San d'Oria -- NPC: Arpetion -- General Info NPC -- @zone 230 -- @pos -11 1 -30 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings...
gpl-3.0
Ombridride/minetest-minetestforfun-server
minetestforfun_game/mods/default/trees.lua
6
16367
local random = math.random -- -- Grow trees from saplings -- -- 'can grow' function function default.can_grow(pos) local node_under = minetest.get_node_or_nil({x = pos.x, y = pos.y - 1, z = pos.z}) if not node_under then return false end local name_under = node_under.name local is_soil = minetest.get_item_gro...
unlicense
LiberatorUSA/GUCEF
dependencies/DVPACKSYS/premake4.lua
1
1629
-------------------------------------------------------------------- -- 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
DipColor/mehrabon3
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
adminmagma/telegood
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
dani-sj/tekmilienod
plugins/chat_bot.lua
21
2121
local function run(msg) if msg.text == "یاقی" then return "کی اسم سازندمو صدا زد؟" end if msg.text == "Umbrella" then return "کیر نود32 هم نی" end if msg.text == "umbrella" then return "کیر نود32 هم نی" end if msg.text == "نود32" then return "hum?" end if msg.text == "اسپم" then return "کس ننت میذارم بخای اسپم کن...
gpl-2.0
jshackley/darkstar
scripts/zones/Abyssea-Attohwa/npcs/qm19.lua
17
1523
----------------------------------- -- Zone: Abyssea-Attohwa -- NPC: ??? -- Spawns: Ulhuadshi ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(pla...
gpl-3.0
birkett/MCServer
Server/Plugins/APIDump/Hooks/OnEntityAddEffect.lua
36
1593
return { HOOK_ENTITY_ADD_EFFECT = { CalledWhen = "An entity effect is about to get added to an entity.", DefaultFnName = "OnEntityAddEffect", -- also used as pagename Desc = [[ This hook is called whenever an entity effect is about to be added to an entity. The plugin may disallow the addition by returni...
apache-2.0
kidaa/turbo
examples/chunked.lua
12
1209
--- Turbo.lua Streaming write example -- -- 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 re...
apache-2.0
jshackley/darkstar
scripts/zones/VeLugannon_Palace/npcs/Monolith.lua
17
3651
----------------------------------- -- Area: VeLugannon Palace -- NPC: Monolith -- @pos <many> ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/zones/VeLugannon_Palace/TextIDs"); -----------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Palborough_Mines/TextIDs.lua
15
1671
-- 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/WorldEdit/worldedit_shortcommands/init.lua
8
2335
--provides shorter names for the commands in `worldedit_commands` --returns true if command could not be aliased, false otherwise worldedit.alias_chatcommand = function(alias, original_command) if not minetest.chatcommands[original_command] then minetest.log("error", "worldedit_shortcommands: original command ...
unlicense
joelghill/SciFiGames
TileMapImport/map.lua
1
4160
--[[ Joel Hill joel.hill.87@gmail.com map.lua contains functions used to load a tilemap as defined in a lua table, and displays it on the screen. This file refers to a "texture atlas" a lot. That is the image we made our map out of. For more info on what a texture atlas is, start here: https://en.wikipedia.o...
apache-2.0
tst2005/love-modular
sample/with/modules/lovemodular.lua
2
8584
--[[-------------------------------------------------------- -- Dragoon Framework - A Framework for Lua/LOVE -- -- Copyright (c) 2014-2015 TsT worldmaster.fr -- --]]-------------------------------------------------------- -- API: -- the module to register must have a __love field -- the __love field must have one or...
mit
jshackley/darkstar
scripts/zones/Cloister_of_Flames/bcnms/trial-size_trial_by_fire.lua
19
2053
----------------------------------- -- Area: Cloister of Flames -- BCNM: Trial-size Trial by Fire -- @pos -721 0 -598 207 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/glo...
gpl-3.0
kts12345/redis
deps/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
bsd-3-clause
asmagill/hs._asm.luathread
luaskin/modules/image/init.lua
6
4086
local _kMetaTable = {} _kMetaTable._k = setmetatable({}, {__mode = "k"}) _kMetaTable._t = setmetatable({}, {__mode = "k"}) _kMetaTable.__index = function(obj, key) if _kMetaTable._k[obj] then if _kMetaTable._k[obj][key] then return _kMetaTable._k[obj][key] else ...
mit
jshackley/darkstar
scripts/globals/items/serving_of_squirrels_delight.lua
35
1341
----------------------------------------- -- ID: 5554 -- Item: serving_of_squirrels_delight -- Food Effect: 4Hrs, All Races ----------------------------------------- -- MP % 13 (cap 95) -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status"); ------------...
gpl-3.0
jshackley/darkstar
scripts/globals/items/plate_of_bream_sushi_+1.lua
35
1470
----------------------------------------- -- ID: 5177 -- Item: plate_of_bream_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 6 -- Vitality 5 -- Accuracy % 17 -- Ranged ACC % 17 -- Sleep Resist 5 ----------------------------------------- require("scripts/glo...
gpl-3.0
jshackley/darkstar
scripts/globals/items/tavnazian_salad.lua
35
1678
----------------------------------------- -- ID: 4279 -- Item: tavnazian_salad -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 20 -- Magic 20 -- Dexterity 4 -- Agility 4 -- Vitality 6 -- Charisma 4 -- Defense % 25 -- Defense Cap 150 ------------------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Machionage.lua
17
1586
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Machionage -- @zone 80 -- @pos -255 -3 109 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests...
gpl-3.0
LiberatorUSA/GUCEF
tools/GucefLogServiceLib/premake5.lua
1
2654
-------------------------------------------------------------------- -- 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/zones/Meriphataud_Mountains/npcs/Stone_Monument.lua
32
1308
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 450.741 2.110 -290.736 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; -------------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Sauromugue_Champaign_[S]/npcs/Cavernous_Maw.lua
16
2224
----------------------------------- -- Area: Sauromugue Champaign [S] -- NPC: Cavernous Maw -- @pos 369 8 -227 98 -- Teleports Players to Sauromugue_Champaign ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil; ----------------------------------- requir...
gpl-3.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/FileUtils.lua
4
3604
-------------------------------- -- @module FileUtils -------------------------------- -- @function [parent=#FileUtils] fullPathForFilename -- @param self -- @param #string str -- @return string#string ret (return value: string) -------------------------------- -- @function [parent=#FileUtils] getStringFrom...
mit
mohammad12344/powerdark
plugins/info.lua
2
8935
do local Arian = 144616352 --put your id here(BOT OWNER ID) local function setrank(msg, name, value) -- setrank function local hash = nil if msg.to.type == 'chat' then hash = 'rank:'..msg.to.id..':variables' end if hash then redis:hset(hash, name, value) return send_msg('chat#id'..msg.to.id, 'مقام کار...
gpl-2.0
jshackley/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua
17
2437
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Worn Book -- Getting "Old Rusty Key (keyitem)" -- @pos 59 0 19 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyit...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/sinewy_etude.lua
18
1762
----------------------------------------- -- Spell: Sinewy Etude -- Static STR Boost, BRD 24 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMag...
gpl-3.0
jshackley/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Nijaom.lua
33
1031
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Nijaom -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); -----------...
gpl-3.0
jshackley/darkstar
scripts/zones/Abyssea-Grauberg/npcs/qm13.lua
17
1364
----------------------------------- -- Zone: Abyssea-Grauberg -- NPC: ??? -- Spawns: Azdaja ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(playe...
gpl-3.0
jshackley/darkstar
scripts/globals/items/coffeecake_muffin_+1.lua
35
1377
----------------------------------------- -- ID: 5656 -- Item: coffeecake_muffin_+1 -- Food Effect: 1Hr, All Races ----------------------------------------- -- Mind 2 -- Strength -1 -- MP % 10 (cap 90) ----------------------------------------- require("scripts/globals/status"); ---------------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/npcs/qm1.lua
15
2751
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- NPC: ??? (Ix'Aern - MNK) -- @pos 460 0 540 -- ID: 16916819 ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Grand_Palace_of_...
gpl-3.0
jshackley/darkstar
scripts/commands/addcurrency.lua
26
1362
--------------------------------------------------------------------------------------------------- -- func: @addcurrency <currency type> <amount> <target player> -- desc: Adds the specified currency to the player --------------------------------------------------------------------------------------------------- ...
gpl-3.0
hockeychaos/Core-Scripts-1
PlayerScripts/StarterPlayerScripts/ControlScript/MasterControl/Gamepad.lua
1
6731
--[[ // FileName: Gamepad // Written by: jeditkacheff // Description: Implements movement controls for gamepad devices (XBox, PS4, MFi, etc.) --]] local Gamepad = {} local MasterControl = require(script.Parent) local Players = game:GetService('Players') local RunService = game:GetService('RunService') local UserIn...
apache-2.0
DarkRainX/ufoai
base/ufos/ui/base.section.facilities.lua
2
4676
--!usr/bin/lua --[[ -- @file -- @brief Facilities base menu section --]] --[[ Copyright (C) 2002-2020 UFO: Alien Invasion. 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 2 of the Li...
gpl-2.0
jshackley/darkstar
scripts/zones/Kazham/npcs/Dodmos.lua
19
2905
----------------------------------- -- Area: Kazham -- NPC: Dodmos -- Starts Quest: Trial Size Trial By Fire -- @pos 102.647 -14.999 -97.664 250 ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
gpl-3.0
jshackley/darkstar
scripts/globals/items/nopales_salad_+1.lua
36
1143
----------------------------------------- -- ID: 5702 -- Item: Nopales Salad +1 -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Strength 2 -- Agility 7 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---...
gpl-3.0
jshackley/darkstar
scripts/globals/items/senroh_skewer.lua
36
1404
----------------------------------------- -- ID: 5982 -- Item: Senroh Skewer -- Food Effect: 30 Mins, All Races ----------------------------------------- -- Dexterity 2 -- Vitality 3 -- Mind -1 -- Defense % 25 Cap 150 ----------------------------------------- require("scripts/globals/status"); -----------------------...
gpl-3.0
jshackley/darkstar
scripts/globals/items/sausage_roll.lua
35
1655
----------------------------------------- -- ID: 4396 -- Item: sausage_roll -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 6 -- Vitality 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 -- Ranged ATT % 27 -- Ranged ATT Cap 30 --------------------------------------...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/paralyze_ii.lua
18
2288
----------------------------------------- -- Spell: Paralyze II -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Paralyze II value per point is '1' This is a co...
gpl-3.0
jshackley/darkstar
scripts/globals/items/bunny_ball.lua
35
1739
----------------------------------------- -- ID: 4349 -- Item: Bunny Ball -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 10 -- Strength 2 -- Vitality 2 -- Intelligence -1 -- Attack % 30 -- Attack Cap 25 -- Ranged ATT % 30 -- Ranged ATT Cap 25 -------------------------...
gpl-3.0
Ombridride/minetest-minetestforfun-server
minetestforfun_game/mods/xpanes/init.lua
6
4518
xpanes = {} local function is_pane(pos) return minetest.get_item_group(minetest.get_node(pos).name, "pane") > 0 end local function connects_dir(pos, name, dir) local aside = vector.add(pos, minetest.facedir_to_dir(dir)) if is_pane(aside) then return true end local connects_to = minetest.registered_nodes[name]...
unlicense
Shahabambesik/merbot
plugins/rss.lua
2
6217
do local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex..':'..option if extra ~= nil then ex = ex..':'..extra end end return 'rss:'..id..ex end local function prot_url(url) local url, h = url:gsub('http://', '') local url,...
gpl-2.0
jshackley/darkstar
scripts/globals/items/pestle.lua
41
1123
----------------------------------------- -- ID: 18599 -- Item: Pestle -- Additional effect: MP Drain ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- fun...
gpl-3.0
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Dahjal.lua
34
1231
----------------------------------- -- Area: Southern San d'Oria -- NPC: Dahjal -- first in conquest Npc -- @zone 230 -- @pos ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/T...
gpl-3.0
jshackley/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/npcs/HomePoint#1.lua
2
1226
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- NPC: HomePoint#3 -- @pos -12 0.5 -288 34 ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"); r...
gpl-3.0
DipColor/mehrabon3
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
drhelius/Gearboy
platforms/ios/dependencies/SDL-2.0.4-9174/premake/util/sdl_projects.lua
9
16074
-- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purp...
gpl-3.0
jshackley/darkstar
scripts/zones/Southern_San_dOria/npcs/Camereine.lua
28
2490
----------------------------------- -- Area: Southern San d'Oria -- NPC: Camereine -- Type: Chocobo Renter -- @pos -8 1 -100 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/chocobo"); require("...
gpl-3.0
mohammad12344/powerdark
plugins/welcome.lua
114
3529
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
jshackley/darkstar
scripts/zones/Beadeaux_[S]/Zone.lua
28
1315
----------------------------------- -- -- Zone: Beadeaux_[S] (92) -- ----------------------------------- package.loaded["scripts/zones/Beadeaux_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Beadeaux_[S]/TextIDs"); ----------------------...
gpl-3.0
ScottNZ/OpenRA
mods/ra/maps/soviet-05/main.lua
33
8124
CheckForBase = function() baseBuildings = Map.ActorsInBox(Map.TopLeft, CFBPoint.CenterPosition, function(actor) return actor.Type == "fact" or actor.Type == "powr" end) return #baseBuildings >= 2 end CheckForCYard = function() ConYard = Map.ActorsInBox(mcvGGLoadPoint.CenterPosition, ReinfEastPoint.CenterPositio...
gpl-3.0
jshackley/darkstar
scripts/globals/weaponskills/glory_slash.lua
18
1563
----------------------------------- -- Glory Slash -- Sword weapon skill -- Skill Level: NA -- Only avaliable during Campaign Battle while weilding Lex Talionis. -- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun. -- Will stack with Sneak Attack. -- Aligned with t...
gpl-3.0
Maarcelo-Mk/StarWars
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-3.0
jshackley/darkstar
scripts/zones/Mhaura/npcs/Koh_Lenbalalako.lua
19
2176
----------------------------------- -- Area: Mhaura -- NPC: Koh Lenbalalako -- Type: Standard NPC -- @pos -64.412 -17 29.213 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/g...
gpl-3.0
bsmr-games/OpenRA
lua/sandbox.lua
84
5098
local sandbox = { _VERSION = "sandbox 0.5", _DESCRIPTION = "A pure-lua solution for running untrusted Lua code.", _URL = "https://github.com/kikito/sandbox.lua", _LICENSE = [[ MIT LICENSE Copyright (c) 2013 Enrique García Cota Permission is hereby granted, free of charge, to an...
gpl-3.0
jshackley/darkstar
scripts/zones/Behemoths_Dominion/npcs/Cermet_Headstone.lua
17
2940
----------------------------------- -- Area: Behemoth's Dominion -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Lightning Headstone) -- @pos -74 -4 -87 127 ----------------------------------- package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil; --------------------------...
gpl-3.0
MeGaTG/amirdb
bot/permissions.lua
43
1333
local sudos = { "plugins", "rank_admin", "bot", "lang_install", "set_lang", "tosupergroup", "gban_installer" } local admins = { "rank_mod", "gban", "ungban", "setrules", "setphoto", "creategroup", "setname", "addbots", "setlink", "rank_guest", "description", "export_...
gpl-2.0
jshackley/darkstar
scripts/globals/items/serving_of_salmon_roe.lua
35
1341
----------------------------------------- -- ID: 5218 -- Item: serving_of_salmon_roe -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 8 -- Magic 8 -- Dexterity 2 -- Mind -1 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/mesecons/mesecons_switch/init.lua
13
1208
-- mesecons_switch mesecon.register_node("mesecons_switch:mesecon_switch", { paramtype2="facedir", description="Switch", sounds = default.node_sound_stone_defaults(), on_rightclick = function (pos, node) if(mesecon.flipstate(pos, node) == "on") then mesecon.receptor_on(pos) else mesecon.receptor_off(pos)...
unlicense
jshackley/darkstar
scripts/zones/Ordelles_Caves/npcs/_5d1.lua
19
2616
----------------------------------- -- Area: Ordelle's Caves -- NPC: Strange Apparatus -- @pos: -294 28 -100 193 ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; require("scripts/zones/Ordelles_Caves/TextIDs"); require("scripts/globals/strangeapparatus"); ------------...
gpl-3.0
karlbunch/LordKator_TrinityMagic
LordKator_TrinityMagicQuery.lua
1
8212
-- -- LordKator_TrinityMagicQuery.lua - Simple Trinity Core Query Functions -- LKTM_Query = { queue = {}, history = {} } -- -- Query GPS via the .gps command -- -- typical_result = { -- ["doors"] = "outdoors", -- ["mapPosition"] = { -- ["zoneId"] = "3537", -- ["zoneName"] = "Borean Tundra", -- ...
mit