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 |
|---|---|---|---|---|---|
otservme/global1041 | data/npc/scripts/Cillia.lua | 1 | 1148 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHan... | gpl-2.0 |
hoku586/darkstar | scripts/globals/items/red_curry_bun_+1.lua | 12 | 2062 | -----------------------------------------
-- ID: 5765
-- Item: red_curry_bun_+1
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- TODO: Group effects
-- Health 35
-- Strength 7
-- Agility 3
-- Attack % 25 (cap 150)
-- Ranged Atk % 25 (cap 150)
-- Demon Killer 6
-- Resist Sleep +5
-- HP reco... | gpl-3.0 |
hoku586/darkstar | scripts/globals/spells/earth_carol.lua | 27 | 1535 | -----------------------------------------
-- Spell: Earth Carol
-- Increases earth resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------... | gpl-3.0 |
likunpeng/cocos | QuickGame/runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources/src/framework/cc/utils/GameState.lua | 19 | 4151 |
local GameState = {}
GameState.ERROR_INVALID_FILE_CONTENTS = -1
GameState.ERROR_HASH_MISS_MATCH = -2
GameState.ERROR_STATE_FILE_NOT_FOUND = -3
local crypto = require(cc.PACKAGE_NAME .. ".crypto")
local json = require(cc.PACKAGE_NAME .. ".json")
local encodeSign = "=QP="
local stateFilename = "state.txt"
l... | apache-2.0 |
Vadavim/test | scripts/zones/Port_Windurst/npcs/Jack_of_Clubs.lua | 35 | 1236 | -----------------------------------
-- Area: Port Windurst
-- NPC: Jack of Clubs
-- Adventurer's Assistant
-- Working 100%
-------------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs");
... | gpl-3.0 |
Vadavim/test | scripts/globals/spells/bluemagic/frypan.lua | 28 | 1783 | -----------------------------------------
-- Spell: Frypan
-- Delivers an area attack. Additional effect: "Stun." Accuracy varies with TP
-- Spell cost: 65 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+2
-- Level: 63
-- Casting Time: 1 seconds
-- Recas... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/tortilla_bueno.lua | 12 | 1180 | -----------------------------------------
-- ID: 5181
-- Item: tortilla_bueno
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 8
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
redstormbot/khafankhafan | plugins/plugins.lua | 25 | 6122 | 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 |
Vadavim/test | scripts/globals/weaponskills/blast_shot.lua | 30 | 1320 | -----------------------------------
-- Blast Shot
-- Marksmanship weapon skill
-- Skill Level: 200
-- Delivers a melee-distance ranged attack. params.accuracy varies with TP.
-- Aligned with the Snow Gorget & Light Gorget.
-- Aligned with the Snow Belt & Light Belt.
-- Element: None
-- Modifiers: AGI:30%
-- 10... | gpl-3.0 |
Vadavim/test | scripts/zones/San_dOria-Jeuno_Airship/npcs/Nigel.lua | 12 | 2054 | -----------------------------------
-- Area: San d'Oria-Jeuno Airship
-- NPC: Nigel
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/rolanberry_pie_+1.lua | 35 | 1376 | -----------------------------------------
-- ID: 4339
-- Item: rolanberry_pie_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 60
-- Intelligence 3
-- Health Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/West_Ronfaure/npcs/Laillera.lua | 17 | 1111 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Laillera
-- @pos -127.297 -62.000 266.800 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Wes... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/weaponskills/rudras_storm.lua | 30 | 1690 | -----------------------------------
-- Rudra's Storm
-- Dagger weapon skill
-- Skill level: N/A
-- Deals triple damage and weighs target down (duration: 60s). Damage varies with TP.
-- Aligned with the Aqua Gorget, Snow Gorget & Shadow Gorget.
-- Aligned with the Aqua Belt, Snow Belt & Shadow Belt.
-- Element: N... | gpl-3.0 |
CommandPost/CommandPost | src/extensions/cp/utf16/be.lua | 2 | 3618 | --- === cp.utf16.be ===
---
--- A pure-LUA implementation of UTF-16 decoding with big-endian ordering.
local require = require
local utf16 = require("cp.utf16")
local utf16char, utf16codepoint, utf16codes, utf16len, utf16offset = utf16.char, utf16.codepoint, utf16.codes, utf16.len, utf16.offset
--- cp.utf16.be.ch... | mit |
Vadavim/test | scripts/globals/spells/bluemagic/blitzstrahl.lua | 1 | 1950 | -----------------------------------------
-- Spell: Blitzstrahl
-- Deals lightning damage to an enemy. Additional effect: "Stun"
-- Spell cost: 70 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+3
-- Level: 44
-- Casting Time: 4.5 seconds
-- Recast Time... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Port_Jeuno/npcs/Rinzei.lua | 17 | 1375 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Rinzei
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/quests");
----------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/RuLude_Gardens/npcs/Pursuivant.lua | 14 | 1047 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Pursuivant
-- Type: Pursuivant
-- @zone 243
-- @pos 52.020 -1 -17.813
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------... | gpl-3.0 |
hoku586/darkstar | scripts/globals/spells/bluemagic/cold_wave.lua | 9 | 2132 | -----------------------------------------
-- Spell: Cold Wave
-- Deals ice damage that lowers Agility and gradually reduces HP of enemies within range
-- Spell cost: 37 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 1
-- Stat Bonus: INT-1
-- Level: 52
-- Casting Time: 4 seconds
-- Recast ... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5ca.lua | 14 | 2341 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Mahogany Door
-- Involved In Quest: Making Headlines
-- Involved in Mission 2-1
-- @pos -11 0 20 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Dynamis-Windurst/mobs/Xoo_Kaza_the_Solemn.lua | 17 | 1160 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Xoo Kaza the Solemn
-- Boss Trigger for RDM NM
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- o... | gpl-3.0 |
Vadavim/test | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fayeewah.lua | 34 | 1200 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fayeewah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require... | gpl-3.0 |
tcdog001/ap_project | feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-iax-connections.lua | 80 | 2000 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Logging_Point.lua | 17 | 1100 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Buburimu_Peninsula/TextIDs");
... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/Cermet_Door.lua | 27 | 1148 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Notes: Leads to Upper Delkfutt's Tower.
-- @pos 524 16 20 184
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------... | gpl-3.0 |
mkosler/CSCE-443-Project-2 | lib/LoveFrames/objects/imagebutton.lua | 5 | 7505 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2013 Kenny Shields --
--]]------------------------------------------------
-- imagebutton class
local newobject = loveframes.NewObject("imagebutton", "loveframes_object_imagebutton", true)
--[[----------... | mit |
Elkazan/darkstar | scripts/zones/Mount_Zhayolm/npcs/qm3.lua | 16 | 1173 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: ??? (Spawn Anantaboga(ZNM T2))
-- @pos -368 -13 366 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
--------------... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/chunk_of_sweet_lizard.lua | 12 | 1408 | -----------------------------------------
-- ID: 5738
-- Item: chunk_of_sweet_lizard
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 5
-- MP 5
-- Dexterity 1
-- hHP +2
-- hMP +2
-----------------------------------------
require("scripts/globals/status");
------------------------------... | gpl-3.0 |
LuaExtend/LuaExtend | src/luasocket/script/socket/tp.lua | 31 | 3627 | -----------------------------------------------------------------------------
-- Unified SMTP/FTP subsystem
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Declare... | apache-2.0 |
Vadavim/test | scripts/globals/items/plate_of_yahata-style_carp_sushi.lua | 35 | 1422 | -----------------------------------------
-- ID: 5186
-- Item: plate_of_yahata-style_carp_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 2
-- Accuracy % 11
-- HP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
korialuo/skynet | lualib/snax/msgserver.lua | 3 | 7562 | local skynet = require "skynet"
local gateserver = require "snax.gateserver"
local netpack = require "skynet.netpack"
local crypt = require "skynet.crypt"
local socketdriver = require "skynet.socketdriver"
local assert = assert
local b64encode = crypt.base64encode
local b64decode = crypt.base64decode
--[[
Protocol:
... | mit |
alip/luachess | test/customloaders.lua | 1 | 2001 | #!/usr/bin/env lua
-- Custom package loaders to make the tests work fine.
-- vim: set et sts=4 sw=4 ts=4 fdm=marker:
-- Function that strips module components i.e.:
-- chess.bitboard -> bitboard and can be loaded from a bitboard.so
-- which doesn't have to be in a directory named chess/
-- reference: http://lua-users.... | gpl-2.0 |
Vadavim/test | scripts/zones/AlTaieu/npcs/Dimensional_Portal.lua | 9 | 1673 | -----------------------------------
-- Area: AlTaieu
-- NPC: Dimensional Portal
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
Vadavim/test | scripts/zones/Beaucedine_Glacier/mobs/Calcabrina.lua | 18 | 1951 | -----------------------------------
-- Area: Beaucedine Glacier
-- NM: Calcabrina
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-----------------------------------
-- onMobInitialize
---------------------------... | gpl-3.0 |
Vadavim/test | scripts/globals/spells/hunters_prelude.lua | 13 | 1489 | -----------------------------------------
-- Spell: Hunter's Prelude
-- Gives party members ranged attack accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingChe... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Nashmau/npcs/Jajaroon.lua | 17 | 1689 | -----------------------------------
-- Area: Nashmau
-- NPC: Jajaroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
koningdde/Arduitools | ESP8266/nodemcu-firmware-master/nodemcu-firmware-master/lua_examples/u8glib/u8g_drawloop.lua | 19 | 2036 | ------------------------------------------------------------------------------
-- u8glib example which shows how to implement the draw loop without causing
-- timeout issues with the WiFi stack. This is done by drawing one page at
-- a time, allowing the ESP SDK to do its house keeping between the page
-- draws.
--
-- ... | gpl-3.0 |
Vadavim/test | scripts/zones/The_Garden_of_RuHmet/npcs/_0zv.lua | 19 | 1079 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: particle gate
-----------------------------------
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
---------------------... | gpl-3.0 |
3scale/docker-gateway | spec/ngx_helper.lua | 2 | 3312 | -- not really required, but makes it obvious it is loaded
-- so we can copy ngx object and compare it later to check modifications
require('resty.core')
-- so test can't exit and can verify the return status easily
ngx.exit = function(...) return ... end
local busted = require('busted')
local misc = require('resty.co... | mit |
Moodstocks/fbcunn | test/test_ModelParallel.lua | 9 | 5656 | require 'fb.luaunit'
require 'torch'
require 'cunn'
require 'sys'
require 'fbcunn'
function testEndToEnd()
torch.setdefaulttensortype('torch.FloatTensor')
local mptest = {}
local utils = {}
local times = {}
local nGPUs = 4
local precision = 1e-4
local mytester = torch.Tester()
funct... | bsd-3-clause |
Vadavim/test | scripts/zones/Phomiuna_Aqueducts/npcs/qm2.lua | 34 | 1032 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm2 (???)
-- Notes: Open south door @ F-7
-- @pos -75.329 -24.636 92.512 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trad... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Castle_Zvahl_Baileys/TextIDs.lua | 7 | 1092 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. come back after sorting your inventory.
ITEM_OBTAINED = 6542; -- Obtained: <item>.
GIL_OBTAINED = 6543; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6545; -- Obtained... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Port_Windurst/npcs/Sheia_Pohrichamaha.lua | 36 | 1535 | -----------------------------------
-- Area: Port Windurst
-- NPC: Sheia Pohrichamaha
-- Only sells when Windurst controlls Fauregandi Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/z... | gpl-3.0 |
linushsao/sky_islands_game-linus | mods/mobf_core/mobf/graphics.lua | 2 | 11591 | -------------------------------------------------------------------------------
-- Mob Framework Mod by Sapier
--
-- You may copy, use, modify or do nearly anything except removing this
-- copyright notice.
-- And of course you are NOT allow to pretend you have written it.
--
--! @file graphics.lua
--! @brief graphics ... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Goblin_Statue.lua | 22 | 1841 | -----------------------------------
-- Area: Dynamis Beaucedine
-- MOB: Goblin Statue
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
----------------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/serving_of_medicinal_quus.lua | 35 | 1403 | -----------------------------------------
-- ID: 4294
-- Item: serving_of_medicinal_quus
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -1
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
otservme/global1041 | data/npc/scripts/Bruce.lua | 2 | 1932 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHan... | gpl-2.0 |
hoku586/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Kasim.lua | 14 | 1909 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: Kasim
-- @pos -46 0 -148 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_Zitah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
r... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Al_Zahbi/npcs/Chochoroon.lua | 14 | 1035 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Chochoroon
-- Type: Appraiser
-- @zone 48
-- @pos -42.739 -1 -45.987
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------... | gpl-3.0 |
TabitaPL/Pasjans | Angel-3.2/Code/Angel/Scripting/EngineScripts/conf_load.lua | 3 | 11909 | ------------------------------------------------------------------------------
-- 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:
--
-- *... | mit |
LuaExtend/LuaExtend | tools/ZeroBraneStudio/interpreters/marmalade.lua | 1 | 8972 | -- Copyright 2011-13 Paul Kulchenko, ZeroBrane LLC
--[[
Support for Hub added by Marmalade.
--]]
local quick
local win = ide.osname == "Windows"
local mac = ide.osname == "Macintosh"
local exe = win and [[win32\s3e_simulator_release.exe]] or [[loader/osx/s3e_simulator_release]]
local exe_d = win and [[win32\s3e_sim... | apache-2.0 |
likunpeng/cocos | QuickGame/runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources/src/framework/cc/ui/UIImage.lua | 9 | 3050 |
--[[
Copyright (c) 2011-2014 chukong-inc.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... | apache-2.0 |
hussian1997/iraq-bot | plugins/car.lua | 4 | 1410 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ 2) ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
ff94315/luci-1 | applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd.lua | 6 | 5557 | --[[
uHttpd Luci configuration module.
Copyright (c) 2015, GuoGuo <gch981213@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
]]--
loca... | apache-2.0 |
Elkazan/darkstar | scripts/zones/Port_Windurst/npcs/HomePoint#2.lua | 17 | 1253 | -----------------------------------
-- Area: Port Windurst
-- NPC: HomePoint#2
-- @pos -207 -8.159 210 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/TextIDs");
require("scripts/g... | gpl-3.0 |
quanhua92/torch-android | src/3rdparty/nnx/MultiSoftMax.lua | 2 | 1560 | ------------------------------------------------------------------------
--[[ MultiSoftMax ]]--
-- Takes 2D or 3D input and performs a softmax over the last dimension.
------------------------------------------------------------------------
local MultiSoftMax, parent = torch.class('nn.MultiSoftMax', 'nn.Module')
funct... | bsd-3-clause |
hoku586/darkstar | scripts/zones/Manaclipper/npcs/Gniyah_Mischatt.lua | 14 | 1028 | -----------------------------------
-- Area: Manaclipper
-- NPC: Gniyah Mischatt
-- Type: Adventurer's Assistant
-- @pos 0.033 -4 2.725 3
-----------------------------------
package.loaded["scripts/zones/Manaclipper/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Manaclipper/TextIDs");
... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/dish_of_spaghetti_arrabbiata.lua | 12 | 2027 | -----------------------------------------
-- ID: 5211
-- Item: dish_of_spaghetti_arrabbiata
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +17% (cap 140)
-- Strength +5
-- Vitality +2
-- Intelligence -7
-- Attack +22% (cap 90)
-- Ranged Attack +22% (cap 90)
-- Store TP +6
-- Sleep resi... | gpl-3.0 |
dftec-es/civ2civ3_earth | 2.6/civ2civ3_earth/script.lua | 1 | 12471 | -- Freeciv - Copyright (C) 2007 - The Freeciv Project
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2, or (at your option)
-- any later version.
--
-- This program ... | gpl-2.0 |
Elkazan/darkstar | scripts/zones/Crawlers_Nest/npcs/Treasure_Coffer.lua | 17 | 3973 | -----------------------------------
-- Area: Crawler Nest
-- NPC: Treasure Coffer
-- @zone 197
-- @pos -94 0 207
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_Windurst/npcs/Kumama.lua | 36 | 1748 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kumama
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs... | gpl-3.0 |
Vadavim/test | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_GK.lua | 27 | 1373 | -----------------------------------
-- Area: LaLoff Amphitheater
-- NPC: Ark Angel GK
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-----------------------------------
-- TODO: Allegedly has a 12 hp/sec regen. Determine if true, and add to onMobInitialize if so.... | gpl-3.0 |
Vadavim/test | scripts/zones/Northern_San_dOria/npcs/Aivedoir.lua | 38 | 1026 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Aivedoir
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -123.119 7.999 134.490
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs")... | gpl-3.0 |
linushsao/sky_islands_game-linus | mods/flight/flyingcarpet/init.lua | 1 | 4146 | dofile(minetest.get_modpath("flyingcarpet") .. "/config.lua")
local function get_sign(i)
if i == 0 then
return 0
else
return i/math.abs(i)
end
end
local carpet = {
physical = true,
collisionbox = {-.78,-0.3,-.78, .78,0.3,.78},
collide_with_objects = true,
visual = "mesh",
mesh = "carpet.obj",
textures = ... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Ranguemont_Pass/npcs/Myffore.lua | 19 | 1073 | -----------------------------------
-- Area: Ranguemont Pass
-- NPC: Myffore
-- Type: NPC
-- @pos -179.951 4 -172.234 166
-----------------------------------
package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
yosefvj/vj2 | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
Elkazan/darkstar | scripts/globals/items/balik_sis_+1.lua | 35 | 1664 | -----------------------------------------
-- ID: 5601
-- Item: Balik Sis +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 5
-- Mind -2
-- Attack % 15
-- Attack Cap 45
-- Ranged ACC 1
-- Ranged ATT % 15
-- Ranged ATT Cap 45
-----------------------------------------
... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua | 59 | 2394 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Those Who Lurk in Shadows
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions"... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Southern_San_dOria/npcs/Valderotaux.lua | 14 | 1774 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Valderotaux
-- General Info NPC
-- @pos 97 0.1 113 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs")... | gpl-3.0 |
Vadavim/test | scripts/globals/items/remedy.lua | 19 | 1251 | -----------------------------------------
-- ID: 4155
-- Item: Remedy
-- Item Effect: This potion remedies status ailments.
-- Works on paralysis, silence, blindness, poison, and disease.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Southern_San_dOria/npcs/Raminel.lua | 18 | 4705 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Raminel
-- Involved in Quests: Riding on the Clouds
-- @zone 230
-- @pos -56 2 -21
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Throne_Room/npcs/_4l4.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 |
Vadavim/test | scripts/zones/Bibiki_Bay/npcs/Clamming_Point.lua | 11 | 5745 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Clamming Point
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
require("scripts/zones/Bibiki_Bay/TextIDs");
require("scripts/globals/keyitems");
-----------------------------------
-- Local Variables
------... | gpl-3.0 |
Vadavim/test | scripts/zones/Bastok_Markets/npcs/Salimah.lua | 15 | 2905 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Salimah
-- Notes: Start & Finishes Quest: Gourmet
-- @pos -31.687 -6.824 -73.282 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
Vadavim/test | scripts/globals/spells/voidstorm.lua | 31 | 1154 | --------------------------------------
-- Spell: Voidstorm
-- Changes the weather around target party member to "gloomy."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------------------... | gpl-3.0 |
Pawel-Kaminski/2dGame | code/battle/keypressedBattle/displayActions.lua | 1 | 2228 | require "battle.keypressedBattle.displayActions.makeAction"
function countActions(actions)
local howManyActions = 0
for _, action in pairs(actions) do
howManyActions = howManyActions + 1
end
return howManyActions
end
function setSelectedAction()
if arrowX == 90 then
selectedAction ... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Al_Zahbi/npcs/Famatar.lua | 27 | 3042 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Famatar
-- Type: Imperial Gate Guard
-- @pos -105.538 0.999 75.456 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/global... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Port_San_dOria/npcs/Diraulate.lua | 36 | 1375 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Diraulate
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Tex... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_San_dOria/npcs/Diraulate.lua | 36 | 1375 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Diraulate
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Tex... | gpl-3.0 |
hussian1997/iraq-bot | plugins/RDOD.lua | 2 | 2021 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ( لاوامر 2) ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
hackpascal/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 |
Elkazan/darkstar | scripts/zones/Bastok_Mines/npcs/Emaliveulaux.lua | 30 | 1948 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Emaliveulaux
-- Only sells when Bastok controls the Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require... | gpl-3.0 |
Vadavim/test | scripts/globals/items/sacred_sword.lua | 16 | 1410 | -----------------------------------------
-- ID: 17682
-- Sacred Sword
-- Additional effect: Light damage
-- Enchantment: "Enlight"
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/jack-o-pie.lua | 12 | 1343 | -----------------------------------------
-- ID: 5644
-- Item: jack-o-pie
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP 45
-- CHR -1
-- Intelligence 4
-- hMP +1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- ... | gpl-3.0 |
otservme/global1041 | data/movements/scripts/dreamer challenge quest/dreamerChallengeQuestWallsTeleport.lua | 2 | 2084 | function onStepIn(cid, item, pos)
wall1 = {x=32760, y=32288, z=14, stackpos=1}
wall2 = {x=32761, y=32288, z=14, stackpos=1}
wall3 = {x=32762, y=32288, z=14, stackpos=1}
wall4 = {x=32763, y=32288, z=14, stackpos=1}
wall5 = {x=32764, y=32288, z=14, stackpos=1}
wall6 = {x=32764, y=32289, z=14, stackpos=1}
wall7 = ... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Valkurm_Dunes/TextIDs.lua | 3 | 1951 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6406; -- Obtained: <item>.
GIL_OBTAINED = 6407; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6409; -- Obtained... | gpl-3.0 |
LuaExtend/LuaExtend | tools/ZeroBraneStudio/lualibs/socket/headers.lua | 133 | 3698 | -----------------------------------------------------------------------------
-- Canonic header field capitalization
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
local socket = require("socket")
socket.headers = {}
local _M = socket.headers
... | apache-2.0 |
Vadavim/test | scripts/zones/Kazham-Jeuno_Airship/Zone.lua | 28 | 1458 | -----------------------------------
--
-- Zone: Kazham-Jeuno_Airship
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/mobskills/Vitriolic_spray.lua | 16 | 1053 | ---------------------------------------------
-- Vitriolic Spray
-- Family: Wamouracampa
-- Description: Expels a caustic stream at targets in a fan-shaped area of effect. Additional effect: Burn
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadow
-- Range: Cone
-- Notes: Burn is 10-30/tic
----------... | gpl-3.0 |
CommandPost/CommandPost | src/extensions/cp/i18n/localeID.lua | 1 | 11376 | --- === cp.i18n.localeID ===
---
--- As per [Apple's documentation](https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPInternational/LanguageandLocaleIDs/LanguageandLocaleIDs.html#//apple_ref/doc/uid/10000171i-CH15-SW6),
--- a `locale ID` is a code which identifies either a language used acro... | mit |
hoku586/darkstar | scripts/globals/items/candy_cane.lua | 12 | 1280 | -----------------------------------------
-- ID: 5622
-- Item: Candy Cane
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Intelligence 4
-- Mind 4
-- MP Recovery while healing 2
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
Vadavim/test | scripts/globals/mobskills/Antimatter.lua | 6 | 1117 | ---------------------------------------------------
-- Antimatter
--
-- Description: Single-target ranged Light damage (~700-1500), ignores Utsusemi.
-- Type: Magical
--
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/script... | gpl-3.0 |
Vadavim/test | scripts/globals/weaponskills/one_inch_punch.lua | 30 | 1549 | -----------------------------------
-- One Inch Punch
-- Hand-to-Hand weapon skill
-- Skill level: 75
-- Delivers an attack that ignores target's defense. Amount ignored varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget.
-- Aligned with the Shadow Belt.
-- Element: None
-- Modi... | gpl-3.0 |
otservme/global1041 | data/npc/scripts/Irmana.lua | 1 | 3989 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Windurst_Walls/npcs/Komulili.lua | 17 | 1097 | -----------------------------------
-- Area: Port Windurst
-- NPC: Komulili
-- Warps players to Port Windurst
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Walls/TextIDs");
------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/windurst_salad.lua | 35 | 1465 | -----------------------------------------
-- ID: 4555
-- Item: windurst_salad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 10
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
daogames/BrainJam_dao | lib/game.lua | 1 | 4163 | function namespace()
return { 'brainjam', 'game' }
end
function init()
db = 'brainjamgame'
json = runtime.extension.json
kv = service.dao.datastore.keyvalue
tu = runtime.extension.tableutil
uuid = runtime.extension.uuid
uuid.seed()
end
local function new_game_id()
local u = uuid.new()
local exists =... | mit |
hoku586/darkstar | scripts/zones/Ilrusi_Atoll/npcs/Treasure_Coffer.lua | 14 | 1849 | -----------------------------------
-- Area:
-- NPC: Treasure Coffer
-- @zone illrusi atoll
-- @pos
-----------------------------------
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
requ... | gpl-3.0 |
hoku586/darkstar | scripts/globals/abilities/penury.lua | 27 | 1096 | -----------------------------------
-- Ability: Penury
-- Reduces the MP cost of your next white magic spell by 50%.
-- Obtained: Scholar Level 10
-- Recast Time: Stratagem Charge
-- Duration: 1 white magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- -------- ... | gpl-3.0 |
likunpeng/cocos | luatest/src/XMLHttpRequestTest/XMLHttpRequestTest.lua | 9 | 6845 | require("json")
local function XMLHttpRequestLayer()
local layer = cc.Layer:create()
local winSize = cc.Director:getInstance():getWinSize()
local margin = 40
local space = 35
local function init()
local label = cc.Label:createWithTTF("XML Http Request Test", s_arialPath, 28)
label... | apache-2.0 |
hoku586/darkstar | scripts/zones/Horlais_Peak/bcnms/dropping_like_flies.lua | 30 | 1741 | -----------------------------------
-- Area: Horlias peak
-- Name: Dropping Like Flies
-- BCNM30
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- EXA... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.