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
lua/postprocess/sharpen.lua
1
1976
local matSharpen = Material( "pp/sharpen" ) matSharpen:SetTexture( "$fbtexture", render.GetScreenEffectTexture() ) --[[--------------------------------------------------------- Register the convars that will control this effect -----------------------------------------------------------]] local pp_sharpen = CreateCl...
mit
OctoEnigma/shiny-octo-system
addons/ulx/lua/ulx/xgui/server/sv_settings.lua
1
13234
--sv_groups -- by Stickly Man! --Server-side code related to the settings menu. local settings = {} function settings.init() ULib.ucl.registerAccess( "xgui_gmsettings", "superadmin", "Allows changing of gamemode-specific settings on the settings tab in XGUI.", "XGUI" ) ULib.ucl.registerAccess( "xgui_svsettings", "su...
mit
lichtl/darkstar
scripts/zones/East_Sarutabaruta/mobs/Savanna_Rarab.lua
14
1082
----------------------------------- -- Area: East Sarutabaruta -- MOB: Savanna Rarab -- Note: PH for Sharp Eared Ropipi ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/zones/East_Sarutabaruta/MobIDs"); ----------------------------------- -- onMobDeath ------------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Northern_San_dOria/npcs/Amarefice.lua
12
1345
----------------------------------- -- Area: Northern San d'Oria -- NPC: Amarefice -- Type: Woodworking Synthesis Image Support -- !pos -181.506 10.15 259.905 231 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Northern_San_d...
gpl-3.0
lichtl/darkstar
scripts/zones/Gusgen_Mines/npcs/_5g7.lua
14
2970
----------------------------------- -- Area: Gusgen Mines -- NPC: Strange Apparatus -- @pos 219 -39 255 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; require("scripts/zones/Gusgen_Mines/TextIDs"); require("scripts/globals/strangeapparatus"); ---------------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/items/anglers_cassoulet.lua
11
1039
----------------------------------------- -- ID: 5704 -- Item: anglers_cassoulet -- Food Effect: 30, All Races ----------------------------------------- -- VIT -1 -- AGI +5 -- Ranged Accuracy +1 -- Regen +1 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ------...
gpl-3.0
luningcowboy/ejoy2d
examples/asset/birds.lua
21
9809
return { { ["type"] = "picture", [1] = { ["screen"] = { 240, 1280, -240, 1280, -240, -1280, 240, -1280, }, ["tex"] = 1, ["src"] = { 1009, 354, 979, 354, 979, 194, 1009, 194, }, }, ["export"]...
mit
RunAwayDSP/darkstar
scripts/zones/Lufaise_Meadows/Zone.lua
9
2242
----------------------------------- -- -- Zone: Lufaise_Meadows (24) -- ----------------------------------- local ID = require("scripts/zones/Lufaise_Meadows/IDs"); require("scripts/globals/conquest"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/globals/npc_util"); require...
gpl-3.0
taiha/luci
modules/luci-base/luasrc/sys/zoneinfo/tzoffset.lua
12
1053
-- Licensed to the public under the Apache License 2.0. module "luci.sys.zoneinfo.tzoffset" OFFSET = { gmt = 0, -- GMT eat = 10800, -- EAT cet = 3600, -- CET wat = 3600, -- WAT cat = 7200, -- CAT eet = 7200, -- EET wet = 0, -- WET sast = 7200, -- SAST hst = -36000, -- HS...
apache-2.0
sjznxd/lc-20130222
modules/admin-full/luasrc/model/cbi/admin_network/iface_add.lua
79
3091
--[[ LuCI - Lua Configuration Interface Copyright 2009-2010 Jo-Philipp Wich <xm@subsignal.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$ ]]...
apache-2.0
lichtl/darkstar
scripts/zones/Arrapago_Reef/npcs/qm6.lua
30
1138
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (corsair job flag quest) -- ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); ----------------------------------- ...
gpl-3.0
NiLuJe/koreader
frontend/ui/data/keyboardlayouts/keypopup/ar_AA_popup.lua
9
2379
return { alef = { "ا", north = "أ", northeast = "إ", northwest = "ء", east = "آ", west = "ﭐ", }, ba = { "ب", north = "ݒ", }, jeem = { "ج", north = "ج", }, daal = { "د", }, h_aa = { -- الهاء ...
agpl-3.0
RunAwayDSP/darkstar
scripts/globals/mobskills/cannonball.lua
11
1100
--------------------------------------------- -- Cannonball -- Family: Wamouracampa -- Description: Damage varies with TP. -- Type: Physical -- Utsusemi/Blink absorb: One shadow -- Range: 20 -- Notes: Uses defense instead of attack. Curled form only. --------------------------------------------- require("scripts...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/effects/perfect_defense.lua
10
2747
----------------------------------- -- -- -- ----------------------------------- function onEffectGain(target,effect) effect:setSubPower(effect:getPower()*(256/100)) target:addMod(dsp.mod.UDMGPHYS, -effect:getPower()) target:addMod(dsp.mod.UDMGBREATH, -effect:getPower()) target:addMod(dsp.mod.UDMGMAGIC...
gpl-3.0
lichtl/darkstar
scripts/zones/Southern_San_dOria/npcs/Deraquien.lua
14
2447
----------------------------------- -- Area: Southern San d'Oria -- NPC: Deraquien -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -98 -2 31 230 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Upper_Jeuno/npcs/Glyke.lua
12
1041
----------------------------------- -- Area: Upper Jeuno -- NPC: Glyke -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Upper_Jeuno/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrigger(player,npc) local stock = { ...
gpl-3.0
Wiladams/LJIT2RenderingManager
src/drm_h.lua
1
20880
local ffi = require("ffi") local bit = require("bit") local bor = bit.bor; local band = bit.band; local bnot = bit.bnot; --#include <linux/types.h> --#include <asm/ioctl.h> ffi.cdef[[ typedef unsigned int drm_handle_t; ]] ffi.cdef[[ typedef unsigned int drm_context_t; typedef unsigned int drm_drawable_t; typedef ...
mit
taiha/luci
modules/luci-base/luasrc/controller/admin/servicectl.lua
28
1167
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.servicectl", package.seeall) function index() entry({"servicectl"}, alias("servicectl", "status")).sysauth = "root" entry({"servicectl", "status"}, call("action_status")).leaf = ...
apache-2.0
lichtl/darkstar
scripts/zones/Southern_San_dOria/npcs/Arpetion.lua
14
1492
----------------------------------- -- 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/zones/Southern_San_dOria/Te...
gpl-3.0
lichtl/darkstar
scripts/zones/Horlais_Peak/bcnms/double_dragonian.lua
30
1807
----------------------------------- -- Area: Horlias peak -- Name: double_dragonian -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zones/...
gpl-3.0
RunAwayDSP/darkstar
scripts/mixins/job_special.lua
9
13127
--[[ ----------------------------- Mobs that use job special abilities. If required by a mob script, mob will use its main job's special sometime under 60 HPP. This can be modified by calling dsp.mix.jobSpecial.config(mob, params) from within onMobSpawn. params is a table that can contain the following keys: bet...
gpl-3.0
scscgit/scsc_wildstar_addons
1Version/libs/SimpleUtils-1.0.lua
2
3482
local S_MAJOR, S_MINOR = "SimpleUtils-1.0", 2 local S_Pkg = Apollo.GetPackage(S_MAJOR) if S_Pkg and (S_Pkg.nVersion or 0) >= S_MINOR then return -- no upgrade needed end -- Set a reference to the actual package or create an empty table local SimpleUtils = S_Pkg and S_Pkg.tPackage or {} function SimpleUtils:new(args...
mit
lichtl/darkstar
scripts/zones/Sealions_Den/bcnms/one_to_be_feared.lua
26
2501
----------------------------------- -- Area: Sealion's Den -- Name: one_to_be_feared -- bcnmID : 992 ----------------------------------- package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Sealions_Den/TextIDs"); -...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/mobskills/foxfire.lua
11
1266
--------------------------------------------- -- Foxfire -- -- Description: Damage varies with TP. Additional effect: "Stun." -- Type: Physical (Blunt) -- RDM, THF, PLD, BST, BRD, RNG, NIN, and COR fomors). -- --------------------------------------------- require("scripts/globals/settings") require("scripts/globals/...
gpl-3.0
lichtl/darkstar
scripts/globals/items/red_curry_bun_+1.lua
18
1941
----------------------------------------- -- ID: 5765 -- Item: red_curry_bun_+1 -- Food Effect: 30 Min, All Races ----------------------------------------- -- Health 35 -- Strength 7 -- Agility 3 -- Attack % 25 (cap 150) -- Ranged Atk % 25 (cap 150) -- Demon Killer 5 -- HP recovered when healing +6 -- MP recovered when...
gpl-3.0
godfryd/blobby
data/scripts/old/gintonicV6.lua
4
7946
--Gin Tonic v6 - No Comments, sorry :P CT_ServeSelf = { 152, 163, 180, 195, 205, 240 } CT_ServeOpp = { 140, 200, 240 } CT_ServeIndex = 0 CT_Tolerance = 5 CT_Action = "" CT_ShotDecision = 0 CT_NextGround = 9999 CT_LastTouches = 0 CT_LastHeight = 0 CT_WaitCounter = 0 CT_WaitName = "" CT_WaitMoveTo = 0 function IsAt(po...
gpl-2.0
lichtl/darkstar
scripts/zones/Port_Windurst/npcs/Degong.lua
53
1826
----------------------------------- -- Area: Port Windurst -- NPC: Degong -- Type: Fishing Synthesis Image Support -- @pos -178.400 -3.835 60.480 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); ...
gpl-3.0
lichtl/darkstar
scripts/globals/mobskills/Havoc_Spiral.lua
33
1110
--------------------------------------------- -- Havoc Spiral -- -- Description: Deals damage to players in an area of effect. Additional effect: Sleep -- Type: Physical -- 2-3 Shadows -- Range: Unknown -- Special weaponskill unique to Ark Angel MR. Deals ~100-300 damage. -----------------------------------------...
gpl-3.0
lichtl/darkstar
scripts/globals/items/cobalt_jellyfish.lua
18
1334
----------------------------------------- -- ID: 4443 -- Item: cobalt_jellyfish -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
taiha/luci
libs/luci-lib-json/luasrc/json.lua
47
11035
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local nixio = require "nixio" local util = require "luci.util" local table = require "table" local string = require "string" local coroutine = ...
apache-2.0
NiLuJe/koreader
frontend/ui/data/keyboardlayouts/ar_AA_keyboard.lua
4
5732
local en_popup = require("ui/data/keyboardlayouts/keypopup/en_popup") local ar_popup = require("ui/data/keyboardlayouts/keypopup/ar_AA_popup") local com = en_popup.com -- comma (,) local prd = en_popup.prd -- period (.) local _at = en_popup._at local _eq = en_popup._eq -- equals sign (=) local alef = ar_popup.alef loca...
agpl-3.0
RunAwayDSP/darkstar
scripts/zones/Vunkerl_Inlet_[S]/IDs.lua
9
1209
----------------------------------- -- Area: Vunkerl_Inlet_[S] ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.VUNKERL_INLET_S] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come ...
gpl-3.0
lichtl/darkstar
scripts/zones/Lower_Jeuno/npcs/Tuh_Almobankha.lua
27
4090
----------------------------------- -- Area: Lower Jeuno -- NPC: Tuh Almobankha -- Title Change NPC -- @pos -14 0 -61 245 ----------------------------------- require("scripts/globals/titles"); local title2 = { BROWN_MAGE_GUINEA_PIG , BROWN_MAGIC_BYPRODUCT , RESEARCHER_OF_CLASSICS , TORCHBEARER , FORTUNETELLER_IN_TRAI...
gpl-3.0
PUMpITapp/getsmart
src/fonts/lookups/lora.lua
1
10960
return { file="lora.PNG", height=148, description={ family="Lora", style="Bold", size=65 }, metrics={ ascender=117, descender=-32, height=148 }, texture={ file="lora.PNG", width=1024, height=1024 }, chars={ {char=" ",width=31,x=1,y=98,w=0,h=0,ox=0,oy=0}, {char="!",width=30,x=2,y=15,w=19,h...
gpl-3.0
bear24rw/gamingcape_fceu
output/luaScripts/Excitingbike-speedometeronly.lua
9
2348
--Exciting Bike - Speedometer --Written by XKeeper --Shows the speedometer (obviously) require("x_functions"); if not x_requires then -- Sanity check. If they require a newer version, let them know. timer = 1; while (true) do timer = timer + 1; for i = 0, 32 do gui.drawbox( 6, 28 + i, 250, 92 - ...
gpl-2.0
lc412/skynet
examples/agent.lua
65
2082
local skynet = require "skynet" local netpack = require "netpack" local socket = require "socket" local sproto = require "sproto" local sprotoloader = require "sprotoloader" local WATCHDOG local host local send_request local CMD = {} local REQUEST = {} local client_fd function REQUEST:get() print("get", self.what) ...
mit
lichtl/darkstar
scripts/zones/Apollyon/mobs/Borametz.lua
23
1130
----------------------------------- -- Area: Apollyon NE -- NPC: Borametz ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ---------------------------------...
gpl-3.0
lichtl/darkstar
scripts/zones/Wajaom_Woodlands/npcs/Watisa.lua
12
1642
----------------------------------- -- Area: Wajaom Woodlands -- NPC: Watisa -- Type: Chocobo Renter -- @pos -201 -11 93 51 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrade Action ----------------------------...
gpl-3.0
cedar-x/unilua_story
Assets/StreamingAssets/LuaRoot/test/main.lua
9
5880
# testing special comment on first line -- most (all?) tests here assume a reasonable "Unix-like" shell if _port then return end print ("testing lua.c options") assert(os.execute()) -- machine has a system command prog = os.tmpname() otherprog = os.tmpname() out = os.tmpname() do local i = 0 while arg[i] do ...
mit
lichtl/darkstar
scripts/zones/Windurst_Woods/npcs/Cayu_Pensharhumi.lua
14
1472
----------------------------------- -- Area: Windurst Woods -- NPC: Cayu Pensharhumi -- Type: Standard NPC -- @pos 39.437 -0.91 -40.808 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requir...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/darkrp/gamemode/config/_MySQL.lua
2
2293
RP_MySQLConfig = {} -- Ignore this line --[[ Welcome to MySQL for DarkRP! In this file you can find a manual for MySQL configuration and the MySQL config settings. ]] RP_MySQLConfig.EnableMySQL = false -- Set to true if you want to use an external MySQL database, false if you want to use the built in SQLite database...
mit
lichtl/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ryo.lua
30
1239
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ryo -- Type: ZNM assistant -- @pos -127.086 0.999 22.693 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/T...
gpl-3.0
lichtl/darkstar
scripts/globals/spells/gravity_ii.lua
27
1102
----------------------------------------- -- Spell: Gravity II ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,s...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/spells/light_carol.lua
10
1548
----------------------------------------- -- Spell: Light Carol -- Increases light resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") -----------------------------------------...
gpl-3.0
lichtl/darkstar
scripts/zones/Caedarva_Mire/npcs/Nuimahn.lua
14
1402
----------------------------------- -- Area: Caedarva Mire -- NPC: Nuimahn -- Type: Alzadaal Undersea Ruins -- @pos -380 0 -381 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Windurst_Woods/npcs/Bin_Stejihna.lua
12
1365
----------------------------------- -- Area: Windurst_Woods -- NPC: Bin Stejihna -- Only sells when Windurst controlls Zulkheim Region -- Confirmed shop stock, August 2013 ----------------------------------- local ID = require("scripts/zones/Windurst_Woods/IDs") require("scripts/globals/shop") require("scripts/globals...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/items/behemoth_steak.lua
11
1728
----------------------------------------- -- ID: 6464 -- Item: behemoth_steak -- Food Effect: 180Min, All Races ----------------------------------------- -- HP +40 -- STR +7 -- DEX +7 -- INT -3 -- Attack +23% (cap 160) -- Ranged Attack +23% (cap 160) -- Triple Attack +1% -- Lizard Killer +4 -- hHP +4 ------------------...
gpl-3.0
dani-sj/botevil
plugins/music.lua
19
2325
do -- Base search URL local BASE_URL = 'http://pleer.com/mobile/search?q=' -- Base download URL local BASE_DL_URL = 'http://pleer.com/mobile/files_mobile/' local htmlparser = require 'htmlparser' -- Provide download link local function getDownloadLink(id) return BASE_DL_URL .. id .. '.mp3' end ...
gpl-2.0
lichtl/darkstar
scripts/globals/items/slice_of_dhalmel_meat.lua
18
1346
----------------------------------------- -- ID: 4359 -- Item: slice_of_dhalmel_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 3 -- Intelligence -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnI...
gpl-3.0
lichtl/darkstar
scripts/zones/Bearclaw_Pinnacle/npcs/Wind_Pillar.lua
22
1456
----------------------------------- -- Area: Bearclaw Pinnacle -- NPC: Wind Pillar ----------------------------------- package.loaded["scripts/zones/Bearclaw_Pinnacle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("scripts/globals/missi...
gpl-3.0
lichtl/darkstar
scripts/zones/Valkurm_Dunes/npcs/Tsunashige_IM.lua
14
3324
----------------------------------- -- Area: Valkurm Dunes -- NPC: Tsunashige, I.M. -- Outpost Conquest Guards -- @pos 139.394 -7.885 100.384 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); re...
gpl-3.0
ali123345/ali-
libs/fakeredis.lua
650
40405
local unpack = table.unpack or unpack --- Bit operations local ok,bit if _VERSION == "Lua 5.3" then bit = (load [[ return { band = function(x, y) return x & y end, bor = function(x, y) return x | y end, bxor = function(x, y) return x ~ y end, bnot = function(x) return ~x end, rshift = function(x...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/items/plate_of_sole_sushi_+1.lua
11
1437
----------------------------------------- -- ID: 5163 -- Item: plate_of_sole_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Strength 5 -- Dexterity 6 -- Accuracy % 16 -- Ranged ACC % 16 -- Sleep Resist 2 ----------------------------------------- require("scripts/glob...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/sandbox/entities/entities/gmod_lamp.lua
1
5662
AddCSLuaFile() DEFINE_BASECLASS( "base_gmodentity" ) ENT.PrintName = "Lamp" ENT.RenderGroup = RENDERGROUP_BOTH ENT.Editable = true local matLight = Material( "sprites/light_ignorez" ) local matBeam = Material( "effects/lamp_beam" ) AccessorFunc( ENT, "Texture", "FlashlightTexture" ) -- -- Set up our data table -- ...
mit
lichtl/darkstar
scripts/zones/Temenos/mobs/Enhanced_Pugil.lua
23
1034
----------------------------------- -- Area: Temenos W T -- NPC: Enhanced_Pugil ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Port_San_dOria/npcs/Thierride.lua
9
2198
----------------------------------- -- Area: Port San d'Oria -- NPC: Thierride -- Type: Quest Giver -- !pos -67 -5 -28 232 -- -- Starts and Finishes Quest: A Taste For Meat ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/globals/titles"); lo...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/items/shivas_shotel.lua
12
1067
----------------------------------------- -- ID: 17711 -- Item: Shiva's Shotel ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- function onAdditionalEffect(player,target,damage) local chan...
gpl-3.0
lichtl/darkstar
scripts/globals/mobskills/Everyones_Rancor.lua
55
1603
--------------------------------------------- -- Everyones Grudge -- -- Notes: Invokes collective hatred to spite a single target. -- Damage done is 5x the amount of tonberries you have killed! For NM's using this it is 50 x damage. --------------------------------------------- require("scripts/globals/settings");...
gpl-3.0
lichtl/darkstar
scripts/zones/Bastok_Mines/npcs/Proud_Beard.lua
17
1688
----------------------------------- -- Area: Bastok Mines -- NPC: Proud Beard -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); require("scripts/globals/events/harvest_...
gpl-3.0
RunAwayDSP/darkstar
scripts/commands/wallhack.lua
21
1150
--------------------------------------------------------------------------------------------------- -- func: wallhack <optional target> -- desc: Allows the player to walk through walls. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, ...
gpl-3.0
lichtl/darkstar
scripts/zones/Temenos/mobs/Water_Elemental.lua
28
1791
----------------------------------- -- Area: Temenos E T -- NPC: Water_Elemental ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------------...
gpl-3.0
lichtl/darkstar
scripts/zones/Crawlers_Nest/Zone.lua
4
1820
----------------------------------- -- -- Zone: Crawlers_Nest (197) -- ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Crawlers_Nest/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/zone")...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Lower_Jeuno/npcs/Susu.lua
6
2415
----------------------------------- -- Area: Lower Jeuno -- NPC: Susu -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Lower_Jeuno/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end; function onTrigger(player,npc) local stock = { ...
gpl-3.0
lichtl/darkstar
scripts/zones/Western_Adoulin/npcs/Defliaa.lua
14
2221
----------------------------------- -- Area: Western Adoulin -- NPC: Defliaa -- Type: Quest NPC and Shop NPC -- Involved with Quest: 'All the Way to the Bank' -- @zone 256 -- @pos 43 2 -113 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ---------------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Selbina/Zone.lua
9
1886
----------------------------------- -- -- Zone: Selbina (248) -- ----------------------------------- local ID = require("scripts/zones/Selbina/IDs") require("scripts/globals/conquest") require("scripts/globals/keyitems") require("scripts/globals/npc_util") require("scripts/globals/quests") require("scripts/globals/zone...
gpl-3.0
scscgit/scsc_wildstar_addons
AuraMastery/AuraMasteryConfig.lua
1
118565
require "Window" local AuraMasteryConfig = {} AuraMasteryConfig .__index = AuraMasteryConfig local IconText = nil setmetatable(AuraMasteryConfig, { __call = function (cls, ...) return cls.new(...) end, }) local keys = {} keys[45] = "INS" keys[46] = "DEL" keys[36] = "HOME" keys[35] = "END" keys[33] = "PGUP"...
mit
lichtl/darkstar
scripts/zones/Arrapago_Remnants/instances/arrapago_remnants.lua
29
3716
----------------------------------- -- -- Salvage: Arrapago Remnants -- ----------------------------------- require("scripts/globals/instance") package.loaded["scripts/zones/Arrapago_Remnants/IDs"] = nil; local Arrapago = require("scripts/zones/Arrapago_Remnants/IDs"); ----------------------------------- -- afterI...
gpl-3.0
taiha/luci
applications/luci-app-upnp/luasrc/controller/upnp.lua
20
1886
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.upnp", package.seeall) function index() if not nixio.fs.access("/etc/config/upnpd") then return end local page page = entry({"...
apache-2.0
padrinoo/padrino15
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
RunAwayDSP/darkstar
scripts/globals/abilities/ice_shot.lua
11
3138
----------------------------------- -- Ability: Ice Shot -- Consumes a Ice Card to enhance ice-based debuffs. Deals ice-based magic damage -- Frost Effect: Enhanced DoT and AGI- ----------------------------------- require("scripts/globals/ability") require("scripts/globals/magic") require("scripts/globals/status") ----...
gpl-3.0
lichtl/darkstar
scripts/globals/mobskills/Trinary_Tap.lua
32
2010
--------------------------------------------------- -- Trinary Tap -- Attempts to absorb three buffs from a single target, or otherwise steals HP. -- Type: Magical -- Utsusemi/Blink absorb: Ignores Shadows -- Range: Melee -- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any ...
gpl-3.0
Zariel/bollo2
lib/AceGUI-3.0/widgets/AceGUIWidget-Slider.lua
6
6226
local AceGUI = LibStub("AceGUI-3.0") -------------------------- -- Slider -- -------------------------- do local Type = "Slider" local Version = 5 local function OnAcquire(self) self:SetDisabled(false) self:SetSliderValues(0,100,1) self:SetIsPercent(nil) self:SetValue(0) end local functi...
bsd-3-clause
lichtl/darkstar
scripts/commands/addallspells.lua
23
4989
--------------------------------------------------------------------------------------------------- -- func: addallspells -- desc: Adds all valid spells to the given target. If no target; then to the current player. --------------------------------------------------------------------------------------------------- cmd...
gpl-3.0
da03/OpenNMT
test/onmt/LMTest.lua
8
1166
require('onmt.init') local tester = ... local languageModelTest = torch.TestSuite() function languageModelTest.basic() tester:eq(onmt.LanguageModel.dataType('monotext'), true) tester:eq(onmt.LanguageModel.dataType(), 'monotext') end function languageModelTest.train() local cmd = onmt.utils.ExtendedCmdLine.new...
mit
lichtl/darkstar
scripts/globals/items/simit.lua
19
1289
----------------------------------------- -- ID: 5596 -- Item: simit -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 16 -- Dexterity -1 -- Vitality 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
lichtl/darkstar
scripts/zones/Beadeaux/npcs/Treasure_Chest.lua
14
2976
----------------------------------- -- Area: Beadeaux -- NPC: Treasure Chest -- @zone 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/zones/Bea...
gpl-3.0
lichtl/darkstar
scripts/zones/Heavens_Tower/npcs/Chumimi.lua
25
6406
----------------------------------- -- Area: Heaven's Tower -- NPC: Chumimi -- Starts and Finishes Quest: The Three Magi, Recollections -- @pos 0.1 30 21 242 ----------------------------------- package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
lichtl/darkstar
scripts/globals/items/slice_of_diatryma_meat.lua
18
1342
----------------------------------------- -- ID: 5290 -- Item: Slice of Diatryma Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- Strength +3 -- Intelligence -5 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/mobskills/damnation_dive.lua
11
1449
--------------------------------------------- -- Damnation Dive -- -- Description: Dives into a single target. Additional effect: Knockback + Stun -- Type: Physical -- Utsusemi/Blink absorb: 3 shadow -- Range: Melee -- Notes: Used instead of Gliding Spike by certain notorious monsters. ---------------------------------...
gpl-3.0
lichtl/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Malfud.lua
17
1325
----------------------------------- -- Area: Aht Urhfan Whitegate -- NPC: Malfud -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("scripts/g...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/darkrp/entities/entities/darkrp_laws/init.lua
11
4934
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") local Laws = {} local FixedLaws = {} timer.Simple(0, function() Laws = table.Copy(GAMEMODE.Config.DefaultLaws) FixedLaws = table.Copy(Laws) end) local hookCanEditLaws = {canEditLaws = function(_, ply, action, args) if not RPExt...
mit
Joemag/Egg-Battle
states/CreditsState.lua
1
6575
--[[ Copyright 2014 Sergej Nisin Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
apache-2.0
RunAwayDSP/darkstar
scripts/zones/Horlais_Peak/bcnms/shots_in_the_dark.lua
9
1064
----------------------------------- -- Shots in the Dark -- Horlais Peak BCNM60, Moon Orb -- !additem 1130 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function on...
gpl-3.0
leonardowindbot/windbotscripts
huds/6755-awesome task helper/AweTaskHelper.lua
2
6653
init start -- local SCRIPT_VERSION = "3.1.0" local TaskHelper = { ShowAll = true, } -- DO NOT EDIT BELOW THIS LINE -- local hud = { -- settings pos = {0, 0}, aux = {0, 0}, width = 0, height = 0, moving = false, -- colors blue = {0.0, color(36, 68, 105, 20), 0.33, color(39, 73, 114, 2...
mit
LORgames/premake-core
modules/vstudio/tests/vc2010/test_debug_settings.lua
8
2640
-- -- tests/actions/vstudio/vc2010/test_debug_settings.lua -- Validate handling of the working directory for debugging. -- Copyright (c) 2011-2013 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_vs2010_debug_settings") local vc2010 = p.vstudio.vc2010 local project = p...
bsd-3-clause
Anarchid/Zero-K
effects/DOT_Merl_Dexplo.lua
7
1627
return { DOT_Merl_DExplo = { Dreck = { class = [[CSimpleParticleSystem]], properties = { Texture = [[smokesmall]], colorMap = [[.07 .05 .05 0.80 .00 .00 .00 0.01]], pos = [[0, 1, 0]], gravity = [[0, -0.2, 0]], emitVector = [[0, 1, 0]], emitRot = 0, emitRotSpread = 50, siz...
gpl-2.0
Anarchid/Zero-K
LuaRules/Configs/MetalSpots/SpringMountainDelta.lua
8
4247
return { spots = { {x = 7368, z = 5688, metal = 1.8013601303101}, {x = 3000, z = 3240, metal = 1.4149597883224}, {x = 4600, z = 7416, metal = 1.4151902198792}, {x = 4744, z = 2728, metal = 1.4163403511047}, {x = 6312, z = 2536, metal = 1.4163397550583}, {x = 3992, z = 5352, metal = 1.4165700674057}, {x =...
gpl-2.0
SametSisartenep/dotfiles
.config/vis/lexers/sql.lua
5
3501
-- Copyright 2006-2017 Mitchell mitchell.att.foicica.com. See LICENSE. -- SQL LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'sql'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local line_comme...
isc
nimaghorbani/dozdi2
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
Bew78LesellB/awesome
docs/05-awesomerc.md.lua
3
8943
local filename, rcfile, new_rcfile, rc_script = ... local f = assert(io.open(filename, "w")) f:write[[# Default configuration file documentation This document explains the default `rc.lua` file provided by Awesome. ]] -- Document sections of the file to guide new users to the right doc pages local sections = {} ...
gpl-2.0
Insurgencygame/LivingDead
TheLivingDeadv0.1.sdd/units/unused/correap.lua
1
3193
return { correap = { acceleration = 0.043999999761581, brakerate = 0.065999999642372, buildcostenergy = 9646, buildcostmetal = 589, buildpic = "CORREAP.DDS", buildtime = 11501, canmove = true, category = "ALL TANK MOBILE WEAPON NOTSUB NOTSHIP NOTAIR NOTHOVER SURFACE", collisionvolumeoffsets = "0 -7 0...
gpl-2.0
cburlacu/packages
utils/yunbridge/files/usr/bin/pretty-wifi-info.lua
106
2067
#!/usr/bin/lua local function get_basic_net_info(network, iface, accumulator) local net = network:get_network(iface) local device = net and net:get_interface() if device then accumulator["uptime"] = net:uptime() accumulator["iface"] = device:name() accumulator["mac"] = device:mac() accumulator["...
gpl-2.0
Stepets/utf8.lua
modifier/compiletime/vanilla.lua
1
7173
return function(utf8) local utf8unicode = utf8.byte local sub = utf8.raw.sub local matchers = { star = function(class, name) local class_name = 'class' .. name return [[ local ]] .. class_name .. [[ = ]] .. class .. [[ add(function(ctx) -- star -- debug(ctx, 'star', ']] .. class_name .. [[') lo...
mit
Mutos/SoC-Test-001
dat/missions/pirate/pir_empbounty.lua
11
5592
--[[ empire bounty Random pirate hitman mission to kill a unique empire patrolman. Author: nloewen --]] include "dat/scripts/numstring.lua" -- Localization, choosing a language if naev is translated for non-english-speaking locales. lang = naev.lang() if lang == "es" then else -- Default to English --...
gpl-3.0
jerizm/kong
kong/plugins/file-log/handler.lua
6
2355
-- Copyright (C) Mashape, Inc. local ffi = require "ffi" local cjson = require "cjson" local system_constants = require "lua_system_constants" local basic_serializer = require "kong.plugins.log-serializers.basic" local BasePlugin = require "kong.plugins.base_plugin" local ngx_timer = ngx.timer.at local string_len = st...
apache-2.0
Sasu98/Nerd-Gaming-Public
resources/[shaders]/SHDRSkyBox/c_switch.lua
2
1157
--[[ addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource()), function() --outputDebugString('/sSkyBox to switch the effect') triggerEvent( "switchSkyBox", resourceRoot, true ) addCommandHandler( "sSkyBox", function() triggerEvent( "switchSkyBox", resourceRoot, not sbxEffectE...
mit
mansour2911/tigr-anti-spam
plugins/info.lua
1
8336
--Begin info.lua By @SoLiD local Solid = 157059515 local function setrank(msg, user_id, value,chat_id) local hash = nil hash = 'rank:'..msg.to.id..':variables' if hash then redis:hset(hash, user_id, value) return tdcli.sendMessage(chat_id, '', 0, '_set_ *Rank* _for_ *[ '..user_id..' ]* _To :_ *'..value...
gpl-3.0
Anarchid/Zero-K
LuaUI/Widgets/gui_chili_proconsole_test.lua
5
48449
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Chili Pro Console", desc = "v0.016 Chili Chat Pro Console.", author = "CarRepairer", ...
gpl-2.0
Bew78LesellB/awesome
tests/examples/wibox/awidget/tasklist/windows10.lua
2
2622
local parent = ... --DOC_NO_USAGE --DOC_HIDE local awful = { --DOC_HIDE tag = require("awful.tag"), --DOC_HIDE placement = require("awful.placement"), --DOC_HIDE widget = {clienticon =require("awful.widget.clienticon"), --DOC_HIDE tasklist = require("awful.widget.tasklist")} --DOC_HIDE } --DOC...
gpl-2.0
Drauthius/monstrous-bosses
lib/state/state.lua
1
1044
--[[ Copyright (C) 2015 Albert Diserholt This file is part of Monstrous Bosses. Monstrous Bosses 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 ve...
gpl-3.0