repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
MNKgod/darkstar
scripts/zones/Dynamis-Buburimu/mobs/Apocalyptic_Beast.lua
16
1498
----------------------------------- -- Area: Dynamis Buburimu -- NPC: Apocalyptic_Beast ----------------------------------- package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Buburimu/TextIDs"...
gpl-3.0
MNKgod/darkstar
scripts/zones/Port_Windurst/npcs/Milma-Hapilma_WW.lua
28
4886
----------------------------------- -- Area: Port Windurst -- NPC: Milma-Hapilma, W.W. -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start Supply Run M...
gpl-3.0
MNKgod/darkstar
scripts/zones/Kazham/npcs/Eron-Tomaron.lua
17
3610
----------------------------------- -- Area: Kazham -- NPC: Eron-Tomaron -- Title Change NPC -- @pos -22 -4 -24 250 ----------------------------------- require("scripts/globals/titles"); local title2 = { DISCERNING_INDIVIDUAL , VERY_DISCERNING_INDIVIDUAL , EXTREMELY_DISCERNING_INDIVIDUAL , 0 , 0 , 0 , 0 , 0 ...
gpl-3.0
MNKgod/darkstar
scripts/globals/abilities/curing_waltz_iii.lua
18
2259
----------------------------------- -- Ability: Curing Waltz III -- Heals HP to target player. -- Obtained: Dancer Level 45 -- TP Required: 50% -- Recast Time: 00:10 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Windurst_Woods/npcs/Valeriano.lua
36
1752
----------------------------------- -- Area: Windurst_Woods -- NPC: Valeriano -- Standard Merchant NPC -- Working 100% -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zone...
gpl-3.0
glenn-edgar/lua_frame_work
user_libraries/NotActive/zigbee/zigbeeScripts/background/zigbeeBackground.lua
2
4646
-- -- -- -- File: zigBee_controller.lua -- This file implements the control aspects for a zigbee controller -- -- -- zigbeeBackground = {} function zigbeeBackground.constructor( ttyDevice ) print("starting zigbee device") zigbeeControl.handle = zigbee.open(ttyDevice,3) -- 57 Kbits serial link assert( zi...
mit
MNKgod/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/_542.lua
17
2179
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Cermet Door for Basty Ambassador -- Bastok Mission 3.3 "Appointment to Jeuno" -- @pos 596 16 -19 184 ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; ------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/West_Sarutabaruta/npcs/Darumomo_WW.lua
30
3068
----------------------------------- -- Area: West Sarutabaruta -- NPC: Darumomo, W.W. -- Type: Border Conquest Guards -- @pos 399.450 -25.858 727.545 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/co...
gpl-3.0
sshling/ABTestingGateway
lib/abtesting/adapter/runtimegroup.lua
4
5697
--- -- @classmod abtesting.adapter.runtime -- @release 0.0.1 local modulename = "abtestingAdapterRuntimeGroup" local _M = {} local metatable = {__index = _M} _M._VERSION = "0.0.1" local ERRORINFO = require('abtesting.error.errcode').info local runtimeModule = require('abtesting.adapter.runtime') local sy...
mit
MNKgod/darkstar
scripts/globals/items/plate_of_crab_sushi_+1.lua
35
1377
----------------------------------------- -- ID: 5722 -- Item: plate_of_crab_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Vitality 1 -- Defense 10 -- Accuracy % 13 ----------------------------------------- require("scripts/globals/status"); -----------------------...
gpl-3.0
Yukkurigame/Yukkuri
bin/data/scripts/spawner.lua
1
1303
local Spawner = {} Spawner.__index = Spawner function Spawner.new() g = {} setmetatable(g, Spawner) g.items = {} g.max_spawn = configs:get( 'max_spawn', 'config_general', 'config' ) g.max_edibles = configs:get( 'max_edibles', 'config_general', 'config' ) local conf_video = configs:get( 'video', 'config_general...
mit
MNKgod/darkstar
scripts/commands/takegil.lua
26
1171
--------------------------------------------------------------------------------------------------- -- func: @takegil <amount> <player> -- desc: Removes the amount of gil from the given player. --------------------------------------------------------------------------------------------------- cmdprops = { p...
gpl-3.0
telespeed/telespeed_bot
plugins/tweet.lua
634
7120
local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json" local client = OAuth.new(consumer_key, consumer_secret, ...
gpl-2.0
cornernote/minetest-modulator_game
mods/nature/farming/hoes.lua
1
2049
local function create_soil(pos, inv, p) if pos == nil then return false end local node = minetest.env:get_node(pos) local name = node.name local above = minetest.env:get_node({x=pos.x, y=pos.y+1, z=pos.z}) if name == "default:dirt" or name == "default:dirt_with_grass" then if above.name == "air" then node....
gpl-3.0
jabza/Super-Fight-Fight
extlibs/anim.lua
8
5865
--[[ 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
DhavalKapil/elasticsearch-lua
tests/selector/RandomSelectorTest.lua
2
1509
-- Importing modules local RandomSelector = require "elasticsearch.selector.RandomSelector" local Connection = require "elasticsearch.connection.Connection" local Logger = require "elasticsearch.Logger" local getmetatable = getmetatable -- Setting up environment local _ENV = lunit.TEST_CASE "tests.selector.RandomSelec...
mit
MNKgod/darkstar
scripts/globals/mobskills/Hypothermal_Combustion.lua
14
1029
--------------------------------------------- -- Hypothermal Combustion -- Self-destructs, releasing ice at nearby targets. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Notes: Damage is based on remaining HP --------------------------------------------- require("scripts/globals/settings")...
gpl-3.0
MNKgod/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/qm2.lua
17
1085
----------------------------------- -- Area: Temple of Uggalepih -- NPC: ??? (Uggalepih Offering ITEM) -- @pos 388 0 269 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Temple_of_Uggalepih/Tex...
gpl-3.0
MNKgod/darkstar
scripts/globals/spells/blindga.lua
18
1142
----------------------------------------- -- Spell: Blind ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spell)...
gpl-3.0
frankyifei/koreader-base
ffi/zeromq_h.lua
3
4980
local ffi = require("ffi") ffi.cdef[[ typedef struct _zctx_t zctx_t; typedef struct _zmsg_t zmsg_t; typedef struct _zhash_t zhash_t; typedef struct _zsock_t zsock_t; typedef struct _zframe_t zframe_t; typedef struct _zpoller_t zpoller_t; typedef struct _zsocket_t zsocket_t; typedef struct _zyre_t zyre_t; typedef struc...
agpl-3.0
MNKgod/darkstar
scripts/globals/items/serving_of_batagreen_sautee.lua
35
1419
----------------------------------------- -- ID: 4553 -- Item: serving_of_batagreen_sautee -- Food Effect: 180Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -2 -- Ranged ACC % 7 -- Ranged ACC Cap 15 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
MNKgod/darkstar
scripts/globals/spells/absorb-vit.lua
18
1299
-------------------------------------- -- Spell: Absorb-VIT -- Steals an enemy's vitality. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -----------...
gpl-3.0
AccroGaming/Accro-DarkRP
DarkRP/gamemode/client/cl_chatlisteners.lua
1
8145
-----------------------------------------------------------------------------[[ /*--------------------------------------------------------------------------- This module finds out for you who can see you talk or speak through the microphone ---------------------------------------------------------------------------*/ -...
mpl-2.0
MNKgod/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Esoteric_Hound.lua
34
1040
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Esoteric Hound -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---...
gpl-3.0
MNKgod/darkstar
scripts/zones/Port_Jeuno/npcs/Najib.lua
17
1390
----------------------------------- -- Area: Port Jeuno -- NPC: Najib -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Action ---------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Sabiliont.lua
17
1684
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Sabiliont -- @zone 80 -- @pos 9 2 -87 ----------------------------------- 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
dennis96411/RBXunderscore
RBXunderscore.lua
1
162795
--[[ RBXunderscore Library/Object Wrapper by dennis96411 (Updated 10/14/2016 14:50 EST) Optimizations considered: * http://www.lua.org/gems/sample.pdf * https://stackoverflow.com/questions/154672/what-can-i-do-to-increase-the-performance-of-a-lua-program/#12865406 * https://springrts.com/wiki/Lua_Performance ...
gpl-2.0
MNKgod/darkstar
scripts/globals/items/bowl_of_sutlac_+1.lua
36
1318
----------------------------------------- -- ID: 5578 -- Item: Bowl of Sutlac -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10 -- MP +10 -- INT +2 -- MP Recovered while healing +2 ----------------------------------------- require("scripts/globals/status"); ---...
gpl-3.0
AccroGaming/Accro-DarkRP
DarkRP/gamemode/fadmin/cl_interface/cl_PlayerLists.lua
3
1613
local function ScoreboardAddTeam(Name, color) local ScreenWidth, ScreenHeight = ScrW(), ScrH() local cat = FAdmin.ScoreBoard.Main.Controls.FAdminPanelList:Add("FAdminPlayerCatagory") cat:SetLabel(" "..Name) cat.CatagoryColor = color cat:SetWide((FAdmin.ScoreBoard.Width - 40)/2) function cat:Toggle() end loc...
mpl-2.0
ejoncas/kong
kong/plugins/key-auth/access.lua
5
5135
local cache = require "kong.tools.database_cache" local stringy = require "stringy" local Multipart = require "multipart" local responses = require "kong.tools.responses" local constants = require "kong.constants" local CONTENT_TYPE = "content-type" local CONTENT_LENGTH = "content-length" local FORM_URLENCODED = "appl...
apache-2.0
MNKgod/darkstar
scripts/zones/Windurst_Walls/npcs/Luuh_Koplehn.lua
36
1169
----------------------------------- -- Area: Windurst Walls -- NPC: Luuh Koplehn -- Standard Info NPC -- Involved in Quest: Star Struck -- @zone = 239 -- @pos = -93 -5 130 ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); ----------------------...
gpl-3.0
shagu/pfUI
modules/gm.lua
1
4491
pfUI:RegisterModule("gm", "vanilla", function () -- do not load by default if C.gm.disable == "1" then return end -- core specific commands pfUI.gm_server = { ["elysium"] = { ["GM_PLAYERINFO"] = { ".pinfo #PLAYER", "Player Info" }, ["GM_GO"] = { ".go #PLAYER", "Goto" }, ["GM_A...
mit
sujeet14108/luci
applications/luci-app-radvd/luasrc/model/cbi/radvd/rdnss.lua
61
2115
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local sid = arg[1] local utl = require "luci.util" m = Map("radvd", translatef("Radvd - RDNSS"), translate("Radvd is a router advertisement daemon for IPv6. " .. "It listens to router solicitations and sends...
apache-2.0
AccroGaming/Accro-DarkRP
DarkRP/entities/weapons/door_ram/shared.lua
1
6540
if (SERVER) then AddCSLuaFile("shared.lua") end if (CLIENT) then SWEP.PrintName = "Battering Ram" SWEP.Slot = 5 SWEP.SlotPos = 1 SWEP.DrawAmmo = false SWEP.DrawCrosshair = false end -- Variables that are used on both client and server SWEP.Base = "weapon_cs_base2" SWEP.Author = "Rickster" SWEP.Instructions = "...
mpl-2.0
KingArmin/TeleIran
plugins/inpm.lua
85
9513
local function pre_process(msg) local to = msg.to.type local service = msg.service if to == 'user' and msg.fwd_from then if not is_support(msg.from.id) and not is_admin1(msg) then return end local user = 'user#id'..msg.from.id local from_id = msg.fwd_from.peer_id if msg.fwd_from.first_name then from_f...
agpl-3.0
eyohansa/wesnoth
data/ai/micro_ais/cas/ca_messenger_attack.lua
25
4982
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local messenger_next_waypoint = wesnoth.require "ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua" local function messenger_find_enemies_in_way(messenger, goal_x, goal_y) -- Returns the first unit on or next to the path ...
gpl-2.0
Adirelle/AdiButtonAuras
core/Utils.lua
1
6000
--[[ AdiButtonAuras - Display auras on action buttons. Copyright 2013-2018 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
feynmanliang/bachbot
scripts/harm_model/util/gradcheck.lua
22
2521
local gradcheck = {} function gradcheck.relative_error(x, y, h) h = h or 1e-12 if torch.isTensor(x) and torch.isTensor(y) then local top = torch.abs(x - y) local bottom = torch.cmax(torch.abs(x) + torch.abs(y), h) return torch.max(torch.cdiv(top, bottom)) else return math.abs(x - y) / math.max(m...
mit
brunominervino/forgottenserver
data/actions/scripts/other/constructionkits.lua
23
1464
local constructionKits = { [3901] = 1666, [3902] = 1670, [3903] = 1652, [3904] = 1674, [3905] = 1658, [3906] = 3813, [3907] = 3817, [3908] = 1619, [3909] = 12799, [3910] = 2105, [3911] = 1614, [3912] = 3806, [3913] = 3807, [3914] = 3809, [3915] = 1716, [3916] = 1724, [3917] = 1732, [3918] = 1775, [3919] = 1774, [39...
gpl-2.0
MNKgod/darkstar
scripts/globals/spells/uncanny_etude.lua
18
1616
----------------------------------------- -- Spell: Uncanny Etude -- Static DEX Boost, BRD 72 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- f...
gpl-3.0
MNKgod/darkstar
scripts/zones/VeLugannon_Palace/npcs/qm2.lua
16
1268
----------------------------------- -- Area: VeLugannon Palace -- NPC: qm2 (???) -- Notes: Used to spawn Brigandish Blade -- @pos 0.1 0.1 -286 177 ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/zones/...
gpl-3.0
MNKgod/darkstar
scripts/zones/Windurst_Waters/npcs/Pursuivant.lua
38
1039
----------------------------------- -- Area: Windurst Waters -- NPC: Pursuivant -- Type: Pursuivant -- @zone: 238 -- @pos 113.971 -3.077 51.524 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------...
gpl-3.0
schoenb/MoonGen
test/example-scripts/moongen.lua
6
1939
local mg = {} local proc = {} proc.__index = proc function mg.start(script, ...) local str = "" for i = 1, select("#", ...) do -- TODO: escape arguments properly str = str .. " \"" .. select(i, ...) .. "\"" end local obj = setmetatable({}, proc) obj.proc = io.popen("cd ../.. && ./build/MoonGen " .. script .....
mit
MNKgod/darkstar
scripts/zones/Port_Bastok/npcs/Melloa.lua
36
1613
----------------------------------- -- Area: Port Bastok -- NPC: Melloa -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Logging_Point.lua
29
1116
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Buburimu_Peninsula/Text...
gpl-3.0
MNKgod/darkstar
scripts/zones/Valley_of_Sorrows/mobs/Aspidochelone.lua
23
1216
----------------------------------- -- Area: Valley of Sorrows -- HNM: Aspidochelone ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------...
gpl-3.0
sujeet14108/luci
libs/luci-lib-rpcc/luasrc/rpcc/ruci.lua
78
1086
-- Copyright 2009 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local rawget, setmetatable = rawget, setmetatable local ipairs = ipairs module "luci.rpcc.ruci" local Proxy = util.class() function factory(rpccl) return { cursor = functi...
apache-2.0
MNKgod/darkstar
scripts/zones/Bastok_Markets/npcs/Balthilda.lua
38
1699
----------------------------------- -- Area: Bastok Markets -- NPC: Balthilda -- Type: Merchant -- @zone: 235 -- @pos -300 -10 -161 -- -- NPC not found in 'npc_list' -- -- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011 -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and ga...
gpl-3.0
antonpup/Payday-2-BLT
mods/base/lua/MenuManager.lua
1
16270
CloneClass( MenuManager ) CloneClass( MenuCallbackHandler ) CloneClass( ModMenuCreator ) CloneClass( MenuModInfoGui ) Hooks:RegisterHook( "MenuManagerInitialize" ) Hooks:RegisterHook( "MenuManagerPostInitialize" ) function MenuManager.init( self, ... ) self.orig.init( self, ... ) Hooks:Call( "MenuManagerInitialize"...
mit
MNKgod/darkstar
scripts/globals/weaponskills/blade_shun.lua
30
1790
----------------------------------- -- Blade Shun -- Katana weapon skill -- Skill level: N/A -- Description: Delivers a fivefold attack. Attack power varies with TP. -- In order to obtain Blade: Shun the quest Martial Mastery must be completed. -- This Weapon Skill's first hit params.ftp is duplicated for all add...
gpl-3.0
Cavitt/otclient_mapgen
modules/corelib/ui/uitabbar.lua
8
3802
-- @docclass UITabBar = extends(UIWidget, "UITabBar") -- private functions local function onTabClick(tab) tab.tabBar:selectTab(tab) end local function onTabMouseRelease(tab, mousePos, mouseButton) if mouseButton == MouseRightButton and tab:containsPoint(mousePos) then signalcall(tab.tabBar.onTabLeftClick, tab...
mit
MNKgod/darkstar
scripts/zones/Windurst_Waters/npcs/Maysoon.lua
17
2172
----------------------------------- -- Area: Windurst Waters -- NPC: Maysoon -- Starts and Finishes Quest: Hoist the Jelly, Roger -- Involved in Quests: Cook's Pride -- @zone 238 -- @pos -105 -2 69 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; package.loade...
gpl-3.0
LuaDist2/luarepl
t/plugin-feature-tests.lua
4
2369
-- vim:foldmethod=marker local repl = require 'repl' local utils = require 'test-utils' pcall(require, 'luarocks.loader') require 'Test.More' plan(19) do -- basic tests {{{ local clone = repl:clone() clone:loadplugin(function() features = 'foo' end) ok(clone:hasfeature 'foo') ok(not clone:hasfeature ...
mit
MNKgod/darkstar
scripts/zones/Misareaux_Coast/Zone.lua
32
1650
----------------------------------- -- -- Zone: Misareaux_Coast (25) -- ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Misareaux_Coast/TextIDs"); -------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Behemoths_Dominion/npcs/qm1.lua
17
1434
----------------------------------- -- Area: Behemoth's Dominion -- NPC: ??? -- Involved In Quest: The Talekeeper's Gift -- @pos 211 4 -79 127 ----------------------------------- package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
Polkm/underdone
gamemode/core/clientfiles/cl_dragdrop.lua
1
2204
GM.HoveredIcon = nil GM.DraggingPanel = nil GM.DraggingGhost = nil function GM:DragDropThink() if GAMEMODE.DraggingPanel then if not GAMEMODE.DraggingGhost then GAMEMODE.DraggingGhost = vgui.Create("FIconItem") GAMEMODE.DraggingGhost:SetSize(GAMEMODE.DraggingPanel:GetWide(), GAMEMODE.DraggingPanel:Ge...
mit
MNKgod/darkstar
scripts/zones/Port_Windurst/npcs/Babubu.lua
17
1197
----------------------------------- -- Area: Port Windurst -- NPC: Babubu -- Guild Merchant NPC: Fishing Guild -- @pos -175.185 -3.324 70.445 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setti...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/crab_stewpot.lua
36
1675
----------------------------------------- -- ID: 5544 -- Item: Crab Stewpot -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 50 -- MP +10 -- HP Recoverd while healing 5 -- MP Recovered while healing 1 -- Defense +15% Cap 50 -- Evasion +5 -------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Bastok_Mines/npcs/Mille.lua
30
1581
----------------------------------- -- Area: Bastok_Mines -- NPC: Mille -- Only sells when Bastok controlls Norvallen Region ----------------------------------- require("scripts/globals/events/harvest_festivals"); require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zo...
gpl-3.0
MNKgod/darkstar
scripts/zones/Horlais_Peak/npcs/Hot_springs.lua
17
1949
----------------------------------- -- Area: Northern San d'Oria -- NPC: Hot Springs -- @Zone: 139 -- @pos 444 -37 -18 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globa...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/dark_bass.lua
18
1331
----------------------------------------- -- ID: 4428 -- Item: dark_bass -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
MNKgod/darkstar
scripts/globals/spells/knights_minne_ii.lua
18
1523
----------------------------------------- -- Spell: Knight's Minne II -- Grants Defense bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCasti...
gpl-3.0
MNKgod/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Mahol_IM.lua
30
3044
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Mahol, I.M. -- Outpost Conquest Guards -- @pos -242.487 -1 -402.772 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requi...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/plate_of_ic_pilav_+1.lua
35
1945
----------------------------------------- -- ID: 5585 -- Item: plate_of_ic_pilav_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 65 -- Strength 4 -- Vitality -1 -- Intelligence -1 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 65 -- ...
gpl-3.0
zactelegram12/IRAN
plugins/service_entergroup.lua
279
2147
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 = chat_name or '' chat_id = "chat#id" .. (...
gpl-2.0
MNKgod/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Halbeeya.lua
34
1033
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Halbeeya -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---------...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/bastore_sweeper.lua
18
1439
----------------------------------------- -- ID: 5473 -- Item: Bastore Sweeper -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality +3 -- Defense +15% Cap 50 ----------------------------------------- require("scripts/globals/status"); -------------------------------...
gpl-3.0
Cavitt/otclient_mapgen
modules/game_textwindow/textwindow.lua
9
3604
local windows = {} function init() g_ui.importStyle('textwindow') connect(g_game, { onEditText = onGameEditText, onEditList = onGameEditList, onGameEnd = destroyWindows }) end function terminate() disconnect(g_game, { onEditText = onGameEditText, o...
mit
MNKgod/darkstar
scripts/zones/Bibiki_Bay/npcs/Tswe_Panipahr.lua
19
1871
----------------------------------- -- Area: Bibiki Bay -- NPC: Tswe Panipahr -- Type: Manaclipper -- @pos 484.604 -4.035 729.671 4 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bibiki_Bay/TextIDs"); require...
gpl-3.0
diydrones/ardupilot
libraries/AP_Scripting/examples/terrain_warning.lua
22
1780
-- height above terrain warning script -- min altitude above terrain, script will warn if lower than this local terrain_min_alt = 20 -- warning is only enabled further than this distance from home local home_dist_enable = 25 -- must have climbed at least this distance above terrain since arming to enable warning loc...
gpl-3.0
MNKgod/darkstar
scripts/zones/Western_Adoulin/Zone.lua
33
1246
----------------------------------- -- -- Zone: Western Adoulin -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; require("scripts/zones/Western_Adoulin/TextIDs"); ----------------------------------- -- onInitialize...
gpl-3.0
glenn-edgar/lua_frame_work
user_libraries/NotActive/tgs/tgs/devices/tgs_ssh.lua
2
2699
--- --- File: tgs_ssh.lua --- lua interface to dropbear ssh client --- --- --- --- tgs_ssh = {} function tgs_ssh.help() end function tgs_ssh.description() return "tgs ssh functions" end function tgs_ssh.setPassword( password) tgs_ssh.password = password os.putenv("TGS_PASSWORD="..tgs_ssh.password ) --pri...
mit
aminsa2000/appfreebazar1
plugins/lock_eng.lua
52
1075
antienglish = {}-- An empty table for solving multiple kicking problem do local function run(msg, matches) if msg.to.type == 'chat' then if is_momod(msg) then -- Ignore mods,owner,admins return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['lock_eng'] then ...
gpl-2.0
MNKgod/darkstar
scripts/zones/Mamook/npcs/Logging_Point.lua
29
1080
----------------------------------- -- Area: Mamook -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Mamook/TextIDs"); --------------------------...
gpl-3.0
WibbenZ/forgottenserver
data/migrations/15.lua
58
2534
function onUpdateDatabase() print("> Updating database to version 16 (moving skills into players table)") db.query("ALTER TABLE `players` ADD `skill_fist` int(10) unsigned NOT NULL DEFAULT 10, ADD `skill_fist_tries` bigint(20) unsigned NOT NULL DEFAULT 0, ADD `skill_club` int(10) unsigned NOT NULL DEFAULT 10, ADD `sk...
gpl-2.0
ultijlam/tidy-plates-threat-plates
Init.lua
1
3387
local _, ns = ... ns.ThreatPlates = {} local t = ns.ThreatPlates -- Libraries local LS = LibStub t.L = LS("AceLocale-3.0"):GetLocale("TidyPlatesThreat") t.Media = LS("LibSharedMedia-3.0") t.MediaWidgets = Media and LS("AceGUISharedMediaWidgets-1.0", false) local L = t.L -- General Functions t.Update = function() Tidy...
gpl-3.0
MNKgod/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5ei.lua
17
3315
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Ancient Magical Gizmo #5 (I out of E, F, G, H, I, J) -- Involved In Mission: The Heart of the Matter ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ---------------------------------...
gpl-3.0
MNKgod/darkstar
scripts/globals/mobskills/Chains_of_Envy.lua
25
1137
--------------------------------------------- -- Chains of Apathy -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/keyitems"); require("scripts/zones/Empyreal_Paradox/TextIDs"); -...
gpl-3.0
fuhongxue/Tui-x
HelloTuiLua/src/welcome/dialog/msgBox.lua
2
1676
require "tagMap/Tag_welcomeui" MsgBox = class("MsgBox",function() return TuiBase:create() end) MsgBox.__index = MsgBox local __instance = nil function MsgBox:create() local ret = MsgBox.new() __instance = ret ret:setOnLoadSceneScriptHandler(function() ret:onLoadScene() end) return ret end function MsgBox:getCo...
mit
wordsforthewise/esp8266-water-sensor
checkPumpSettings.lua
1
2826
-- checks for updated settings from thingspeak channel, called after reading settings manualRun = false -- if the 'run pump' button has been clicked or set print(createdTimes[1]) if file.open('latestTime') then local line = file.readline() latestTime = string.sub(line,1,string.len(line)-1) -- hack to remove CR/...
mit
wnpllrzodiac/crtmpserver
builders/cmake/applications/vmapp/crtmpserverdefaults.lua
26
4954
customhandlers= { application= { initCompleted=function() print("App initialization completed"); return true; end, outboundConnectionFailed=crtmpserver.handlers.application.outboundConnectionFailed, preRegisterProtocol=function(protocolId) print ("registering protocol PID "..protocolId.." to application"); retu...
gpl-3.0
ckjong/gentrify
Gentrify Lua/libraries/loveframes/objects/columnlist.lua
11
23279
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".objects.columnlist")) local l...
gpl-3.0
ejoncas/kong
kong/tools/syslog.lua
22
1315
local constants = require "kong.constants" local IO = require "kong.tools.io" local stringy = require "stringy" local cjson = require "cjson" local _M = {} function _M.log(args) if not args then args = {} end -- Kong Version args["version"] = constants.VERSION -- CPU cores local res, code = IO.os_execute(...
apache-2.0
MNKgod/darkstar
scripts/zones/East_Ronfaure/npcs/Signpost.lua
19
2142
----------------------------------- -- Area: East Ronfaure -- NPC: Signpost -- Involved in Quest: To Cure a Cough -- @pos 257 -45 212 101 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
brunominervino/forgottenserver
data/migrations/13.lua
58
2963
function onUpdateDatabase() print("> Updating database to version 14 (account_bans, ip_bans and player_bans)") db.query("CREATE TABLE IF NOT EXISTS `account_bans` (`account_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expires_at` bigint(20) NOT NULL, `banned_by` int(11) NOT...
gpl-2.0
Evarin/PhotoQuality
content_and_style.lua
1
14414
require 'torch' require 'nn' require 'image' require 'optim' require 'lfs' require 'io' -------------------------------------------------------------------------------- local cmd = torch.CmdLine() -- Basic options cmd:option('-train_dir', 'train/') cmd:option('-test_dir', 'test/') cmd:option('-test_template', 'test_...
mit
MNKgod/darkstar
scripts/zones/Southern_San_dOria/npcs/Aveline.lua
36
1914
----------------------------------- -- Area: Southern San d'Oria -- NPC: Aveline -- Standard Merchant NPC -- @zone 230 -- @pos -139 -6 46 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setting...
gpl-3.0
pouria3463/fashist
plugins/antifuck.lua
3
4532
-- By Mohamed_devt { @MD_IQ19 } -- how to use inside telegram -- -- if you want to see fuck use this command /fuck lock -- if you want to disable the protection use this command /fuck unlock -- if you want to check the protection use this command /link ? -- a function that i make to cut the command and the / from th...
gpl-2.0
cornernote/minetest-modulator_game
mods/tools/food/init.lua
2
2404
-- RUBENFOOD MOD -- A mod written by rubenwardy that adds -- food to the minetest game -- ===================================== -- >> rubenfood/init.lua -- inits the mod -- ===================================== -- [regis-item] Cup -- [craft] Cup -- [regis-food] Cigerette (-4) -- ===================================== p...
gpl-3.0
MNKgod/darkstar
scripts/globals/weaponskills/drakesbane.lua
18
4565
----------------------------------- -- Drakesbane -- Polearm weapon skill -- Skill level: N/A -- Delivers a fourfold attack. Chance of params.critical hit varies with TP. Ryunohige: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Dragoon) quest. -- Aligned with the Flame ...
gpl-3.0
xpol/example
main.lua
1
4139
-- Importing lovetoys require("lib/lovetoys/lovetoys") -- Logic systems require("systems/logic/TimerSystem") require("systems/logic/PhysicsPositionSyncSystem") -- Graphic systems require("systems/graphic/CircleDrawSystem") require("systems/graphic/PolygonDrawSystem") require("systems/graphic/TimeDrawSystem") -- Even...
mit
MNKgod/darkstar
scripts/globals/spells/gravity_ii.lua
18
1087
----------------------------------------- -- Spell: Gravity II ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,s...
gpl-3.0
MNKgod/darkstar
scripts/zones/Kazham/npcs/Hozie_Naharaf.lua
15
1100
----------------------------------- -- Area: Kazham -- NPC: Hozie Naharaf -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ---------------------------...
gpl-3.0
antonpup/Payday-2-BLT
mods/base/req/update_mods.lua
1
9418
LuaModUpdates = LuaModUpdates or {} LuaModUpdates._updates_api_path = "http://api.paydaymods.com/updates/retrieve/?" LuaModUpdates._updates_api_mod = "mod[{1}]={2}" LuaModUpdates._updates_download_url = "http://download.paydaymods.com/download/latest/{1}" LuaModUpdates._updates_notes_url = "http://download.paydaymods....
mit
MNKgod/darkstar
scripts/globals/items/bowl_of_homemade_stew.lua
35
1131
----------------------------------------- -- ID: 5222 -- Item: Bowl of Homemade Stew -- Food Effect: 30Min, All Races ----------------------------------------- -- Vitality 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck...
gpl-3.0
MNKgod/darkstar
scripts/zones/Arrapago_Reef/npcs/qm4.lua
16
1167
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (Spawn Nuhn(ZNM T3)) -- @pos -451 -7 389 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); --------------------...
gpl-3.0
teleblue/telebrownnew
plugins/lock_badword.lua
1
1454
local function run(msg, matches) if is_owner(msg) then return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then if data[tostring(msg.to.id)]['settings'] then if data[tostring(msg.to.id)]['settings']['lock_badw'] then lock_ba...
gpl-2.0
MNKgod/darkstar
scripts/zones/Northern_San_dOria/npcs/Baraka.lua
17
2126
----------------------------------- -- Area: Northern San d'Oria -- NPC: Baraka -- Involved in Missions 2-3 -- @zone 231 -- @pos 36 -2 -2 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setting...
gpl-3.0
mohammad25253/alfred
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
cornernote/minetest-modulator_game
mods/tools/food/food/baking.lua
2
1508
-- RUBENFOOD MOD -- A mod written by rubenwardy that adds -- food to the minetest game -- ===================================== -- >> rubenfood/food/baking.lua -- adds bread and pies -- ===================================== -- [regis-food] Bread -- [regis-food] Bread Slice -- [craft] Bread Slice -- [regis-food] Bun -- ...
gpl-3.0