repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
dev-osrose/osIROSE-new
scripts/mobs/fields/JZ01_2.lua
2
4146
--[[ MOB SPAWN LIST mob(<mob_spawner_alias>, <mob_id>, <mob_count>, <spawner_limit>, <spawn_interval>, <spawner_range>, <map_id>, <x_pos>, <y_pos>, <z_pos>); --]] mob("", 276, 1, 1, 25, 5, 32, 5053.38, 5511.8, -2.06); mob("", 276, 1, 1, 25, 5, 32, 5057.36, 5470.59, 0.05); mob("", 275, 1, 1, 25, 5, 32, 5116.98, 5513.8...
apache-2.0
eskibars/domoticz
dzVents/runtime/integration-tests/testIntegration.lua
6
23274
package.path = package.path .. ";../?.lua;../device-adapters/?.lua;./data/?.lua;../../../scripts/dzVents/generated_scripts/?.lua;" .. "../../../scripts/lua/?.lua" local TestTools = require('domoticzTestTools')('8080', true) local socket = require("socket") local _ = require 'lodash' local DUMMY_HW = 15 local SW...
gpl-3.0
dev-osrose/osIROSE-new
scripts/mobs/ai/ruper_wizard.lua
2
1953
registerNpc(347, { walk_speed = 210, run_speed = 700, scale = 150, r_weapon = 1064, l_weapon = 0, level = 98, hp = 27, attack = 413, hit = 219, def = 313, res = 359, avoid...
apache-2.0
Wohlhabend-Networks/PGE-Project
Engine/_resources/script/maincore_level.lua
1
1661
-- We need to reference all placed objects with lua or the garbage collector will hit it local __refs = {} __refs.players = {} __refs.npcs = {} -- Debug stuff local deb_i = 0 local function temp_count(t) local i = 0 for _,__ in pairs(t) do i = i + 1 end return i end -- Debug stuff end function onLoop() if(Settin...
gpl-3.0
fire855/android_external_skia
tools/lua/scrape.lua
145
2246
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
bsd-3-clause
MinetestForFun/minetest-minetestforfun-server
mods/3d_armor/3d_armor_ui/init.lua
3
1819
-- support for i18n local S = armor_i18n.gettext local F = minetest.formspec_escape local has_technic = minetest.get_modpath("technic") ~= nil if not minetest.global_exists("unified_inventory") then minetest.log("warning", S("3d_armor_ui: Mod loaded but unused.")) return end if unified_inventory.sfinv_compat_layer ...
unlicense
alikingambav/archer3
bot/utils.lua
11
26466
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")() JSON = (loadfile "./libs/...
gpl-2.0
npge/lua-npge
spec/algo/PrimaryHits_spec.lua
2
1842
-- lua-npge, Nucleotide PanGenome explorer (Lua module) -- Copyright (C) 2014-2016 Boris Nagaev -- See the LICENSE file for terms of use. describe("npge.algo.PrimaryHits", function() it("finds hits using blast+ combining groups of sequences", function() local Sequence = require 'npge.model.Sequence' ...
mit
motangish/OpenComputers
MGOS/lib/BIMAGE.lua
1
4662
local bimage = {} local gpu = require("BGPU") local comp = require("computer") local serial = require("serialization") local fs = require("filesystem") local unicode = require("unicode") function bimage.getPattern(x, y, w, h, color) local pattern = {} pattern.w, pattern.h = w, h for i = 1, h do pattern[i] =...
gpl-3.0
lipengyu/lsyncd
tests/l4rsyncdata.lua
17
1554
#!/usr/bin/lua require("posix") dofile("tests/testlib.lua") cwriteln("****************************************************************") cwriteln(" Testing layer 4 default rsync with simulated data activity ") cwriteln("****************************************************************") local tdir, srcdir, trgdir ...
gpl-2.0
halmani/Lua
scripts/douguya.lua
1
2302
-- 店員タイプごとの会話データ talk_data = { -- 店員 default = { welcome = "いらっしゃいませ!道具屋「ルア」へようこそ!", select = "何にするかい?", error = "え?何だって?", nomoney = "%s だね。でもお金が %d円足りないみたいだね。" .. "またおいで\n", success = "%s だね。じゃあ %d円いただくよ。\n", bye = "またいらっしゃい!", }, -- 女性店員 woman = { welcome = "こんにちわ!道具屋「ルア」へようこそ!", select = "何...
apache-2.0
notcake/gooey
lua/gooey/ui/controls/gcomboboxitem.lua
1
3640
local self = {} Gooey.ComboBoxItem = Gooey.MakeConstructor (self) --[[ Events: Deselected () Fired when this item has been deselected. EnabledChanged (enabled) Fired when this item has been enabled or disabled. IconChanged (string icon) Fired when this item's icon has changed. Selected () ...
gpl-3.0
oregamikiller/cocos2dPod
cocos/scripting/lua-bindings/auto/api/UserDefault.lua
9
4601
-------------------------------- -- @module UserDefault -- @parent_module cc -------------------------------- -- Set integer value by key.<br> -- param key The key to set.<br> -- param value A integer value to set to the key.<br> -- js NA -- @function [parent=#UserDefault] setIntegerForKey -- @param self -- @param #...
mit
PurgePJ/VouchBot
deps/discordia/utils/Deque.lua
3
1978
local Deque, property, method = class('Deque') Deque.__description = "Implementation of a double-ended queue." function Deque:__init() self._objects = {} self._first = 0 self._last = -1 end local function getCount(self) return self._last - self._first + 1 end local function pushLeft(self, obj) self._first = sel...
gpl-3.0
thejonwong/huginenfuse
huginenfuse.lrplugin/helper.lua
1
3643
--[[---------------------------------------------------------------------------- Copyright (c) 2015, Jonathan Wong All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must...
bsd-3-clause
holyscroll/holyscroll
plugins/lock_sticker.lua
1
19839
-- data saved to data/moderation.json do local administrators_only = 'For administrator only!' local moderators_only = 'For moderators only!' local function create_group(msg) if not is_admin(msg) then return administrators_only end local group_creator = msg.from.print_name create_group_chat (group_creator, grou...
gpl-2.0
icebreaker/premake-dev
tests/actions/codelite/codelite_files.lua
8
1140
-- -- tests/actions/codelite/codelite_files.lua -- Validate generation of files block in CodeLite C/C++ projects. -- Copyright (c) 2011 Jason Perkins and the Premake project -- T.codelite_files = { } local suite = T.codelite_files local codelite = premake.codelite -- -- Setup -- local sln, prj function suit...
bsd-3-clause
i-z/cocos2d-x-samples
samples/KillBug/src/cocos/framework/components/event.lua
62
4752
local Event = class("Event") local EXPORTED_METHODS = { "addEventListener", "dispatchEvent", "removeEventListener", "removeEventListenersByTag", "removeEventListenersByEvent", "removeAllEventListeners", "hasEventListener", "dumpAllEventListeners", } function Event:init_() self.tar...
mit
tahashakiba/boomrange_bot
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
szagoruyko/gtsrb.torch
Optim.lua
4
8042
--[[ That would be the license for Optim.lua BSD License For fbcunn software Copyright (c) 2014, Facebook, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistri...
mit
notcake/gooey
lua/gooey/ui/controls/gcomboboxx.lua
1
4308
local PANEL = {} function PANEL:Init () self.Autocompletion = vgui.Create ("GListBox", self) self.Autocompletion:SetMouseInputEnabled (true) self.Autocompletion:SetMultiple (false) self.Autocompletion:SetVisible (false) self.Autocompletion.Think = function (comboBox) if not self:IsValid () then com...
gpl-3.0
opentomb/OpenTomb
scripts/entity/entity_model_id_override.lua
2
5094
-- OPENTOMB ENTITY MODEL OVERRIDE SCRIPT -- by TeslaRus -------------------------------------------------------------------------------- -- The purpose of this script is to replace certain in-game models with another -- ones. This is needed for early TR versions, which had sprites instead of -- in-level items. -------...
lgpl-3.0
u255436/CppSharp
build/scripts/Build.lua
5
1685
require "Utils" function get_msbuild_path() local msbuild = '%SystemRoot%\\system32\\reg.exe query "HKLM\\SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\4.0" /v MSBuildToolsPath' local val = execute(msbuild) for i in string.gmatch(val, "%S+") do if os.isdir(i) then return i end end error("MSBuild path coul...
mit
npge/lua-npge
src/npge/alignment/init.lua
2
1046
-- lua-npge, Nucleotide PanGenome explorer (Lua module) -- Copyright (C) 2014-2016 Boris Nagaev -- See the LICENSE file for terms of use. return { left = require 'npge.alignment.left', anchor = require 'npge.alignment.anchor', toAtgcn = require 'npge.alignment.toAtgcn', toAtgcnAndGap = require 'npge.al...
mit
dev-osrose/osIROSE-new
scripts/npcs/ai/[arumic_researcher]_catherine_clara.lua
2
1069
registerNpc(1212, { walk_speed = 0, run_speed = 0, scale = 110, r_weapon = 0, l_weapon = 0, level = 10, hp = 100, attack = 100, hit = 100, def = 100, res = 100, avoid ...
apache-2.0
josephholsten/redis
deps/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
bsd-3-clause
cvvergara/vrp-trash-collection
tools/osrm-work/uruguay/car-new.lua
6
12954
-- Begin of globals --require("lib/access") --function temporarily inlined barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["checkpoint"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["lift_gate"] = true, ["no"] = true, ["entrance"] = true } access_tag_whitelist = { [...
mit
MinetestForFun/minetest-minetestforfun-server
mods/unified_inventory/waypoints.lua
8
6964
local S = unified_inventory.gettext local F = unified_inventory.fgettext local hud_colors = { {"#FFFFFF", 0xFFFFFF, S("White")}, {"#DBBB00", 0xf1d32c, S("Yellow")}, {"#DD0000", 0xDD0000, S("Red")}, {"#2cf136", 0x2cf136, S("Green")}, {"#2c4df1", 0x2c4df1, S("Blue")}, } local hud_colors_max = #hud_colors -- Store...
unlicense
AntumDeluge/arianne-stendhal
data/script/region/atlantis/music.lua
3
1410
--[[ *************************************************************************** * Copyright © 2020 - Arianne * *************************************************************************** *************************************************************************** * ...
gpl-2.0
dev-osrose/osIROSE-new
scripts/mobs/ai/nigrum.lua
2
1075
registerNpc(383, { walk_speed = 300, run_speed = 1100, scale = 280, r_weapon = 0, l_weapon = 0, level = 120, hp = 217, attack = 695, hit = 336, def = 897, res = 364, avoid...
apache-2.0
r4dikal/Bd
libs/serpent.lua
656
7877
local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License local c, d = "Paul Kulchenko", "Lua serializer and pretty printer" local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'} local badtype = {thread = true, userdata = true, cdata = true} lo...
gpl-3.0
opentomb/OpenTomb
scripts/strings/portuguese-ptbr/global_items.lua
1
3366
-- OPENTOMB INVENTORY GLOBAL ITEM NAMES -- by Lwmte, Sep 2014 -- Brazilian Portuguese translation by: Rafael Fontenelle -- Translation Version: 1.0.0.0 (January 17, 2018) -------------------------------------------------------------------------------- -- In this file, we list all the global item names used across all ...
lgpl-3.0
pingidentity/lua-resty-openidc
tests/spec/pkce_spec.lua
1
3301
local http = require('socket.http') local test_support = require('test_support') require 'busted.runner'() describe('when pkce is disabled in authorize request', function() test_support.start_server() teardown(test_support.stop_server) local _, status, headers = http.request({ url = 'http://127.0.0.1/defaul...
apache-2.0
dev-osrose/osIROSE-new
scripts/npcs/ai/[cleric]_karitte.lua
2
1065
registerNpc(1053, { walk_speed = 0, run_speed = 0, scale = 120, r_weapon = 0, l_weapon = 0, level = 10, hp = 100, attack = 100, hit = 100, def = 100, res = 100, avoid ...
apache-2.0
dev-osrose/osIROSE-new
scripts/mobs/ai/hunter_clown.lua
2
1950
registerNpc(186, { walk_speed = 170, run_speed = 700, scale = 110, r_weapon = 1042, l_weapon = 0, level = 50, hp = 23, attack = 228, hit = 144, def = 131, res = 70, avoid ...
apache-2.0
jeffrysleddens/KarniCrap
libs/LibStub/LibStub.lua
10
2251
-- $Id: LibStub.lua 103 2014-10-16 03:02:50Z mikk $ -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/addons/libstub/ for more info -- LibStub is hereby placed in the Public Domain -- Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke local LIBSTUB_MAJOR...
gpl-3.0
ld-test/luarocks
src/luarocks/purge.lua
20
2636
--- Module implementing the LuaRocks "purge" command. -- Remove all rocks from a given tree. --module("luarocks.purge", package.seeall) local purge = {} package.loaded["luarocks.purge"] = purge local util = require("luarocks.util") local fs = require("luarocks.fs") local path = require("luarocks.path") local search =...
mit
oregamikiller/cocos2dPod
cocos/scripting/lua-bindings/auto/api/Physics3DRigidBody.lua
11
12856
-------------------------------- -- @module Physics3DRigidBody -- @extend Physics3DObject -- @parent_module cc -------------------------------- -- Set the acceleration. -- @function [parent=#Physics3DRigidBody] setGravity -- @param self -- @param #vec3_table acceleration -- @return Physics3DRigidBody#Physics3DRigi...
mit
i-z/cocos2d-x-samples
samples/FantasyWarrior3D/src/cocos/cocosbuilder/CCBReaderLoad.lua
79
5530
ccb = ccb or {} function CCBReaderLoad(strFilePath,proxy,owner) if nil == proxy then return nil end local ccbReader = proxy:createCCBReader() local node = ccbReader:load(strFilePath) local rootName = "" --owner set in readCCBFromFile is proxy if nil ~= owner then --C...
mit
zzuse/hammerspoon
widgets/hcalendar.lua
2
6229
hcalbgcolor = {red=0,blue=0,green=0,alpha=0.3} hcaltitlecolor = {red=1,blue=1,green=1,alpha=0.3} offdaycolor = {red=255/255,blue=120/255,green=120/255,alpha=1} hcaltodaycolor = {red=1,blue=1,green=1,alpha=0.2} midlinecolor = {red=1,blue=1,green=1,alpha=0.5} midlinetodaycolor = {red=0,blue=1,green=186/255,alpha=0.8} mid...
mit
PurgePJ/VouchBot
deps/discordia/libs/enums.lua
1
3711
local function enum(tbl) local call = {} for k, v in pairs(tbl) do if call[v] then return error(string.format('enum clash for %q and %q', k, call[v])) end call[v] = k end return setmetatable({}, { __call = function(_, k) if call[k] then return call[k] else return error('invalid...
gpl-3.0
lytedev/love2d-bootstrap
lib/animation/state.lua
1
4457
--[[ File: src/animation/state.lua Author: Daniel "lytedev" Flanagan Website: http://dmf.me A manager for an animation Group and for drawing the current state. ]]-- local Frame = require("lib.animation.frame") local State = Class{} function State:init(image, group, size, initialKey) self:reset() ...
mit
eladhoffer/eladtools
GlobalDominantPooling.lua
2
1246
require 'nn' require 'cunn' local GlobalDominantPooling, parent = torch.class('nn.GlobalDominantPooling', 'nn.Module') function GlobalDominantPooling:__init(ratio) self.ratio = ratio or 0.25 self.output = torch.Tensor() self.mask = torch.Tensor() self.buffer = torch.Tensor() self.gradInput = torch.Tensor() e...
mit
bn7/darkstar
scripts/zones/Uleguerand_Range/Zone.lua
11
2413
----------------------------------- -- -- Zone: Uleguerand_Range (5) -- ----------------------------------- package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/weather"); require("scripts/globals/zone"); requi...
gpl-3.0
bn7/darkstar
scripts/zones/Selbina/npcs/Explorer_Moogle.lua
17
1855
----------------------------------- -- Area: Selbina -- NPC: Explorer Moogle ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/teleports"...
gpl-3.0
bn7/darkstar
scripts/zones/North_Gustaberg/npcs/qm2.lua
14
1694
----------------------------------- -- Area: North Gustaberg -- NPC: qm2 (???) -- Involved in Quest "As Thick As Thieves" -- @pos -232.924 99.107 442.990 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c999013.lua
1
8398
--水边的幻想 濑笈叶 local M = c999013 local Mid = 999013 function M.initial_effect(c) --link summon c:EnableReviveLimit() Nef.AddLinkProcedureWithDesc(c, aux.FilterBoolFunction(Card.IsRace, RACE_PLANT), 2, 2, nil, aux.Stringid(Mid, 2)) --link summon custom local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e...
gpl-2.0
bn7/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/Grounds_Tome.lua
30
1115
----------------------------------- -- Area: Outer Horutoto Ruins -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player...
gpl-3.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/contrib/luasrcdiet/lua/optlex.lua
125
31588
--[[-------------------------------------------------------------------- optlex.lua: does lexer-based optimizations This file is part of LuaSrcDiet. Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net> The COPYRIGHT file describes the conditions under which this software may be distributed. See the Chan...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c10006.lua
1
2678
--百鬼王 伊吹萃香 function c10006.initial_effect(c) --xyz summon c:EnableReviveLimit() aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x208),8,2) --atk up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(10006,0)) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) e1:SetType(EFFECT_TYPE...
gpl-2.0
Dysoch/DyWorld
DyWorld-Dynamics/data/core/items/satellites-dyson.lua
1
1086
for i = 1,5 do data:extend({ { type = "item", name = "basic-dyson-satellite-"..i, icons = { { icon = "__base__/graphics/icons/satellite.png", }, }, icon_size = 64, icon_mipmaps = 4, subgroup = DyDs.."satellites-3", order = (-1 + i), stack_size = 1, }, { type = "item", ...
gpl-3.0
bn7/darkstar
scripts/zones/Kuftal_Tunnel/npcs/qm5.lua
17
1466
----------------------------------- -- Area: Kuftal Tunnel -- NPC: ??? -- Involved in Mission: Bastok 8-2 ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); requi...
gpl-3.0
bn7/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm4.lua
12
1829
----------------------------------- -- Area: The Sanctuary of Zitah -- NPC: ??? -- Finishes Quest: Lovers in the Dusk -- @zone 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("...
gpl-3.0
bn7/darkstar
scripts/zones/Al_Zahbi/npcs/Devonte.lua
14
1034
----------------------------------- -- Area: Al Zahbi -- NPC: Devonte -- Type: Standard NPC -- @zone 48 -- @pos 29.449 -1 142.671 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------------...
gpl-3.0
yinjun322/quick-ng
quick/samples/coinflip/src/app/scenes/PlayLevelScene.lua
8
1890
local Levels = import("..data.Levels") local Board = import("..views.Board") local AdBar = import("..views.AdBar") local PlayLevelScene = class("PlayLevelScene", function() return display.newScene("PlayLevelScene") end) function PlayLevelScene:ctor(levelIndex) local bg = display.newSprite("#PlayLevelSceneBg....
mit
Klius/love2dtestpong
libs/shine/boxblur.lua
7
3038
--[[ The MIT License (MIT) Copyright (c) 2015 Matthias Richter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
gpl-3.0
nenonahar/GENERAAL
plugins/lock_inlin.lua
2
1329
--[[ -- تم التعديل و التعريب بواسطه @KNSLTHM --[[ Dev @KNSLTHM Dev @NAHAR2_BOT CH > @NENO_CH --]] do local function pre_process(msg) local inline = 'mate:'..msg.to.id if msg.text == '[unsupported...
gpl-2.0
Thadah/GarryWare13
entities/entities/ware_trigger/cl_init.lua
1
1940
include("shared.lua") ENT.RenderGroup = RENDERGROUP_TRANSLUCENT function ENT:Draw() end local function DrawBox(pos, mins, maxs, F, R, U) local bld = (pos + mins.x * F + mins.y * R + mins.z * U):ToScreen() local brd = (pos + mins.x * F + maxs.y * R + mins.z * U):ToScreen() local frd = (pos + maxs.x * F + maxs.y...
gpl-2.0
sarahgerweck/Ace3
AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua
38
6512
--[[----------------------------------------------------------------------------- Keybinding Widget Set Keybindings in the Config UI. -------------------------------------------------------------------------------]] local Type, Version = "Keybinding", 24 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not Ace...
bsd-3-clause
bn7/darkstar
scripts/zones/Cape_Teriggan/npcs/Dultwa_IM.lua
14
3310
----------------------------------- -- Area: Cape Teriggan -- NPC: Dulwa, I.M. -- Type: Border Conquest Guards -- @pos 119 0 282 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("script...
gpl-3.0
bn7/darkstar
scripts/globals/weaponskills/stringing_pummel.lua
19
1733
----------------------------------- -- Stringing Pummel -- Sword weapon skill -- Skill Level: N/A -- Delivers a sixfold attack. Damage varies with TP. Kenkonken: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Puppetmaster) quest. -- Aligned with the Shadow Gorget, Soil Gorget...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c7001101.lua
1
1130
--无意识的破坏冲动 function c7001101.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(7001101,0)) e1:SetCategory(CATEGORY_COIN+CATEGORY_DESTROY+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c7001101.tg) e1:SetOperation(c7001101.act...
gpl-2.0
bn7/darkstar
scripts/zones/Abyssea-Tahrongi/npcs/qm15.lua
14
1566
----------------------------------- -- Zone: Abyssea-Tahrongi -- NPC: ??? -- Spawns Lacovie -- @pos ? ? ? 45 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- function...
gpl-3.0
bn7/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20u.lua
26
3263
----------------------------------- -- Area: Alzadaal Undersea Ruins -- Door: Gilded Gateway (Arrapago) -- @pos -580 0 -159 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("sc...
gpl-3.0
bn7/darkstar
scripts/globals/items/red_curry_bun_+1.lua
12
2062
----------------------------------------- -- ID: 5765 -- Item: red_curry_bun_+1 -- Food Effect: 60 Min, All Races ----------------------------------------- -- TODO: Group effects -- Health 35 -- Strength 7 -- Agility 3 -- Attack % 25 (cap 150) -- Ranged Atk % 25 (cap 150) -- Demon Killer 6 -- Resist Sleep +5 -- HP reco...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c999402.lua
1
2418
--禁弹『折反射』 local M = c999402 local Mid = 999402 function M.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE) e1:SetDescription(aux.Stringid(Mid, 0)) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0, 0x1e0) e1:SetCondition...
gpl-2.0
bn7/darkstar
scripts/zones/Lower_Jeuno/npcs/_6tc.lua
25
4144
----------------------------------- -- Area: Lower Jeuno -- NPC: Door: "Neptune's Spire" -- Starts and Finishes Quest: Beat Around the Bushin -- @zone 245 -- @pos 35 0 -15 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
li-wl/kong
kong/plugins/http-log/handler.lua
1
4056
local basic_serializer = require "kong.plugins.log-serializers.basic" local BasePlugin = require "kong.plugins.base_plugin" local cjson = require "cjson" local url = require "socket.url" local string_format = string.format local cjson_encode = cjson.encode local HttpLogHandler = BasePlugin:extend() HttpLogHandler.PR...
apache-2.0
HuangYuNan/thcsvr
expansions/script/c25044.lua
1
4077
--毒✿梅蒂欣·梅兰可莉 function c25044.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(25044,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,25043) e1:SetCost(c25044.spcost) e1:SetTarget(c25044.sp...
gpl-2.0
bn7/darkstar
scripts/zones/Kazham/npcs/Mitti_Haplihza.lua
17
1072
----------------------------------- -- Area: Kazham -- NPC: Mitti Haplihza -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- ...
gpl-3.0
nolansingroy/cocos2d-x-samples
samples/KillBug/src/cocos/extension/DeprecatedExtensionFunc.lua
61
1351
if nil == cc.Control then return end --tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of CCControl will be deprecated end local CCControlDeprecated = { } function CCControlDeprecated.ad...
mit
XJMLN/MTA-PSZ
resources/[PSZMTA]/psz-drift/utils.lua
1
1368
--[[ Drift - zliczanie punktow @author Jakub 'XJMLN' Starzak <jack@pszmta.pl @package PSZMTA.psz-drift @copyright Jakub 'XJMLN' Starzak <jack@pszmta.pl> Nie mozesz uzywac tego skryptu bez mojej zgody. Napisz - byc moze sie zgodze na uzycie. ]]-- function isSportowyPojazd(model) local sportowe={402,494,502,503,411...
mit
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-res.lua
80
3097
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 h...
gpl-2.0
bn7/darkstar
scripts/zones/Uleguerand_Range/npcs/HomePoint#5.lua
27
1258
----------------------------------- -- Area: Uleguerand_Range -- NPC: HomePoint#5 -- @pos ----------------------------------- package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Uleguerand_Range/TextIDs"); require("scripts/globals/homepoint"); ...
gpl-3.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/applications/luci-polipo/luasrc/model/cbi/polipo.lua
79
5961
--[[ LuCI - Lua Configuration Interface Copyright 2008 Aleksandar Krsteski <alekrsteski@gmail.com> 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$...
gpl-2.0
bn7/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5ca.lua
14
2341
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Mahogany Door -- Involved In Quest: Making Headlines -- Involved in Mission 2-1 -- @pos -11 0 20 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
bn7/darkstar
scripts/globals/items/grilled_lik.lua
12
1346
----------------------------------------- -- ID: 5648 -- Item: Grilled Lik -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Dexterity 4 -- Mind -3 -- Accuracy +2 -- Attack +8 ---------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
bn7/darkstar
scripts/zones/Dynamis-Windurst/mobs/Xoo_Kaza_the_Solemn.lua
17
1160
----------------------------------- -- Area: Dynamis Windurst -- NPC: Xoo Kaza the Solemn -- Boss Trigger for RDM NM ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- o...
gpl-3.0
abbasgh12345/extremeseed
plugins/invite.lua
299
1025
-- Invite other user to the chat group. -- Use !invite name User_name or !invite id id_number -- The User_name is the print_name (there are no spaces but _) do local function callback(extra, success, result) vardump(success) vardump(result) end local function run(msg, matches) local user = matches[2] -- Use...
gpl-2.0
Arashbrsh/trea
plugins/invite.lua
299
1025
-- Invite other user to the chat group. -- Use !invite name User_name or !invite id id_number -- The User_name is the print_name (there are no spaces but _) do local function callback(extra, success, result) vardump(success) vardump(result) end local function run(msg, matches) local user = matches[2] -- Use...
gpl-2.0
bn7/darkstar
scripts/zones/Port_San_dOria/npcs/Liloune.lua
17
1400
----------------------------------- -- Area: Port San d'Oria -- NPC: Liloune -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ---...
gpl-3.0
bn7/darkstar
scripts/zones/Northern_San_dOria/npcs/Morunaude.lua
17
1453
----------------------------------- -- Area: Northern San d'Oria -- NPC: Morunaude -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/globals...
gpl-3.0
bn7/darkstar
scripts/globals/items/wild_steak.lua
12
1379
----------------------------------------- -- ID: 4519 -- Item: wild_steak -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 4 -- Intelligence -2 -- Attack % 25 -- Attack Cap 50 ----------------------------------------- require("scripts/globals/status"); --------------------------...
gpl-3.0
bn7/darkstar
scripts/globals/items/chunk_of_sweet_lizard.lua
12
1408
----------------------------------------- -- ID: 5738 -- Item: chunk_of_sweet_lizard -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 5 -- MP 5 -- Dexterity 1 -- hHP +2 -- hMP +2 ----------------------------------------- require("scripts/globals/status"); ------------------------------...
gpl-3.0
bn7/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fh.lua
2
1248
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 110 -34 100 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); requir...
gpl-3.0
AntonioModer/Algorithm-Implementations
Egyptian_Fractions/Lua/Yonaba/egyptian_fractions_test.lua
26
1335
-- Tests for egyptian_fractions.lua local egypt = require 'egyptian_fractions' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass =...
mit
bn7/darkstar
scripts/globals/weaponskills/mordant_rime.lua
18
2236
----------------------------------- -- Mordant Rime -- Dagger weapon skill -- Skill level: N/A -- Description: Delivers a twofold attack that decreases target's movement speed. Chance of decreasing movement speed varies with TP. Carnwenhan: Aftermath effect varies with TP. -- Aligned with the Breeze Gorget, Thunder Gor...
gpl-3.0
bn7/darkstar
scripts/globals/weaponskills/atonement.lua
9
4322
----------------------------------- -- Atonement -- TODO: This needs to be reworked, as this weapon skill does damage based on current enmity, not based on stat modifiers. http://wiki.ffxiclopedia.org/wiki/Atonement http://www.bg-wiki.com/bg/Atonement -- Sword weapon skill -- Skill Level: N/A -- Delivers a Twofold a...
gpl-3.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua
55
8246
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-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 htt...
gpl-2.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/ipkg-ar71xx/luci-mod-admin-full/usr/lib/lua/luci/model/cbi/admin_network/vlan.lua
55
8246
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-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 htt...
gpl-2.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/modules/admin-full/dist/usr/lib/lua/luci/model/cbi/admin_network/vlan.lua
55
8246
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-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 htt...
gpl-2.0
Cloudef/darkstar
scripts/zones/Lufaise_Meadows/npcs/qm4.lua
2
1213
----------------------------------- -- Area: Lufaise Meadows -- NPC: ??? - spawns Splinterspine Grukjuk for quest "A Hard Day's Knight" -- !pos -38.605 -9.022 -290.700 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
Cloudef/darkstar
scripts/zones/Port_San_dOria/npcs/Fiva.lua
5
1634
----------------------------------- -- Area: Port San d'Oria -- NPC: Fiva -- only sells when San d'Oria controls Kolshushu ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scri...
gpl-3.0
NiLSPACE/Chatter
api.lua
1
1174
-- This file contains all the chatter-api related functions. -- Contains all the plugins that want to change something in chat. g_Plugins = {} -- Registers a plugin. -- a_Tag is the tag you want to replace for example {FACTION} -- a_PluginName is the name of the plugin who is calling -- a_CallbackName is the...
apache-2.0
nyasukun/openstackcraft
world/Plugins/ProtectionAreas/CurrentLng.lua
5
3025
-- CurrentLng.lua -- This file provides all the translatable strings -- The expectation is that the translators will create copies of this file, translate the texts and then the users will overwrite this file with a specific language version -- Note that the individual languages must not have ".lua" extension, otherwi...
apache-2.0
Cloudef/darkstar
scripts/globals/items/plate_of_mushroom_paella_+1.lua
2
1137
----------------------------------------- -- ID: 5971 -- Item: Plate of Mushroom Paella +1 -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 43 -- Mind 6 -- Magic Accuracy 6 -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
fiallo1313veeee/Anti_bot
plugins/pvs.lua
1
3090
local function usernameinfo (user) if user.username then return '@'..user.username end if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_n...
gpl-2.0
ryanjmulder/premake-4.x
src/base/string.lua
31
1025
-- -- string.lua -- Additions to Lua's built-in string functions. -- Copyright (c) 2002-2008 Jason Perkins and the Premake project -- -- -- Returns an array of strings, each of which is a substring of s -- formed by splitting on boundaries formed by `pattern`. -- function string.explode(s, pattern, plain) if (pa...
bsd-3-clause
Cloudef/darkstar
scripts/globals/spells/cursna.lua
2
2366
----------------------------------------- -- Spell: Cursna -- Removes curse and bane from target. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end; ...
gpl-3.0
Cloudef/darkstar
scripts/globals/abilities/dark_arts.lua
2
1508
----------------------------------- -- Ability: Dark Arts -- Optimizes black magic capability while lowering white magic proficiency. Grants a bonus to enfeebling, elemental, and dark magic. Also grants access to Stratagems. -- Obtained: Scholar Level 10 -- Recast Time: 1:00 -- Duration: 2:00:00 -----------------------...
gpl-3.0