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 |
|---|---|---|---|---|---|
jshackley/darkstar | scripts/zones/Jugner_Forest/npcs/Taumiale_RK.lua | 30 | 3046 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Taumiale, R.K.
-- Border Conquest Guards
-- @pos 570.732 -2.637 553.508 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/quartz/init.lua | 9 | 5159 | dofile(minetest.get_modpath("quartz").."/settings.txt")
--Node Registration
--Quartz Crystal
minetest.register_craftitem("quartz:quartz_crystal", {
description = "Quartz Crystal",
inventory_image = "quartz_crystal_full.png",
})
minetest.register_craftitem("quartz:quartz_crystal_piece", {
description = "Quartz Crys... | unlicense |
sp3ctum/lean | tests/lua/res1.lua | 4 | 4248 | -- Create names for commonly used constants
local Or = Const("or")
local Not = Const("not")
local False = Const("false")
function init_env(env)
-- Populate environment when declarations used by resolve_macro.
-- This is a 'fake' environment used only for testing.
local a = Local("a", Prop)
local b ... | apache-2.0 |
mohammad12344/powerdark | plugins/rules.lua | 2 | 1602 | local function set_rules_channel(msg, text)
local rules = text
local hash = 'channel:id:'..msg.to.id..':rules'
redis:set(hash, rules)
end
local function del_rules_channel(chat_id)
local hash = 'channel:id:'..chat_id..':rules'
redis:del(hash)
end
local function init_def_rules(chat_id)
local rules = '... | gpl-2.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/modules/admin-full/luasrc/controller/admin/network.lua | 15 | 11867 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://w... | gpl-2.0 |
DipColor/mehrabon3 | plugins/remind.lua | 279 | 1873 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
jshackley/darkstar | scripts/globals/mobskills/glittering_ruby.lua | 6 | 1057 | ---------------------------------------------------
-- Glittering Ruby
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(ta... | gpl-3.0 |
major-kolz/instead-tools | examples/3.2 Metaclass.lua | 1 | 1743 | -- Copyright 2014 Nikolay Konovalow
-- Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-- http://www.apache.org/licenses/LICENSE-2.0>
--$Version: 0.1 $
--$Author: major kolz $
instead_version "2.0.3";
require 'xact'
require 'format'
format.para = true; -- Отступы в начале абзаца;
format.dash = ... | apache-2.0 |
jshackley/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cs.lua | 17 | 2441 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cs (Magical Gizmo) #4
-- Involved In Mission: The Horutoto Ruins Experiment
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
SpRoXx/GTW-RPG | [resources]/GTWmechanic/mechanic_s.lua | 1 | 7514 | --[[
********************************************************************************
Project owner: RageQuit community
Project name: GTW-RPG
Developers: Mr_Moose
Source code: https://github.com/GTWCode/GTW-RPG/
Bugtracker: http://forum.404rq.com/bug-reports/
Suggestions: http://forum.404rq.com/mta-se... | bsd-2-clause |
jshackley/darkstar | scripts/zones/Norg/npcs/Verctissa.lua | 17 | 2972 | -----------------------------------
-- Area: Norg
-- NPC: Verctissa
-- Starts Quest: Trial Size Trial By Water
-- @pos -13 1 -20 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/WorldEdit/worldedit/compatibility.lua | 23 | 2107 | --- Compatibility functions.
-- @module worldedit.compatibility
local function deprecated(new_func)
local info = debug.getinfo(1, "n")
local msg = "worldedit." .. info.name .. "() is deprecated."
if new_func then
msg = msg .. " Use worldedit." .. new_func .. "() instead."
end
minetest.log("deprecated"... | unlicense |
jshackley/darkstar | scripts/zones/Eastern_Altepa_Desert/mobs/Cactrot_Rapido.lua | 8 | 13308 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NM: Cactrot Rapido
-----------------------------------
require("scripts/globals/titles");
local path =
{
-45.214237, 0.059482, -204.244873,
-46.114422, 0.104212, -203.765884,
-47.013275, 0.149004, -203.285812,
-47.911877, 0.19375... | gpl-3.0 |
men232/greencode-framework | lua/greencode/plugins/realisticdamage/sv_auto.lua | 1 | 7093 | --[[
© 2013 GmodLive private project do not share
without permission of its author (Andrew Mensky vk.com/men232).
--]]
local PLUGIN = PLUGIN or greenCode.plugin:Loader();
local gc = gc;
/*PLUGIN.HitGroupBonesCache = {
{"ValveBiped.Bip01_R_UpperArm", HITGROUP_RIGHTARM},
{"ValveBiped.Bip01_R_Forearm", HITGR... | mit |
jshackley/darkstar | scripts/globals/effects/signet.lua | 36 | 1046 | -----------------------------------
--
-- EFFECT_SIGNET
--
-- Signet is a a beneficial Status Effect that allows the acquisition of Conquest Points and Crystals
-- from defeated enemies that grant Experience Points.
-- Increased Healing HP
-- No TP loss while resting
-- Bonus experience earned in ... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Konschtat_Highlands/npcs/Shattered_Telepoint.lua | 19 | 2234 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Shattered telepoint
-- @pos 135 19 220 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Kon... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Quicksand_Caves/npcs/_5sc.lua | 17 | 1276 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -410 0 662 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Cave... | gpl-3.0 |
josetaas/YokiRaidCursor | Tests/Test.lua | 1 | 2514 | YokiRaidCursor.Testing = {}
local Test = YokiRaidCursor.Class('Test')
local Mockagne = LibStub('mockagne'):Get()
local SUCCESSSTART = '|cff00ff00'
local FAILSTART = '|cffff0000'
local END = '|r'
function Test.RunAll()
local tests = YokiRaidCursor.Testing.tests
if (tests == nil
or type(tests) ~= 'ta... | mit |
jshackley/darkstar | scripts/zones/Southern_San_dOria/npcs/Poudoruchant.lua | 36 | 1438 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Poudoruchant
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/q... | gpl-3.0 |
jshackley/darkstar | scripts/zones/South_Gustaberg/MobIDs.lua | 36 | 1267 | -----------------------------------
-- Area: South Gustaberg
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Leaping Lizzy
Leaping_Lizzy=17215888;
Leaping_Lizzy_PH={
[17215864] = '1', -- -228.159, 18.045, -411.726
[17215863] = '1', -- -260... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Al_Zahbi/npcs/Biyaada.lua | 38 | 1035 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Biyaada
-- Type: Rughadjeen's Attendant
-- @zone: 48
-- @pos -65.802 -6.999 69.273
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
--------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/spells/bluemagic/vertical_cleave.lua | 28 | 1722 | -----------------------------------------
-- Spell: Vertical Cleave
-- Damage varies with TP
-- Spell cost: 86 MP
-- Monster Type: Luminians
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1 HP-5 MP+5
-- Level: 75
-- Casting Time: 0.5 seconds
-- Recast Time: 37.25 seconds
-- Ski... | gpl-3.0 |
myth384/AdiButtonAuras | rules/Paladin.lua | 1 | 2265 | --[[
AdiButtonAuras - Display auras on action buttons.
Copyright 2013-2014 Adirelle (adirelle@gmail.com)
All rights reserved.
This file is part of AdiButtonAuras.
AdiButtonAuras 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 Softwa... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/roast_carp.lua | 35 | 1277 | -----------------------------------------
-- ID: 4537
-- Item: roast_carp
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -1
-- Ranged ATT % 14
-----------------------------------------
require("scripts/globals/status");
-----------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/weaponskills/ground_strike.lua | 30 | 1581 | -----------------------------------
-- Ground Strike
-- Great Sword weapon skill
-- Skill level: 250 QUESTED
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:50% INT:50%
-- 100%TP 200%TP 300%TP
-- 1.5 1.75 3.0
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Dynamis-Xarcabard/Zone.lua | 28 | 2645 | -----------------------------------
--
-- Zone: Dynamis-Xarcabard
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Roberta.lua | 17 | 2132 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Roberta
-- Working 100%
-- @zone 241
-- @pos 21 -4 -157
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTr... | gpl-3.0 |
jshackley/darkstar | scripts/globals/abilities/curing_waltz_v.lua | 19 | 2095 | -----------------------------------
-- Ability: Curing Waltz V
-- Restores target's HP
-- Obtained: Dancer Level 87
-- TP Required: 80%
-- Recast Time: 00:23
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onAbilityChe... | gpl-3.0 |
MeGaTG/amirdb | bot/utils.lua | 54 | 15973 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
http.TIMEOUT = 10
funct... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Konschtat_Highlands/mobs/Ghillie_Dhu.lua | 2 | 2226 | -----------------------------------
-- Area: Konschtat Highlands
-- NM: Ghillie Dhu
-----------------------------------
require("scripts/globals/utils");
require("scripts/globals/status");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobInitialize
------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Port_Windurst/npcs/Tohopka.lua | 38 | 1032 | -----------------------------------
-- Area: Port Windurst
-- NPC: Tohopka
-- Type: Standard NPC
-- @zone: 240
-- @pos -105.723 -10 83.813
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Ifrits_Cauldron/npcs/Mining_Point.lua | 29 | 1102 | -----------------------------------
-- Area: Ifrits Cauldron
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Ifrits_Cauldron/TextIDs");
-... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/plate_of_sole_sushi_+1.lua | 14 | 1750 | -----------------------------------------
-- ID: 5163
-- Item: plate_of_sole_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 20
-- Strength 5
-- Dexterity 6
-- Accuracy % 16
-- Ranged ACC % 16
-- Sleep Resist 5
-----------------------------------------
require... | gpl-3.0 |
slanska/flexilite | src_lua/filelist.lua | 1 | 6564 | ---
--- Generated by EmmyLua(https://github.com/EmmyLua)
--- Created by slanska.
--- DateTime: 2018-06-12 6:25 PM
---
--[[
List of all Lua files (including 3rd parties) with paths relative to the project
Optional value is an alternative module name, to be used when compiling .lua
to .obj, to avoid name clash
]]
retur... | mpl-2.0 |
Shrike78/Shilke2D | Shilke2D/Display/MovieClip.lua | 1 | 5200 | --[[---
A MovieClip is a simple way to display an animation depicted by a list
of textures.
It inherits from Image and implements IAnimatable interface.
Pass the frames of the movie in a vector of textures to
the constructor. The movie clip will have the width and height of the
first frame. If you group your fram... | mit |
shagu/pfQuest | db/koKR/items-tbc.lua | 1 | 605884 | pfDB["items"]["koKR-tbc"] = {
[17] = "_",
[38] = "훈련생용 셔츠",
[39] = "훈련생용 바지",
[40] = "훈련생용 장화",
[41] = "_",
[42] = "_",
[43] = "지원자용 장화",
[44] = "지원자용 바지",
[45] = "지원자용 셔츠",
[46] = "_",
[47] = "수습도적용 신발",
[48] = "수습도적용 바지",
[49] = "수습도적용 셔츠",
[50] = "_",
[51] = "수도자용 장화",
[52] = "수도자용 바지... | mit |
jshackley/darkstar | scripts/zones/Lower_Jeuno/npcs/Guttrix.lua | 19 | 3766 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Guttrix
-- Starts and Finishes Quest: The Goblin Tailor
-- @zone: 245
-- @pos -36.010 4.499 -139.714
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
badboyam/spider_bot | plugins/invite.lua | 1111 | 1195 | 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) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
mohammadclashclash/sina20160 | plugins/invite.lua | 1111 | 1195 | 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) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
jshackley/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Hume_Bones.lua | 17 | 1988 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Hume Bones
-- Involved in Quests: Blue Ribbon Blues
-- @pos 299 0.1 19 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
BeyondTeam/TeleBeyond | plugins/anti_spam.lua | 1 | 5475 | kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
-- Save user on Redis
if msg.from.type == 'user' then
local hash = 'user:'..ms... | agpl-3.0 |
jshackley/darkstar | scripts/zones/Upper_Jeuno/npcs/Mailloquetat.lua | 17 | 1422 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Mailloquetat
-- Involved in Quests: Save my Sister
-- @zone 244
-- @pos -31 -1 8
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
VincentGong/chess | cocos2d-x/cocos/scripting/lua-bindings/auto/api/AssetsManager.lua | 6 | 2229 |
--------------------------------
-- @module AssetsManager
-- @extend Node
--------------------------------
-- @function [parent=#AssetsManager] setStoragePath
-- @param self
-- @param #char char
--------------------------------
-- @function [parent=#AssetsManager] setPackageUrl
-- @param self
-- @param #ch... | mit |
jshackley/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rr.lua | 17 | 1459 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | minetestforfun_game/mods/beds/spawns.lua | 7 | 1385 | local world_path = minetest.get_worldpath()
local org_file = world_path .. "/beds_spawns"
local file = world_path .. "/beds_spawns"
local bkwd = false
-- check for PA's beds mod spawns
local cf = io.open(world_path .. "/beds_player_spawns", "r")
if cf ~= nil then
io.close(cf)
file = world_path .. "/beds_player_spawn... | unlicense |
lpiob/MTA-TokyoRPG | gamemode/RL_HOUSE/house_s.lua | 1 | 16469 | -- MODE 1 HOUSE -- 2333.1044921875,-1073.7373046875,1049.0234375 + 1 !!!
function isPlayerInACL ( player, acl )
local account = getPlayerAccount ( player )
if ( isGuestAccount ( account ) ) then
return false
end
return isObjectInACLGroup ( "user."..getAccountName ( account ), a... | gpl-2.0 |
shagu/pfQuest | db/frFR/items.lua | 1 | 705941 | pfDB["items"]["frFR"] = {
[17] = "Martin Fury",
[25] = "Vieille épée courte",
[35] = "Vieux bâton",
[36] = "Vieille masse",
[37] = "Vieille hache",
[38] = "Chemise de recrue",
[39] = "Pantalon de recrue",
[40] = "Bottes de recrue",
[41] = "[VIEUX] Ceinture de recrue",
[42] = "[VIEUX] Ceinture d\'écu... | mit |
UnKnOwNsBoT/UnKnOwNsBoT | plugins/chat.lua | 1 | 1129 | local function run(msg)
if msg.text == "hi" then
return "Hello bb"
end
if msg.text == "Hi" then
return "Hello honey"
end
if msg.text == "Hello" then
return "Hi bb"
end
if msg.text == "hello" then
return "Hi honey"
end
if msg.text == "Salam" then
return "Salam aleykom"
end
if msg.text == "salam" then
return "va al... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Castle_Oztroja/npcs/_47z.lua | 17 | 1385 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47z (Torch Stand)
-- Notes: Opens door _474
-- @pos -62.464 24.218 -67.313 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ca... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Nashmau/npcs/Kakkaroon.lua | 17 | 2224 | -----------------------------------
-- Area: Nashmau
-- NPC: Kakkaroon
-- Standard Info NPC
-- @pos 13.245 0.000 -25.307 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/global... | gpl-3.0 |
jshackley/darkstar | scripts/zones/PsoXja/npcs/_093.lua | 17 | 1614 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _093 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Sacrificial_Chamber/bcnms/jungle_boogymen.lua | 19 | 1723 | -----------------------------------
-- Area: Sacrificial Chamber
-- Name: jungle_boogymen
-- BCNM60
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Sacrificial_Chamber/TextIDs");
-----------------------... | gpl-3.0 |
tridge/ardupilot | libraries/AP_Scripting/examples/rover-TerrainDetector.lua | 13 | 7767 | --[[----------------------------------------------------------------------------
TerrainDetector ArduPilot Lua script
Uses gyro and accelerometer data to detect rough terrain and slow the
vehicle's speed accordingly during auto missions.
Provides a set of custom tuning parameters:
ROUGH_SPEED : (m/s) rou... | gpl-3.0 |
men232/greencode-framework | lua/greencode/plugins/rp_deposit/sv_auto.lua | 1 | 12896 | --[[
© 2013 GmodLive private project do not share
without permission of its author (Andrew Mensky vk.com/men232).
--]]
local PLUGIN = PLUGIN or greenCode.plugin:Loader();
local greenCode = greenCode;
local table = table;
local math = math;
local os = os;
local playerMeta = FindMetaTable("Player");
PLUGIN.stored = P... | mit |
jan0sch/Ion3 | ioncore/ioncore_quasiact.lua | 7 | 1768 | --
-- ion/share/ioncore_quasiact.lua -- Frame quasiactivation support
--
-- Copyright (c) Tuomo Valkonen 2007-2009.
--
-- See the included file LICENSE for details.
--
local qa_source={}
local qa_target={}
local function quasi_activated(frame, src)
local old=qa_source[frame]
if old then
qa_target[old... | lgpl-2.1 |
jshackley/darkstar | scripts/zones/Nashmau/npcs/Porter_Moogle.lua | 41 | 1514 | -----------------------------------
-- Area: Nashmau
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 53
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scrip... | gpl-3.0 |
jshackley/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm3.lua | 2 | 1335 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Ullikummi)
-- @pos 739 -99 -581 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvita... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Norg/npcs/Keal.lua | 11 | 3979 | -----------------------------------
-- Area: Norg
-- NPC: Keal
-- Starts and Ends Quest: It's Not Your Vault
-----------------------------------
local ID = require("scripts/zones/Norg/IDs");
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
local path =
{
... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Tome_of_Magic.lua | 14 | 1154 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Tome of Magic
-- Involved In Windurst Mission 7-2 (Optional Dialogue)
-- @pos 346 0 343 159 <many>
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/entities/weapons/pocket/cl_menu.lua | 6 | 2762 | local meta = FindMetaTable("Player")
local pocket = {}
local frame
local reload
--[[---------------------------------------------------------------------------
Stubs
---------------------------------------------------------------------------]]
DarkRP.stub{
name = "openPocketMenu",
description = "Open the DarkR... | mit |
RunAwayDSP/darkstar | scripts/globals/spells/curaga_ii.lua | 12 | 1393 | -----------------------------------------
-- Spell: Curaga II
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/suction.lua | 11 | 1047 | ---------------------------------------------
-- Suction
--
-- Description: Deals damage to a single target. Additional effect: Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes: Stun doesn't always occur.
---------------------------------------------
require("scripts/globals/sett... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/bowl_of_loach_soup.lua | 18 | 1596 | -----------------------------------------
-- ID: 5671
-- Item: Bowl of Loach Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy 7% Cap 50
-- HP 7% Cap 50
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
lichtl/darkstar | scripts/zones/The_Shrouded_Maw/mobs/Diabolos.lua | 23 | 9084 | -----------------------------------
-- Area: The Shrouded Maw
-- MOB: Diabolos
-----------------------------------
-- TODO: CoP Diabolos
-- 1) Make the diremites in the pit all aggro said player that falls into region. Should have a respawn time of 10 seconds.
-- 2) Diremites also shouldnt follow you back to the figh... | gpl-3.0 |
lichtl/darkstar | scripts/globals/spells/poisonga_ii.lua | 26 | 1132 | -----------------------------------------
-- Spell: Poisonga II
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/kings_justice.lua | 10 | 1808 | -----------------------------------
-- Kings Justice
-- Great Axe weapon skill
-- Skill Level: N/A
-- Delivers a threefold attack. Damage varies with TP. Conqueror: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Warrior) quest.
-- Aligned with the Breeze Gorget, Thunder Gorget... | gpl-3.0 |
zegotinha/LiveShift | vlclib/windows/lua/sd/icecast.lua | 6 | 1642 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Fabio Ritrovato <sephiroth87 at videolan dot 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
... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/plate_of_patlican_salata_+1.lua | 11 | 1051 | -----------------------------------------
-- ID: 5583
-- Item: plate_of_patlican_salata_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Agility 5
-- Vitality -2
-- Evasion +7
-- hHP +3
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/ms... | gpl-3.0 |
lc412/skynet | lualib/http/httpd.lua | 101 | 3708 | local internal = require "http.internal"
local table = table
local string = string
local type = type
local httpd = {}
local http_status_msg = {
[100] = "Continue",
[101] = "Switching Protocols",
[200] = "OK",
[201] = "Created",
[202] = "Accepted",
[203] = "Non-Authoritative Information",
[204] = "No Content",... | mit |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/f4menu/cl_menuitem.lua | 5 | 6501 | local PANEL = {}
AccessorFunc(PANEL, "borderColor", "BorderColor")
--[[---------------------------------------------------------------------------
Generic item
---------------------------------------------------------------------------]]
function PANEL:Init()
self:SetMouseInputEnabled(true)
self:SetKeyboardIn... | mit |
lichtl/darkstar | scripts/globals/spells/bluemagic/foot_kick.lua | 35 | 1687 | -----------------------------------------
-- Spell: Foot Kick
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 5 MP
-- Monster Type: Beasts
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: AGI+1
-- Level: 1
-- Casting Time: 0.5 seconds
-- Recast Time: 6.5 seconds
-... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Wajaom_Woodlands/TextIDs.lua | 7 | 1135 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
DrYaling/eluna-trinitycore | src/server/scripts/Scripts-master/Blizzlike/EasternKingdoms/zone_blasted_lands.lua | 1 | 1058 | --[[
EmuDevs <http://emudevs.com/forum.php>
Eluna Lua Engine <https://github.com/ElunaLuaEngine/Eluna>
Eluna Scripts <https://github.com/ElunaLuaEngine/Scripts>
Eluna Wiki <http://wiki.emudevs.com/doku.php?id=eluna>
-= Script Information =-
* Zone: Blasted Lands
* QuestId: 3628 <GetQuestSta... | gpl-2.0 |
RunAwayDSP/darkstar | scripts/globals/items/red_curry_bun.lua | 11 | 1876 | -----------------------------------------
-- ID: 5759
-- Item: red_curry_bun
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- TODO: Group effects
-- Health 25
-- Strength 7
-- Agility 1
-- Intelligence -2
-- Attack % 23 (cap 150)
-- Ranged Atk % 23 (cap 150)
-- Demon Killer 4
-- Resist Sle... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Windurst_Walls/npcs/Tsuaora-Tsuora.lua | 14 | 1056 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Tsuaora-Tsuora
-- Type: Standard NPC
-- @zone 239
-- @pos 71.489 -3.418 -67.809
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
--------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/bluemagic/pollen.lua | 12 | 1703 | -----------------------------------------
-- Spell: Pollen
-- Restores HP
-- Spell cost: 8 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Light)
-- Blue Magic Points: 1
-- Stat Bonus: CHR+1, HP+5
-- Level: 1
-- Casting Time: 2 seconds
-- Recast Time: 5 seconds
--
-- Combos: Resist Sleep
----------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Lower_Jeuno/npcs/Harnek.lua | 9 | 1896 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Harnek
-- Starts and Finishes Quest: The Tenshodo Showdown (finish)
-- !pos 44 0 -19 245
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/glo... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/serving_of_medicinal_quus.lua | 11 | 1095 | -----------------------------------------
-- ID: 4294
-- Item: serving_of_medicinal_quus
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -1
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status")
require("scrip... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Norg/npcs/Heiji.lua | 9 | 2796 | -----------------------------------
-- Area: Norg
-- NPC: Heiji
-- Starts and Ends Quest: Like a Shining Subligar
-- !pos -1 -5 25 252
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/shop");
require("scripts/globals/quests");
local ID... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Upper_Jeuno/npcs/Turlough.lua | 41 | 1446 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Turlough
-- Mission NPC
-- @pos
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
require("scripts/globals/missions");
require(... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/bowl_of_nashmau_stew.lua | 18 | 2062 | -----------------------------------------
-- ID: 5595
-- Item: Bowl of Nashmau Stew
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- MP -100
-- Vitality -10
-- Agility -10
-- Intelligence -10
-- Mind -10
-- Charisma -10
-- Accuracy +15% Cap 25
-- Attack +18% Cap 60
-- ... | gpl-3.0 |
lichtl/darkstar | scripts/globals/abilities/drain_samba.lua | 25 | 1429 | -----------------------------------
-- Ability: Drain Samba
-- Inflicts the next target you strike with Drain daze, allowing all those engaged in battle with it to drain its HP.
-- Obtained: Dancer Level 5
-- TP Required: 10%
-- Recast Time: 1:00
-- Duration: 2:00
-----------------------------------
require("scripts/g... | gpl-3.0 |
sjznxd/lc-20130222 | modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua | 27 | 3228 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
lo... | apache-2.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/workarounds/sh_workarounds.lua | 4 | 11090 | -- Shared part
--[[---------------------------------------------------------------------------
Sound crash glitch
---------------------------------------------------------------------------]]
local entity = FindMetaTable("Entity")
local plyMeta = FindMetaTable("Player")
local EmitSound = entity.EmitSound
function enti... | mit |
OctoEnigma/shiny-octo-system | gamemodes/sandbox/entities/weapons/gmod_tool/stools/nocollide.lua | 1 | 2282 |
TOOL.Category = "Construction"
TOOL.Name = "#tool.nocollide.name"
TOOL.Information = {
{ name = "left", stage = 0 },
{ name = "left_1", stage = 1 },
{ name = "right" },
{ name = "reload" }
}
cleanup.Register( "nocollide" )
function TOOL:LeftClick( trace )
if ( !IsValid( trace.Entity ) ) then return end
if ( ... | mit |
lichtl/darkstar | scripts/globals/items/blacksmiths_belt.lua | 18 | 1175 | -----------------------------------------
-- ID: 15445
-- Item: Blacksmith's Belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Smithing Skill +3
-----------------------------------------
require("script... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Temenos/bcnms/central_temenos_3rd_floor.lua | 9 | 1339 | -----------------------------------
-- Area: Temenos
-- Name: Central Temenos 3rd Floor
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/battlefield")
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBattlefieldTick(ba... | gpl-3.0 |
CZ-NIC/turris-updater | tests/lua/subprocess.lua | 1 | 2493 | --[[
Copyright 2018, CZ.NIC z.s.p.o. (http://www.nic.cz/)
This file is part of the turris updater.
Updater 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... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/sandbox/entities/weapons/gmod_tool/ghostentity.lua | 1 | 3917 |
--[[---------------------------------------------------------
Starts up the ghost entity
The most important part of this is making sure it gets deleted properly
-----------------------------------------------------------]]
function ToolObj:MakeGhostEntity( model, pos, angle )
util.PrecacheModel( model )
-- We do ... | mit |
lichtl/darkstar | scripts/zones/Marjami_Ravine/Zone.lua | 17 | 1221 | -----------------------------------
--
-- Zone: Marjami Ravine
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil;
require("scripts/zones/Marjami_Ravine/TextIDs");
-----------------------------------
-- onInitialize
-------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/gigaflare.lua | 11 | 1746 | ---------------------------------------------
-- Gigaflare
-- Family: Bahamut
-- Description: Deals massive Fire damage to enemies within a fan-shaped area.
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range:
-- Notes: Used by Bahamut when at 10% of its HP, and can use anytime afterwards at will.
... | gpl-3.0 |
da03/OpenNMT | onmt/scorers/bleu.lua | 7 | 3058 | local function get_ngrams(ngrams, s, n)
for i = 1, #s do
for j = i, math.min(i+n-1, #s) do
local ngram = table.concat(s, ' ', i, j)
local l = j-i+1 -- keep track of ngram length
if ngrams[ngram] == nil then
ngrams[ngram] = {1, l}
else
ngrams[ngram][1] = ngrams[ngram][1] + 1... | mit |
lichtl/darkstar | scripts/zones/Rabao/npcs/HomePoint#1.lua | 27 | 1250 | -----------------------------------
-- Area: Rabao
-- NPC: HomePoint#1
-- @pos -29.276 0.001 -76.585 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Rabao/TextIDs");
require("scripts/globals/homepoint");
-------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Apollyon/mobs/Carnagechief_Jackbodokk.lua | 23 | 2423 | -----------------------------------
-- Area: Apollyon CS
-- MOB: Carnagechief_Jackbodokk
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
require("scripts/globals/limbus");
-----------------------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/maple_cake.lua | 18 | 1235 | -----------------------------------------
-- ID: 5625
-- Item: Maple Cake
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recoverd while healing 1
-- MP Recovered while healing 4
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Inner_Horutoto_Ruins/Zone.lua | 8 | 4246 | -----------------------------------
--
-- Zone: Inner Horutoto Ruins (192)
--
-----------------------------------
local ID = require("scripts/zones/Inner_Horutoto_Ruins/IDs")
require("scripts/globals/conquest")
require("scripts/globals/treasure")
require("scripts/globals/status")
-----------------------------------
fu... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Windurst_Waters/npcs/Gantineux.lua | 11 | 2047 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Gantineux
-- Starts Quest: Acting in Good Faith
-- !pos -83 -9 3 238
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/shop");
require("scripts/globals/quests");
loc... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Balgas_Dais/bcnms/rank_2_mission.lua | 26 | 1908 | -----------------------------------
-- Area: Horlais Peak
-- Name: Mission Rank 2
-- @pos 299 -123 345 146
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Balgas_Dais/TextIDs... | gpl-3.0 |
lizhuowu/proxmark3 | client/lualibs/read14a.lua | 9 | 4126 | --[[
This is a library to read 14443a tags. It can be used something like this
local reader = require('read14a')
result, err = reader.read1443a()
if not result then
print(err)
return
end
print(result.name)
--]]
-- Loads the commands-library
local cmds = require('commands')
local TIMEOUT = 2000 -- Shouldn't ... | gpl-2.0 |
lichtl/darkstar | scripts/zones/PsoXja/npcs/_i9y.lua | 14 | 1317 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _i9y (Crystal Receptor)
-- @pos -389.980 -3.198 -203.595 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs");
------------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.