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
OctoEnigma/shiny-octo-system
gamemodes/darkrp/gamemode/modules/tipjar/cl_communication.lua
5
3200
local updateModel, getModelValue, onModelUpdate = DarkRP.tipJarUIModel.updateModel, DarkRP.tipJarUIModel.getModelValue, DarkRP.tipJarUIModel.onModelUpdate onModelUpdate("lastTipAmount", function(amount) if amount <= 0 then return end local tipjar = getModelValue("tipjar") if not IsValid(tipja...
mit
PUMpITapp/getsmart
src/spellingGame.lua
1
23069
require "runState" --- Checks if the file was called from a test file. -- @return If called from test file return true (indicating file is being tested) else false function checkTestMode() --[[ runFile = debug.getinfo(2, "S").source:sub(2,3) if (runFile ~= './' ) then underGoingTest = false elseif (runFile =...
gpl-3.0
OctoEnigma/shiny-octo-system
lua/postprocess/frame_blend.lua
1
5067
-- -- The number of frames to blend -- local pp_fb = CreateClientConVar( "pp_fb", "0", false, false ) -- -- The number of frames to blend -- local pp_fb_frames = CreateClientConVar( "pp_fb_frames", "16", true, false ) -- -- The amount of time the shutter is open. If this is 0.5 then we will blend only -- 50% of the ...
mit
dibyendumajumdar/ravi-gsl
tests/test_stats.lua
1
2400
-- The tests here are taken from GSL tests -- GSL license applies local gsl = require 'ravigsl' local matrix = require 'ravimatrix' local function make_vector(...) local data: number[] = { ... } return matrix.vectorR(data) end local function check(got: number, expected: number, msg) if (math.abs(got-expected) ...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Heavens_Tower/Zone.lua
8
2060
----------------------------------- -- -- Zone: Heavens_Tower -- ----------------------------------- local ID = require("scripts/zones/Heavens_Tower/IDs") require("scripts/globals/conquest") require("scripts/globals/missions") ----------------------------------- function onInitialize(zone) zone:registerRegion(1, -...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Kuftal_Tunnel/Zone.lua
11
3316
----------------------------------- -- -- Zone: Kuftal_Tunnel (174) -- ----------------------------------- local ID = require("scripts/zones/Kuftal_Tunnel/IDs") require("scripts/globals/conquest") require("scripts/globals/treasure") require("scripts/globals/weather") require("scripts/globals/status") ------------------...
gpl-3.0
lichtl/darkstar
scripts/globals/abilities/pets/earthen_fury.lua
34
1118
--------------------------------------------------- -- Earthen Fury --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); require("/scripts/globals/magic"); ---------------------------------------------...
gpl-3.0
sjznxd/lc-20130222
applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua
15
2106
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
OctoEnigma/shiny-octo-system
lua/includes/extensions/client/render.lua
1
5085
local C_Material = Material function Material( name, words ) if ( !words ) then return C_Material( name ) end local str = (words:find("vertexlitgeneric") and "1" or "0") str = str .. (words:find("nocull") and "1" or "0") str = str .. (words:find("alphatest") and "1" or "0") str = str .. (words:find("mips") a...
mit
qenter/vlc-android
vlc/share/lua/playlist/anevia_streams.lua
112
3664
--[[ $Id$ Parse list of available streams on Anevia Toucan servers. The URI http://ipaddress:554/list_streams.idp describes a list of available streams on the server. Copyright © 2009 M2X BV Authors: Jean-Paul Saman <jpsaman@videolan.org> This program is free software; you can redistribute it and/or modify ...
gpl-2.0
zegotinha/LiveShift
vlclib/windows/lua/playlist/anevia_streams.lua
112
3664
--[[ $Id$ Parse list of available streams on Anevia Toucan servers. The URI http://ipaddress:554/list_streams.idp describes a list of available streams on the server. Copyright © 2009 M2X BV Authors: Jean-Paul Saman <jpsaman@videolan.org> This program is free software; you can redistribute it and/or modify ...
gpl-3.0
we20/ping
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
scscgit/scsc_wildstar_addons
RaidCore/Libs/GeminiGUI/GeminiGUI.lua
1
46085
----------------------------------------------------------------------------------------------------------------------- -- GeminiGUI -- Formerly DaiGUI -- @author daihenka -- GUI Widget Creation Library for WildStar. -------------------------------------------------------------------------------------------------------...
mit
lichtl/darkstar
scripts/zones/Port_Bastok/npcs/Evi.lua
17
2244
----------------------------------- -- Area: Port Bastok -- NPC: Evi -- Starts Quests: Past Perfect (100%) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require(...
gpl-3.0
lichtl/darkstar
scripts/globals/items/scream_fungus.lua
18
1172
----------------------------------------- -- ID: 4447 -- Item: scream_fungus -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -4 -- Mind 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
we20/ping
plugins/qr.lua
637
1730
--[[ * qr plugin uses: * - http://goqr.me/api/doc/create-qr-code/ * psykomantis ]] local function get_hex(str) local colors = { red = "f00", blue = "00f", green = "0f0", yellow = "ff0", purple = "f0f", white = "fff", black = "000", gray = "ccc" } for color, value in pairs(colors)...
gpl-2.0
lichtl/darkstar
scripts/globals/spells/bluemagic/light_of_penance.lua
25
2273
----------------------------------------- -- Spell: Light of Penance -- Reduces an enemy's TP. Additional effect: Blindness and "Bind" -- Spell cost: 53 MP -- Monster Type: Beastmen -- Spell Type: Magical (Light) -- Blue Magic Points: 5 -- Stat Bonus: CHR+1, HP+15 -- Level: 58 -- Casting Time: 3 seconds -- Recast Time:...
gpl-3.0
OctoEnigma/shiny-octo-system
lua/menu/video.lua
1
1171
--[[__ _ / _| __ _ ___ ___ _ __ _ _ _ __ ___| |__ | |_ / _` |/ __/ _ \ '_ \| | | | '_ \ / __| '_ \ | _| (_| | (_| __/ |_) | |_| | | | | (__| | | | |_| \__,_|\___\___| .__/ \__,_|_| |_|\___|_| |_| |_| 2012 --]] vid_width = CreateConVar( "vid_width", "64...
mit
lichtl/darkstar
scripts/zones/Northern_San_dOria/npcs/Eperdur.lua
13
5429
----------------------------------- -- Area: Northern San d'Oria -- NPC: Eperdur -- Starts and Finishes Quest: Altana's Sorrow (finish), Acting in Good Faith (finish), Healing the Land, -- @pos 129 -6 96 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; --------...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/darkrp/gamemode/modules/fadmin/fadmin/playeractions/noclip/sv_init.lua
7
3121
local sbox_noclip = GetConVar("sbox_noclip") local function SetNoclip(ply, cmd, args) if not FAdmin.Access.PlayerHasPrivilege(ply, "SetNoclip") then FAdmin.Messages.SendMessage(ply, 5, "No access!") return false end if not args[1] then return false end local targets = FAdmin.FindPlayer(args[1]) if not...
mit
taiha/luci
protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua
52
4346
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local device, apn, service, pincode, username, password, dialnumber local ipv6, maxwait, defaultroute, metric, peerdns, dns, keepalive_failure, keepalive_interval, demand d...
apache-2.0
lichtl/darkstar
scripts/globals/items/flask_of_panacea.lua
70
1742
----------------------------------------- -- ID: 4163 -- Item: Panacea -- Item Effect: Removes any number of status effects ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- function onItemCh...
gpl-3.0
lichtl/darkstar
scripts/globals/abilities/dark_maneuver.lua
54
1332
----------------------------------- -- Ability: Dark Maneuver -- Enhances the effect of dark attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
lichtl/darkstar
scripts/zones/Metalworks/npcs/Unlucky_Rat.lua
16
2248
----------------------------------- -- Area: Metalworks -- NPC: Unlucky Rat -- Starts & Finishes Quest: Mean Machine ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); ...
gpl-3.0
lichtl/darkstar
scripts/globals/weaponskills/raging_fists.lua
26
1437
----------------------------------- -- Raging Fists -- Hand-to-Hand weapon skill -- Skill Level: 125 -- Delivers a fivefold attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:30% ; DEX:30% -- 100%TP ...
gpl-3.0
lichtl/darkstar
scripts/globals/weaponskills/one_inch_punch.lua
25
1590
----------------------------------- -- One Inch Punch -- Hand-to-Hand weapon skill -- Skill level: 75 -- Delivers an attack that ignores target's defense. Amount ignored varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: None -- Modifiers: VI...
gpl-3.0
lichtl/darkstar
scripts/zones/Tavnazian_Safehold/TextIDs.lua
7
2111
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6384; -- Obtained: <item> GIL_OBTAINED = 6385; -- Obtained <number> gil KEYITEM_OBTAINED = 6387; -- Ob...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Northern_San_dOria/npcs/Anilla.lua
9
1197
----------------------------------- -- Area: Northern San d'Oria -- NPC: Anilla -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- !pos 8 0.1 61 231 ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs"); require("scripts/globals/quests"); --------------------------------...
gpl-3.0
alts/sharecart.lua
tests.lua
2
3973
local sharecart = require('sharecart') if not sharecart.valid('.') then error("tests aren't being run from a valid directory") end local cart_data = sharecart.load('.') function setup() cart_data.MapX = 0 cart_data.MapY = 0 cart_data.Misc0 = 0 cart_data.Misc1 = 0 cart_data.Misc2 = 0 cart_data.Misc3 = 0...
mit
Khaon/android_external_skia
tools/lua/scrape_dashing.lua
160
2495
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
bsd-3-clause
RunAwayDSP/darkstar
scripts/globals/mobskills/kick_out.lua
11
1190
--------------------------------------------- -- Kick Out -- -- Description: Deals heavy damage and inflicts blind to any target behind user. -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown cone, backwards -- Notes: Only used when the Behemoth is attacking with its tail. ---------------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/spells/horde_lullaby_ii.lua
11
1417
----------------------------------------- -- Spell: Horde Lullaby II ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end ...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/mobskills/sandspin.lua
11
1085
--------------------------------------------------- -- Sandspin -- Deals earth damage to enemies within range. Additional Effect: Accuracy Down. -- Area of Effect is centered around caster. -- The Additional Effect: Accuracy Down may not always process. -- Duration: Three minutes ? -------------------------------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p4.lua
9
1180
----------------------------------- -- Area: Misareaux Coast -- NPC: Storage Compartment -- COP spawn Boggelmann. ----------------------------------- local ID = require("scripts/zones/Misareaux_Coast/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/globals/npc_util"); ...
gpl-3.0
lichtl/darkstar
scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua
27
2925
----------------------------------- -- Area: Rolanberry Fields -- NPC: Cavernous Maw -- @pos -198 8 361 110 -- Teleports Players to Rolanberry Fields [S] ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Yuhtunga_Jungle/IDs.lua
8
4606
----------------------------------- -- Area: Yuhtunga_Jungle ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.YUHTUNGA_JUNGLE] = { text = { NOTHING_HAPPENS = 119, -- Nothing happens... ITEM_...
gpl-3.0
lichtl/darkstar
scripts/globals/items/plate_of_friture_de_la_misareaux.lua
18
1630
----------------------------------------- -- ID: 5159 -- Item: plate_of_friture_de_la_misareaux -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 3 -- Dexterity 3 -- Vitality 3 -- Mind -3 -- Defense 5 -- Ranged ATT % 7 -- Ranged ATT Cap 15 ----------------------------------------- r...
gpl-3.0
sjznxd/lc-20130222
libs/httpclient/luasrc/httpclient.lua
41
9111
--[[ LuCI - Lua Development Framework Copyright 2009 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$ ]]-- requi...
apache-2.0
da03/OpenNMT
onmt/utils/Logger.lua
2
3951
--[[ Logger is a class used for maintaining logs in a log file. --]] local Logger = torch.class('Logger') local options = { { '-log_file', '', [[Output logs to a file under this path instead of stdout.]] }, { '-disable_logs', false, [[If set, output nothing.]] }, { '-log_level', 'INFO', ...
mit
NiLuJe/koreader
spec/unit/hook_container_spec.lua
14
2931
describe("HookContainer tests", function() setup(function() require("commonrequire") end) it("should register and unregister functions", function() local HookContainer = require("ui/hook_container"):new() local f1 = spy.new(function() end) local f2 = spy.new(function() end) ...
agpl-3.0
lichtl/darkstar
scripts/globals/items/serving_of_mille_feuille.lua
18
1471
----------------------------------------- -- ID: 5559 -- Item: Serving of Mille Feuille -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +8 -- MP +15 -- Intelligence +1 -- HP Recoverd while healing 1 -- MP Recovered while healing 1 ----------------------------------...
gpl-3.0
master00041/anti-self
plugins/inrealm.lua
850
25085
-- 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
amerlyq/airy
nvim/colors/#/airy_0.lua
1
6106
--[[ NOTHING INSIDE THIS FILE NEEDS TO BE EDITED BY THE USER. ]] --- @class Highlite.Definition --- @field bg string|table the background color --- @field blend number the transparency value --- @field dark Highlite.Definition special highlight definition for when `&bg` is 'dark' --- @field fg string|table the foregro...
mit
sjznxd/lc-20130222
libs/web/luasrc/http/protocol.lua
55
18445
--[[ HTTP protocol implementation for LuCI (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 at http://www.apache.org/licen...
apache-2.0
NiLuJe/koreader
spec/unit/readerdictionary_spec.lua
4
2591
describe("Readerdictionary module", function() local DocumentRegistry, ReaderUI, UIManager, Screen setup(function() require("commonrequire") DocumentRegistry = require("document/documentregistry") ReaderUI = require("apps/reader/readerui") UIManager = require("ui/uimanager") ...
agpl-3.0
RunAwayDSP/darkstar
scripts/globals/spells/bluemagic/radiant_breath.lua
12
2197
----------------------------------------- -- Spell: Radiant Breath -- Deals light damage to enemies within a fan-shaped area of effect originating from the caster. Additional effect: Slow and Silence. -- Spell cost: 116 MP -- Monster Type: Wyverns -- Spell Type: Magical (Light) -- Blue Magic Points: 4 -- Stat Bonus: CH...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Caedarva_Mire/npcs/Nahshib.lua
9
3004
----------------------------------- -- Area: Caedarva Mire -- NPC: Nahshib -- Type: Assault -- !pos -274.334 -9.287 -64.255 79 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("s...
gpl-3.0
sirinsidiator/ESO-LibAddonMenu
LibAddonMenu-2.0/controls/texture.lua
1
1703
--[[textureData = { type = "texture", image = "file/path.dds", imageWidth = 64, -- max of 250 for half width, 510 for full imageHeight = 32, -- max of 100 tooltip = "Image's tooltip text.", -- or string id or function returning a string (optional) width = "full", -- or "half" (optional) ...
artistic-2.0
RunAwayDSP/darkstar
scripts/zones/Waughroon_Shrine/bcnms/operation_desert_swarm.lua
9
1077
----------------------------------- -- Operation Desert Storm -- Waughroon Shrine KSNM30, Lachesis Orb -- !additem 1178 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end...
gpl-3.0
OBlanka/BolScripts
NamiMechanics.lua
1
22082
--[[ _____ _____ __ .__ / \_______ / _ \________/ |_|__| ____ __ __ ____ ____ / \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \ / Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> ) \____|__ /__| \___...
gpl-2.0
omid1212/avint
plugins/stats.lua
33
3680
do local NUM_MSG_MAX = 6 local TIME_CHECK = 4 -- seconds local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end -- Returns a table with `...
gpl-2.0
sjznxd/lc-20130222
modules/niu/luasrc/model/cbi/niu/wireless/bridge.lua
51
2481
local uci = require "luci.model.uci" local cursor = uci.cursor() if not cursor:get("wireless", "bridge") then cursor:section("wireless", "wifi-iface", "bridge", {device = "_", doth = "1", _niu = "1", mode = "sta", wds = "1"}) cursor:save("wireless") end local function deviceroute(self) cursor:unload("wireless") ...
apache-2.0
OctoEnigma/shiny-octo-system
gamemodes/darkrp/gamemode/modules/fpp/pp/client/hud.lua
3
5484
FPP = FPP or {} surface.CreateFont("TabLarge", { size = 17, weight = 700, antialias = true, shadow = false, font = "Trebuchet MS"}) hook.Add("CanTool", "FPP_CL_CanTool", function(ply, trace, tool) -- Prevent client from SEEING his toolgun shoot while it doesn't shoot serverside. if IsValid(tra...
mit
ArianWatch/VivaTeam
plugins/ingroup.lua
371
44212
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
AntiSpamTelegram/Anti
plugins/ingroup.lua
371
44212
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
agpl-3.0
chronolaw/openresty_guide
service/advance/shared.lua
2
1693
-- Copyright (C) 2017-2018 by chrono -- curl 127.1:83/shared local shmem = ngx.shared.shmem shmem:flush_all() -- write local ok, err, f ok, err, f = shmem:set("num", 1, 0.01) assert(ok and not f) ok, err = shmem:add("num", 1) assert(not ok) ok, err, f = shmem:replace("num", 2) assert(ok) ok, err, f = shmem:rep...
bsd-2-clause
lichtl/darkstar
scripts/zones/Cloister_of_Tremors/mobs/Galgalim.lua
23
1126
----------------------------------- -- Area: Cloister of Tremors -- MOB: Galgalim -- Involved in Quest: The Puppet Master ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- OnMobSpawn Action ----------------------------------- function onMobSpawn(mob) end...
gpl-3.0
lichtl/darkstar
scripts/globals/items/serving_of_menemen_+1.lua
18
1531
----------------------------------------- -- ID: 5587 -- Item: serving_of_menemen_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP 35 -- MP 35 -- Agility 2 -- Intelligence -2 -- HP recovered while healing 2 -- MP recovered while healing 2 ----------------------------------------- requ...
gpl-3.0
Robolopes/RecycleRush
Team973/team-973-public/2011-titan/controls.lua
1
5576
-- controls.lua local arm = require("arm") local drive = require("drive") local math = require("math") local minibot = require("minibot") local wpilib = require("wpilib") local ipairs = ipairs local restartRobot = restartRobot module(...) sticks = {} local cypress = nil local numButtons = 12 local numCypressButtons...
apache-2.0
RunAwayDSP/darkstar
scripts/zones/Mog_Garden/npcs/GreenThumbMo.lua
12
1884
local ID = require("scripts/zones/Mog_Garden/IDs"); require("scripts/globals/moghouse") require("scripts/globals/shop"); ----------------------------------- local BRONZE_PIECE_ITEMID = 2184; function onTrade(player, npc, trade) moogleTrade(player, npc, trade) end; function onTrigger(player, npc) player:star...
gpl-3.0
ForsakenX/6dof
level/fsknmx.lua
1
4610
-- vim:set sw=4 ts=4: -- -- This Lua script reads vertex/face data from a Forsaken .mx/.mxa/.mxv -- polymodel file. -- -- Copyright (C) 2010 Pim Goossens -- -- 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 Softwa...
gpl-2.0
lichtl/darkstar
scripts/zones/Rabao/npcs/Scamplix.lua
17
1532
----------------------------------- -- Area: Rabao -- NPC: Scamplix -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- onTrade Action ---------...
gpl-3.0
lichtl/darkstar
scripts/zones/Port_Jeuno/TextIDs.lua
7
3021
-- 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
OctoEnigma/shiny-octo-system
gamemodes/darkrp/gamemode/modules/base/sv_jobmodels.lua
10
1039
util.AddNetworkString("DarkRP_preferredjobmodels") util.AddNetworkString("DarkRP_preferredjobmodel") local preferredJobModels = {} local plyMeta = FindMetaTable("Player") local received = {} net.Receive("DarkRP_preferredjobmodels", function(len, ply) preferredJobModels[ply] = {} for i, job in ipairs(RPExtraT...
mit
raingloom/yaoui
examples/anime/yaoui/ImageButton.lua
4
1952
local yui_path = (...):match('(.-)[^%.]+$') local Object = require(yui_path .. 'UI.classic.classic') local ImageButton = Object:extend('ImageButton') function ImageButton:new(yui, settings) self.yui = yui self.x, self.y = 0, 0 self.settings = settings self.ix, self.iy = settings.ix or 0, settings.iy or...
mit
raingloom/yaoui
yaoui/ImageButton.lua
4
1952
local yui_path = (...):match('(.-)[^%.]+$') local Object = require(yui_path .. 'UI.classic.classic') local ImageButton = Object:extend('ImageButton') function ImageButton:new(yui, settings) self.yui = yui self.x, self.y = 0, 0 self.settings = settings self.ix, self.iy = settings.ix or 0, settings.iy or...
mit
lichtl/darkstar
scripts/globals/items/yellow_curry_bun_+1.lua
17
1994
----------------------------------------- -- ID: 5763 -- Item: yellow_curry_bun_+1 -- Food Effect: 30minutes, All Races ----------------------------------------- -- Health Points 30 -- Strength 5 -- Agility 2 -- Vitality 2 -- Intelligence -2 -- Attack 23% (caps @ 80) -- Ranged Attack 23% (caps @ 80) -- Resist Sleep -- ...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Cloister_of_Storms/mobs/Ramuh_Prime.lua
8
1467
----------------------------------- -- Area: Cloister of Storms -- Mob: Ramuh Prime -- Involved in Quest: Trial by Lightning, Trial Size Trial by Lightning -- Involved in Mission: ASA-4 Sugar Coated Directive ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/settings") re...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/darkrp/gamemode/modules/f1menu/cl_chatcommandlabel.lua
13
1205
local PANEL = {} local green = Color(0, 150, 0) local red = Color(160, 20, 20) function PANEL:Init() self:SetFont("DarkRPHUD2") self:SetColor(green) self:DockMargin(0, 5, 0, 0) end function PANEL:setChatCommand(command) self.chatCommand = command local text = string.format("%s%s - %s", GAMEMODE.C...
mit
SendCroissant/ggut
game/dota_addons/barebones/scripts/vscripts/gamemode.lua
2
6882
-- This is the primary barebones gamemode script and should be used to assist in initializing your game mode -- Set this to true if you want to see a complete debug output of all events/processes done by barebones -- You can also change the cvar 'barebones_spew' at any time to 1 or 0 for output/no output BAREBONES_DE...
apache-2.0
lichtl/darkstar
scripts/zones/Southern_San_dOria/npcs/Hae_Jakhya.lua
17
1929
----------------------------------- -- Area: Southern San d'Oria -- NPC: Hae Jakhya -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globa...
gpl-3.0
NiLuJe/koreader
frontend/device/kindle/device.lua
3
46938
local Generic = require("device/generic/device") local time = require("ui/time") local lfs = require("libs/libkoreader-lfs") local logger = require("logger") local function yes() return true end local function no() return false end -- luacheck: ignore local function kindleEnableWifi(toggle) local haslipc, lipc =...
agpl-3.0
lichtl/darkstar
scripts/globals/abilities/pets/frost_breath.lua
29
1333
--------------------------------------------------- -- Frost Breath --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/ability"); -----------------------------------------------...
gpl-3.0
omid1212/avint
bot/bot.lua
1
7081
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '0.14.6' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then r...
gpl-2.0
OctoEnigma/shiny-octo-system
gamemodes/darkrp/gamemode/modules/fadmin/fadmin/playeractions/god/cl_init.lua
10
1557
FAdmin.StartHooks["God"] = function() FAdmin.Messages.RegisterNotification{ name = "god", hasTarget = true, message = {"instigator", " enabled godmode for ", "targets"}, receivers = "everyone", } FAdmin.Messages.RegisterNotification{ name = "ungod", hasTarget...
mit
lichtl/darkstar
scripts/zones/Davoi/npcs/_451.lua
17
1190
----------------------------------- -- Area: Davoi -- NPC: _451 (Elevator Lever) -- Notes: Used to operate Elevator @450 (actual npc script is _454) ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
lichtl/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/qm5.lua
12
1026
----------------------------------- -- Area: Temple of Uggalepih -- NPC: ??? (Crimson-toothed Pawberry NM) -- @pos -39 -24 27 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Temple_of_Uggalepih/TextID...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Northern_San_dOria/npcs/Castilchat.lua
9
3083
----------------------------------- -- Area: Northern San d'Oria -- NPC: Castilchat -- Starts Quest: Trial Size Trial by Ice -- !pos -186 0 107 231 ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs"); require("scripts/globals/teleports"); require("scripts/globals/status"); re...
gpl-3.0
lichtl/darkstar
scripts/globals/items/bowl_of_mog_pudding.lua
18
1187
----------------------------------------- -- ID: 6009 -- Item: Bowl of Mog Pudding -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 7 -- Vitality 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Southern_San_dOria/Zone.lua
9
1998
----------------------------------- -- -- Zone: Southern_San_dOria (230) -- ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs"); require("scripts/globals/events/harvest_festivals"); require("scripts/globals/conquest"); require("scripts/globals/settings"); require("scripts/glob...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/North_Gustaberg/npcs/Lyco_Sparkles_0.lua
9
1088
----------------------------------- -- Area: North Gustaberg -- NPC: Lycopodium Teleport 0 -- !pos -281.182 40.113 263.102 106 ----------------------------------- local ID = require("scripts/zones/North_Gustaberg/IDs") require("scripts/globals/npc_util") ----------------------------------- function onTrade(player, np...
gpl-3.0
lichtl/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Loillie.lua
14
1633
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Loillie -- @zone 80 -- @pos 78 -8 -23 ----------------------------------- 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
RunAwayDSP/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Hammer.lua
9
1171
----------------------------------- -- Area: Dynamis - Xarcabard -- Mob: Animated Hammer ----------------------------------- require("scripts/globals/status"); local ID = require("scripts/zones/Dynamis-Xarcabard/IDs"); ----------------------------------- function onMobEngaged(mob,target) if (mob:AnimationSub() =...
gpl-3.0
lichtl/darkstar
scripts/zones/Northern_San_dOria/npcs/Mevreauche.lua
44
2103
----------------------------------- -- Area: Northern San d'Oria -- NPC: Mevreauche -- Type: Smithing Guild Master -- @pos -193.584 10 148.655 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status")...
gpl-3.0
Zariel/bollo2
lib/AceGUI-3.0/widgets/AceGUIWidget-ScrollFrame.lua
7
6348
local AceGUI = LibStub("AceGUI-3.0") ------------- -- Widgets -- ------------- --[[ Widgets must provide the following functions Acquire() - Called when the object is aquired, should set everything to a default hidden state Release() - Called when the object is Released, should remove any anchors and hide the Wid...
bsd-3-clause
Megaf/MegafXPlore2
mods/minetest-3d_armor/hazmat_suit/init.lua
1
3087
-- support for i18n local S = armor_i18n.gettext if not minetest.get_modpath("technic") then minetest.log("warning", S("hazmat_suit: Mod loaded but unused.")) return end minetest.register_craftitem("hazmat_suit:helmet_hazmat", { description = S("Hazmat Helmet"), inventory_image = "hazmat_suit_inv_helmet_hazmat....
gpl-3.0
lichtl/darkstar
scripts/globals/items/whale_staff_+1.lua
41
1079
----------------------------------------- -- ID: 17534 -- Item: Whale Staff +1 -- Additional Effect: Water Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------...
gpl-3.0
lichtl/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Silke.lua
17
1235
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Silke -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets_[S]/TextIDs"); require("scripts/globals/...
gpl-3.0
lichtl/darkstar
scripts/zones/Nashmau/npcs/Chichiroon.lua
17
1298
----------------------------------- -- Area: Nashmau -- NPC: Chichiroon -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/shop"); -------------------...
gpl-3.0
scscgit/scsc_wildstar_addons
RuneMaster/RuneMaster_CraftAndRune.lua
1
22609
----------------------------------------------------------------------------------------------- -- Client Lua Script for RuneMaster -- Copyright (c) Tyler T. Hardy (Potato Rays/perterter/daperterter). All rights reserved ----------------------------------------------------------------------------------------------- lo...
mit
RunAwayDSP/darkstar
scripts/globals/spells/break.lua
12
1181
----------------------------------------- -- Spell: Break -- Petrifies an enemy, preventing it from acting. ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") ----------------------------------------- function onMagicCastingCheck(...
gpl-3.0
lichtl/darkstar
scripts/zones/Abyssea-Vunkerl/npcs/qm7.lua
14
1339
----------------------------------- -- Zone: Abyssea-Vunkerl -- NPC: qm7 (???) -- Spawns Seps -- @pos ? ? ? 217 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[ ...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/mobskills/crystal_weapon_water.lua
11
1048
--------------------------------------------- -- Crystal Weapon -- -- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown -- Notes: Can be Fire, Earth, Wind, or Water element. Funct...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/effects/saber_dance.lua
12
1462
----------------------------------- -- -- dsp.effect.SABER_DANCE -- ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") ----------------------------------- function onEffectGain(target,effect) local saberDanceMerits = target:getMerit(dsp.merit.SABER_DANCE) ...
gpl-3.0
lichtl/darkstar
scripts/zones/Upper_Jeuno/npcs/Sibila-Mobla.lua
17
1382
----------------------------------- -- Area: Upper Jeuno -- NPC: Sibila-Mobla -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); -------...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/mobskills/drill_branch.lua
11
1065
--------------------------------------------- -- Drill Branch -- -- Description: Drills a single target with a branch. Additional effect: Blind -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals/settings") requir...
gpl-3.0
dalqak/slf
plugins/inpm.lua
1114
3008
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
agpl-3.0
lichtl/darkstar
scripts/zones/Pashhow_Marshlands/npcs/Tahmasp.lua
14
1924
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Tahmasp -- Type: Outpost Vendor -- @pos 464 24 416 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/glo...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/spells/sinewy_etude.lua
12
1841
----------------------------------------- -- Spell: Sinewy Etude -- Static STR Boost, BRD 24 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,s...
gpl-3.0
Startg/permag
libs/url.lua
31
8003
-- کد های پایین در ربات نشان داده نمیشوند -- http://permag.ir -- @permag_ir -- @permag_bots -- @permag local string = require("string") local base = _G local table = require("table") local Url={} Url._VERSION = "URL 1.0.2" function Url.escape(s) return string.gsub(s, "([^A-Za-z0-9_])", function(c) return...
gpl-3.0