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 |
|---|---|---|---|---|---|
rotmanmi/cunn | DataParallelTable.lua | 11 | 16992 | local gpuLocalCopyBuffers = {}
local baseGpuIndex = 1 -- A constant
-- *****************************************************************************
-- Helper Functions
-- *****************************************************************************
-- queryGPUDeviceId - Function to query a tensor or table for the
--... | bsd-3-clause |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Numbshroom.lua | 7 | 1145 | ---------------------------------------------------
-- Queasyshroom
-- Additional effect: Fires a mushroom cap, dealing damage to a single target. Additional effect: paralysis.
-- Range is 14.7 yalms.
-- Piercing damage Ranged Attack.
-- Secondary modifiers: INT: 20%.
---------------------------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Bhaflau_Thickets/npcs/Harvesting_Point.lua | 29 | 1122 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Bhaflau_Thickets/Text... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/KillBug/src/cocos/cocosbuilder/DeprecatedCocosBuilderClass.lua | 60 | 1176 | if nil == cc.CCBProxy then
return
end
-- This is the DeprecatedCocosBuilderClass
DeprecatedCocosBuilderClass = {} or DeprecatedCocosBuilderClass
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--CCB... | mit |
UnfortunateFruit/darkstar | scripts/zones/Al_Zahbi/npcs/Danaaba.lua | 38 | 1025 | -----------------------------------
-- 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 |
ymauray/Skym_PetCodex | Lib/AceSerializer-3.0/AceSerializer-3.0.lua | 1 | 10641 | -- Copyright (c) 2014 Yannick Mauray.
--
-- 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 option) any later version.
--
-- This program is distr... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Amarefice.lua | 53 | 1893 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Amarefice
-- Type: Woodworking Synthesis Image Support
-- @pos -181.506 10.15 259.905 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Cryo_Jet.lua | 7 | 1236 | ---------------------------------------------------
-- Cryo_Jet
-- Description:
-- Type: Magical
-- additional effect : Paralyze
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
----------------... | gpl-3.0 |
reonZ/project-arena | game/dota_addons/project_arenas/scripts/vscripts/abilities/royal_guard/royal_guard_break_armor.lua | 1 | 1761 | require( 'custom_target_ability' )
local c_damage = 'damage'
local c_duration = 'duration'
local c_anim_activity = ACT_DOTA_ATTACK
local c_anim_frames = 30
local c_cast_sound = 'Hero_DragonKnight.PreAttack'
local c_modifier_on = 'modifier_break_armor'
----------------------------------------------... | gpl-2.0 |
milkmanjack/lama | src/obj/Event.lua | 1 | 4459 | --[[
lama is a MUD server made in Lua.
Copyright (C) 2013 Curtis Erickson
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) ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Signpost.lua | 13 | 1380 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Signpost
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tahrongi_Canyon/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
ld-test/valua | valua-test.lua | 3 | 2116 | local v = require "valua"
local function check(val_test, test_value, expected, n)
local res,err = val_test(test_value)
local msg = "Validation "..n.." "
if res == expected then
msg = msg.. "succeeded"
else
msg = msg.. " \27[31m FAILED \27[0m"
end
msg = msg.." on '"..(tostring(test_value)).."'. Expected:... | mit |
nesstea/darkstar | scripts/zones/Misareaux_Coast/npcs/_0p3.lua | 13 | 1049 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Dilapidated Gate
-- Notes: Entrance to Misareaux Coast
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/bowl_of_vegetable_gruel.lua | 18 | 1494 | -----------------------------------------
-- ID: 4489
-- Item: bowl_of_vegetable_gruel
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Vitality -1
-- Agility 2
-- Ranged Accuracy % 15 (cap 10)
-- HP Recovered While Healing 4
-----------------------------------------
require("scripts/global... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Rabao/npcs/Irmilant.lua | 19 | 3756 | -----------------------------------
-- Area: Rabao
-- NPC: Irmilant
-- Starts and Ends Quests: The Immortal Lu Shang and Indomitable Spirit
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/titles");
require("scripts/globals/settings");
require("... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/abilities/drachen_roll.lua | 11 | 2167 | -----------------------------------
-- Ability: Drachen Roll
-- Enhances pet accuracy for party members within area of effect
-- Optimal Job: Dragoon
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 23
--
-- Die Roll |No DRG |With DRG
-- -------- ------- -----------
-- 1 |+10 |+25
-- 2... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/cone_of_sub-zero_gelato.lua | 35 | 1402 | -----------------------------------------
-- ID: 5155
-- Item: cone_of_sub-zero_gelato
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- HP 10
-- MP % 16 (cap 80)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
--------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Yuli_Yaam.lua | 36 | 1817 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Yuli Yaam
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -61 -4 23
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rv.lua | 17 | 1336 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _0rv (Oil lamp)
-- Notes: Opens north door at J-9 from inside.
-- @pos -63.703 -26.227 37.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm3.lua | 8 | 1897 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm3 (???)
-- Involved In Quest: Yomi Okuri
-- @pos -767 -4 192 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Dhea_Prandoleh.lua | 31 | 2362 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Dhea Prandoleh
-- Type: Standard NPC
-- @zone: 94
-- @pos 1 -1 15
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
---------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/mobskills/Snatch_Morsel.lua | 56 | 1530 | ---------------------------------------------------
-- Snatch Morsel
-- Steals food effect
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
functio... | gpl-3.0 |
Cyumus/NutScript | gamemode/languages/sh_english.lua | 2 | 9848 |
NAME = "English"
LANGUAGE = {
loading = "Loading",
dbError = "Database connection failed",
unknown = "Unknown",
noDesc = "No description available",
create = "Create",
createTip = "Create a new character to play as.",
load = "Load",
loadTip = "Choose a previously created character to play as.",
leave = "Leav... | mit |
dpino/snabbswitch | lib/ljsyscall/syscall/osx/fcntl.lua | 24 | 1287 | -- OSX fcntl
-- TODO incomplete, lots missing
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local function ... | apache-2.0 |
kidanger/Drystal | tests/particle/smoke.lua | 1 | 1742 | local drystal = require 'drystal'
tex = drystal.load_surface('spritesheet.png')
local sys_smoke = drystal.new_system(200, 596)
sys_smoke:set_sizes {
[0]=100,
[0.25] = 75,
[0.5] = 55,
[1] = 25,
}
sys_smoke:set_colors {
[0]=drystal.colors.white,
[0.4]=drystal.colors.gray,
[0.7]=drystal.colors.gray:darker(),
[1]... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/saruta_orange.lua | 18 | 1179 | -----------------------------------------
-- ID: 4392
-- Item: saruta_orange
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Upper_Jeuno/npcs/HomePoint#3.lua | 12 | 1241 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: HomePoint#3
-- @pos -52 1 16 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Cloister_of_Frost/bcnms/trial_by_ice.lua | 13 | 1838 | -----------------------------------
-- Area: Cloister of Frost
-- BCNM: Trial by Ice
-- @pos 558 0.1 596 203
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/quests");... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/slice_of_giant_sheep_meat.lua | 17 | 1352 | -----------------------------------------
-- ID: 4372
-- Item: slice_of_giant_sheep_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 2
-- Intelligence -4
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/Bewitching_Etude.lua | 11 | 1616 | -----------------------------------------
-- Spell: Bewitching Etude
-- Static CHR Boost, BRD 62
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ajen-Myoojen.lua | 56 | 1087 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ajen-Myoojen
-- Type: Standard NPC
-- @pos -44.542 -5.999 238.996 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/wheeling_thrust.lua | 9 | 1561 | -----------------------------------
-- Wheeling Thrust
-- Polearm weapon skill
-- Skill Level: 225
-- Ignores enemy's defense. Amount ignored varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifi... | gpl-3.0 |
Olical/dotfiles | stowed/.config/nvim/init.lua | 1 | 1062 | -- Entrypoint for my Neovim configuration!
-- We simply bootstrap packer and Aniseed here.
-- It's then up to Aniseed to compile and load fnl/init.fnl
local execute = vim.api.nvim_command
local fn = vim.fn
local pack_path = fn.stdpath("data") .. "/site/pack"
local fmt = string.format
function ensure (user, repo)
-... | unlicense |
UnfortunateFruit/darkstar | scripts/zones/Mount_Zhayolm/npcs/qm1.lua | 8 | 1172 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: ??? (Spawn Brass Borer(ZNM T1))
-- @pos 399 -27 120 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
--------------... | gpl-3.0 |
hamed9898/maxbot | plugins/youtube.lua | 644 | 1722 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
function get_yt_data (yt_code)
local url = 'https://www.googleapis.com/yo... | gpl-2.0 |
LuaDist2/say | src/init.lua | 3 | 1346 | local unpack = table.unpack or unpack
local registry = { }
local current_namespace
local fallback_namespace
local s = {
_COPYRIGHT = "Copyright (c) 2012 Olivine Labs, LLC.",
_DESCRIPTION = "A simple string key/value store for i18n or any other case where you want namespaced strings.",
_VERSION = "Say 1.2... | mit |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/ascetics_fury.lua | 12 | 4497 | -----------------------------------
-- Ascetics Fury
-- Hand-to-Hand weapon skill
-- Skill Level: N/A
-- Chance of params.critical hit varies with TP. Glanzfaust: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Monk) quest.
-- Aligned with the Flame Gorget & Light Gorget.... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/South_Gustaberg/npcs/qm1.lua | 19 | 1347 | -----------------------------------
-- Area: South Gustaberg
-- NPC: qm1 (???)
-- Involved in Quest: The Cold Light of Day
-- @pos 744 0 -671 107
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/South_Gustabe... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/pets/aerial_blast.lua | 30 | 1113 | ---------------------------------------------------
-- Aerial Blast
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/monstertpmoves");
-------------------------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-Buburimu/mobs/Serjeant_Tombstone.lua | 17 | 2476 | -----------------------------------
-- Area: Dynamis Buburimu
-- NPC: Serjeant_Tombstone
-----------------------------------
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Buburimu/TextIDs... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/RuAun_Gardens/npcs/qm3.lua | 8 | 1442 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: ??? (Byakko's Spawn)
-- Allows players to spawn the HNM Byakko with a Gem of the West and an Autumnstone.
-- @pos -410 -70 394 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
----------------... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/7c9ad1a8-61e1-4046-a969-190bd5607730/bin/edit.lua | 15 | 16517 | local component = require("component")
local event = require("event")
local fs = require("filesystem")
local keyboard = require("keyboard")
local shell = require("shell")
local term = require("term")
local text = require("text")
local unicode = require("unicode")
if not term.isAvailable() then
return
end
local args... | mit |
vonflynee/opencomputersserver | world/opencomputers/c0a0157a-e685-4d05-9dc9-9340cf29f413/bin/edit.lua | 15 | 16517 | local component = require("component")
local event = require("event")
local fs = require("filesystem")
local keyboard = require("keyboard")
local shell = require("shell")
local term = require("term")
local text = require("text")
local unicode = require("unicode")
if not term.isAvailable() then
return
end
local args... | mit |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Walls/npcs/Zokima-Rokima.lua | 19 | 2705 | -----------------------------------
-- 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 |
MetSystem/skynet | lualib/sproto.lua | 56 | 5136 | local core = require "sproto.core"
local assert = assert
local sproto = {}
local host = {}
local weak_mt = { __mode = "kv" }
local sproto_mt = { __index = sproto }
local sproto_nogc = { __index = sproto }
local host_mt = { __index = host }
function sproto_mt:__gc()
core.deleteproto(self.__cobj)
end
function sproto... | mit |
MetSystem/skynet | lualib/skynet/injectcode.lua | 108 | 2610 | local debug = debug
local table = table
local FUNC_TEMP=[[
local $ARGS
return function(...)
$SOURCE
end,
function()
return {$LOCALS}
end
]]
local temp = {}
local function wrap_locals(co, source, level, ext_funcs)
if co == coroutine.running() then
level = level + 3
end
local f = debug.getinfo(co, level,"f").func
... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/wild_cookie.lua | 35 | 1337 | -----------------------------------------
-- ID: 4577
-- Item: wild_cookie
-- Food Effect: 5Min, All Races
-----------------------------------------
-- MP Recovered While Healing 3
-- Aquan Killer 5
-- Resist Sleep 5
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters/npcs/Zelala.lua | 13 | 1050 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Zelala
-- Type: Map Marker
-- @zone: 238
-- @pos 169.855 -1.295 -3.238
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/earth_maneuver.lua | 35 | 1609 | -----------------------------------
-- Ability: Earth Maneuver
-- Enhances the effect of earth attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/abilities/haste_samba.lua | 10 | 1437 | -----------------------------------
-- Ability: Haste Samba
-- Inflicts the next target you strike with Haste daze, increasing the attack speed of all those engaged in battle with it.
-- Obtained: Dancer Level 45
-- TP Cost: 35%
-- Recast Time: 1:00
-- Duration: 1:30
-----------------------------------
requi... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Nashmau/npcs/Ququroon.lua | 13 | 2142 | -----------------------------------
-- Area: Nashmau
-- NPC: Ququroon
-- Type: Standard NPC
-- @pos -2.400 -1 66.824 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/setting... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Riverne-Site_B01/npcs/HomePoint#1.lua | 27 | 1258 | -----------------------------------
-- Area: Riverne-Site B01
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_B01/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/head_of_grauberg_lettuce.lua | 36 | 1155 | -----------------------------------------
-- ID: 5688
-- Item: Head of Grauberg Lettuce
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Rotih_Moalghett.lua | 31 | 1359 | ----------------------------------
-- Area: Fort Karugo Narugo [S]
-- NPC: Rotih_Moalghett
-- Type: Quest
-- @zone: 96
-- @pos 280 -20 85
--
-----------------------------------
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
require("s... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/effects/bane.lua | 37 | 1034 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
--NOTE: The power amount dictates the amount to REDU... | gpl-3.0 |
zuzuf/TA3D | src/ta3d/mods/ta3d/scripts/armmex.lua | 2 | 1719 | -- Arm Metal Extractor Script
createUnitScript("armmex")
__this:piece( "base", "arms" )
__this.SMOKEPIECE1 = __this.base
#include "exptype.lh"
#include "StateChg.lh"
#include "smokeunit.lh"
__this.spinspeed = 0
__this.spinacc = 0.5
__this.spindec = 1.0
__this.Go = function(this)
this:spin( this.arms, y_axis, this... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Den_of_Rancor/Zone.lua | 27 | 1813 | -----------------------------------
--
-- Zone: Den_of_Rancor (160)
--
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Den_of_Ranco... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/boot/90_filesystem.lua | 16 | 1952 | local component = require("component")
local event = require("event")
local fs = require("filesystem")
local shell = require("shell")
local isInitialized, pendingAutoruns = false, {}
local function onInit()
isInitialized = true
for _, run in ipairs(pendingAutoruns) do
local result, reason = pcall(run)
if ... | mit |
vonflynee/opencomputersserver | world/opencomputers/f6b12c72-550e-4c86-b7bc-3a72d250d375/boot/90_filesystem.lua | 16 | 1952 | local component = require("component")
local event = require("event")
local fs = require("filesystem")
local shell = require("shell")
local isInitialized, pendingAutoruns = false, {}
local function onInit()
isInitialized = true
for _, run in ipairs(pendingAutoruns) do
local result, reason = pcall(run)
if ... | mit |
ruisebastiao/nodemcu-firmware | lua_examples/mqtt/mqtt_file.lua | 68 | 1667 | -- test transfer files over mqtt.
m_dis={}
function dispatch(m,t,pl)
if pl~=nil and m_dis[t] then
m_dis[t](m,pl)
end
end
function pubfile(m,filename)
file.close()
file.open(filename)
repeat
local pl=file.read(1024)
if pl then m:publish("/topic2",pl,0,0) end
until not pl
file.close()
end
-- payload... | mit |
NezzKryptic/Wire-Extras | lua/wire/uwsvn/server/exitpoint.lua | 4 | 2402 | local ExitPoints = {}
function AddExitPoint( entity )
table.insert( ExitPoints, entity )
end
local function CheckRemovedEnt( ent )
for index, e in pairs( ExitPoints ) do
if (e:IsValid()) then
if (e == ent) then
table.remove( ExitPoints, index )
end
end
end
end
hook.Add( "EntityRemoved"... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Yhoator_Jungle/npcs/Ghantata_WW.lua | 13 | 3327 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Ghantata, W.W.
-- Border Conquest Guards
-- @pos -84.113 -0.449 224.902 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/689b9f29-1d36-4106-bf0e-c06a2ebfb1ef/bin/sh.lua | 15 | 15003 | local component = require("component")
local computer = require("computer")
local event = require("event")
local fs = require("filesystem")
local process = require("process")
local shell = require("shell")
local term = require("term")
local text = require("text")
local unicode = require("unicode")
--------------------... | mit |
Cyumus/NutScript | gamemode/core/libs/sh_log.lua | 4 | 2762 | FLAG_NORMAL = 0
FLAG_SUCCESS = 1
FLAG_WARNING = 2
FLAG_DANGER = 3
FLAG_SERVER = 4
FLAG_DEV = 5
nut.log = nut.log or {}
nut.log.color = {
[FLAG_NORMAL] = Color(200, 200, 200),
[FLAG_SUCCESS] = Color(50, 200, 50),
[FLAG_WARNING] = Color(255, 255, 0),
[FLAG_DANGER] = Color(255, 50, 50),
[FLAG_SERVER] = Color(200, 20... | mit |
nesstea/darkstar | scripts/globals/spells/armys_paeon_v.lua | 27 | 1359 | -----------------------------------------
-- Spell: Army's Paeon V
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,tar... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Jeuno/npcs/Illauvolahaut.lua | 13 | 1611 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Illauvolahaut
-- @zone 246
-- @pos -12 8 54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/charm.lua | 27 | 1135 | -----------------------------------
-- Ability: Charm a monster
-- Tames a monster to fight by your side.
-- Obtained: Beastmaster Level 1
-- Recast Time: 0:15
-- Duration: Varies
-- Check |Duration
-- ---------------- |--------------
-- Too Weak |30 Minutes
-- Easy Prey |20 Minutes
-- Decent ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Yorcia_Weald/Zone.lua | 34 | 1237 | -----------------------------------
--
-- Zone: Yorcia Weald
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Yorcia_Weald/TextIDs"] = nil;
require("scripts/zones/Yorcia_Weald/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Monarch_Linn/bcnms/ancient_vows.lua | 11 | 1933 | -----------------------------------
-- 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 ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/bora_axe.lua | 30 | 1726 | -----------------------------------
-- Bora Axe
-- Axe weapon skill
-- Skill level: 290
-- Delivers a single-hit ranged attack at a maximum distance of 15.7'. Chance of binding varies with TP
-- Bind doesn't always break from hitting mob.
-- This Weapon Skill's first hit params.ftp is duplicated for all additiona... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/whale_staff.lua | 16 | 1034 | -----------------------------------------
-- ID: 17533
-- Item: Whale Staff
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Mushosho.lua | 17 | 1883 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Mushosho
-- Type: Outpost Vendor
-- @pos -290 16 415 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
re... | gpl-3.0 |
dpino/snabbswitch | lib/ljsyscall/syscall/netbsd/errors.lua | 24 | 3649 | -- NetBSD error messages
return {
PERM = "Operation not permitted",
NOENT = "No such file or directory",
SRCH = "No such process",
INTR = "Interrupted system call",
IO = "Input/output error",
NXIO = "Device not configured",
["2BIG"] = "Argument list too long",
NOEXEC = "Exec format error",
BADF = "Ba... | apache-2.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria/npcs/Kipopo.lua | 53 | 1843 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Kipopo
-- Type: Leathercraft Synthesis Image Support
-- @pos -191.050 -2.15 12.285 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Despachiaire.lua | 13 | 2741 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Despachiaire
-- @pos 108 -40 -83 26
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
---... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/boiled_tuna_head.lua | 35 | 1602 | -----------------------------------------
-- ID: 4540
-- Item: Boiled Tuna Head
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Dexterity 3
-- Intelligence 4
-- Mind -3
-- Magic Regen While Healing 2
-- Accuracy 5
-- Evasion 5
--------------------------------------... | gpl-3.0 |
ndbeals/Luabox | lua/luabox/ui/editorframe.lua | 2 | 25759 | local PANEL = {}
PANEL.ClassName = "Luabox_Editor_Frame"
PANEL.Base = "DFrame"
local spacing = 4
function PANEL:Init()
self.Settings = {}
self.Maximized = {}
self.Editors = {}
self.Container = luabox.PlayerContainer()
self.HotKeyTime = FrameNumber()
self:SetMinWidth(350)
self:SetMinHeight(150)
self:SetSiza... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Parledaire_RK.lua | 30 | 3067 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Parledaire, R.K.
-- Type: Conquest Overseer
-- @pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
bowlofstew/Macaroni | Main/App/Source/test/lua/Macaroni/Model/SourceTests.lua | 2 | 2669 | --------------------------------------------------------------------------------
-- Copyright 2011 Tim Simpson
--
-- 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.a... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/blast_arrow.lua | 30 | 1352 | -----------------------------------
-- Blast Arrow
-- Archery weapon skill
-- Skill level: 200
-- Delivers a melee-distance ranged attack. params.accuracy varies with TP.
-- Aligned with the Snow Gorget & Light Gorget.
-- Aligned with the Snow Belt & Light Belt.
-- Element: None
-- Modifiers: STR:16% ; AGI:25%
... | gpl-3.0 |
akdor1154/awesome | lib/awful/widget/prompt.lua | 4 | 1969 | ---------------------------------------------------------------------------
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2009 Julien Danjou
-- @release @AWESOME_VERSION@
-- @classmod awful.widget.prompt
---------------------------------------------------------------------------
local setmetatable ... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Yhoator_Jungle/npcs/Harvesting_Point.lua | 13 | 1080 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Yhoator_Jungle/TextIDs");
------... | gpl-3.0 |
0xd4d/iced | src/rust/iced-x86-lua/lua/OpCodeOperandKind.lua | 1 | 8073 | -- SPDX-License-Identifier: MIT
-- Copyright (C) 2018-present iced project and contributors
-- ⚠️This file was generated by GENERATOR!🦹♂️
---Operand kind
return {
---No operand
None = 0,
---Far branch 16-bit offset, 16-bit segment/selector
farbr2_2 = 1,
---Far branch 32-bit offset, 16-bit segment/selector
far... | mit |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Calovour.lua | 13 | 1411 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Calovour
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requi... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Bluffnix.lua | 25 | 5561 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Bluffnix
-- Starts and Finishes Quests: Gobbiebags I-X
-- @pos -43.099 5.900 -114.788 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Yuhtunga_Jungle/Zone.lua | 15 | 4094 | -----------------------------------
--
-- Zone: Yuhtunga_Jungle (123)
--
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Yuhtunga_Jungle/TextIDs");
requ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Windurst/npcs/Ryan.lua | 17 | 1742 | -----------------------------------
-- Area: Port Windurst
-- NPC: Ryan
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Port_Windurst/TextIDs");
------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Norg/npcs/Muzaffar.lua | 26 | 3289 | -----------------------------------
-- Area: Norg
-- NPC: Muzaffar
-- Standard Info NPC
-- Quests: Black Market
-- @pos 16.678, -2.044, -14.600 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Norg/TextIDs");
require(... | gpl-3.0 |
nesstea/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#4.lua | 27 | 1264 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#4
-- @pos 500 -42 158 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/homepoi... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/poison_breath.lua | 9 | 2067 | -----------------------------------------
-- Spell: Poison Breath
-- Deals water damage to enemies within a fan-shaped area originating from the caster. Additional effect: Poison
-- Spell cost: 22 MP
-- Monster Type: Hound
-- Spell Type: Magical (Water)
-- Blue Magic Points: 1
-- Stat Bonus: MND+1
-- Level: 22
... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/blowfish.lua | 18 | 1308 | -----------------------------------------
-- ID: 5812
-- Item: Blowfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
alirezanile/LaSt-GaMfg | plugins/channels.lua | 27 | 1754 | do
-- Checks if bot was disabled on specific chat
local function is_channel_disabled(receiver)
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable... | gpl-2.0 |
Mashape/kong | kong/plugins/response-ratelimiting/policies/init.lua | 2 | 8139 | local timestamp = require "kong.tools.timestamp"
local redis = require "resty.redis"
local policy_cluster = require "kong.plugins.response-ratelimiting.policies.cluster"
local reports = require "kong.reports"
local kong = kong
local null = ngx.null
local shm = ngx.shared.kong_rate_limiting_counters
local pairs = pair... | apache-2.0 |
nesstea/darkstar | scripts/zones/Windurst_Walls/npcs/_6n8.lua | 30 | 1321 | -----------------------------------
-- Area: Windurst Walls
-- Door: Priming Gate
-- Involved in quest: Toraimarai Turmoil
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Windurst_Walls/TextIDs");
-----------------------------------
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/mandibular_bite.lua | 27 | 1745 | -----------------------------------------
-- Spell: Mandibular Bite
-- Damage varies with TP
-- Spell cost: 38 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: INT+1
-- Level: 44
-- Casting Time: 0.5 seconds
-- Recast Time: 19.25 seconds
-- Skillchain prope... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Walls/npcs/Selulu.lua | 38 | 1029 | ----------------------------------
-- Area: Windurst Walls
-- NPC: Selulu
-- Type: Item Deliverer
-- @zone: 239
-- @pos 58.027 -2.5 -60.548
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/zones/Windurst_Walls/TextIDs");
-----------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria/npcs/Atelloune.lua | 11 | 2706 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Atelloune
-- Starts and Finishes Quest: Atelloune's Lament
-- @zone 230
-- @pos 122 0 82
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/sacred_maul.lua | 42 | 1457 | -----------------------------------------
-- ID: 18392
-- Item: Sacred Maul
-- Additional Effect: Light Damage
-- Enchantment: "Enlight"
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----... | gpl-3.0 |
nesstea/darkstar | scripts/globals/mobskills/Pile_Pitch.lua | 32 | 1220 | ---------------------------------------------------
-- Guided_Missile
--
-- Description: Reduces target's HP to 5% of its maximum value, ignores Utsusemi ,Bind (30 sec)
-- Type: Magical
--
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
re... | gpl-3.0 |
Wedmer/packages | utils/collectd/files/lua-scripts/dsl.lua | 19 | 3098 | -- Copyright 2019 Florian Eckert <fe@dev.tdt.de>
-- Copyright 2021 Jeroen Peelaerts <jeroen@steganos.dev>
-- Licensed to the public under the GNU General Public License v2.
local ubus = require("ubus")
local hostname_file = "/proc/sys/kernel/hostname"
local line_vars = {
{
name = "vector",
type = "bool"
},
{
... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.