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 |
|---|---|---|---|---|---|
Squeakz/darkstar | scripts/zones/Windurst_Walls/npcs/Zokima-Rokima.lua | 13 | 2899 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Zokima-Rokima
-- Starts Windurst Missions
-- @pos 0 -16 124 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
---------------------------... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/cocos2d/bitExtend.lua | 104 | 1590 | -- bit operation
bit = bit or {}
bit.data32 = {}
for i=1,32 do
bit.data32[i]=2^(32-i)
end
function bit._b2d(arg)
local nr=0
for i=1,32 do
if arg[i] ==1 then
nr=nr+bit.data32[i]
end
end
return nr
end
function bit._d2b(arg)
arg = arg >= 0 and arg or (0xFFFFFFFF + a... | mit |
ddumont/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm9.lua | 14 | 1378 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: qm9 (???)
-- Spawns Alectryon
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sharin-Garin.lua | 14 | 2008 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sharin-Garin
-- Type: Adventurer's Assistant
-- @pos 122.658 -1.315 33.001 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/b... | gpl-3.0 |
ddumont/darkstar | scripts/globals/abilities/equanimity.lua | 26 | 1140 | -----------------------------------
-- Ability: Equanimity
-- Your next black magic spell will generate less enmity.
-- Obtained: Scholar Level 75
-- Recast Time: Stratagem Charge
-- Duration: 1 black magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- -------- ... | gpl-3.0 |
tectronics/annot-player | lib/luaresolver/lua/luascript.lua | 5 | 4108 | --[[ luascript.lua
2/1/2011
luascript update 2/1/2011
TODO: Support batch mode.
]]
-- Debug --
--[[
DEBUG = false;
if DEBUG then
dprint = print;
require "dumper";
function dump(var) dprint(DataDumper(var)) end
else
function dprint() end;
function dump() end;
end
]]
function dprint() end;
function dump() end;... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Abyssea-Grauberg/npcs/qm18.lua | 14 | 1424 | -----------------------------------
-- Zone: Abyssea-Grauberg
-- NPC: qm18 (???)
-- Spawns Amphitrite
-- @pos ? ? ? 254
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
----------------------------------... | gpl-3.0 |
jlcvp/otxserver | data/monster/mammals/mammoth.lua | 2 | 2608 | local mType = Game.createMonsterType("Mammoth")
local monster = {}
monster.description = "a mammoth"
monster.experience = 160
monster.outfit = {
lookType = 199,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 260
monster.Bestiary = {
class = "Mammal",
... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Southern_San_dOria/npcs/Aubejart.lua | 13 | 1460 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Aubejart
-- General Info NPC
-- @zone 230
-- @pos 3 -2 46
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Port_Jeuno/npcs/Digaga.lua | 14 | 1039 | ----------------------------------
-- Area: Port Jeuno
-- NPC: Digaga
-- Type: Item Deliverer
-- @zone 246
-- @pos -52.865 7.999 1.134
--
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-------------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Field_Manual.lua | 29 | 1055 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
------------------------... | gpl-3.0 |
NickSavage/koreader | spec/unit/touch_probe_spec.lua | 2 | 2053 | describe("touch probe module", function()
setup(function()
require("commonrequire")
end)
it("should probe properly for kobo touch", function()
local Device = require("device")
local TouchProbe = require("tools/kobo_touch_probe"):new{}
local need_to_switch_xy
TouchPro... | agpl-3.0 |
Squeakz/darkstar | scripts/zones/Stellar_Fulcrum/npcs/_4z1.lua | 39 | 1328 | -----------------------------------
-- Area: Stellar Fulcrum
-- NPC: Qe'Lov Gate
-------------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-------------------------------... | gpl-3.0 |
ddumont/darkstar | scripts/commands/givexp.lua | 13 | 1180 | ---------------------------------------------------------------------------------------------------
-- func: givexp <amount> <player>
-- desc: Gives the GM or target player experience points.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/forgotten_knowledge/animated_sword.lua | 2 | 2227 | local mType = Game.createMonsterType("Animated Sword")
local monster = {}
monster.description = "an animated sword"
monster.experience = 0
monster.outfit = {
lookTypeEx = 24227
}
monster.health = 2000
monster.maxHealth = 2000
monster.race = "fire"
monster.corpse = 0
monster.speed = 360
monster.manaCost = 0
monster.... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Beadeaux/npcs/qm2.lua | 27 | 1444 | --------------------------
-- Area: Beadeaux
-- NPC: ??? (qm2)
-- Type: Quest NPC
-- @pos -79 1 -99 147
--------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
--------------------------
require("scripts/zones/Beadeaux/TextIDs");
require("scripts/globals/keyitems");
require("scripts/globals/... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Lower_Jeuno/npcs/Aldo.lua | 14 | 1976 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Aldo
-- Involved in Mission: Magicite, Return to Delkfutt's Tower (Zilart)
-- @pos 20 3 -58 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/k... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/TheSameApp/RC/005_RC_modules_release_same_app_2_devices.lua | 1 | 5366 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0204-same-app-from-multiple-devices.md
-- Description: RC modules release in AUTO_ALLOW mode for the same applications that are regis... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rm.lua | 14 | 1347 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _0rm (Oil lamp)
-- Notes: Opens South door at J-7 from inside.
-- @pos -63.703 -26.227 83.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
jlcvp/otxserver | data/monster/bosses/zamuloshsummom.lua | 2 | 4049 | local mType = Game.createMonsterType("Zamulosh")
local monster = {}
monster.description = "a zamulosh"
monster.experience = 50000
monster.outfit = {
lookType = 862,
lookHead = 16,
lookBody = 12,
lookLegs = 73,
lookFeet = 55,
lookAddons = 0,
lookMount = 0
}
monster.health = 20000
monster.maxHealth = 20000
monst... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Resumption/Handling_errors_from_HMI/008_resume_all_data_with_one_error_rpc_2apps_ign_off.lua | 1 | 4473 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0190-resumption-data-error-handling.md
--
-- Description:
-- Check data resumption is failed for 1st app and succeeded for 2nd app
-- in... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Windurst_Woods/npcs/Varun.lua | 13 | 2386 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Varun
-- Type: Standard NPC
-- @zone 241
-- @pos 7.800 -3.5 -10.064
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Promyvion-Holla/npcs/qm6.lua | 29 | 1123 | -----------------------------------
-- Area: Promyvion holla
-- ??? map acquisition
-----------------------------------
package.loaded["scripts/zones/Promyvion-Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Promyvion-Holla/TextIDs");
... | gpl-3.0 |
ddumont/darkstar | scripts/zones/North_Gustaberg/mobs/Maneating_Hornet.lua | 14 | 1091 | -----------------------------------
-- Area: North Gustaberg
-- MOB: Maneating Hornet
-- Note: Place Holder For Stinging Sophie
-----------------------------------
require("scripts/zones/North_Gustaberg/MobIDs");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobDeath
------------... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PageView.lua | 2 | 7524 |
--------------------------------
-- @module PageView
-- @extend ListView
-- @parent_module ccui
--------------------------------
-- brief Set space between page indicator's index nodes.<br>
-- param spaceBetweenIndexNodes Space between nodes in pixel.
-- @function [parent=#PageView] setIndicatorSpaceBetweenIndexNodes... | mit |
ddumont/darkstar | scripts/zones/Mhaura/npcs/Ekokoko.lua | 14 | 1644 | -----------------------------------
-- Area: Mhaura
-- NPC: Ekokoko
-- Gouvernor of Mhaura
-- Involved in Quest: Riding on the Clouds
-- @pos -78 -24 28 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems")... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Pagdako.lua | 31 | 1385 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Pagdako
-- Quest NPC
-- pos -200 -6 -93
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]/TextIDs");
require("scripts... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Apollyon/mobs/Metalloid_Amoeba.lua | 17 | 1395 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Metalloid_Amoeba
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/block_of_rock_cheese.lua | 18 | 1312 | -----------------------------------------
-- ID: 4593
-- Item: Block of Rock Cheese
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 5.5
-- Health Cap 45
-- HP Recovered while healing 1
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/Validation_of_PolicyTables/272_ATF_Validate_groups_default_policies.lua | 1 | 4213 | ---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [Policies] "default" policies and "groups" validation
--
-- Description:
-- Validation of "groups sub-section in "default" if "default" policies assigned to the application.
-- 1. Used pre... | bsd-3-clause |
mc-server/MCServer | Tools/BlockTypePaletteGenerator/UpgradePaletteCheck.lua | 4 | 3826 | -- UpgradePaletteCheck.lua
--[[ Implements a check that lists all entries in the UpgradeBlockTypePalette
that are not present in the 1.13 protocol palette.
The palette files are expected to be in folders relative to this script like
they are in the git repo:
../../Server/Protocol/UpgradeBlockTypePalette.txt
../../Ser... | apache-2.0 |
jlcvp/otxserver | data/lib/core/lever.lua | 2 | 5533 | ---@author @Glatharth
---@version 1.1
---@since 1.0
Lever = {}
setmetatable(Lever, {
__call = function(self)
local lever_data = {
positions = {},
info_positions = nil,
condition = function() return true end,
teleport_player_func = function() return true end,
}
... | gpl-2.0 |
jlcvp/otxserver | data/monster/quests/dangerous_depth/organic_matter.lua | 2 | 1776 | local mType = Game.createMonsterType("Organic Matter")
local monster = {}
monster.description = "an organic matter"
monster.experience = 0
monster.outfit = {
lookType = 617,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 10000
monster.maxHealth = 10000
... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Castle_Zvahl_Keep_[S]/npcs/HomePoint#1.lua | 27 | 1289 | -----------------------------------
-- Area: Castle Zvahl Keep [S]
-- NPC: HomePoint#1
-- @pos -554 -70 66 155
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs");
require(... | gpl-3.0 |
evgeni/sysdig | userspace/sysdig/chisels/v_syscall_procs.lua | 8 | 1887 | --[[
Copyright (C) 2013-2015 Draios inc.
This program 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 Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
imashiam/SUP | plugins/english_lang.lua | 20 | 17692 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/TOO_MANY_PENDING_REQUESTS/ATF_RegisterAppInterface_TOO_MANY_PENDING_REQUESTS.lua | 1 | 6667 | Test = require('connecttest')
require('cardinalities')
local events = require('events')
local mobile_session = require('mobile_session')
local mobile = require('mobile_connection')
local tcp = require('tcp_connection')
local file_connection = require('file_connection')
local commonSteps = require('user_modules/share... | bsd-3-clause |
djkamran021/wadertg-api | plugins/banhammer.lua | 2 | 12604 |
local function pre_process(msg)
local data = load_data(_config.moderation.data)
-- 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('Che... | gpl-2.0 |
montadar97/montadar-100k | plugin/TH3BOSS5.lua | 1 | 2349 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ م المطور ... | gpl-3.0 |
rodoviario/wordgrinder | src/lua/addons/pagecount.lua | 3 | 2342 | -- © 2013 David Given.
-- WordGrinder is licensed under the MIT open source license. See the COPYING
-- file in this distribution for the full text.
-----------------------------------------------------------------------------
-- Build the status bar.
do
local function cb(event, token, terms)
local settings = Docu... | mit |
jorgifumi/luci | applications/luci-app-radvd/luasrc/model/cbi/radvd/dnssl.lua | 61 | 2025 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sid = arg[1]
local utl = require "luci.util"
m = Map("radvd", translatef("Radvd - DNSSL"),
translate("Radvd is a router advertisement daemon for IPv6. " ..
"It listens to router solicitations and sends... | apache-2.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/framework/audio.lua | 57 | 5647 | --[[
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, dis... | mit |
jlcvp/otxserver | data/monster/demons/askarak_prince.lua | 2 | 3654 | local mType = Game.createMonsterType("Askarak Prince")
local monster = {}
monster.description = "an askarak prince"
monster.experience = 1700
monster.outfit = {
lookType = 419,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 729
monster.Bestiary = {
cla... | gpl-2.0 |
elverion/rom-bot | userfunctions/userfunction_30daymounts.lua | 1 | 3905 | --==<< NoobBotter's 30 Day Mount Mounting function >>==--
--==<< By Noobbotter Version 1.1 >>==--
--==<< >>==--
--==<< Rev 1.1 includes item ID for horse rental tickets. Also >>==--
--==<< noticed it would only use ... | mit |
ddumont/darkstar | scripts/globals/items/bottle_of_hallowed_water.lua | 8 | 2136 | -----------------------------------------
-- ID: 5306
-- Item: Bottle of Hallowed Water
-- Item Effect: Removes curse. Better chance to remove doom.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
Xikusa/ModernMagic | TestCpp/Resources/THlib/enemy/boss.lua | 2 | 16475 | LoadTexture('boss','THlib\\enemy\\boss.png')
LoadImageGroup('bossring1','boss',80,0,16,8,1,16)
for i=1,16 do SetImageState('bossring1'..i,'mul+add',Color(0x80FFFFFF)) end
LoadImageGroup('bossring2','boss',64,0,16,8,1,16)
for i=1,16 do SetImageState('bossring2'..i,'mul+add',Color(0x80FFFFFF)) end
LoadImage('spell_card_e... | mit |
jorgifumi/luci | applications/luci-app-minidlna/luasrc/controller/minidlna.lua | 72 | 1242 | -- Copyright 2012 Gabor Juhos <juhosg@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.minidlna", package.seeall)
function index()
if not nixio.fs.access("/etc/config/minidlna") then
return
end
local page
page = entry({"admin", "services", "minidlna"}, cbi("minidlna... | apache-2.0 |
Squeakz/darkstar | scripts/globals/items/elshimo_frog.lua | 18 | 1481 | -----------------------------------------
-- ID: 4290
-- Item: elshimo_frog
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-------------------------------------... | gpl-3.0 |
Mic92/vicious | contrib/init.lua | 1 | 1208 | -- contrib/init.lua
-- Copyright (C) 2010-2012 Adrian C. (anrxc) <anrxc@sysphere.org>
-- Copyright (C) 2011 Joerg T. (Mic92) <jthalheim@gmail.com>
-- Copyright (C) 2012 Arvydas Sidorenko <asido4@gmail.com>
--
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it... | gpl-2.0 |
tectronics/annot-player | lib/luaresolver/lua/luascript/lib/bit.lua | 21 | 4394 | --[[---------------
LuaBit v0.4
-------------------
a bitwise operation lib for lua.
http://luaforge.net/projects/bit/
How to use:
-------------------
bit.bnot(n) -- bitwise not (~n)
bit.band(m, n) -- bitwise and (m & n)
bit.bor(m, n) -- bitwise or (m | n)
bit.bxor(m, n) -- bitwise xor (m ^ n)
bit.brshift(n, bit... | gpl-3.0 |
yeewang/openwrt-luci | modules/admin-full/luasrc/model/cbi/admin_system/fstab.lua | 83 | 4608 | --[[
LuCI - Lua Configuration Interface
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 may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
req... | apache-2.0 |
ddumont/darkstar | scripts/zones/Windurst_Woods/npcs/An_Polaali.lua | 17 | 1110 | -----------------------------------
-- Area: Windurst Woods
-- NPC: An Polaali
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/VeLugannon_Palace/TextIDs.lua | 7 | 1036 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6385; -- Obtained: <item>
GIL_OBTAINED = 6386; -- Obtained <number> gil
KEYITEM_OBTAINED = 6388; -- Obtain... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Dynamis-Bastok/mobs/Ko_Dho_Cannonball.lua | 17 | 1122 | -----------------------------------
-- Area: Dynamis Bastok
-- NPC: Ko'Dho Cannonball
-- Boss Trigger for Gu'Dha Effigy
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Fire.lua | 13 | 2379 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Fire
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles")... | gpl-3.0 |
chriskmanx/qmole | QMOLEDEV/LuaJIT-2.0.3/dynasm/dasm_x86.lua | 59 | 58755 | ------------------------------------------------------------------------------
-- DynASM x86/x64 module.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
local x64 = x64
-- Module i... | gpl-3.0 |
ironbee/ironbee | libs/luajit-2.0-ironbee/dynasm/dasm_x86.lua | 59 | 58755 | ------------------------------------------------------------------------------
-- DynASM x86/x64 module.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
local x64 = x64
-- Module i... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/MobileProjection/Phase1/009_Rejecting_audio_video_service_in_FULL_2_protocol.lua | 1 | 1777 | ---------------------------------------------------------------------------------------------------
-- User story: TBD
-- Use case: TBD
--
-- Requirement summary:
-- TBD
--
-- Description:
-- In case:
-- 1) Application is registered with PROJECTION appHMIType via 2 protocol
-- 2) set in FULL HMI level
-- 3) and starts ... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/WebEngine/017_GetAppProperties_wrong_policyAppID.lua | 1 | 1381 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0240-sdl-js-pwa.md
--
-- Description:
-- Verify that the SDL responds with success:false, "DATA_NOT_AVAILABLE" on GetAppProperties reque... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Castle_Oztroja/npcs/_47y.lua | 13 | 1409 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47y (Torch Stand)
-- Notes: Opens door _474
-- @pos -57.575 24.218 -67.651 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztr... | gpl-3.0 |
jlcvp/otxserver | data/lib/others/modal_window_lib.lua | 2 | 2425 | if not modalWindows then
modalWindows = {
modalWindowConstructor = ModalWindow,
nextFreeId = 500,
windows = {}
}
end
local MT = {}
MT.__index = MT
function ModalWindow(...)
local args = {...}
if type(args[1]) == 'table' then
local self = setmetatable(args[1], MT)
local id = modalWindows.nextFreeId
se... | gpl-2.0 |
ddumont/darkstar | scripts/globals/items/quus.lua | 12 | 1319 | -----------------------------------------
-- ID: 5793
-- Item: quus
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------------... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/weaponskills/upheaval.lua | 11 | 1539 | -----------------------------------
-- Upheaval
-- Great Axe weapon skill
-- Skill Level: 357
-- Delivers a four-hit attack. Damage varies with TP.
-- In order to obtain Upheaval, the quest Martial Mastery must be completed.
-- Aligned with Flame Gorget, Light Gorget & Shadow Gorget.
-- Aligned with Flame Belt, Light B... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fr.lua | 13 | 2636 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: South Plate
-- @pos 180 -34 -31 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-... | gpl-3.0 |
jlcvp/otxserver | data/monster/mammals/merlkin.lua | 2 | 3305 | local mType = Game.createMonsterType("Merlkin")
local monster = {}
monster.description = "a merlkin"
monster.experience = 145
monster.outfit = {
lookType = 117,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 117
monster.Bestiary = {
class = "Mammal",
... | gpl-2.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/ui/DeprecatedUIEnum.lua | 55 | 4963 | if nil == ccui then
return
end
LAYOUT_COLOR_NONE = ccui.LayoutBackGroundColorType.none
LAYOUT_COLOR_SOLID = ccui.LayoutBackGroundColorType.solid
LAYOUT_COLOR_GRADIENT = ccui.LayoutBackGroundColorType.gradient
LAYOUT_ABSOLUTE = ccui.L... | mit |
smartdevicelink/sdl_atf_test_scripts | test_scripts/SDL5_0/LowVoltage/022_Low_Voltage_and_Wake_Up_no_timeout_disconnect_before_resumption.lua | 1 | 2335 | ---------------------------------------------------------------------------------------------------
-- In case:
-- 1. Mobile app is in FULL HMILevel
-- 2. App sends AddCommand, however SDL is not saved resumption data since timer (10s) has not expired yet
-- 3. SDL get LOW_VOLTAGE signal
-- 4. App closes connection
-- ... | bsd-3-clause |
ddumont/darkstar | scripts/globals/weaponskills/vidohunir.lua | 19 | 2111 | -----------------------------------
-- Vidohunir
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP.
-- Reduces enemy's magic defense by 10%.
-- Available only after completing the Unlocking a Myth (Black Mage) quest... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Loillie.lua | 13 | 1613 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Loillie
-- @zone 80
-- @pos 78 -8 -23
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
--------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/PsoXja/npcs/_09h.lua | 17 | 1206 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Avatars Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyitems");
--... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Dynamis-Xarcabard/npcs/qm1.lua | 13 | 1344 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: ??? (Spawn when mega is defeated)
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
ddumont/darkstar | scripts/globals/mobskills/Venom_Spray.lua | 36 | 1044 | ---------------------------------------------
-- Venom
--
-- Description: Deals damage in a fan shaped area. Additional effect: poison
-- Type: Magical Water
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' cone
-- Notes: Additional effect can be removed with Poisona.
--------------------------------------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/SDL5_0/LowVoltage/005_Low_Voltage_and_Wake_Up_RPC_in_progress.lua | 1 | 3241 | ---------------------------------------------------------------------------------------------------
-- In case:
-- 1) SDL is started (there was no LOW_VOLTAGE signal sent)
-- 2) SDL is in progress of processing some RPC
-- 3) SDL get LOW_VOLTAGE signal
-- 4) And then SDL get WAKE_UP signal
-- SDL does:
-- 1) Resume it’... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Carpenters_Landing/mobs/Birdtrap.lua | 4 | 1296 | -----------------------------------
-- Area: Carpenters' Landing
-- MOB: Birdtrap
-- Note: Placeholder Orctrap
-----------------------------------
require("scripts/zones/Carpenters_Landing/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, player... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/SDL5_0/Handling_VR_help_requests/006_SetGlobalProp_processing_added_choices.lua | 1 | 2452 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0122-New_rules_for_providing_VRHelpItems_VRHelpTitle.md
-- User story: TBD
-- Use case: TBD
--
-- Requirement summary: TBD
--
-- Descrip... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Southern_San_dOria/npcs/HomePoint#3.lua | 27 | 1277 | -----------------------------------
-- Area: Southern San dOria
-- NPC: HomePoint#3
-- @pos 140 -2 123 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Southern_San_dOria/TextIDs");
require("scripts/g... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Southern_San_dOria/npcs/Guilboire.lua | 17 | 1460 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Guilboire
-- 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 |
Squeakz/darkstar | scripts/zones/Batallia_Downs/mobs/Weeping_Willow.lua | 21 | 1050 | -----------------------------------
-- Area: Batallia Downs
-- MOB: Weeping Willow
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobFight Action
-----------------... | gpl-3.0 |
zonque/wireshark | test/lua/pat2pcre.lua | 35 | 1895 | -- See Copyright Notice in the file lrexlib.h
-- Convert Lua regex pattern to its PCRE equivalent.
local t_esc = {
a = "[:alpha:]",
A = "[:^alpha:]",
c = "[:cntrl:]",
C = "[:^cntrl:]",
d = "[:digit:]",
D = "[:^digit:]",
l = "[:lower:]",
L = "[:^lower:]",
p = "[:punct:]",
P = "[:^punct:]",
s = "[... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/space/booster/booster_overdriver_mk4.lua | 1 | 3313 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/sign/municipal/municipal_sign_hanging_parking.lua | 3 | 2304 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/tatooine/tusken_warrior.lua | 1 | 1345 | tusken_warrior = Creature:new {
objectName = "@mob/creature_names:tusken_warrior",
socialGroup = "tusken_raider",
faction = "tusken_raider",
level = 38,
chanceHit = 0.43,
damageMin = 335,
damageMax = 380,
baseXp = 3824,
baseHAM = 9100,
baseHAMmax = 11100,
armor = 0,
resists = {45,30,25,30,-1,30,-1,-1,-1},
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/giant_spined_puc.lua | 3 | 2180 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/mission/quest_item/radlee_mathiss_q1_needed.lua | 3 | 2296 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
BrandonTaylor95/serverbase | lua/sv_commands.lua | 1 | 2428 | // credit to Spacetech for the idea of how to do this.
ChatCommands = {
admin = "sb_admin",
bans = "sb_suspensions",
servers = "sb_portal",
portal = "sb_portal",
rules = "sb_rules",
votemap = "sb_votemap",
maplist = "sv_votemap",
ban = "sb_ban",
kick = "sb_kick",
slay = "sb_slay",
mute = "sb_mute",
voicem... | gpl-3.0 |
aircross/OpenWrt-Firefly-LuCI | modules/base/luasrc/sys.lua | 6 | 25869 | --[[
LuCI - System library
Description:
Utilities for interaction with the Linux system
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 may obtain a copy of the... | apache-2.0 |
elijah513/SOHU-DBProxy | tests/suite/base/t/raw_packets.lua | 4 | 3636 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/weapon/groups/jawa_warlord_weapons.lua | 3 | 1120 | jawa_warlord_weapons = {
"object/weapon/ranged/rifle/rifle_dlt20a.iff",
"object/weapon/ranged/rifle/rifle_e11.iff",
"object/weapon/ranged/rifle/rifle_jawa_ion.iff",
"object/weapon/ranged/rifle/rifle_laser.iff",
"object/weapon/ranged/rifle/rifle_t21.iff"
}
addWeapon("jawa_warlord_weapons", jawa_warlord_weapons)
--... | agpl-3.0 |
sprunk/Zero-K | LuaUI/Widgets/cmd_layout_handler.lua | 2 | 5626 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Layout Handler",
desc = "Handles Custom Commands",
author = "GoogleFrog",
date = "8 Nov... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/armor/ithorian_guardian/ith_armor_s02_bicep_r.lua | 1 | 4093 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
elijah513/SOHU-DBProxy | tests/suite/base/t/bug_43078-test.lua | 4 | 1296 | --[[ $%BEGINLICENSE%$
Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/droid/data_storage_module_6.lua | 2 | 2926 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/space/chassis/blacksun_light_s02.lua | 1 | 3771 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
devevo/EVO_TEAM | libs/XMLElement.lua | 569 | 4025 | -- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence.
-- updated for module-free world of lua 5.3 on April 2 2015
-- Not documented at all, but not interesting enough to warrant documentation anyway.
local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ... | gpl-3.0 |
ashrafboss/V1_ASHRAF_EN_AR | libs/XMLElement.lua | 569 | 4025 | -- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence.
-- updated for module-free world of lua 5.3 on April 2 2015
-- Not documented at all, but not interesting enough to warrant documentation anyway.
local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/armor/arm_mandal_advanced_composite.lua | 3 | 2328 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/roba/serverobjects.lua | 3 | 2154 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/harvesterDeactivate.lua | 4 | 2150 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/skill_buff/serverobjects.lua | 3 | 3628 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/installation/mining_organic/base/serverobjects.lua | 3 | 2120 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.