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 |
|---|---|---|---|---|---|
Vadavim/test | scripts/globals/spells/curaga.lua | 13 | 1210 | -----------------------------------------
-- Spell: Curaga
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
... | gpl-3.0 |
Moodstocks/fbcunn | examples/imagenet/models/alexnet_ccn2.lua | 8 | 1951 | require 'ccn2'
require 'cudnn'
function createModel(nGPU)
local features = nn.Sequential() -- branch 1
features:add(nn.Transpose({1,4},{1,3},{1,2}))
features:add(ccn2.SpatialConvolution(3,64,11,4,0,1,4)) -- 224 -> 55
features:add(cudnn.ReLU(true))
features:add(ccn2.SpatialMaxPooling(3,2)) ... | bsd-3-clause |
Elkazan/darkstar | scripts/zones/Throne_Room/npcs/_4l2.lua | 51 | 1172 | -----------------------------------
-- Area: Throne Room
-- NPC: Ore Door
-------------------------------------
require("scripts/globals/bcnm");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
if (TradeBCNM(player,player:ge... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/tortilla.lua | 35 | 1264 | -----------------------------------------
-- ID: 4408
-- Item: tortilla
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 6
-- Dexterity -1
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Lower_Jeuno/npcs/Rhimonne.lua | 37 | 1153 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Rhimonne
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Ifrits_Cauldron/npcs/qm4.lua | 8 | 1475 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: ???
-- Involved in Mission: Bastok 6-2
-- @pos 171 0 -25 205
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
requi... | gpl-3.0 |
nimaghorbani/dozdi4 | 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 |
suzuren/some-mmorpg | 3rd/skynet/service/cmaster.lua | 78 | 3256 | local skynet = require "skynet"
local socket = require "socket"
--[[
master manage data :
1. all the slaves address : id -> ipaddr:port
2. all the global names : name -> address
master hold connections from slaves .
protocol slave->master :
package size 1 byte
type 1 byte :
'H' : HANDSHAKE, report slav... | mit |
hoku586/darkstar | scripts/zones/Metalworks/npcs/Raibaht.lua | 26 | 3265 | -----------------------------------
-- Area: Metalworks
-- NPC: Raibaht
-- Starts and Finishes Quest: Dark Legacy
-- Involved in Quest: The Usual, Riding on the Clouds
-- @pos -27 -10 -1 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Mhaura/npcs/Numi_Adaligo.lua | 17 | 1403 | -----------------------------------
-- Area: Mhaura
-- NPC: Numi Adaligo
-- Involved In Quest: RYCHARDE_THE_CHEF
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/set... | gpl-3.0 |
Vadavim/test | scripts/zones/The_Shrine_of_RuAvitau/npcs/Grounds_Tome.lua | 34 | 1144 | -----------------------------------
-- Area: Shrine of Ru'Avitau
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onT... | gpl-3.0 |
Vadavim/test | scripts/zones/Eastern_Altepa_Desert/npcs/Lindgard_IM.lua | 30 | 3065 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Lindgard, I.M.
-- Outpost Conquest Guards
-- @pos -258.041 7.473 -254.527 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/weaponskills/vorpal_scythe.lua | 25 | 1561 | -----------------------------------
-- Vorpal Scythe
-- Scythe weapon skill
-- Skill level: 150
-- Delivers a single-hit attack. params.crit varies with TP.
-- Modifiers: STR:100%
-- 100%TP 200%TP 300%TP
-- 1.0 1.0 1.0
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
AdiAddons/AdiBags | core/DefaultFilters.lua | 1 | 11606 | --[[
AdiBags - Adirelle's bag addon.
Copyright 2010-2021 Adirelle (adirelle@gmail.com)
All rights reserved.
This file is part of AdiBags.
AdiBags 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 ... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/weaponskills/vorpal_blade.lua | 30 | 1435 | -----------------------------------
-- Vorpal Blade
-- Sword weapon skill
-- Skill Level: 200
-- Delivers a four-hit attack. Chance of params.critical varies with TP.
-- Stacks with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: None
--... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Hall_of_the_Gods/Zone.lua | 30 | 1883 | -----------------------------------
--
-- Zone: Hall_of_the_Gods (251)
--
-----------------------------------
package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Hall_of_the_Gods/TextIDs");
--------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Caedarva_Mire/TextIDs.lua | 7 | 1342 | -- 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 = 6383; -- Obtained: <item>.
GIL_OBTAINED = 6384; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6386; -- Obtained... | gpl-3.0 |
hoku586/darkstar | scripts/globals/mobskills/Sickle_Slash.lua | 34 | 1178 | ---------------------------------------------------
-- Sickle Slash
-- Deals critical damage. Chance of critical hit varies with TP.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Southern_San_dOria/npcs/Maugie.lua | 16 | 2556 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Maugie
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs");
require("scripts/global... | gpl-3.0 |
michaelwiktorek/PodRacer | Resources/Scripts/start.lua | 10 | 3019 | ------------------------------------------------------------------------------
-- Copyright (C) 2008-2013, Shane Liesegang
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redist... | mit |
Elkazan/darkstar | scripts/zones/North_Gustaberg/MobIDs.lua | 36 | 1422 | -----------------------------------
-- Area: North Gustaberg
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Stinging Sophie
Stinging_Sophie=17211561;
Stinging_Sophie_PH={
[17211532] = '1', -- 352.974, -40.359, 472.914
[17211534] = '1', -- ... | gpl-3.0 |
lidesdk/commandline | lua/linux/arm64/socket/headers.lua | 133 | 3698 | -----------------------------------------------------------------------------
-- Canonic header field capitalization
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
local socket = require("socket")
socket.headers = {}
local _M = socket.headers
... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_Bastok/npcs/Dulsie.lua | 17 | 1326 | -----------------------------------
-- Area: Port Bastok
-- NPC: Dulsie
-- Adventurer's Assistant
-- Working 100%
-------------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/settings");
require("scripts/zones/... | gpl-3.0 |
Vadavim/test | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Decarabia.lua | 19 | 1255 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Marquis Decarabia
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
fun... | gpl-3.0 |
hoku586/darkstar | scripts/globals/abilities/wind_shot.lua | 9 | 3075 | -----------------------------------
-- Ability: Wind Shot
-- Consumes a Wind Card to enhance wind-based debuffs. Deals wind-based magic damage
-- Choke Effect: Enhanced DoT and VIT-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magi... | gpl-3.0 |
CommandPost/CommandPost | src/extensions/cp/ui/SearchField.lua | 2 | 1761 | --- === cp.ui.SearchField ===
---
--- A [TextField](cp.ui.TextField.md) with a subrole of `AXSearchField`.
local TextField = require "cp.ui.TextField"
local SearchField = TextField:subclass("cp.ui.SearchField")
--- cp.ui.SearchField.matchesSearch(element) -> boolean
--- Function
--- Checks to see if an elem... | mit |
Banasura/ntui | menu.lua | 2 | 7870 | --[[ NEVER TRUST USER'S INPUT non-released v0.1 alpha
--------------------------------------------------------------------
This file is part of N.T.U.I.
N.T.U.I. 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 Soft... | gpl-3.0 |
ff94315/luci-1 | applications/luci-app-n2n_v2/luasrc/model/cbi/n2n_v2.lua | 13 | 1657 | --[[
--N2N VPN(V2) configuration page. Made by 981213
--
]]--
local fs = require "nixio.fs"
m = Map("n2n_v2", translate("N2N VPN(V2)"),
translatef("n2n is a layer-two peer-to-peer virtual private network (VPN) which allows users to exploit features typical of P2P applications at network instead of application... | apache-2.0 |
Vadavim/test | scripts/zones/Dynamis-Buburimu/mobs/Adamantking_Effigy.lua | 17 | 2272 | -----------------------------------
-- Area: Dynamis Buburimu
-- NPC: Adamantking_Effigy
-----------------------------------
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Buburimu/TextIDs... | gpl-3.0 |
TabitaPL/Pasjans | Angel-3.2/Code/Angel/Libraries/gwen/Projects/premake4.lua | 5 | 3244 | dofile( "inc/include.lua" )
solution "GWEN"
language "C++"
location ( os.get() .. "/" .. _ACTION )
flags { "Unicode", "Symbols", "NoEditAndContinue", "NoPCH", "No64BitChecks", "StaticRuntime", "EnableSSE" } -- "NoRTTI"
targetdir ( "../lib/" .. os.get() .. "/" .. _ACTION )
libdirs { "../lib/", "../lib/" .... | mit |
Elkazan/darkstar | scripts/zones/RuAun_Gardens/npcs/qm2.lua | 16 | 1440 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: ??? (Seiryu's Spawn)
-- Allows players to spawn the HNM Seiryu with a Gem of the East and a Springstone.
-- @pos 569 -70 -80 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
------------------... | gpl-3.0 |
diditaxi/codis | extern/redis-2.8.13/deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
Vadavim/test | scripts/globals/spells/bluemagic/feather_tickle.lua | 1 | 1072 | -----------------------------------------
-- Spell: Feather Tickle
-- Reduces an enemy's TP
-- Spell cost: 48 MP
-- Monster Type: Birds
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+1
-- Level: 64
-- Casting Time: 4 seconds
-- Recast Time: 26 seconds
-- Magic Bursts on: Detonation,... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/West_Ronfaure/npcs/Signpost.lua | 17 | 1282 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Signpost
-- @zone 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
fu... | gpl-3.0 |
Vadavim/test | scripts/globals/items/serving_of_squirrels_delight.lua | 35 | 1341 | -----------------------------------------
-- ID: 5554
-- Item: serving_of_squirrels_delight
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP % 13 (cap 95)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Bastok_Markets/npcs/Zacc.lua | 14 | 1605 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Zacc
-- Type: Quest NPC
-- @zone 235
-- @pos -255.709 -13 -91.379
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/globals/quests")... | gpl-3.0 |
hoku586/darkstar | scripts/globals/spells/cure_v.lua | 26 | 4705 | -----------------------------------------
-- Spell: Cure V
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");... | gpl-3.0 |
ff94315/luci-1 | modules/luci-base/luasrc/model/cbi/admin_network/proto_static.lua | 60 | 2460 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local ifc = net:get_interface()
local ipaddr, netmask, gateway, broadcast, dns, accept_ra, send_rs, ip6addr, ip6gw
local mtu, metric
ipaddr = section:taboption("general", Value, ... | apache-2.0 |
likunpeng/cocos | luatest/src/SpriteTest/SpriteTest.lua | 16 | 54063 | local size = cc.Director:getInstance():getWinSize()
local kTagTileMap = 1
local kTagSpriteBatchNode = 1
local kTagNode = 2
local kTagAnimation1 = 1
local kTagSpriteLeft = 2
local kTagSpriteRight = 2
local kTagSprite1 = 0
local kTagSprite2 = 1
local kTagSprite3 = 2
local kTagSprite4 = 3
local kTagSprite5 = 4
local kTag... | apache-2.0 |
likunpeng/cocos | luatest/src/cocos/extension/DeprecatedExtensionFunc.lua | 39 | 1309 | --tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of CCControl will be deprecated end
local CCControlDeprecated = { }
function CCControlDeprecated.addHandleOfControlEvent(self,func,controlEve... | apache-2.0 |
likunpeng/cocos | QuickGame/frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/extension/DeprecatedExtensionFunc.lua | 39 | 1309 | --tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of CCControl will be deprecated end
local CCControlDeprecated = { }
function CCControlDeprecated.addHandleOfControlEvent(self,func,controlEve... | apache-2.0 |
Elkazan/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm1.lua | 16 | 1195 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Ob(ZNM T1))
-- @pos 542 0 -129 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/TextID... | gpl-3.0 |
3scale/docker-gateway | spec/configuration_loader_spec.lua | 2 | 3507 | local env = require 'resty.env'
insulate('Configuration object', function()
insulate('.mock', function()
local configuration = require 'apicast.configuration_loader'
local mock_loader = require 'apicast.configuration_loader.mock'
it('saves mock configuration', function()
local config = { 'foo' }
... | mit |
Elkazan/darkstar | scripts/globals/abilities/thunder_shot.lua | 22 | 2801 | -----------------------------------
-- Ability: Thunder Shot
-- Consumes a Thunder Card to enhance lightning-based debuffs. Deals lightning-based magic damage
-- Shock Effect: Enhanced DoT and MND-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
requi... | gpl-3.0 |
Vadavim/test | scripts/zones/Ordelles_Caves/Zone.lua | 13 | 2039 | -----------------------------------
--
-- Zone: Ordelles_Caves (193)
--
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Ordelles_C... | gpl-3.0 |
hoku586/darkstar | scripts/globals/mobskills/Wire_Cutter.lua | 35 | 1160 | ---------------------------------------------------
-- Wire_Cutter
-- Single-target damage (~500-1500), absorbed by 2 Utsusemi shadows.
--
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
-------------... | gpl-3.0 |
mkosler/CSCE-443-Project-2 | lib/class.lua | 35 | 2925 | --[[
Copyright (c) 2010-2013 Matthias Richter
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, dis... | mit |
hoku586/darkstar | scripts/zones/Al_Zahbi/npcs/Banjanu.lua | 14 | 1038 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Banjanu
-- Type: Standard NPC
-- @zone 48
-- @pos -75.954 0.999 105.367
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Nashmau/TextIDs.lua | 5 | 1843 | -- 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_CANNOT_BE_OBTAINEDX = 6378; -- You cannot obtain the
ITEM_OBTAINED = 6382; -- Obtained: <item>
ITEM_OBTAINEDX = 6391; -- You obtai... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_San_dOria/npcs/Teilsa.lua | 34 | 1795 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Teilsa
-- Adventurer's Assistant
-- Only recieving Adv.Coupon and simple talk event are scrited
-- This NPC participates in Quests and Missions
-------------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua | 17 | 2437 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Worn Book
-- Getting "Old Rusty Key (keyitem)"
-- @pos 59 0 19 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyit... | gpl-3.0 |
CommandPost/CommandPost | src/extensions/cp/choices/init.lua | 2 | 3654 | --- === cp.choices.builder ===
---
--- Choices Builder Module.
local builder = {}
--- cp.choices.builder.new(choiceType) -> builder
--- Function
--- Creates a new choice builder instance.
---
--- Parameters:
--- * `choice` - The choice instance to configure.
---
--- Returns:
--- * The new choice builder.
function b... | mit |
Elkazan/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Moana_CA.lua | 38 | 1064 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Moana, C.A.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos -27.237 -60.888 -48.111
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]/Te... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Phanauet_Channel/Zone.lua | 15 | 1465 | -----------------------------------
--
-- Zone: Phanauet_Channel
--
-----------------------------------
package.loaded["scripts/zones/Phanauet_Channel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Phanauet_Channel/TextIDs");
------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Lower_Jeuno/npcs/Chetak.lua | 37 | 1430 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Chetak
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
... | gpl-3.0 |
Vadavim/test | scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua | 37 | 1316 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Caiphimonride
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
---------... | gpl-3.0 |
CommandPost/CommandPost | src/plugins/finalcutpro/timeline/playback.lua | 1 | 3560 | --- === plugins.finalcutpro.timeline.playback ===
---
--- Playback Plugin.
local require = require
local eventtap = require "hs.eventtap"
local fcp = require "cp.apple.finalcutpro"
local i18n = require "cp.i18n"
local tools... | mit |
Elkazan/darkstar | scripts/globals/spells/sheepfoe_mambo.lua | 18 | 1578 | -----------------------------------------
-- Spell: Sheepfoe Mambo
-- Grants evasion bonus to all members.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caste... | gpl-3.0 |
Vadavim/test | scripts/zones/Yughott_Grotto/npcs/HomePoint#1.lua | 12 | 1255 | -----------------------------------
-- Area: Yughott_Grotto
-- NPC: HomePoint#1
-- @pos 434 -40.299 171 142
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Yughott_Grotto/TextIDs");
require("script... | gpl-3.0 |
3scale/docker-gateway | spec/policy/upstream_mtls/upstream_mtls_spec.lua | 1 | 7084 | local upstream_mtls = require("apicast.policy.upstream_mtls")
local ssl = require('ngx.ssl')
local open = io.open
local function read_file(path)
local file = open(path, "rb")
if not file then return nil end
local content = file:read "*a" -- *a or *all reads the whole file
file:close()
return conten... | mit |
hoku586/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rq.lua | 14 | 1474 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqueduct... | gpl-3.0 |
likunpeng/cocos | QuickGame/runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources/src/cocos/cocostudio/CocoStudio.lua | 39 | 9065 |
if not json then
require "cocos.cocos2d.json"
end
ccs = ccs or {}
require "cocos.cocostudio.StudioConstants"
function ccs.sendTriggerEvent(event)
local triggerObjArr = ccs.TriggerMng.getInstance():get(event)
if nil == triggerObjArr then
return
end
for i = 1, table.getn(triggerObjArr) d... | apache-2.0 |
hoku586/darkstar | scripts/globals/spells/battlefield_elegy.lua | 23 | 1594 | -----------------------------------------
-- Spell: Battlefield Elegy
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,tar... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Upper_Jeuno/npcs/Collet.lua | 17 | 2328 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Collet
-- Involved in Quests: A Clock Most Delicate, Save the Clock Tower
-- @zone 244
-- @pos -44 0 107
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Temenos/mobs/Praetorian_Guard_CCCXI.lua | 16 | 1196 | -----------------------------------
-- Area: Temenos N T
-- NPC: Praetorian_Guard
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
--------------------... | gpl-3.0 |
electricpandafishstudios/Dredge | game/thirdparty/remdebug/engine.lua | 5 | 7953 | --
-- RemDebug 1.0 Beta
-- Copyright Kepler Project 2005 (http://www.keplerproject.org/remdebug)
--
local socket = require"socket"
--local lfs = require"lfs"
local debug = require"debug"
module("remdebug.engine", package.seeall)
_COPYRIGHT = "2006 - Kepler Project"
_DESCRIPTION = "Remote Debugger for the Lua program... | gpl-3.0 |
Vadavim/test | scripts/zones/Mount_Zhayolm/npcs/HomePoint#1.lua | 12 | 1179 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Mount_Zhayolm/TextIDs");
require("scripts/globals/homepoint");
--------... | gpl-3.0 |
LuaExtend/LuaExtend | tools/ZeroBraneStudio/lualibs/luadist.lua | 4 | 28961 | #!/usr/bin/env lua
-- Command line interface to LuaDist-git.
local dist = require "dist"
local utils = require "dist.utils"
local depends = require "dist.depends"
local package = require "dist.package"
local mf = require "dist.manifest"
local cfg = require "dist.config"
local sys = require "dist.sys"
-- CLI commands... | apache-2.0 |
Vadavim/test | scripts/zones/Port_Bastok/npcs/Silver_Owl.lua | 34 | 1328 | -----------------------------------
-- Area: Port Bastok
-- NPC: Silver Owl
-- Type: Tenshodo Merchant
-- @pos -99.155 4.649 23.292 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Northern_San_dOria/npcs/Abeaule.lua | 25 | 4316 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Abeaule
-- Starts and Finishes Quest: The Trader in the Forest, The Medicine Woman
-- @pos -136 -2 56 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Elkazan/darkstar | scripts/commands/reloadglobal.lua | 26 | 1230 | ---------------------------------------------------------------------------------------------------
-- func: @reloadglobal
-- desc: Attempt to reload specified global lua without a restart.
--
-- Use with caution, some files ( like player.lua )
-- can cause you problems if you reload them using this.
-- This comm... | gpl-3.0 |
Vadavim/test | scripts/zones/Southern_San_dOria/npcs/Kueh_Igunahmori.lua | 34 | 1274 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Kueh Igunahmori
-- Guild Merchant NPC: Leathercrafting Guild
-- @pos -194.791 -8.800 13.130 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
KublaikhanGeek/muduo | premake4.lua | 58 | 2093 | solution "muduo"
projectdir = basedir()
builddir = path.join(projectdir, '../build')
installdir = path.join(projectdir, '../install')
bindir = path.join(installdir, 'bin')
libdir = path.join(installdir, 'lib')
includedir = path.join(installdir, 'include')
curheadersdir = includedir
-- s... | bsd-3-clause |
foozmeat/2DCityMaker | mapRegion.lua | 1 | 3277 | MapRegion = {}
MapRegion.__index = MapRegion
function MapRegion:new(x, y, cols, rows, incomingTiles, tileCount)
local self = setmetatable({}, MapRegion)
incomingTiles = incomingTiles or {}
tileCount = tileCount or 0
self.x = x
self.y = y
self.rows = rows
self.cols = cols
self.className = "MapRegi... | unlicense |
Elkazan/darkstar | scripts/zones/Lower_Jeuno/npcs/Zauko.lua | 17 | 5107 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Zauko
-- Involved in Quests: Save the Clock Tower, Community Service
-- @zone 245
-- @pos -3 0 11
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
--... | gpl-3.0 |
tcdog001/ap_project | feeds/luci/modules/base/luasrc/i18n.lua | 77 | 3182 | --[[
LuCI - Internationalisation
Description:
A very minimalistic but yet effective internationalisation module
FileId:
$Id$
License:
Copyright 2008 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 ... | gpl-2.0 |
FacemanFoothand/alphaapi | main.lua | 1 | 105753 | local json = require("json")
-- RNG object for when we need to set seeds.
local rng = RNG()
local VECTOR_ZERO = Vector(0,0)
rng:SetSeed(Random(), 1)
local function random(min, max) -- Re-implements math.random()
if min ~= nil and max ~= nil then -- Min and max passed, integer [min,max]
return math.floor(r... | mit |
likunpeng/cocos | QuickGame/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/BatchNode.lua | 10 | 1026 |
--------------------------------
-- @module BatchNode
-- @extend Node
-- @parent_module ccs
--------------------------------
-- js NA
-- @function [parent=#BatchNode] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#BatchNode] creat... | apache-2.0 |
hoku586/darkstar | scripts/globals/items/fish_chiefkabob.lua | 12 | 1465 | -----------------------------------------
-- ID: 4575
-- Item: fish_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- Mind -1
-- defense % 25
-- defense Cap 95
-----------------------------------------
require("scripts/globals/status");
-------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Davoi/npcs/_451.lua | 31 | 1166 | -----------------------------------
-- 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 |
Vadavim/test | scripts/zones/Davoi/npcs/_451.lua | 31 | 1166 | -----------------------------------
-- 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 |
suzuren/some-mmorpg | 3rd/skynet/lualib/socket.lua | 15 | 9300 | local driver = require "socketdriver"
local skynet = require "skynet"
local skynet_core = require "skynet.core"
local assert = assert
local socket = {} -- api
local buffer_pool = {} -- store all message buffer object
local socket_pool = setmetatable( -- store all socket object
{},
{ __gc = function(p)
for id,v in ... | mit |
Elkazan/darkstar | scripts/zones/RoMaeve/npcs/Qu_Hau_Spring.lua | 15 | 2629 | -----------------------------------
-- Qu_Hau_Spring
-- Area: Ro'Maeve
-----------------------------------
package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RoMaeve/TextIDs");
require("scripts/globals/quests");
require("scripts/globals/keyitems")... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Beadeaux/npcs/The_Mute.lua | 19 | 1258 | -----------------------------------
-- Area: Beadeaux
-- NPC: ???
-- @pos -166.230 -1 -73.685 147
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Beadeaux/TextIDs");
require("scripts/globals/quests");
require("scrip... | gpl-3.0 |
Vadavim/test | scripts/globals/effects/weakness.lua | 19 | 1566 | -----------------------------------
--
-- Weakness
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
--reduce HP and MP by the power amount. Add... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Ceizak_Battlegrounds/npcs/HomePoint#1.lua | 27 | 1286 | -----------------------------------
-- Area: Ceizak Battlegrounds
-- NPC: HomePoint#1
-- @pos -107 3.2 295 261
-----------------------------------
package.loaded["scripts/zones/Ceizak_Battlegrounds/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Ceizak_Battlegrounds/TextIDs");
require("s... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Valkurm_Dunes/npcs/Stone_Monument.lua | 32 | 1285 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -311.299 -4.420 -138.878 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
koningdde/Arduitools | ESP8266/nodemcu-firmware-master/nodemcu-firmware-master/lua_examples/ucglib/GT_cross.lua | 31 | 1442 | local M, module = {}, ...
_G[module] = M
function M.run()
-- make this a volatile module:
package.loaded[module] = nil
print("Running component cross...")
local mx, my
disp:setColor(0, 250, 0, 0)
disp:setColor(1, 255, 255, 30)
disp:setColor(2, 220, 235, 10)
disp:setColor(3, 205, 0, 30... | gpl-3.0 |
yokarno/Mush | lua/hy/job/guobaohu.lua | 1 | 43187 | require("hy.common.common")
require("hy.common.stepwalking")
require("hy.common.cmd")
require("hy.xiuxi")
guobaohupath_tbl = {
["Ëαø"] = {
{
["id"]="song bing",
["GoPath"]={
"e;n",
},
["ReturnPath"]={
"s;w",
},
["ÇøÓò"]="ÏåÑô"
},
{
["id"]="song bing",
["GoPath"]={
"e;e;e;n",
},
... | mit |
mongrel2/mongrel2 | examples/bbs/engine.lua | 96 | 1958 | local print = print
local pcall = pcall
local coroutine = coroutine
local ui = require 'ui'
local db = require 'db'
module 'engine'
local STATE = {}
function run(conn, engine)
while true do
-- Get a message from the Mongrel2 server
local good, request = pcall(conn.recv_json, conn)
if goo... | bsd-3-clause |
hoku586/darkstar | scripts/globals/items/anchovy_pizza.lua | 12 | 1552 | -----------------------------------------
-- ID: 5699
-- Item: anchovy_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- HP +30
-- DEX +1
-- Accuracy +9% (Cap 15)
-- Attack +10% (Cap 20)
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
gOOvER/InspectEquip | Locales/Locale-esMX.lua | 1 | 3477 | local L = LibStub("AceLocale-3.0"):NewLocale("InspectEquip", "esMX")
if not L then return end
-- Translation by LigthSora
L["Accessories"] = "Accesorios"
L["Add drop information to tooltips"] = "Añadir información del % de despojo en los objetos"
L["Add item drop information to all item tooltips"] = "Añade información... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Port_San_dOria/npcs/HomePoint#3.lua | 27 | 1266 | -----------------------------------
-- Area: Port San dOria
-- NPC: HomePoint#3
-- @pos -6 -13 -150 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/home... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Windurst_Woods/npcs/Boizo-Naizo.lua | 14 | 1621 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Boizo-Naizo
-- Involved in Quest: Riding on the Clouds
-- @zone 241
-- @pos -9.581 -3.75 -26.062
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
Vadavim/test | scripts/globals/spells/bluemagic/self-destruct.lua | 1 | 1182 | -----------------------------------------
-- Spell: Self-Destruct
-- Sacrifices HP to damage enemies within range. Affects caster with Weakness
-- Spell cost: 100 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 3
-- Stat Bonus: STR+2
-- Level: 50
-- Casting Time: 3.25 seconds
--... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Abyssea-Grauberg/npcs/qm6.lua | 14 | 1344 | -----------------------------------
-- Zone: Abyssea-Grauberg
-- NPC: qm6 (???)
-- Spawns Minaruja
-- @pos ? ? ? 254
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[... | gpl-3.0 |
CommandPost/CommandPost | src/plugins/core/mouse/init.lua | 1 | 12825 | --- === plugins.core.mouse ===
---
--- Adds mouse actions.
local require = require
--local log = require "hs.logger".new "mouse"
local eventtap = require "hs.eventtap"
local mouse = require "hs.mouse"
local image = require "hs.image"
local config =... | mit |
Elkazan/darkstar | scripts/zones/Phanauet_Channel/Zone.lua | 32 | 1482 | -----------------------------------
--
-- Zone: Phanauet_Channel
--
-----------------------------------
package.loaded["scripts/zones/Phanauet_Channel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Phanauet_Channel/TextIDs");
-------------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/weaponskills/refulgent_arrow.lua | 30 | 1408 | -----------------------------------
-- Refulgent Arrow
-- Archery weapon skill
-- Skill level: 290
-- Delivers a twofold attack. Damage varies with TP.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light Belt.
-- Element: None
-- Modifiers: STR: 60% http://www.bg-wiki.com/bg/Re... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/slice_of_salted_hare.lua | 35 | 1198 | -----------------------------------------
-- ID: 5737
-- Item: slice_of_salted_hare
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 10
-- Strength 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.