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 |
|---|---|---|---|---|---|
RunAwayDSP/darkstar | scripts/zones/Balgas_Dais/mobs/Large_Box.lua | 9 | 1101 | -----------------------------------
-- Area: Balga's Dais
-- NM: Large Box
-- BCNM: Treasures and Tribulations
-----------------------------------
require("scripts/globals/status")
-----------------------------------
function replaceWithCrate(mob)
local crate = GetNPCByID(mob:getID() + 1)
crate:teleport(mob:... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Port_Windurst/npcs/Honorio.lua | 14 | 1406 | -----------------------------------
-- Area: Port Windurst
-- NPC: Honorio
-- @zone 240
-- @pos 218 -5 114
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sajaaya.lua | 59 | 1060 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sajaaya
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/hellfire_axe.lua | 12 | 1073 | -----------------------------------------
-- ID: 16713
-- Item: Hellfire Axe
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(play... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/onslaught.lua | 10 | 2162 | -----------------------------------
-- Onslaught
-- Axe weapon skill
-- Skill Level: N/A
-- Lowers target's params.accuracy. Additional effect: temporarily increases Attack.
-- Available only when equipped with the Relic Weapons Ogre Killer (Dynamis use only) or Guttler or Cleofun Axe (with Latent active).
-- These Rel... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Monarch_Linn/mobs/Ouryu.lua | 8 | 2271 | -----------------------------------
-- Area: Monarch Linn
-- Mob: Ouryu
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
function onMobSpawn(mob)
mob:SetMobSkillAttack(0); -- resetting so it doesn't respawn in flight mode.
mob:AnimationSub(0); -- suban... | gpl-3.0 |
raingloom/yaoui | yaoui/dialogs/winapi/glue.lua | 4 | 16241 |
--glue: everyday Lua functions.
--Written by Cosmin Apreutesei. Public domain.
if not ... then require'glue_test'; return end
local glue = {}
local select, pairs, tonumber, tostring, unpack, xpcall, assert =
select, pairs, tonumber, tostring, unpack, xpcall, assert
local getmetatable, setmetatable, type, pcal... | mit |
RunAwayDSP/darkstar | scripts/globals/weaponskills/dark_harvest.lua | 10 | 1242 | -----------------------------------
-- Dark Harvest
-- Scythe weapon skill
-- Skill Level: 30
-- Delivers a dark elemental attack. Damage varies with TP.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: Dark
-- Modifiers: STR:20% INT:20%
-- 100%TP 200%TP 300%TP
-- 1.00 2.00 2... | gpl-3.0 |
da03/OpenNMT | onmt/evaluators/TranslationEvaluator.lua | 6 | 2940 | local TranslationEvaluator, parent = torch.class('TranslationEvaluator', 'Evaluator')
function TranslationEvaluator:__init(translatorOpt, dicts)
parent.__init(self)
self.translatorOpt = translatorOpt
self.dicts = dicts
end
function TranslationEvaluator:canSaveTranslation()
return true
end
function Translatio... | mit |
OctoEnigma/shiny-octo-system | lua/vgui/dpanelselect.lua | 1 | 1868 |
local PANEL = {}
-- This function is used as the paint function for selected buttons.
local function DrawSelected( self )
surface.SetDrawColor( 255, 200, 0, 255 )
for i = 2, 3 do
surface.DrawOutlinedRect( i, i, self:GetWide() - i * 2, self:GetTall() - i * 2 )
end
end
function PANEL:Init()
self:EnableHorizo... | mit |
RunAwayDSP/darkstar | scripts/globals/spells/bluemagic/frightful_roar.lua | 12 | 1316 | -----------------------------------------
-- Spell: Frightful Roar
-- Weakens defense of enemies within range
-- Spell cost: 32 MP
-- Monster Type: Demon
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+2
-- Level: 50
-- Casting Time: 2 seconds
-- Recast Time: 20 seconds
-- Magic Bursts on: Deto... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/serving_of_bass_meuniere_+1.lua | 11 | 1367 | -----------------------------------------
-- ID: 4346
-- Item: serving_of_bass_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 3 (cap 130)
-- Dexterity 3
-- Agility 3
-- Mind -3
-- Ranged ACC % 6
-- Ranged ACC Cap 20
-----------------------------------------
require("... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Pashhow_Marshlands_[S]/Zone.lua | 4 | 2119 | -----------------------------------
--
-- Zone: Pashhow_Marshlands_[S] (90)
--
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pashhow_Marshlands_[S]/TextIDs");
require("scripts/globals/settings");
requ... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Cloister_of_Frost/npcs/Cermet_Headstone.lua | 11 | 2584 | -----------------------------------
-- Area: Cloister of Frost
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Ice Fragment)
-- !pos 566 0 606 203
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/titles");
require("scripts/globals/missions");
... | gpl-3.0 |
zegotinha/LiveShift | vlclib/windows/lua/playlist/pinkbike.lua | 14 | 2091 | --[[
$Id$
Copyright © 2009 the VideoLAN team
Authors: Konstantin Pavlov (thresh@videolan.org)
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 of the License, or
(at your opt... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Port_San_dOria/npcs/Coullave.lua | 17 | 1986 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Coullave
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");... | gpl-3.0 |
NiLuJe/koreader | frontend/ui/widget/iconbutton.lua | 4 | 6169 | --[[--
Button with a big icon image! Designed for touch devices.
--]]
local Device = require("device")
local HorizontalGroup = require("ui/widget/horizontalgroup")
local HorizontalSpan = require("ui/widget/horizontalspan")
local InputContainer = require("ui/widget/container/inputcontainer")
local IconWidget = require(... | agpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/fiery_breath.lua | 11 | 1307 | ---------------------------------------------
-- Fiery Breath
--
-- Description: Deals Fire damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Tiamat, Smok and Ildebrann
---------------------------------------------
r... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_Windurst/npcs/Janshura-Rashura.lua | 9 | 2803 | -----------------------------------
-- Area: Port Windurst
-- NPC: Janshura Rashura
-- Starts Windurst Missions
-- !pos -227 -8 184 240
-----------------------------------
local ID = require("scripts/zones/Port_Windurst/IDs");
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/glo... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Windurst_Waters/npcs/Dagoza-Beruza.lua | 14 | 1053 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dagoza-Beruza
-- Type: Mission NPC
-- @zone 238
-- @pos -54.523 -6 229.271
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Norg/npcs/Sohyon.lua | 14 | 1029 | -----------------------------------
-- Area: Norg
-- NPC: Sohyon
-- Type: Standard NPC
-- @zone 252
-- @pos 47.286 -7.282 13.873
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/PsoXja/npcs/_097.lua | 14 | 2875 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _097 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 290.000 -1.925 -81.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
lichtl/darkstar | scripts/globals/spells/chocobo_mazurka.lua | 27 | 1162 | -----------------------------------------
-- Spell: Chocobo Mazurka
-- Gives party members enhanced movement
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cas... | gpl-3.0 |
gameview/WareCocos2dx | lua/luajit/LuaJIT-2.0.1/dynasm/dasm_x86.lua | 73 | 58651 | ------------------------------------------------------------------------------
-- DynASM x86/x64 module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
local x64 = x64
-- Module i... | lgpl-3.0 |
lichtl/darkstar | scripts/globals/settings.lua | 2 | 12169 | -----------------------------------------------
------------- GLOBAL SETTINGS -------------
-----------------------------------------------
-- This is to allow server operators to further customize their servers. As more features are added to pXI, the list will surely expand.
-- Anything scripted can be customize... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/dish_of_spaghetti_nero_di_seppia_+1.lua | 11 | 1530 | -----------------------------------------
-- ID: 5202
-- Item: Dish of Spaghetti Nero Di Seppia +1
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- HP % 17 (cap 140)
-- Dexterity 3
-- Vitality 2
-- Agility -1
-- Mind -2
-- Charisma -1
-- Double Attack 1
-- Store TP 6
---------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/commands/hp.lua | 22 | 1359 | ---------------------------------------------------------------------------------------------------
-- func: hp <amount> <player>
-- desc: Sets the GM or target players health.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
param... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Giddeus/npcs/Ghoo_Pakya.lua | 14 | 2161 | -----------------------------------
-- Area: Giddeus
-- NPC: Ghoo Pakya
-- Involved in Mission 1-3
-- @pos -139 0 147 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/mission... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Aht_Urhgan_Whitegate/TextIDs.lua | 7 | 4946 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 218; -- You cannot obtain the item. Come back after sorting your inventory.?Prompt?
ITEM_CANNOT_BE_OBTAINEDX = 220; -- You cannot obtain the ?Possible Special Code: 01??Possible Special Code: 05?#?BAD CHAR: 8280??BAD CHAR: 80??BAD CHAR: 8... | gpl-3.0 |
MightyPirates/OC-LuaJ | luaj-test/src/test/resources/perf/binarytrees.lua | 7 | 1340 | -- The Computer Language Benchmarks Game
-- http://shootout.alioth.debian.org/
-- contributed by Mike Pall
local function BottomUpTree(item, depth)
if depth > 0 then
local i = item + item
depth = depth - 1
local left, right = BottomUpTree(i-1, depth), BottomUpTree(i, depth)
return { item, left, right... | mit |
lichtl/darkstar | scripts/zones/Apollyon/bcnms/SE_Apollyon.lua | 22 | 1456 | -----------------------------------
-- Area: Appolyon
-- Name: SE_Apollyon
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[SE_Apollyon]Uniq... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/mercanbaligi.lua | 11 | 1051 | -----------------------------------------
-- ID: 5454
-- Item: Mercanbaligi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/terrortown/gamemode/radar.lua | 2 | 2105 | -- Traitor radar functionality
-- should mirror client
local chargetime = 30
local math = math
local function RadarScan(ply, cmd, args)
if IsValid(ply) and ply:IsTerror() then
if ply:HasEquipmentItem(EQUIP_RADAR) then
if ply.radar_charge > CurTime() then
LANG.Msg(ply, "radar_charging"... | mit |
RunAwayDSP/darkstar | scripts/zones/Middle_Delkfutts_Tower/npcs/qm1.lua | 9 | 1277 | -----------------------------------
-- Area: Middle Delfutt's Tower
-- NPC: ??? (qm1)
-- Involved In Quest: Blade of Evil
-- !pos 84 -79 77 157
-----------------------------------
local ID = require("scripts/zones/Middle_Delkfutts_Tower/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
------... | gpl-3.0 |
hfjgjfg/persianguard | bot/persianguard.lua | 1 | 10173 | 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")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
scscgit/scsc_wildstar_addons | RaidCore/Encounters/DS/miniboss/Frost_Frost_Boulder_Avalanche.lua | 1 | 5928 | ----------------------------------------------------------------------------------------------------
-- Client Lua Script for RaidCore Addon on WildStar Game.
--
-- Copyright (C) 2015 RaidCore
----------------------------------------------------------------------------------------------------
--------------------------... | mit |
scscgit/scsc_wildstar_addons | RaidCore/Encounters/RMT/miniboss/Bilgebreath.lua | 1 | 1821 | ----------------------------------------------------------------------------------------------------
-- Client Lua Script for RaidCore Addon on WildStar Game.
--
-- Copyright (C) 2015 RaidCore
----------------------------------------------------------------------------------------------------
--------------------------... | mit |
RunAwayDSP/darkstar | scripts/zones/Uleguerand_Range/mobs/Jormungand.lua | 9 | 2615 | -----------------------------------
-- Area: Uleguerand Range
-- HNM: Jormungand
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/titles");
function onMobSpawn(mob)
mob:SetMobSkillAttack(0); -- resetting so it doesn't respawn in flight mode.
mob:AnimationSub(0);... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Upper_Jeuno/npcs/Kasra.lua | 14 | 1042 | ----------------------------------
-- Area: Upper Jeuno
-- NPC: Kasra
-- Type: Item Deliverer
-- @zone 244
-- @pos -34.555 7.999 90.702
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
----------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Abyssea-Vunkerl/npcs/qm19.lua | 9 | 1547 | -----------------------------------
-- Zone: Abyssea-Vunkerl
-- NPC: qm19 (???)
-- Spawns Karkadann
-- @pos ? ? ? 217
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Port_Windurst/npcs/Kumama.lua | 17 | 1712 | -----------------------------------
-- 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 |
lichtl/darkstar | scripts/globals/items/black_ghost.lua | 18 | 1311 | -----------------------------------------
-- ID: 5138
-- Item: Black Ghost
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------... | gpl-3.0 |
scscgit/scsc_wildstar_addons | RaidCore/Encounters/RMT/miniboss/Gho'Deke.lua | 1 | 1905 | ----------------------------------------------------------------------------------------------------
-- Client Lua Script for RaidCore Addon on WildStar Game.
--
-- Copyright (C) 2015 RaidCore
----------------------------------------------------------------------------------------------------
--------------------------... | mit |
ArianWatch/VivaTeam | plugins/supergroups.lua | 1 | 73093 | --Begin supergrpup.lua
--Check members #Add supergroup
local function check_member_super(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
if success == 0 then
send_large_msg(receiver, "Promote me to admin first!")
end
for k,v in pairs(result... | gpl-2.0 |
lichtl/darkstar | scripts/globals/items/dish_of_spaghetti_carbonara.lua | 18 | 1821 | -----------------------------------------
-- ID: 5190
-- Item: dish_of_spaghetti_carbonara
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 175
-- Magic 10
-- Strength 4
-- Vitality 2
-- Intelligence -3
-- Attack % 18
-- Attack Cap 65
-- Store TP 6
----------------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | lua/vgui/dlistbox.lua | 1 | 3596 |
local PANEL = {}
AccessorFunc( PANEL, "m_pMother", "Mother" )
function PANEL:Init()
self:SetMouseInputEnabled( true )
self:SetTextInset( 5, 0 )
self:SetTall( 19 )
self:SetDark( true )
end
function PANEL:OnMousePressed( mcode )
if ( mcode == MOUSE_LEFT ) then
self:Select( true )
end
self:SetTextColor( C... | mit |
lichtl/darkstar | scripts/zones/Vunkerl_Inlet_[S]/npcs/qm7.lua | 45 | 2168 | -----------------------------------
-- Area: Vunkerl Inlet (S) (H-6)
-- NPC: ???
-- Involved in Quests
-- @pos -26 -31 364
-----------------------------------
package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
lichtl/darkstar | scripts/zones/West_Ronfaure/npcs/Zovriace.lua | 27 | 38376 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Zovriace
-- Type: Patrol NPC
-- @pos -436.356 -15.851 -258.168 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/pathfind");
--------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Bastok_Mines/npcs/Phara.lua | 9 | 2224 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Phara
-- Starts and Finishes Quest: The doorman (start)
-- Involved in Quest: The Talekeeper's Truth
-- !zone 234
-- !pos 75 0 -80
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/pw_groundburst.lua | 11 | 1089 | ---------------------------------------------
-- Groundburst
--
-- Description: Expels a fireball on targets in an area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown radial
-- Notes: Only used by notorious monsters, and from any Mamool Ja in besieged.
---------------------------... | gpl-3.0 |
scscgit/scsc_wildstar_addons | GuardMiniMap/libs/LibJSON/LibJSON-2.5.lua | 13 | 18391 | --[==[
David Kolf's JSON module for Lua 5.1/5.2
Version 2.5
For the documentation see the corresponding readme.txt or visit
<http://dkolf.de/src/dkjson-lua.fsl/>.
You can contact the author by sending an e-mail to 'david' at the
domain 'dkolf.de'.
Copyright (C) 2010-2013 David Heiko Kolf
Permission is hereby gr... | mit |
adampbaker/LSTM_sentiment | utils/utils.lua | 1 | 3144 | --[[
Copyright 2014 Google Inc. 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 or... | apache-2.0 |
bogvak/nodemcu-firmware | lua_examples/ucglib/GT_text.lua | 30 | 1039 | local M, module = {}, ...
_G[module] = M
function M.run()
-- make this a volatile module:
package.loaded[module] = nil
print("Running component text...")
local x, y, w, h, i
local m
disp:setColor(0, 80, 40, 0)
disp:setColor(1, 60, 0, 40)
disp:setColor(2, 20, 0, 20)
disp:setColo... | mit |
RunAwayDSP/darkstar | scripts/zones/Western_Adoulin/npcs/Ishvad.lua | 12 | 1334 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Ishvad
-- Type: Shop NPC
-- !pos 44 32 125 256
-----------------------------------
require("scripts/globals/shop");
local ID = require("scripts/zones/Western_Adoulin/IDs");
-----------------------------------
function onTrade(player,npc,trade)
end;
... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/antimatter.lua | 11 | 1244 | ---------------------------------------------------
-- Antimatter
--
-- Description: Single-target ranged Light damage (~700-1500), ignores Utsusemi.
-- Type: Magical
--
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals... | gpl-3.0 |
april-org/parxe | parxe/run.lua | 1 | 1376 | --[[
PARalel eXecution Engine (PARXE) for APRIL-ANN
Copyright (C) 2015 Francisco Zamora-Martinez
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 y... | gpl-3.0 |
Benjarobbi/UzzBott | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 14 | 1056 | -----------------------------------
-- 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 |
RunAwayDSP/darkstar | scripts/zones/Carpenters_Landing/mobs/Cryptonberry_Assassin.lua | 9 | 1485 | -----------------------------------
-- Area: Carpenters' Landing
-- NM: Cryptonberry Assassin
-- !pos 120.615 -5.457 -390.133 2
-----------------------------------
local ID = require("scripts/zones/Carpenters_Landing/IDs")
mixins = {require("scripts/mixins/job_special")}
require("scripts/globals/missions")
----------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/silver_shark.lua | 18 | 1319 | -----------------------------------------
-- ID: 4451
-- Item: silver_shark
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/shadowstitch.lua | 10 | 1773 | -----------------------------------
-- Shadowstitch
-- Dagger weapon skill
-- Skill level: 70
-- Binds target. Chance of binding varies with TP.
-- Does stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: CHR:100%
-- 100%TP 200%TP 300%TP
-- 1.00 ... | gpl-3.0 |
kwketh/otclient | modules/corelib/ui/uipopupmenu.lua | 3 | 2859 | -- @docclass
UIPopupMenu = extends(UIWidget)
local currentMenu
function UIPopupMenu.create()
local menu = UIPopupMenu.internalCreate()
local layout = UIVerticalLayout.create(menu)
layout:setFitChildren(true)
menu:setLayout(layout)
return menu
end
function UIPopupMenu:display(pos)
-- don't display if not ... | mit |
RunAwayDSP/darkstar | scripts/zones/Yhoator_Jungle/IDs.lua | 8 | 4200 | -----------------------------------
-- Area: Yhoator_Jungle
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.YHOATOR_JUNGLE] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come... | gpl-3.0 |
OctoEnigma/shiny-octo-system | addons/gmod-keypad-master/lua/entities/keypad_wire/init.lua | 1 | 3032 | AddCSLuaFile "cl_init.lua"
AddCSLuaFile "cl_maths.lua"
AddCSLuaFile "cl_panel.lua"
AddCSLuaFile "sh_init.lua"
include "sh_init.lua"
util.AddNetworkString("Keypad_Wire")
net.Receive("Keypad_Wire", function(_, ply)
local ent = net.ReadEntity()
if not IsValid(ply) or not IsValid(ent) or not ent:GetClass():lower() =... | mit |
XxMTxX1/advisor1 | plugins/tools.lua | 1 | 55638 | --Begin Tools.lua :)
local SUDO = 60809019 -- حط ايديك هنا <===
function exi_files(cpath)
local files = {}
local pth = cpath
for k, v in pairs(scandir(pth)) do
table.insert(files, v)
end
return files
end
local function file_exi(name, cpath)
for k,v in pairs(exi_files(cpath)) do
if nam... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Sacrificial_Chamber/bcnms/amphibian_assault.lua | 19 | 1761 | -----------------------------------
-- Area: Sacrificial Chamber
-- Name: Amphibian Assualt
-- BCNM60
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Sacrificial_Chamber/TextIDs");
---------------------... | gpl-3.0 |
YuanPeir-Chen/turbo-support-mipsel | turbo/fs.lua | 12 | 2093 | --- Turbo.lua file system Module
--
-- Copyright 2013 John Abrahamsen
--
-- 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 require... | apache-2.0 |
RunAwayDSP/darkstar | scripts/globals/items/bowl_of_witch_stew.lua | 11 | 1149 | -----------------------------------------
-- ID: 4344
-- Item: witch_stew
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Magic Points 45
-- Strength -1
-- Mind 4
-- MP Recovered While Healing 4
-- Enmity -4
-----------------------------------------
require("scripts/globals/status")
requi... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/bluemagic/frypan.lua | 4 | 2075 | -----------------------------------------
-- 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
-- Recast Time: 26... | gpl-3.0 |
raingloom/yaoui | examples/anime/yaoui/Timer.lua | 2 | 2395 | local Timer = {}
Timer.__index = Timer
local humpTimer = require(... .. '.timer')
function Timer.new()
local self = {}
self.timer = humpTimer.new()
self.tags = {}
return setmetatable(self, Timer)
end
function Timer:update(dt)
self.timer:update(dt)
end
function Timer:tween(tag, duration, table,... | mit |
RunAwayDSP/darkstar | scripts/zones/Port_Bastok/npcs/Bartolomeo.lua | 9 | 1091 | -----------------------------------
-- Area: Port Bastok
-- NPC: Bartolomeo
-- Standard Info NPC
-- Involved in Quest: Welcome to Bastok
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
local ID = require("scripts/zones/Port_... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_Windurst/npcs/Ohruru.lua | 9 | 4583 | -----------------------------------
-- Area: Port Windurst
-- NPC: Ohruru
-- Starts & Finishes Repeatable Quest: Catch me if you can
-- Involved in Quest: Wonder Wands
-- Note: Animation for his "Cure" is not functioning. Unable to capture option 1, so if the user says no, he heals them anyways.
-- !pos -108 -5 94 240... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Southern_San_dOria/npcs/Cletae.lua | 14 | 1481 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Cletae
-- Guild Merchant NPC: Leathercrafting Guild
-- @pos -189.142 -8.800 14.449 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Norg/npcs/Chiyo.lua | 14 | 1298 | -----------------------------------
-- Area: Norg
-- NPC: Chiyo
-- Type: Tenshodo Merchant
-- @pos 5.801 0.020 -18.739 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");... | gpl-3.0 |
OctoEnigma/shiny-octo-system | lua/drive/drive_noclip.lua | 2 | 3265 |
AddCSLuaFile()
--
-- Note that this just controls what BaseClass provides.
-- If you're changing the base scroll to the bottom of the file too.
--
DEFINE_BASECLASS( "drive_base" );
drive.Register( "drive_noclip",
{
--
-- Called before each move. You should use your entity and cmd to
-- fill mv with information... | mit |
lichtl/darkstar | scripts/globals/items/plate_of_squid_sushi_+1.lua | 17 | 1540 | -----------------------------------------
-- ID: 5162
-- Item: plate_of_squid_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 30
-- Dexterity 6
-- Agility 5
-- Accuracy % 16
-- Ranged ACC % 16
-- Sleep Resist 5
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
lichtl/darkstar | scripts/zones/RoMaeve/Zone.lua | 4 | 3579 | -----------------------------------
--
-- Zone: RoMaeve (122)
--
-----------------------------------
package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/RoMaeve/TextIDs");
require("scripts/globals/zone");
--------------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/effects/afflatus_misery.lua | 33 | 1221 | -----------------------------------
--
-- EFFECT_AFFLATUS_MISERY
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:setMod(MOD_AFFLATUS_MISERY,0);
... | gpl-3.0 |
OctoEnigma/shiny-octo-system | addons/darkrpmodification-master/lua/darkrp_modules/weaponsettings/sh_weaponsettings.lua | 8 | 2227 | -- Ignore these two lines:
local weapon = weapons.GetStored
local function edit()
--[[
---------------------------------------------------------------------------
Weapon setting changer module
---------------------------------------------------------------------------
This module allows you to change the settings of w... | mit |
cracker1375/mr-Error | plugins/ghelp.lua | 1 | 1828 | do
function run(msg, matches)
local ghelp = [[Beyond Self Commands
🔴دستورات سرگرمی👇
🔴!joke
🔹جوک و لطیفه
🔴!fal
🔹فال
🔴!aparat text
🔹جستوجوی کلیپ در آپارات
🔴!sticker (by reply)
🔹تبدیل عکس به استیکر با ریپلی
🔴!photo (by reply)
🔹تبدیل استیکر به عکس با ریپلی
... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Churacoco.lua | 14 | 1062 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Churacoco
-- Type: Standard NPC
-- @zone 94
-- @pos -76.139 -4.499 20.986
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Bibiki_Bay/npcs/Clamming_Point.lua | 16 | 6736 | -----------------------------------
-- 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 |
OctoEnigma/shiny-octo-system | addons/advdupe2-master/lua/advdupe2/cl_networking.lua | 1 | 8729 | --[[
Title: Adv. Dupe 2 Networking (Clientside)
Desc: Handles file transfers and all that jazz.
Author: TB
Version: 1.0
]]
include "nullesc.lua"
AdvDupe2.NetFile = ""
local AutoSave = false
local uploading = false
local function CheckFileNameCl(path)
if file.Exists(path..".txt", "DATA") then
for i = 1, ... | mit |
lichtl/darkstar | scripts/zones/Port_Bastok/npcs/Zoby_Quhyo.lua | 17 | 1661 | -----------------------------------
-- Area: Port Bastok
-- NPC: Zoby Quhyo
-- Only sells when Bastok controlls Elshimo Lowlands
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok/TextI... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/abilities/wild_card.lua | 12 | 1029 | -----------------------------------
-- Ability: Wild Card
-- Has a random effect on all party members within area of effect.
-- Obtained: Corsair Level 1
-- Recast Time: 1:00:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/ability")
require("scrip... | gpl-3.0 |
NiLuJe/koreader | frontend/ui/elements/screen_dpi_menu_table.lua | 4 | 5492 | local _ = require("gettext")
local Device = require("device")
local Screen = Device.screen
local T = require("ffi/util").template
local function isAutoDPI() return Screen.dpi_override == nil end
local function dpi() return Screen:getDPI() end
local function custom() return G_reader_settings:readSetting("custom_scree... | agpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/language/sh_interface.lua | 13 | 4169 | DarkRP.addLanguage = DarkRP.stub{
name = "addLanguage",
description = "Create a language/translation.",
parameters = {
{
name = "Language name",
description = "The short name of the language (\"en\" is English). Make sure the language name fits a possible value for gmod_langu... | mit |
Vultraz/Invasion_from_the_Unknown | lua/npc.lua | 1 | 3829 | ---
-- Fake NPC AI logic.
---
---
-- [npc_bird_behavior]
-- types=... # list of unit types that will be considered for movement
-- side=... # side whose units will be considered; defaults to the current
-- # playing side
-- x1,y1=... # top left corner of the movement area
-- x2,y2=... # ... | gpl-2.0 |
RunAwayDSP/darkstar | scripts/zones/Western_Adoulin/npcs/Jorin.lua | 11 | 1934 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Jorin
-- Type: Standard NPC and Quest Giver
-- Starts, Involved with, and Finishes Quest: 'The Old Man and the Harpoon'
-- !pos 92 32 152 256
-----------------------------------
require("scripts/globals/quests");
local ID = require("scripts/zones/Wes... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Northern_San_dOria/npcs/Baraka.lua | 14 | 2223 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Baraka
-- Involved in Missions 2-3
-- @pos 36 -2 -2 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");... | gpl-3.0 |
lichtl/darkstar | scripts/zones/VeLugannon_Palace/npcs/qm1.lua | 13 | 2041 | -----------------------------------
-- Area: VeLugannon Palace
-- NPC: ??? (qm1)
-- @pos -370.039 16.014 -274.378 177
-----------------------------------
package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/VeLugannon_Palace/TextIDs");
----------... | gpl-3.0 |
Startg/permag | plugins/plugins.lua | 1 | 6567 | 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-3.0 |
lichtl/darkstar | scripts/zones/Attohwa_Chasm/npcs/Cradle_of_Rebirth.lua | 17 | 1990 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Cradle_of_Rebirth
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Attohwa_Chasm/TextIDs");
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Lower_Jeuno/npcs/Biora.lua | 14 | 1036 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Biora
-- Type: Map Viewer
-- @zone 245
-- @pos -28.768 -2 -11.300
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Selbina/npcs/Yaya.lua | 14 | 1465 | -----------------------------------
-- Area: Selbina
-- NPC: Yaya
-- Starts Quest: Under the sea
-- @pos -19 -2 -16 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/setti... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Northern_San_dOria/npcs/Arienh.lua | 14 | 1034 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Arienh
-- Type: Standard Dialogue NPC
-- @zone 231
-- @pos -37.292 -2.000 -6.817
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
--... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/base/entities/weapons/weapon_base/init.lua | 2 | 3673 |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "ai_translations.lua" )
AddCSLuaFile( "sh_anim.lua" )
AddCSLuaFile( "shared.lua" )
include( "ai_translations.lua" )
include( "sh_anim.lua" )
include( "shared.lua" )
SWEP.Weight = 5 -- Decides whether we should switch from/to this
SWEP.AutoSwitchTo = true -- Auto swi... | mit |
taiha/luci | libs/luci-lib-nixio/docsrc/nixio.bit.lua | 171 | 2044 | --- Bitfield operators and mainpulation functions.
-- Can be used as a drop-in replacement for bitlib.
module "nixio.bit"
--- Bitwise OR several numbers.
-- @class function
-- @name bor
-- @param oper1 First Operand
-- @param oper2 Second Operand
-- @param ... More Operands
-- @return number
--- Invert given number.
... | apache-2.0 |
lichtl/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Engelhart.lua | 17 | 3579 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Engelhart
-- Quest NPC
-- pos -79 -4 -125
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]/TextIDs");
require("scrip... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Nashmau/npcs/Mamaroon.lua | 12 | 1065 | -----------------------------------
-- Area: Nashmau
-- NPC: Mamaroon
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Nashmau/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
4860... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.