repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
TeoTwawki/darkstar
scripts/globals/items/pepperoni_pizza.lua
11
1261
----------------------------------------- -- ID: 5697 -- Item: pepperoni_pizza -- Food Effect: 3 hours, all Races ----------------------------------------- -- HP +30 -- Strength 1 -- Accuracy 9% (caps @ 10) -- Attack 10% (caps @ 15) ----------------------------------------- require("scripts/globals/status") require("sc...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Port_San_dOria/npcs/Ceraulian.lua
1
5018
----------------------------------- -- Area: Port San d'Oria -- NPC: Ceraulian -- Involved in Quest: The Holy Crest -- !pos 0 -8 -122 232 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/globals/keyitems"); l...
gpl-3.0
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/ActionFadeFrame.lua
14
1199
-------------------------------- -- @module ActionFadeFrame -- @extend ActionFrame -- @parent_module ccs -------------------------------- -- Gets the fade action opacity.<br> -- return the fade action opacity. -- @function [parent=#ActionFadeFrame] getOpacity -- @param self -- @return int#int ret (return value: int)...
mit
TeoTwawki/darkstar
scripts/zones/Port_San_dOria/npcs/Meinemelle.lua
2
1066
----------------------------------- -- Area: Port San d'Oria -- NPC: Meinemelle -- !pos -8.289 -9.3 -146.093 232 ----------------------------------- local ID = require("scripts/zones/Port_San_dOria/IDs") require("scripts/globals/npc_util") require("scripts/globals/quests") ----------------------------------- function...
gpl-3.0
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/FlipX.lua
11
1226
-------------------------------- -- @module FlipX -- @extend ActionInstant -- @parent_module cc -------------------------------- -- init the action -- @function [parent=#FlipX] initWithFlipX -- @param self -- @param #bool x -- @return bool#bool ret (return value: bool) -------------------------------- -- ...
mit
itsTheFae/Mudlet
src/mudlet-lua/lua/geyser/GeyserContainer.lua
2
14054
-------------------------------------- -- -- -- The Geyser Layout Manager by guy -- -- -- -------------------------------------- --- Represents a generic container with positional information. -- Has no notion of contents and is used to contain other wi...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/quests.lua
1
55407
require("scripts/globals/log_ids") require("scripts/globals/zone") dsp = dsp or {} dsp.quest = dsp.quest or {} ----------------------------------- -- -- QUESTS ID -- ----------------------------------- QUEST_AVAILABLE = 0; QUEST_ACCEPTED = 1; QUEST_COMPLETED = 2; -- Log IDs defined as "enums" here to tie into que...
gpl-3.0
mentor81/k2hV2
plugins/banhammer.lua
294
10470
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/linux/logging-receiver_mysql_custom/56c8f4b40362258e020d39d4bc91b14b.lua
1
1171
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
celophi/melia
system/scripts/npc/field/f_katyn_14.lua
1
14931
----- Officer Danus ----- ----- npcselectdialog.ies | ClassName: KATYN14_LAIMUNAS ----- ----- Dialog ----- ----- QuestIDs: KATYN14_MQ_00 | KATYN14_MQ_01 | KATYN14_MQ_04 | KATYN14_MQ_06 ----- addnpc(20107, "QUEST_LV_0200_20150317_000411", "f_katyn_14", 2598, 82, -881, 82, "npc_QUEST_LV_0200_20150317_000411") function n...
gpl-3.0
szkl/koding
go/src/vendor/github.com/caglar10ur/lxc/src/lxc/lxc-top.lua
62
7453
#!/usr/bin/env lua -- -- top(1) like monitor for lxc containers -- -- Copyright © 2012 Oracle. -- -- Authors: -- Dwight Engen <dwight.engen@oracle.com> -- -- This library is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License version 2, as -- published by the Fre...
agpl-3.0
notcake/gcad
lua/gcad/space/partitioning/octree/octreenode.lua
1
6880
local self = {} GCAD.OctreeNode = GCAD.MakeConstructor (self, GCAD.ISpatialPartitionNode3d) local GCAD_AABB3d_ContainsPoint3 = GCAD.AABB3d.ContainsPoint3 local GCAD_AABB3d_Equals = GCAD.AABB3d.Equals local GCAD_UnpackedVector3d_Add = GCAD.UnpackedVector3d.Add lo...
gpl-3.0
abbasgh12345/extremeboss
plugins/Fabanhammer.lua
14
11813
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Norg/npcs/Ryoma.lua
2
4096
----------------------------------- -- Area: Norg -- NPC: Ryoma -- Start and Finish Quest: 20 in Pirate Years, I'll Take the Big Box, True Will, Bugi Soden -- Involved in Quest: Ayame and Kaede -- !pos -23 0 -9 252 ----------------------------------- local ID = require("scripts/zones/Norg/IDs") require("scripts/global...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/besieged.lua
3
9766
----------------------------------- -- -- Functions for Besieged system -- ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/npc_util") require("scripts/globals/status") require("scripts/globals/teleports") ----------------------------------- dsp = dsp or {} dsp.besie...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/mobskills/fiery_breath.lua
11
1307
--------------------------------------------- -- Fiery Breath -- -- Description: Deals Fire damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Tiamat, Smok and Ildebrann --------------------------------------------- r...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Port_Jeuno/npcs/Zuah_Lepahnyu.lua
12
4213
----------------------------------- -- Area: Port Jeuno -- NPC: ZuahLepahnyu -- Title Change NPC -- !pos 0 0 8 246 ----------------------------------- require("scripts/globals/titles") ----------------------------------- local eventId = 330 local titleInfo = { { cost = 200, title = { ...
gpl-3.0
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/GridBase.lua
9
4540
-------------------------------- -- @module GridBase -- @extend Ref -- @parent_module cc -------------------------------- -- Set the size of the grid. -- @function [parent=#GridBase] setGridSize -- @param self -- @param #size_table gridSize -- @return GridBase#GridBase self (return value: cc.GridBase) -----...
mit
cloudaice/conky-colors
conkycolors/scripts/conkyRing.lua
3
36444
--[[ -- This code is mostly by londonali1010, mrpeachy, VinDSL, Wlourf and SLK -- Conky-Colors by helmuthdu -- license : Distributed under the terms of GNU GPL version 2 or later ]] require 'cairo' ------------------------------------------------------------------------------- -- ...
gpl-3.0
TeoTwawki/darkstar
scripts/commands/hp.lua
22
1359
--------------------------------------------------------------------------------------------------- -- func: hp <amount> <player> -- desc: Sets the GM or target players health. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, param...
gpl-3.0
vladipus/conky-panels
net-panel.lua
1
2003
--[[ # ********************************************************************** # Conky Panels / NET # # A simple display panel to monitor network activity. # # Author: Vladislav Dmitrievich Turbanov # Repository: https://github.com/vladipus/conky-panels # License: BSD # # Some elements were based on this theme: # http:/...
mit
pierres/archlinux-mediawiki
extensions/Scribunto/includes/engines/LuaCommon/lualib/mw.site.lua
6
2264
local site = {} function site.setupInterface( info ) -- Boilerplate site.setupInterface = nil local php = mw_interface mw_interface = nil site.siteName = info.siteName site.server = info.server site.scriptPath = info.scriptPath site.stylePath = info.stylePath site.currentVersion = info.currentVersion site.s...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/RuLude_Gardens/npcs/Dabih_Jajalioh.lua
12
1452
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Dabih Jajalioh -- Standard Merchant NPC -- TODO: Add support for occasional stock. ----------------------------------- local ID = require("scripts/zones/RuLude_Gardens/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end fun...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/spells/frazzle_ii.lua
12
1622
----------------------------------------- -- Spell: Frazzle II ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") require("scripts/globals/utils") ----------------------------------------- function onMagicCastingCheck(caster, targ...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Crawlers_Nest/npcs/qm8.lua
1
2201
----------------------------------- -- Area: Crawlers Nest -- NPC: ??? -- Involved in Quest: The Crimson Trial -- !pos 59 0.1 66 197 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); local ID = require("scripts/zones/Crawler...
gpl-3.0
dxmgame/dxm-cocos
src/apps/lua-empty-test/Resources/src/cocos/extension/DeprecatedExtensionClass.lua
61
4838
if nil == cc.Control then return end -- This is the DeprecatedExtensionClass DeprecatedExtensionClass = {} or DeprecatedExtensionClass --tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --CCControl ...
mit
TeoTwawki/darkstar
scripts/zones/Ifrits_Cauldron/Zone.lua
4
1276
----------------------------------- -- -- Zone: Ifrits_Cauldron (205) -- ----------------------------------- local ID = require("scripts/zones/Ifrits_Cauldron/IDs"); require("scripts/globals/conquest"); require("scripts/globals/treasure") require("scripts/globals/helm") ----------------------------------- function onI...
gpl-3.0
voydz/vektor
libs/AceEvent-3.0/AceEvent-3.0.lua
50
4772
--- AceEvent-3.0 provides event registration and secure dispatching. -- All dispatching is done using **CallbackHandler-1.0**. AceEvent is a simple wrapper around -- CallbackHandler, and dispatches all game events or addon message to the registrees. -- -- **AceEvent-3.0** can be embeded into your addon, either explicit...
mit
TeoTwawki/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/qm8.lua
2
1316
----------------------------------- -- Area: Jugner Forest (S) -- NPC: ??? -- Type: Quest NPC -- !pos -6 0 -295 82 ----------------------------------- local ID = require("scripts/zones/Jugner_Forest_[S]/IDs"); require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) en...
gpl-3.0
celophi/melia
system/scripts/npc/field/f_rokas_27.lua
1
13825
----- Archaeologist Dezic ----- ----- npcselectdialog.ies | ClassName: ROKAS27_DESIG_01 ----- ----- Dialog ----- ----- QuestIDs: ROKAS27_QB_1 ----- addnpc(152002, "QUEST_LV_0100_20150317_000111", "f_rokas_27", -436, 1197, -2988, -24, "npc_QUEST_LV_0100_20150317_000111") function npc_QUEST_LV_0100_20150317_000111() msg...
gpl-3.0
X-Coder/SBEP-Weapons
lua/entities/sf-bigmacshell/init.lua
1
8444
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( 'shared.lua' ) function ENT:Initialize() self.Entity:SetModel( "models/Slyfo/nacshuttleright.mdl" ) self.Entity:SetName("RailSlug") self.Entity:PhysicsInit( SOLID_VPHYSICS ) self.Entity:SetMoveType( MOVETYPE_VPHYSICS ) self.Entity:SetSolid( SOLI...
apache-2.0
jozeff3/devill
plugins/getlink.lua
10
27315
--[[ # For More Information ....! # Developer : Aziz < @devss_bot > #Dev # our channel: @help_tele ]] do local function check_member(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 memb...
gpl-2.0
kooiot/GoIoT
apps/modbus/modbus/pdu.lua
3
3959
local encode = require('modbus.encode') local decode = require('modbus.decode') local code = require('modbus.code') local _M = {} function _M.max_size() return 253 end local function create_pdu(fc) local obj = { fc = fc, max_size = _M.max_size, data = {}, raw_data = {}, } return { append = function(se...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/mobskills/pw_groundburst.lua
11
1089
--------------------------------------------- -- Groundburst -- -- Description: Expels a fireball on targets in an area of effect. -- Type: Physical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown radial -- Notes: Only used by notorious monsters, and from any Mamool Ja in besieged. ---------------------------...
gpl-3.0
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/Tween.lua
19
2495
-------------------------------- -- @module Tween -- @extend ProcessBase -- @parent_module ccs -------------------------------- -- -- @function [parent=#Tween] getAnimation -- @param self -- @return ArmatureAnimation#ArmatureAnimation ret (return value: ccs.ArmatureAnimation) ------------------------------...
mit
TeoTwawki/darkstar
scripts/commands/getmod.lua
12
1470
--------------------------------------------------------------------------------------------------- -- func: getmod <modID> -- desc: gets a mod by ID on the player or cursor target --------------------------------------------------------------------------------------------------- require("scripts/globals/status") cmdp...
gpl-3.0
cuit-zhaxin/quick-ng
cocos/scripting/lua-bindings/auto/api/ActionTimeline.lua
11
7479
-------------------------------- -- @module ActionTimeline -- @extend Action -- @parent_module ccs -------------------------------- -- add Timeline to ActionTimeline -- @function [parent=#ActionTimeline] addTimeline -- @param self -- @param #ccs.Timeline timeline -- @return ActionTimeline#ActionTimeline self (retu...
mit
TeoTwawki/darkstar
scripts/globals/items/aileens_delight.lua
11
1521
----------------------------------------- -- ID: 5674 -- Item: Aileen's Delight -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP +50 -- MP +50 -- STR +4 -- DEX +4 -- VIT +4 -- AGI +4 -- INT +4 -- MND +4 -- CHR +4 -- MP recovered while healing +2 -----------------------------------------...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/mobskills/amon_drive.lua
11
1282
--------------------------------------------- -- Amon Drive -- -- Description: Performs an area of effect weaponskill. Additional effect: Paralysis + Petrification + Poison -- Type: Physical -- 2-3 Shadows? -- Range: Melee range radial -- Special weaponskill unique to Ark Angel TT. Deals ~100-400 damage. --------...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/mobskills/antimatter.lua
11
1244
--------------------------------------------------- -- Antimatter -- -- Description: Single-target ranged Light damage (~700-1500), ignores Utsusemi. -- Type: Magical -- --------------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals...
gpl-3.0
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/tests/lua-tests/src/AssetsManagerTest/AssetsManagerTest.lua
10
4584
local targetPlatform = cc.Application:getInstance():getTargetPlatform() local lineSpace = 40 local itemTagBasic = 1000 local menuItemNames = { "enter", "reset", "update", } local winSize = cc.Director:getInstance():getWinSize() local function updateLayer() local layer = cc.Layer:create() local s...
mit
czfshine-self/ds_mod_creator
bin/clibs/LuaXml.lua
2
3810
require("LuaXML_lib") local base = _G local xml = xml module("xml") -- symbolic name for tag index, this allows accessing the tag by var[xml.TAG] TAG = 0 -- sets or returns tag of a LuaXML object function tag(var,tag) if base.type(var)~="table" then return end if base.type(tag)=="nil" then retu...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Northern_San_dOria/npcs/Vichuel.lua
11
1281
----------------------------------- -- Area: Northern San d'Oria -- NPC: Vichuel -- Only sells when San d'Oria controlls Fauregandi Region ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs") require("scripts/globals/events/harvest_festivals") require("scripts/gl...
gpl-3.0
sundream/skynet
examples/login/msgagent.lua
58
1165
local skynet = require "skynet" skynet.register_protocol { name = "client", id = skynet.PTYPE_CLIENT, unpack = skynet.tostring, } local gate local userid, subid local CMD = {} function CMD.login(source, uid, sid, secret) -- you may use secret to make a encrypted data stream skynet.error(string.format("%s is lo...
mit
wiremod/wire
lua/wire/server/modelplug.lua
8
1037
ModelPlugInfo = {} --uncomment line 15 and line 26-34 to enable sending model packs to clients function ModelPlug_Register(category) if (not ModelPlugInfo[category]) then local catinfo = {} local packs = file.Find("WireModelPacks/*.txt", "DATA") for _,filename in pairs(packs) do --resource.AddFile("d...
apache-2.0
ReWrite94/iLife
server/Classes/World/cHouse.lua
2
10192
Houses = {} CHouse = inherit(CElement) function CHouse:constructor(iID, iCost, iCost2, iOwner, sKoords, bLocked, tInterior, iObjektDistanz, iFaction, tKeys, iCorp) self.ID = iID self.Cost = iCost self.XtraCost = iCost2; self.DefaultCost = iCost; self.Cost = self.Cost+self.XtraCost self.Owner = iOwne...
mit
TeoTwawki/darkstar
scripts/globals/spells/bluemagic/infrasonics.lua
12
1346
----------------------------------------- -- Spell: Infrasonics -- Lowers the evasion of enemies within a fan-shaped area originating from the caster -- Spell cost: 42 MP -- Monster Type: Lizards -- Spell Type: Magical (Ice) -- Blue Magic Points: 4 -- Stat Bonus: INT+1 -- Level: 65 -- Casting Time: 5 seconds -- Recast ...
gpl-3.0
dxmgame/dxm-cocos
src/apps/lua-empty-test/Resources/src/cocos/framework/init.lua
35
2697
--[[ Copyright (c) 2011-2015 chukong-incc.com 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, di...
mit
TeoTwawki/darkstar
scripts/globals/weaponskills/shattersoul.lua
10
2356
----------------------------------- -- Shattersoul -- Skill Level: 357 -- Description: Delivers a threefold attack. Decreases target's magic defense. Duration of effect varies with TP. -- To obtain Shattersoul, the quest Martial Mastery must be completed and it must be purchased from the Merit Points menu. -- Target's ...
gpl-3.0
Elv13/awesome-1
lib/dynamite/tests/suit/tile/directions.lua
1
2656
--DOC_HIDE_ALL --DOC_GEN_IMAGE local a_tag = require("awful.tag") local a_layout = require("awful.layout") local tile = require("dynamite.suit.tile") screen._setup_grid(128, 96, {4}) local function add_clients(s) local x, y = s.geometry.x, s.geometry.y for _=1, 5 do client.gen_fake{x = x+45, y ...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/mobskills/tourbillion.lua
11
1465
--------------------------------------------- -- Tourbillion -- -- Description: Delivers an area attack. Additional effect duration varies with TP. Additional effect: Weakens defense. -- Type: Physical -- Shadow per hit -- Range: Unknown range --------------------------------------------- require("scripts/globals/...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/spells/freeze_ii.lua
6
1267
----------------------------------------- -- Spell: Freeze II -- Deals ice damage to an enemy and lowers its resistance against fire. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") ----------------------------------------- function onMagicCastingCheck(caste...
gpl-3.0
buybackoff/QuikSharp
lib/QL/Robots/Spreader/Spreader.lua
7
16690
--vresion 0.3.0 -- transactions sync -- bug in workbid and workask -- moved from OnAllTrade to OnParam, no class in settings require"QL" require"luaxml" is_run=false log="spreader.txt" --settings={} --params security="SBER" class="QJSIM" work_spread=5 wait_slippage=10 alert_slippage=30 minprofit=5 clc="56375" account="...
apache-2.0
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/tests/lua-tests/src/ZwoptexTest/ZwoptexTest.lua
16
4398
local scheduler = cc.Director:getInstance():getScheduler() -------------------------------------------------------------------- -- -- ZwoptexGenericTest -- -------------------------------------------------------------------- local function ZwoptexGenericTest() local ret = createTestLayer("Zwoptex Tests", ...
mit
TeoTwawki/darkstar
scripts/globals/items/konigskuchen.lua
11
1148
----------------------------------------- -- ID: 5614 -- Item: konigskuchen -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 8 -- Magic % 3 -- Magic Cap 13 -- Intelligence 2 -- hMP +1 ----------------------------------------- require("scripts/globals/status") require("scripts/global...
gpl-3.0
MHoroszowski/Automato-ATITD
scripts/fishing_old.lua
2
25389
-- Pin up your Lures menu 'Self Click, Skills, Fishing, Use Lure' (no other pinned up windows can exist) -- Should have (Chat-Related): 'Chat and Inventory can be minimized' AND 'Minimized chat-channels are still visible'. -- You must have Main Chat tab showing at all times and window is long/wide enough so no lines do...
mit
TeoTwawki/darkstar
scripts/zones/Windurst_Waters/npcs/Orn.lua
2
1283
----------------------------------- -- Area: Windurst Waters -- NPC: Orn -- !pos -68 -9 30 238 ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/settings"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) b...
gpl-3.0
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/ActionTimelineCache.lua
14
2851
-------------------------------- -- @module ActionTimelineCache -- @parent_module ccs -------------------------------- -- Clone a action with the specified name from the container. -- @function [parent=#ActionTimelineCache] createActionFromJson -- @param self -- @param #string fileName -- @return ActionTimeline#Ac...
mit
cuit-zhaxin/quick-ng
cocos/scripting/lua-bindings/auto/api/SpritePolygonCache.lua
8
1503
-------------------------------- -- @module SpritePolygonCache -- @extend Ref -- @parent_module cc -------------------------------- -- -- @function [parent=#SpritePolygonCache] isSpritePolygonCachExist -- @param self -- @param #string filePath -- @param #rect_table rect -- @return bool#bool ret (return value: bool)...
mit
TeoTwawki/darkstar
scripts/globals/weaponskills/blade_ten.lua
10
1440
----------------------------------- -- Blade Ten -- Katana weapon skill -- Skill Level: 225 -- Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers: STR:30% DEX:3...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/abilities/steal.lua
3
4307
----------------------------------- -- Ability: Steal -- Steal items from enemy. -- Obtained: Thief Level 5 -- Recast Time: 5:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/msg") -- these are the quadavs that th...
gpl-3.0
oeuftete/wx-xword
scripts/libs/luacurl/init.lua
2
14748
--- An easier luacurl. -- @module curl require 'c-luacurl' local path = require 'pl.path' local tablex = require 'pl.tablex' local makepath = require 'pl.dir'.makepath -- cURL options string to int conversion --- Specially mapped option name -- @see curl.get_opt local named_opts = { write = curl.OPT...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Windurst_Woods/npcs/Kopuro-Popuro.lua
2
5155
----------------------------------- -- Area: Windurst Woods -- NPC: Kopuro-Popuro -- Type: Standard NPC -- !pos -0.037 -4.749 -22.589 241 -- Starts Quests: The All-New C-2000, Legendary Plan B, The All-New C-3000 -- Involved in quests: Lost Chick ----------------------------------- require("scripts/globals/npc_util") ...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Rolanberry_Fields/Zone.lua
2
2169
----------------------------------- -- -- Zone: Rolanberry_Fields (110) -- ----------------------------------- local ID = require("scripts/zones/Rolanberry_Fields/IDs") require("scripts/globals/icanheararainbow") require("scripts/globals/chocobo_digging") require("scripts/globals/conquest") require("scripts/globals/mis...
gpl-3.0
wiremod/wire
lua/wire/stools/output.lua
8
1075
WireToolSetup.setCategory( "Input, Output/Keyboard Interaction" ) WireToolSetup.open( "output", "Numpad Output", "gmod_wire_output", nil, "Numpad Outputs" ) if CLIENT then language.Add( "Tool.wire_output.name", "Output Tool (Wire)" ) language.Add( "Tool.wire_output.desc", "Spawns an output for use with the wire syst...
apache-2.0
dani-sj/test
plugins/plugins.lua
72
6113
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
gmalmquist/turtling
src/universal/GitRun.lua
1
6851
-- Runs git programs. PROPERTIES_FILE = "settings.gitrun.txt" function load_properties() if not fs.exists(PROPERTIES_FILE) then return {} end local h = fs.open(PROPERTIES_FILE, "r") local text = h.readAll() h.close() local properties = {} while true do local eq = string.find(text, "=") if eq...
apache-2.0
T4Larson/OpenTomb
scripts/character/character.lua
3
1691
-- OPENTOMB CHARACTER DEFINE FILE -- by Lwmte, Oct 2014 -------------------------------------------------------------------------------- -- Here we define character options to ease usage of getCharacterOption and -- setCharacterOption functions. -------------------------------------------------------------------------...
lgpl-3.0
joey1258/ToluaContainer
Assets/ToLua/Lua/protobuf/type_checkers.lua
15
2366
-- -------------------------------------------------------------------------------- -- FILE: type_checkers.lua -- DESCRIPTION: protoc-gen-lua -- Google's Protocol Buffers project, ported to lua. -- https://code.google.com/p/protoc-gen-lua/ -- -- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.co...
mit
asqbtcupid/unreal.lua
Plugins/UnrealLua/LuaSource/frame/debugger/debugsocketmgr.lua
1
7470
local TcpConnection = Inherit(ObjectBase) UnrealLuaSocketMgr = Inherit(ObjectBase) local json = require "util.json".createJson() local function Log(...) a_(...) end local seq = 0 function TcpConnection:Ctor(SocketBind, Name) self.m_TheSocketBind = SocketBind -- self:SetNonBlocking(true) self.m_Buffer = "" self.m...
mit
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/Animation3D.lua
11
1271
-------------------------------- -- @module Animation3D -- @extend Ref -- @parent_module cc -------------------------------- -- init Animation3D with file name and animation name -- @function [parent=#Animation3D] initWithFile -- @param self -- @param #string filename -- @param #string animationName -- @return bool#...
mit
981213/luci-1
libs/luci-lib-nixio/docsrc/nixio.bit.lua
171
2044
--- Bitfield operators and mainpulation functions. -- Can be used as a drop-in replacement for bitlib. module "nixio.bit" --- Bitwise OR several numbers. -- @class function -- @name bor -- @param oper1 First Operand -- @param oper2 Second Operand -- @param ... More Operands -- @return number --- Invert given number. ...
apache-2.0
ReWrite94/iLife
server/Classes/Quest/Scripts/51.lua
2
2233
local QuestID = 51 local Quest = Quests[QuestID] local EmptyVehicle = createVehicle(429, 1814.12890625, -1918.7626953125, 13.224563598633, 0, 0, 180) setElementFrozen(EmptyVehicle, true) setElementHealth(EmptyVehicle, 1000) setVehicleDamageProof(EmptyVehicle, true) setVehicleLocked(EmptyVehicle, true) setVehicleEngine...
mit
TeoTwawki/darkstar
scripts/zones/Norg/npcs/Heizo.lua
2
2766
----------------------------------- -- Area: Norg -- NPC: Heizo -- Starts and Ends Quest: Like Shining Leggings -- !pos -1 -5 25 252 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/shop"); require("scripts/globals/quests"); local ID =...
gpl-3.0
X-Coder/SBEP-Weapons
lua/entities/sf-mcpshell/init.lua
1
2409
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( 'shared.lua' ) function ENT:Initialize() self.Entity:SetModel( "models/Items/AR2_Grenade.mdl" ) self.Entity:SetName("Artillery Shell") self.Entity:PhysicsInit( SOLID_VPHYSICS ) self.Entity:SetMoveType( MOVETYPE_VPHYSICS ) self.Entity:SetSolid( S...
apache-2.0
TeoTwawki/darkstar
scripts/commands/hasitem.lua
22
1368
--------------------------------------------------------------------------------------------------- -- func: hasitem -- desc: Checks if a player has a specific item --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "is"...
gpl-3.0
dani-sj/test
plugins/welcome.lua
51
3580
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Runic_Portal.lua
3
1867
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Runic Portal -- Aht Urhgan Teleporter to Other Areas ----------------------------------- local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs") ----------------------------------- require("scripts/globals/besieged") require("scripts/global...
gpl-3.0
o080o/mercury-robotics-2013
main.lua
1
4367
io = require("rpiIO") socket = require("socket") --networking lib util = require("util") --helper functions addr = "*" port = 1025 running = true -- global state. set to false to end program. pins = {} pins.servo = 9 pins.speedL = 10 pins.speedR = 11 pins.dirL = 5 pins.dirR = 6 commands = {} -- commands data = {} -...
mit
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/script/network/DeprecatedNetworkFunc.lua
61
1123
if nil == cc.XMLHttpRequest then return end --tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of WebSocket will be deprecated begin local targetPlatform = CCApplication:getInstance():get...
mit
TeoTwawki/darkstar
scripts/zones/Dynamis-Valkurm/Zone.lua
1
1689
----------------------------------- -- -- Zone: Dynamis-Valkurm -- ----------------------------------- local ID = require("scripts/zones/Dynamis-Valkurm/IDs") require("scripts/globals/keyitems") require("scripts/globals/settings") ----------------------------------- function onInitialize(zone) for i,v in ipairs ...
gpl-3.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/metrics-default_overrides_disable_iis/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/all-backward_compatible_with_explicit_exporters/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/metrics-receiver_mysql/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/metrics-receiver_mssql_v2_override/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/metrics-receiver_jvm/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/windows/metrics-default_overrides_disable_all/f261516bf0c22cc61bb3f5f741e83a3a.lua
29
1170
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
X-Coder/SBEP-Weapons
lua/entities/sf-roverrpanel/init.lua
1
1870
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include( 'shared.lua' ) util.PrecacheSound( "SB/Gattling2.wav" ) function ENT:Initialize() self.Entity:SetModel( "models/Slyfo/rover1_rightpanel.mdl" ) self.Entity:SetName("SmallMachineGun") self.Entity:PhysicsInit( SOLID_VPHYSICS ) self.Entity:SetMoveT...
apache-2.0
prapin/premake-core
src/actions/vstudio/vs2010.lua
10
3762
-- -- actions/vstudio/vs2010.lua -- Add support for the Visual Studio 2010 project formats. -- Copyright (c) 2009-2015 Jason Perkins and the Premake project -- premake.vstudio.vs2010 = {} local p = premake local vs2010 = p.vstudio.vs2010 local vstudio = p.vstudio local project = p.project local tree = p.tree ...
bsd-3-clause
cuit-zhaxin/quick-ng
cocos/scripting/lua-bindings/auto/api/DrawNode.lua
7
7790
-------------------------------- -- @module DrawNode -- @extend Node -- @parent_module cc -------------------------------- -- Draw an line from origin to destination with color. <br> -- param origin The line origin.<br> -- param destination The line destination.<br> -- param color The line color.<br> -- js NA -- @fu...
mit
981213/luci-1
applications/luci-app-vsftpd/luasrc/model/cbi/vsftpd/anonymous.lua
14
1256
--[[ LuCI - Lua Configuration Interface Copyright 2016 Weijie Gao <hackpascal@gmail.com> 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$ ]]-- m =...
apache-2.0
corveroth/ChillEffect
Libs/AceAddon-3.0/AceAddon-3.0.lua
1
25219
--- **AceAddon-3.0** provides a template for creating addon objects. -- It'll provide you with a set of callback functions that allow you to simplify the loading -- process of your addon.\\ -- Callbacks provided are:\\ -- * **OnInitialize**, which is called directly after the addon is fully loaded. -- * **OnEnable** wh...
isc
miralireza2/last_stand
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
X-Coder/SBEP-Weapons
lua/entities/policewingl/init.lua
1
1461
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) --include('entities/base_wire_entity/init.lua') include( 'shared.lua' ) function ENT:Initialize() self.Entity:SetModel( "models/Slyfo/spbarlg.mdl" ) self.Entity:SetName("Mine") self.Entity:PhysicsInit( SOLID_VPHYSICS ) self.Entity:SetMoveType( MOVETYPE_VP...
apache-2.0
celophi/melia
system/scripts/npc/dungeon/d_abbey_35_3.lua
1
9590
----- Black Note ----- ----- npcselectdialog.ies | ClassName: ----- ----- Dialog ----- addnpc(147311, "ETC_20151001_015225", "d_abbey_35_3", -1670, 0, -143, 85, "npc_ETC_20151001_015225") function npc_ETC_20151001_015225() msg("JOB_PARDONER_6_1_NOTE01") end ----- Black Note ----- ----- npcselectdialog.ies | ClassNa...
gpl-3.0
hfjgjfg/dark5
plugins/chat.lua
6
2112
local function run(msg) if msg.text == "hi" then return "Hi Baby :)" end if msg.text == "Hi" then return "Hello Honey :)" end if msg.text == "Hello" then return "Hi :)" end if msg.text == "hello" then return "Hi Honey" end if msg.text == "Salam" then return "Salam Azizam" end if msg.text == "salam" then return "S...
gpl-2.0
sundream/skynet
lualib/skynet/sharedata/corelib.lua
29
3313
local core = require "skynet.sharedata.core" local type = type local rawset = rawset local conf = {} conf.host = { new = core.new, delete = core.delete, getref = core.getref, markdirty = core.markdirty, incref = core.incref, decref = core.decref, } local meta = {} local isdirty = core.isdirty local index = co...
mit
AlexWan/OsEngine
project/OsEngine/lua/socket.lua
146
4061
----------------------------------------------------------------------------- -- LuaSocket helper module -- Author: Diego Nehab -- RCS ID: $Id: socket.lua,v 1.22 2005/11/22 08:33:29 diego Exp $ ----------------------------------------------------------------------------- -----------------------------------------------...
apache-2.0
TeoTwawki/darkstar
scripts/globals/abilities/light_arts.lua
12
1658
----------------------------------- -- Ability: Light Arts -- Optimizes white magic capability while lowering black magic proficiency. Grants a bonus to divine, enhancing, enfeebling, and healing magic. Also grants access to Stratagems. -- Obtained: Scholar Level 10 -- Recast Time: 1:00 -- Duration: 2:00:00 -----------...
gpl-3.0
cuit-zhaxin/quick-ng
cocos/scripting/lua-bindings/script/framework/package_support.lua
45
4006
--[[ Copyright (c) 2011-2015 chukong-incc.com 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, di...
mit