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 |
|---|---|---|---|---|---|
cyberix3d/Cyberix3D | bin/Data/LuaScripts/15_Navigation.lua | 1 | 21635 | -- Navigation example.
-- This sample demonstrates:
-- - Generating a navigation mesh into the scene
-- - Performing path queries to the navigation mesh
-- - Rebuilding the navigation mesh partially when adding or removing objects
-- - Visualizing custom debug geometry
-- - Raycasting drawable compo... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Abyssea-Konschtat/npcs/Cavernous_Maw.lua | 29 | 1200 | -----------------------------------
-- Area: Abyssea - Konschatat
-- NPC: Cavernous Maw
-- @pos 159.943 -72.109 -839.986 15
-- Teleports Players to Konschatat Highlands
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Bastok_Markets/npcs/Wulfnoth.lua | 53 | 1818 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Wulfnoth
-- Type: Goldsmithing Synthesis Image Support
-- @pos -211.937 -7.814 -56.292 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
bravnsgaard/premake-core | modules/d/tests/test_ldc.lua | 3 | 2223 | ---
-- d/tests/test_dmd.lua
-- Automated test suite for dmd.
-- Copyright (c) 2011-2015 Manu Evans and the Premake project
---
local suite = test.declare("d_ldc")
local p = premake
local m = p.modules.d
local make = p.make
local project = p.project
--------------------------------------------------------------... | bsd-3-clause |
Armyluix/darkstar | scripts/zones/RuAun_Gardens/mobs/Groundskeeper.lua | 25 | 1323 | -----------------------------------
-- Area: RuAun Gardens
-- MOB: Groundskeeper
-- Note: Place holder Despot
-----------------------------------
require("scripts/zones/RuAun_Gardens/MobIDs");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobDeath
--------------------------------... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/addons/ulib/lua/ulib/server/entity_ext.lua | 2 | 5019 | local meta = FindMetaTable( "Entity" )
-- Return if there's nothing to add on to
if not meta then return end
-- Are you a STOOL author who's angry that your tool isn't on this list?
-- Just add this to your code:
-- if ULib then table.insert( ULib.delWhiteList, "my_stool" ) end
ULib.delWhitelist = -- White list for ... | mit |
obelisk21/prosody-modules | mod_post_msg/mod_post_msg.lua | 32 | 2623 | module:depends"http"
local jid_split = require "util.jid".split;
local jid_prep = require "util.jid".prep;
local msg = require "util.stanza".message;
local test_password = require "core.usermanager".test_password;
local b64_decode = require "util.encodings".base64.decode;
local formdecode = require "net.http".formdeco... | mit |
abriasffxi/darkstar | scripts/zones/Caedarva_Mire/npcs/qm12.lua | 14 | 2040 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: ???
-- @pos 456.993 -7.000 -270.815 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/EventDispatcher.lua | 10 | 6285 |
--------------------------------
-- @module EventDispatcher
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Pauses all listeners which are associated the specified target.<br>
-- param target A given target node.<br>
-- param recursive True if pause recursively, the default value is false.
--... | mit |
abriasffxi/darkstar | scripts/globals/homepoint.lua | 4 | 17850 | require("scripts/globals/settings");
local homepoints = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,
26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,
51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,
76,77,78,79,80,81... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Muzeze.lua | 38 | 1035 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Muzeze
-- Type: Armor Storer
-- @pos -6.782 -18.428 208.185 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Meriphataud... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Tachi_Yukikaze.lua | 27 | 1047 | ---------------------------------------------
-- Tachi: Yukikaze
--
-- Description: Blinds target. Damage varies with TP.
-- Type: Physical
-- Shadow per hit
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/serving_of_salmon_roe.lua | 18 | 1326 | -----------------------------------------
-- ID: 5218
-- Item: serving_of_salmon_roe
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 8
-- Magic 8
-- Dexterity 2
-- Mind -1
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/bowl_of_riverfin_soup.lua | 36 | 1822 | -----------------------------------------
-- ID: 6069
-- Item: Bowl of Riverfin Soup
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Accuracy % 14 Cap 90
-- Ranged Accuracy % 14 Cap 90
-- Attack % 18 Cap 80
-- Ranged Attack % 18 Cap 80
-- Amorph Killer 5
-----------------------------------... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/TransitionShrinkGrow.lua | 11 | 1057 |
--------------------------------
-- @module TransitionShrinkGrow
-- @extend TransitionScene,TransitionEaseScene
-- @parent_module cc
--------------------------------
--
-- @function [parent=#TransitionShrinkGrow] easeActionWithAction
-- @param self
-- @param #cc.ActionInterval action
-- @return ActionInterval#Actio... | mit |
Armyluix/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Adelbrecht.lua | 53 | 4980 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Adelbrecht
-- Starts Quests: The Fighting Fourth
-- Involved in Missions: Back to the Beginning
-- CS IDs:
-- 139 = 0x008B = Greetings, civilian. The Seventh Cohors of the Republican Legion's Fourth Division is currently recruiting new troops.
-- ... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/abilities/pets/spring_water.lua | 25 | 1137 | ---------------------------------------------------
-- Spring Water
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCheck(player... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/balik_sandvici.lua | 35 | 1435 | -----------------------------------------
-- ID: 5590
-- Item: Balik Sandvici
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Agility 1
-- Intelligence 3
-- Mind -2
-- Ranged ACC 5
-----------------------------------------
require("scripts/globals/status");
-... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/tests/lua-tests/src/controller.lua | 4 | 7975 |
-- avoid memory leak
collectgarbage("setpause", 100)
collectgarbage("setstepmul", 5000)
----------------
-- run
cc.FileUtils:getInstance():addSearchPath("src")
CC_USE_DEPRECATED_API = true
require "cocos.init"
local director = cc.Director:getInstance()
local glView = director:getOpenGLView()
if nil == glView then... | mit |
abriasffxi/darkstar | scripts/globals/spells/paralyga.lua | 21 | 1694 | -----------------------------------------
-- Spell: Paralyze
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpell... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Lower_Jeuno/npcs/Derrick.lua | 25 | 4615 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Derrick
-- Involved in Quests and finish : Save the Clock Tower
-- @zone 245
-- @pos -32 -1 -7
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Upper_Jeuno/npcs/Paya-Sabya.lua | 14 | 1345 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Paya-Sabya
-- Involved in Mission: Magicite
-- @zone 244
-- @pos 9 1 70
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/LaLoff_Amphitheater/Zone.lua | 30 | 1744 | -----------------------------------
--
-- Zone: LaLoff_Amphitheater (180)
--
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-----------... | gpl-3.0 |
dios-game/dios-cocos | src/apps/lua-tests/Resources/src/AssetsManagerTest/AssetsManagerModule.lua | 17 | 1398 | local AssetManagerModule = {}
function AssetManagerModule.newScene(backfunc)
local winSize = cc.Director:getInstance():getWinSize()
local newScene = cc.Scene:create()
local layer = cc.Layer:create()
local function backToUpdate()
local scene = backfunc()
if scene ~= nil then
... | mit |
CryTek-Team/CryTek | plugins/chatlist.lua | 4 | 1245 | local function chat_list(msg)
local message = '🔆 '..lang_text(msg.to.id, 'chatList')..'\nℹ️ '..lang_text(msg.to.id, 'joinchatHelp')..'\n\n'
local compare = message
for v,chat in pairs(_chats.chats) do
message = message..'🔅 '..chat[2]..' ('..chat[1]..')\n'
end
if compare == message then
me... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Port_Windurst/npcs/Janshura-Rashura.lua | 14 | 2913 | -----------------------------------
-- Area: Port Windurst
-- NPC: Janshura Rashura
-- Starts Windurst Missions
-- @pos -227 -8 184 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
-----------------------------------
... | gpl-3.0 |
silver-des/botsilver | plugins/invite.lua | 63 | 1107 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) or is_gbanned(result.id) then -- Ignore bans and globall bans
send_large_msg(chat, 'User is banned.')
else
... | gpl-2.0 |
rigeirani/oto | plugins/lastfm.lua | 6 | 2784 | if not config.lastfm_api_key then
print('Missing config value: lastfm_api_key.')
print('lastfm.lua will not be enabled.')
return
end
local command = 'lastfm'
local doc = [[```
/np [username]
Returns what you are or were last listening to. If you specify a username, info will be returned for that username.
/fmset <... | gpl-2.0 |
parsagachkardev/AutoBot2 | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
dios-game/dios-cocos | src/apps/lua-tests/Resources/src/AccelerometerTest/AccelerometerTest.lua | 15 | 2344 | local function AccelerometerMainLayer()
local function title()
return "AccelerometerTest"
end
local layer = cc.Layer:create()
local function onEnter()
layer:setAccelerometerEnabled(true)
local label = cc.Label:createWithTTF(title(), "fonts/arial.ttf", 32)
layer:addChild(l... | mit |
abriasffxi/darkstar | scripts/globals/mobskills/Mijin_Gakure.lua | 32 | 1342 | ---------------------------------------------------
-- Mijin Gakure
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(targe... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Nashmau/npcs/Fhe_Maksojha.lua | 14 | 2276 | -----------------------------------
-- Area: Nashmau
-- NPC: Fhe Maksojha
-- Type: Standard NPC
-- @pos 19.084 -7 71.287 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/sett... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rm.lua | 17 | 1337 | -----------------------------------
-- 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;
-----------------------------------
re... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/weaponskills/slice.lua | 30 | 1623 | -----------------------------------
-- Slice
-- Scythe weapon skill
-- Skill level: 5
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:100%
-- 100%TP 200%TP 300%TP
-- 1.50 1.75 2.00
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/sett... | gpl-3.0 |
milani/luvem | luvem/net.lua | 1 | 7489 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | apache-2.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Bilgestorm.lua | 30 | 1415 | ---------------------------------------------
-- Bilgestorm
--
-- Description: Deals damage in an area of effect. Additional effect: Lowers attack, accuracy, and defense
-- Type: Physical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown
-- Notes: Only used at low health.*Experienced the use at 75%*
-----... | gpl-3.0 |
Jai-Chaudhary/torch7 | File.lua | 2 | 9643 | local File = torch.getmetatable('torch.File')
function File:writeBool(value)
if value then
self:writeInt(1)
else
self:writeInt(0)
end
end
function File:readBool()
return (self:readInt() == 1)
end
local TYPE_NIL = 0
local TYPE_NUMBER = 1
local TYPE_STRING = 2
local TYPE_TABLE = 3
l... | bsd-3-clause |
Armyluix/darkstar | scripts/zones/Mhaura/npcs/Take.lua | 17 | 4380 | -----------------------------------
-- Area: Mhaura
-- NPC: Take
-- Involved In Quest: RYCHARDE_THE_CHEF
-- Starts and finishes quest: Expertice
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/regimeinfo.lua | 12 | 97619 | -------------------------------------------------
--
-- Regime Info Database
--
-- Stores details on the number of monsters to kill
-- as well as the suggested level range.
-- n1,n2,n3,n4 = Number of monsters needed
-- sl = Start Level range
-- s2 = End Level range
--
-- Example:
-- n1=6, n2=0, n3=0, n4=0, s... | gpl-3.0 |
v3n/ProDBG | bin/macosx/tundra/scripts/tundra/tools/msvc.lua | 22 | 2788 | -- msvc.lua - common definitions for all flavors of MSVC
module(..., package.seeall)
function apply(env, options)
-- load the generic C toolset first
tundra.unitgen.load_toolset("generic-cpp", env)
-- load support for win32 resource compilation
tundra.unitgen.load_toolset("win32-rc", env)
env:set_many {
... | mit |
rdlaitila/LURE | src/__legacy__/lib/namespace.lua | 1 | 2101 | --[[
The MIT License (MIT)
Copyright (c) 2014 Regan Daniel Laitila
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, modif... | mit |
NalaAlanIrah/cardpeek | dot_cardpeek_dir/scripts/e-passport.lua | 16 | 19873 | --
-- This file is part of Cardpeek, the smartcard reader utility.
--
-- Copyright 2009-2013 by 'L1L1'
--
-- Cardpeek is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (a... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Cryo_Jet.lua | 33 | 1279 | ---------------------------------------------------
-- Cryo_Jet
-- Description:
-- Type: Magical
-- additional effect : Paralyze
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
-------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Beastmen_s_Banner.lua | 14 | 1037 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Beastmen_s_Banner
-- @pos -172.764 25.119 93.640 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pashhow_Marshlands/TextIDs");
--... | gpl-3.0 |
Nyaa-tan/colony-sim-30 | lib/luigi/backend/love/font.lua | 3 | 1092 | local Font = setmetatable({}, { __call = function (self, ...)
local object = setmetatable({}, { __index = self })
return object, self.constructor(object, ...)
end })
local fontCache = {}
function Font:constructor (path, size, color)
if not size then
size = 12
end
if not color then
... | mpl-2.0 |
Armyluix/darkstar | scripts/globals/items/kusamochi+1.lua | 35 | 2086 | -----------------------------------------
-- ID: 6263
-- Item: kusamochi+1
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP + 30 (Pet & Master)
-- Vitality + 4 (Pet & Master)
-- Attack + 21% Cap: 77 (Pet & Master) Pet Cap: 120
-- Ranged Attack + 21% Cap: 77 (Pet & Master) Pet Cap: 120
-... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/spells/bluemagic/amplification.lua | 17 | 1987 | -----------------------------------------
-- Spell: Amplification
-- Enhances magic attack and magic defense
-- Spell cost: 48 MP
-- Monster Type: Amorphs
-- Spell Type: Magical (Water)
-- Blue Magic Points: 3
-- Stat Bonus: HP-5, MP+5
-- Level: 70
-- Casting Time: 7 seconds
-- Recast Time: 120 seconds
-- Du... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Metalworks/TextIDs.lua | 9 | 3817 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6434; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6438; -- You cannot obtain the item <item>. Try trading again after sorting your inventory.
ITEM_OBTAINED =... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Al_Zahbi/npcs/Najaaj.lua | 14 | 1032 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Najaaj
-- Type: Standard NPC
-- @zone 48
-- @pos 61.563 -1 36.264
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
--------------------------------... | gpl-3.0 |
Jigoku/simon | game.lua | 1 | 6874 | --[[
* Copyright (C) 2016 Ricky K. Thomson
*
* 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 3 of the License, or
* (at your option) any later version.
* This program is d... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Windurst_Waters/npcs/Piketo-Puketo.lua | 37 | 2135 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Piketo-Puketo
-- Type: Cooking Guild Master
-- @pos -124.012 -2.999 59.998 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
mbmahdiiii/mm | plugins/bot.lua | 1 | 7327 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
require("./bot/permissions")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:... | gpl-2.0 |
Armyluix/darkstar | scripts/globals/abilities/angon.lua | 13 | 1296 | -----------------------------------
-- Ability: Angon
-- Expends an Angon to lower an enemy's defense.
-- Obtained: Dragoon Level 75
-- Recast Time: 0:03:00
-- Duration: 0:00:30 (+0:00:15 for each merit, cap is 0:01:30)
-- Effect: Physical defense of target approximately -20% (51/256).
-- Range: 10.0 yalm... | gpl-3.0 |
uspgamedev/backdoor | game/view/node.lua | 1 | 1499 |
local Class = require "steaming.extra_libs.hump.class"
local ELEMENT = require "steaming.classes.primitives.element"
local Vec2 = require 'cpml' .vec2
local Node = Class({ __includes = { ELEMENT } })
function Node:init()
ELEMENT.init(self)
self.position = Vec2()
self.parent = nil
self.children = {}
end
... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Waughroon_Shrine/bcnms/shattering_stars.lua | 27 | 2040 | -----------------------------------
-- Area: Waughroon Shrine
-- Name: Shattering stars - Maat Fight
-- @pos -345 104 -260 144
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Waughroon_Shrine/TextIDs");
----... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Valkurm_Dunes/npcs/Fighting_Ant_IM.lua | 14 | 3326 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Fighting Ant, I.M.
-- Border Conquest Guards
-- @pos 908.245 -1.171 -411.504 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_ui_auto_api.lua | 3 | 5181 | --------------------------------
-- @module ccui
--------------------------------------------------------
-- the ccui LayoutParameter
-- @field [parent=#ccui] LayoutParameter#LayoutParameter LayoutParameter preloaded module
--------------------------------------------------------
-- the ccui LinearLayoutParameter
--... | mit |
Armyluix/darkstar | scripts/zones/Castle_Oztroja/npcs/_47j.lua | 17 | 1570 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47j (Torch Stand)
-- Notes: Opens door _472 near password #1
-- @pos -62.533 -1.859 -30.634 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
uspgamedev/backdoor | game/domain/sector.lua | 1 | 13505 | local DB = require 'database'
local SCHEMATICS = require 'domain.definitions.schematics'
local ACTIONDEFS = require 'domain.definitions.action'
local TRIGGERS = require 'domain.definitions.triggers'
local RANDOM = require 'common.random'
local Actor = require 'domain.actor'
local Body = require 'domain.body'
local Ut... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Sacrarium/npcs/qm4.lua | 17 | 1738 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm4 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 22.669 -3.111 127.279 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacra... | gpl-3.0 |
mahdib9/m1 | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
mynameiscraziu/crazy | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars14/entities/weapons/weapon_mad_base/cl_init.lua | 1 | 12429 | include('shared.lua')
SWEP.PrintName = "Mad Cows Weapon Base" // 'Nice' Weapon name (Shown on HUD)
SWEP.Slot = 0 // Slot in the weapon selection menu
SWEP.SlotPos = 1 // Position in the slot
SWEP.DrawAmmo = true // Should draw the default HL2 ammo counter?
SWEP.DrawCrosshair = false ... | mit |
abriasffxi/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm19.lua | 57 | 2137 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm19 (??? - Bomb Coal Fragments)
-- Involved in Quest: In Defiant Challenge
-- @pos -50.175 6.264 251.669 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Aerial_Collision.lua | 18 | 1195 | ---------------------------------------------
-- Aerial Collusion
-- Description: Cone Attack damage and Defense Down, strips Utsusemi (MOBPARAM_WIPE_SHADOWS)
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves"... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/weaponskills/gust_slash.lua | 23 | 1283 | -----------------------------------
-- Gust Slash
-- Dagger weapon skill
-- Skill level: 40
-- Deals wind elemental damage. Damage varies with TP.
-- Will not stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: Wind
-- Modifiers: DEX:20% ; INT:20%
-- 100%TP 200%TP... | gpl-3.0 |
jonese1234/PokeBotBad | BizHawk-1.11.6/Lua/socket/tp.lua | 146 | 3608 | -----------------------------------------------------------------------------
-- Unified SMTP/FTP subsystem
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: tp.lua,v 1.22 2006/03/14 09:04:15 diego Exp $
-----------------------------------------------------------------------------
--------------------------... | mit |
Armyluix/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Claymore.lua | 16 | 1489 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Claymore
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
func... | gpl-3.0 |
uspgamedev/backdoor | game/database/schema/sector.lua | 1 | 1929 |
return {
{ id = 'theme', name = "Theme", type = 'enum', options = 'domains.theme' },
{ id = 'bootstrap', name = "Base Settings", type = 'section',
schema = 'transformers.bootstrap', required = true },
{ id = 'fixed_layout', name = "Fixed Layout Settings", type = 'section',
schema = 'transformers.fixed_l... | gpl-3.0 |
parsagachkardev/AutoBot2 | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Spondulix.lua | 37 | 1195 | -----------------------------------
-- Area: Fort Karugo-Narugo
-- NPC: Spondulix
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
-----... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/serving_of_green_curry.lua | 35 | 1755 | -----------------------------------------
-- ID: 4296
-- Item: serving_of_green_curry
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality 1
-- Health Regen While Healing 2
-- Magic Regen While Healing 1
-- Defense % 9
-- Ranged ACC % 5
-- Ranged ACC Cap 25
--... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/weaponskills/ruinator.lua | 30 | 1646 | -----------------------------------
-- Ruinator
-- Axe weapon skill
-- Skill level: 357
-- Description: Delivers a four-hit attack. params.accuracy varies with TP
-- In order to obtain Ruinator, the quest Martial Mastery must be completed.
-- This Weapon Skill's first hit params.ftp is duplicated for all addition... | gpl-3.0 |
ifreedom/lgob | examples/CairoLines.lua | 1 | 1155 | #! /usr/bin/env lua
-- Lines! Suports window resize.
require("lgob.gtk")
require("lgob.gdk")
require("lgob.cairo")
function expose(widget, event)
local cr = gdk.cairo_create(widget:get_window())
-- Optimization
local x, y, w, h = gdk.event_expose_get(event)
cr:rectangle(x, y, w, h)
cr:clip()
local width, h... | lgpl-3.0 |
mbmahdiiii/mm | plugins/welcome.lua | 7 | 3674 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Al_Zahbi/npcs/Bjibar.lua | 38 | 1024 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Bjibar
-- Type: Standard NPC
-- @zone: 48
-- @pos -105.178 0.999 60.115
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/MenuItemLabel.lua | 6 | 2560 |
--------------------------------
-- @module MenuItemLabel
-- @extend MenuItem
-- @parent_module cc
--------------------------------
-- Sets the label that is rendered.
-- @function [parent=#MenuItemLabel] setLabel
-- @param self
-- @param #cc.Node node
-- @return MenuItemLabel#MenuItemLabel self (return value: cc.... | mit |
Armyluix/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 38 | 1043 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ragyaya
-- Type: Standard NPC
-- @zone: 94
-- @pos -95.376 -3 60.795
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
------... | gpl-3.0 |
kcwikizh/kancolle-shinkai-db | lua/ships.lua | 1 | 245290 | local d = {}
d.shipDataTable = {
["1501"] = {
["日文名"] = "駆逐イ級",
["中文名"] = "驱逐I级",
["kcwiki分类"] = "深海常规舰队 驱逐舰",
["属性"] = {
["耐久"] = 20,
["火力"] = {5, 6},
["雷装"] = {15, 15},
["对空"] = 6,
["对潜"] = 25,
["回避"] = 14,
... | mit |
mohammadclashclash/hacker2011 | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
Francesco149/lainbot | bot/bot.lua | 1 | 5158 | require("./bot/utils")
VERSION = '1.1.3'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return
end
local receiver = get_receiver(msg)
-- vardump(msg)
if msg_valid(msg) then
msg = pre_process_msg(msg)
match_plugins(msg)
mark_read(receiv... | gpl-2.0 |
dios-game/dios-cocos | src/apps/lua-empty-test/Resources/src/cocos/cocostudio/DeprecatedCocoStudioFunc.lua | 61 | 3456 | if nil == ccs then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of GUIReader will be deprecated begin
local GUIReaderDeprecated = { }
function GUIReaderDeprecated.shareRe... | mit |
dios-game/dios-cocos | src/apps/dios-lua-app/Resources/src/cocos/cocostudio/DeprecatedCocoStudioFunc.lua | 61 | 3456 | if nil == ccs then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of GUIReader will be deprecated begin
local GUIReaderDeprecated = { }
function GUIReaderDeprecated.shareRe... | mit |
abriasffxi/darkstar | scripts/zones/RuLude_Gardens/npcs/Laityn.lua | 17 | 1202 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Laityn
-- Involved In Quest: Recollections
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/plate_of_witch_risotto.lua | 35 | 1537 | -----------------------------------------
-- ID: 4330
-- Item: witch_risotto
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Magic Points 35
-- Strength -1
-- Vitality 3
-- Mind 3
-- MP Recovered While Healing 2
-- Enmity -1
-----------------------------------------
require(... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Northern_San_dOria/npcs/Commojourt.lua | 17 | 1568 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Commojourt
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/global... | gpl-3.0 |
Francesco149/lainbot | plugins/plugins.lua | 4 | 4731 | do
-- Retruns 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 |
Dauthdaert/2D-Platformer | libs/AdvTiledLoader/Base64.lua | 5 | 5814 | ---------------------------------------------------------------------------------------------------
-- -= Base64 =-
---------------------------------------------------------------------------------------------------
-- Make some functions easier to write
local floor = math.floor
local sub = string.sub
local gsub = str... | gpl-2.0 |
abriasffxi/darkstar | scripts/zones/Monarch_Linn/bcnms/ancient_vows.lua | 17 | 1926 | -----------------------------------
-- Area: Monarch Linn
-- Name: Ancient Vows
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/missions");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
end;
-- Physically entering the ... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Duke_Scox.lua | 16 | 1253 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Duke Scox
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function on... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/effects/mnd_down.lua | 18 | 1090 | -----------------------------------
--
-- EFFECT_MND_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_MND) - effec... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/tests/lua-tests/src/PerformanceTest/PerformanceTest.lua | 4 | 72358 | require "PerformanceTest/PerformanceSpriteTest"
local MAX_COUNT = 6
local LINE_SPACE = 40
local kItemTagBasic = 1000
local testsName =
{
"PerformanceNodeChildrenTest",
"PerformanceParticleTest",
"PerformanceSpriteTest",
"PerformanceTextureTest",
"PerformanceTouchesTest",
"PerformanceFun... | mit |
abriasffxi/darkstar | scripts/zones/Port_San_dOria/npcs/Deguerendars.lua | 17 | 2163 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Deguerendars
-- Only sells when San d'Oria contrls Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
imrandomizer/Algorithm-Implementations | Golden_Ratio_Algorithms/Lua/Yonaba/golden_ratio_test.lua | 26 | 1059 | -- Tests for golden_ratio.lua
local GN = require 'golden_ratio'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
... | mit |
abriasffxi/darkstar | scripts/zones/Al_Zahbi/npcs/Danaaba.lua | 14 | 1038 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Danaaba
-- Type: Standard NPC
-- @zone 48
-- @pos -17.375 -6.999 59.161
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/spells/bluemagic/infrasonics.lua | 18 | 1442 | -----------------------------------------
-- Spell: Infrasonics
-- Lowers the evasion of enemies within a fan-shaped area originating from the caster
-- Spell cost: 42 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 4
-- Stat Bonus: INT+1
-- Level: 65
-- Casting Time: 5 seconds
... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Davoi/npcs/_452.lua | 31 | 1163 | -----------------------------------
-- Area: Davoi
-- NPC: _452 (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 |
Armyluix/darkstar | scripts/globals/items/plate_of_urchin_sushi_+1.lua | 35 | 1530 | -----------------------------------------
-- ID: 5160
-- Item: plate_of_urchin_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 40
-- Strength 1
-- Vitality 5
-- Accuracy % 16
-- Ranged ACC % 16
-- Sleep Resist 5
-----------------------------------------
requir... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/bataquiche.lua | 18 | 1456 | -----------------------------------------
-- ID: 5168
-- Item: Bataquiche
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 8
-- Agility 1
-- Vitality -2
-- Ranged ATT % 7
-- Ranged ATT Cap 15
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/ControlSaturationBrightnessPicker.lua | 18 | 2571 |
--------------------------------
-- @module ControlSaturationBrightnessPicker
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] getShadow
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
----------------... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.