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 |
|---|---|---|---|---|---|
ddumont/darkstar | scripts/zones/Misareaux_Coast/npcs/_0p8.lua | 17 | 1805 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Iron Gate
-- Entrance to Sacrarium
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Misareaux_Coast/... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/8_2/3858/common_3858.lua | 1 | 4414 | ---------------------------------------------------------------------------------------------------
-- Common module
---------------------------------------------------------------------------------------------------
--[[ Required Shared libraries ]]
local actions = require("user_modules/sequences/actions")
--[[ Modul... | bsd-3-clause |
Quit/remplace | call_handler.lua | 1 | 3173 | local CallHandler = class()
local Color4 = _radiant.csg.Color4
local Cube3 = _radiant.csg.Cube3
local Point3 = _radiant.csg.Point3
function CallHandler:select_area(session, response)
stonehearth.selection:select_xz_region():require_supported(true):use_outline_marquee(Color4(255, 255, 255, 32), Color4(120, 120, 120, ... | mit |
Squeakz/darkstar | scripts/zones/Northern_San_dOria/npcs/Chaupire.lua | 13 | 1220 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Chaupire
-- Guild Merchant NPC: Woodworking Guild
-- @pos -174.476 3.999 281.854 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Abyssea-Vunkerl/npcs/qm6.lua | 14 | 1342 | -----------------------------------
-- Zone: Abyssea-Vunkerl
-- NPC: qm6 (???)
-- Spawns Rakshas
-- @pos ? ? ? 217
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[
... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/m&p_dumpling.lua | 12 | 1257 | -----------------------------------------
-- ID: 5641
-- Item: M&P Dumpling
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Intelligence 5
-- Agility -5
-- MP 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/TheSameApp/Protocol/002_Protocol_SubscribeButton_from_2_apps_with_same_appName_same_appID_DIFF_devices.lua | 1 | 3241 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0204-same-app-from-multiple-devices.md
-- Description:
-- Check that same applications from different mobiles having the same appName... | bsd-3-clause |
kphillisjr/duktape | tests/perf/test-reg-readwrite-object.lua | 19 | 7985 | function test()
local a, b, c, d, i;
a = {}
b = {}
c = {}
d = {}
for i=1,1e6 do
-- 100
a = a; a = b; a = c; a = d; b = a; b = b; b = c; b = d; c = a; c = b
a = a; a = b; a = c; a = d; b = a; b = b; b = c; b = d; c = a; c = b
a = a; a = b; a = c; a = d; b = a; b ... | mit |
ddumont/darkstar | scripts/zones/Abyssea-Altepa/npcs/qm5.lua | 14 | 1342 | -----------------------------------
-- Zone: Abyssea-Altepa
-- NPC: qm5 (???)
-- Spawns Tablilla
-- @pos ? ? ? 218
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[
... | gpl-3.0 |
cp1337/devland | data/npc/lib/npcsystem/npchandler.lua | 1 | 13158 | -- Advanced NPC System (Created by Jiddo),
-- Modified by Talaturen.
if(NpcHandler == nil) then
-- Constant indexes for defining default messages.
MESSAGE_GREET = 1 -- When the player greets the npc.
MESSAGE_FAREWELL = 2 -- When the player unGreets the npc.
MESSAGE_BUY = 3 -- When the npc asks the pla... | gpl-2.0 |
gogins/gogins.github.io | csound/silencio/lua/ChordSpaceGroup_V4_R48_g1_000000.lua | 2 | 19022 | return { ["optisForIndexes"] = { { -4, -2, 2, 4, ["velocity"] = { 0, 0, 0, 0 }, ["channel"] = { 0, 0, 0, 0 }, ["duration"] = { 0, 0, 0, 0 }, ["pan"] = { 0, 0, 0, 0 } }, { -4, -2, 3, 3, ["velocity"] = { 0, 0, 0, 0 }, ["channel"] = { 0, 0, 0, 0 }, ["duration"] = { 0, 0, 0, 0 }, ["pan"] = { 0, 0, 0, 0 } }, { -4, -1, 1, 4,... | lgpl-2.1 |
Squeakz/darkstar | scripts/zones/Castle_Oztroja/npcs/_47z.lua | 13 | 1409 | -----------------------------------
-- 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/Castle_Oztr... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Hieroglyphics.lua | 12 | 2531 | -----------------------------------
-- Area: Buburimu_Peninsula
-- NPC: Hieroglyphics
-- Dynamis Buburimu_Dunes Enter
-- @pos 117 -10 133 172 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
ddumont/darkstar | scripts/zones/East_Sarutabaruta/npcs/Signpost.lua | 17 | 2126 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Signpost
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Sarutabaruta/TextIDs");
-----------------------------------
-- onTrade A... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/SEAT/GetInteriorVehicleData/005_GENERIC_ERROR_in_case_HMI_respond_with_invalid_data.lua | 1 | 2894 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0105-remote-control-seat.md
-- User story:
-- Use case:
-- Item:
--
-- Description:
-- In case:
-- 1) RC app sends GetInteriorVehicleDat... | bsd-3-clause |
ddumont/darkstar | scripts/globals/items/margherita_pizza.lua | 12 | 1483 | -----------------------------------------
-- ID: 5695
-- Item: margherita_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- HP +30
-- Accuracy +10% (cap 8)
-- Attack +10% (cap 10)
-----------------------------------------
require("scripts/globals/status");
--------------------------... | gpl-3.0 |
ddumont/darkstar | scripts/globals/effects/dia.lua | 34 | 1216 | -----------------------------------
--
-- EFFECT_DIA
--
----------------------------------
-- Quick Explanation of Algorithm:
-- Dia 1: Power of 1. Results in reduced defense of ~5.27% (27/512) and 1 hp/tick damage.
-- Dia 2: Power of 2. Results in reduced defense of ~10.35% (53/512) and 2 hp/tick damage.
-- Dia... | gpl-3.0 |
jlcvp/otxserver | data/monster/humanoids/orc_spearman.lua | 2 | 2927 | local mType = Game.createMonsterType("Orc Spearman")
local monster = {}
monster.description = "an orc spearman"
monster.experience = 38
monster.outfit = {
lookType = 50,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 50
monster.Bestiary = {
class = "Hu... | gpl-2.0 |
ddumont/darkstar | scripts/zones/La_Theine_Plateau/mobs/Lumbering_Lambert.lua | 13 | 1293 | -----------------------------------
-- Area: La Theine Plateau
-- MOB: Lumbering Lambert
-----------------------------------
require("scripts/zones/La_Theine_Plateau/MobIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
----------------... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/cults_of_tibia/animated_ogre_brute.lua | 2 | 3480 | local mType = Game.createMonsterType("Animated Ogre Brute")
local monster = {}
monster.description = "an animated ogre brute"
monster.experience = 800
monster.outfit = {
lookType = 857,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 1000
monster.maxHeal... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/items/salmon_rice_ball.lua | 18 | 1508 | -----------------------------------------
-- ID: 4590
-- Item: Salmon Rice Ball
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +25
-- Dex +2
-- Vit +2
-- Mnd -1
-- hHP +1
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Atk +40
-- Def +40
--------... | gpl-3.0 |
NickSavage/koreader | frontend/ui/widget/verticalgroup.lua | 10 | 1610 | local WidgetContainer = require("ui/widget/container/widgetcontainer")
--[[
A Layout widget that puts objects under each other
--]]
local VerticalGroup = WidgetContainer:new{
align = "center",
_size = nil,
_offsets = {}
}
function VerticalGroup:getSize()
if not self._size then
self._size = { w... | agpl-3.0 |
Squeakz/darkstar | scripts/zones/Stellar_Fulcrum/npcs/_4z0.lua | 13 | 1623 | -----------------------------------
-- Area: Stellar Fulcrum
-- Door: Qe'Lov Gate
-- @pos -520 -4 17 179
-------------------------------------
package.loaded["scripts/zones/Stellar_Fulcrum/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/globals/bcnm... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Valley_of_Sorrows/Zone.lua | 11 | 1722 | -----------------------------------
--
-- Zone: Valley_of_Sorrows (128)
--
-----------------------------------
package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Valley_of_Sorr... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/PsoXja/npcs/_091.lua | 13 | 2831 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _091 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 350.000 -1.925 -61.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/EaseSineIn.lua | 9 | 1202 |
--------------------------------
-- @module EaseSineIn
-- @extend ActionEase
-- @parent_module cc
--------------------------------
-- brief Create the action with the inner action.<br>
-- param action The pointer of the inner action.<br>
-- return A pointer of EaseSineIn action. If creation failed, return nil.
-- @fu... | mit |
ddumont/darkstar | scripts/zones/Giddeus/npcs/Treasure_Chest.lua | 14 | 3113 | -----------------------------------
-- Area: Giddeus
-- NPC: Treasure Chest
--
-- @pos -158.563 0.999 -226.058 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
r... | gpl-3.0 |
ddumont/darkstar | scripts/zones/La_Theine_Plateau/npcs/Telepoint.lua | 17 | 1697 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/La_Theine_Plateau/TextIDs");
----------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Smoke/API/016_ShowConstantTBT_PositiveCase_SUCCESS.lua | 1 | 4714 | ---------------------------------------------------------------------------------------------------
-- User story: Smoke
-- Use case: ShowConstantTBT
-- Item: Happy path
--
-- Requirement summary:
-- [ShowConstantTBT] SUCCESS: getting SUCCESS:Navigation.ShowConstantTBT()
--
-- Description:
-- Mobile application sends v... | bsd-3-clause |
Squeakz/darkstar | scripts/globals/items/head_of_isleracea.lua | 18 | 1182 | -----------------------------------------
-- ID: 5965
-- Item: Head of Isleracea
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/Validation_of_PolicyTables/283_ATF_Store_pt_exchanged_at_odometer_x_in_PT.lua | 1 | 5795 | ---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [Policies] "pt_exchanged_at_odometer_x" storage into PolicyTable
--
-- Description:
-- Storing value in 'pt_exchanged_at_odometer_x' section of LocalPT
-- 1. Used preconditions:
-- Delete log file an... | bsd-3-clause |
mohammad10427/tele-fighter. | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
mahdikord/mahdim3 | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
aqasaeed/xbot | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
ddumont/darkstar | scripts/globals/items/bunch_of_pamamas.lua | 12 | 1405 | -----------------------------------------
-- ID: 4468
-- Item: Bunch of Pamamas
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength -3
-- Intelligence 1
-- Additional Effect with Opo-Opo Crown
-- HP 50
-- MP 50
-- CHR 14
-- Additional Effect with Kinkobo or
-- Primate Staff
-- DELAY ... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/WidgetSupport/Templates/SetDisplayLayout/001_SetDisplayLayout_2_requests.lua | 1 | 7102 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0216-widget-support.md
--
-- Description: Check that SDL proceed with "SetDisplayLayout" RPC according to req-ts
-- in case if no color ... | bsd-3-clause |
jlcvp/otxserver | data/npc/Jimmy.lua | 2 | 7884 | local internalNpcName = "Jimmy"
local npcType = Game.createNpcType(internalNpcName)
local npcConfig = {}
npcConfig.name = internalNpcName
npcConfig.description = internalNpcName
npcConfig.health = 100
npcConfig.maxHealth = npcConfig.health
npcConfig.walkInterval = 2000
npcConfig.walkRadius = 2
npcConfig.outfit = {
... | gpl-2.0 |
ddumont/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Grounds_Tome.lua | 26 | 1113 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
ddumont/darkstar | scripts/zones/North_Gustaberg/npcs/Heavy_Fog_IM.lua | 14 | 3335 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Heavy Fog, I.M.
-- Type: Border Conquest Guards
-- @pos -520.704 38.75 560.258 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conque... | gpl-3.0 |
yeewang/openwrt-luci | modules/freifunk/luasrc/controller/freifunk/freifunk.lua | 45 | 5576 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.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$
]]--
mod... | apache-2.0 |
jlcvp/otxserver | data/monster/undeads/grim_reaper.lua | 2 | 4165 | local mType = Game.createMonsterType("Grim Reaper")
local monster = {}
monster.description = "a grim reaper"
monster.experience = 5500
monster.outfit = {
lookType = 300,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 465
monster.Bestiary = {
class = "U... | gpl-2.0 |
asoracarbuncle/gearswap | whm.lua | 1 | 20389 | function get_sets()
----------------------------------------------------------------------
-- Bind the keys you wish to use with GearSwap
----------------------------------------------------------------------
send_command('bind f9 gs c toggle idle set')
--------------------------------------------------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/SetMediaClockTimer/003_Non_media_app_REJECTED.lua | 1 | 2509 | ---------------------------------------------------------------------------------------------------
-- User story: API
-- Use case: SetMediaClockTimer
-- Item: REJECTED case, non-media app
--
-- Requirement summary:
-- [SetMediaClockTimer] REJECTED: getting SetMediaClockTimer request from non-media app
--
-- Descriptio... | bsd-3-clause |
Squeakz/darkstar | scripts/globals/spells/bluemagic/cold_wave.lua | 17 | 2131 | -----------------------------------------
-- Spell: Cold Wave
-- Deals ice damage that lowers Agility and gradually reduces HP of enemies within range
-- Spell cost: 37 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 1
-- Stat Bonus: INT-1
-- Level: 52
-- Casting Time: 4 seconds
-- Recast ... | gpl-3.0 |
ddumont/darkstar | scripts/globals/weaponskills/blade_rin.lua | 26 | 1394 | -----------------------------------
-- Blade Rin
-- Katana weapon skill
-- Skill Level: 5
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Light Gorget.
-- Aligned with the Light Belt.
-- Element: None
-- Modifiers: STR:20% ; DEX:20%
-- 100%... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/ferumbras_ascendant/summons/enthralled_demon.lua | 2 | 3549 | local mType = Game.createMonsterType("Enthralled Demon")
local monster = {}
monster.description = "an enthralled demon"
monster.experience = 6000
monster.outfit = {
lookType = 35,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 8200
monster.maxHealth = 8... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Kazham/npcs/Dodmos.lua | 14 | 3149 | -----------------------------------
-- Area: Kazham
-- NPC: Dodmos
-- Starts Quest: Trial Size Trial By Fire
-- @pos 102.647 -14.999 -97.664 250
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
ddumont/darkstar | scripts/globals/abilities/spectral_jig.lua | 7 | 1263 | -----------------------------------
-- Ability: Spectral jig
-- Allows you to evade enemies by making you undetectable by sight and sound.
-- Obtained: Dancer Level 25
-- TP Required: 0
-- Recast Time: 30 seconds
-- Duration: 3 minutes
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
kennethlombardi/moai-graphics | engine/resources/lua/LevelEditor.lua | 2 | 2934 | local Editor = {};
local Input = require "InputManager"
local Factory = require "Factory"
local newObjList = {};
local newObjListCount = 1;
local state = 1; --1 no object highlighted, control camera; 2 object created, control object;
local shift = 1;
function Editor:Update(layer)
local newPosition;
if Input:IsKey... | mit |
kennethlombardi/moai-graphics | half-edge-mesh/editor/generated/starfield.lua | 4 | 5257 | deserialize ("Layer",
{
{--Entry Number: {1}
["visible"]="true",
["type"]="Layer",
["name"]="starfield.lua",
["propContainer"]={2},
["scripts"]={3},
["position"]={4},
},
{--Entry Number: {2}
[1]={5},
[2]={6},
[3]={7},
[4]={8},
[5]={9},
[6]={10},
[7]={11},
[8]={12},
[9]={13},
[10]={14... | mit |
jlcvp/otxserver | data/monster/humanoids/troll_champion.lua | 2 | 2813 | local mType = Game.createMonsterType("Troll Champion")
local monster = {}
monster.description = "a troll champion"
monster.experience = 40
monster.outfit = {
lookType = 281,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 392
monster.Bestiary = {
class ... | gpl-2.0 |
jorgifumi/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/email.lua | 73 | 1673 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("E-Mail Plugin Configuration"),
translate(
"The email plugin creates a unix socket which can be used " ..
"to transmit email-statistics to a running ... | apache-2.0 |
Squeakz/darkstar | scripts/zones/Sih_Gates/Zone.lua | 16 | 1175 | -----------------------------------
--
-- Zone: Sih Gates
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Sih_Gates/TextIDs"] = nil;
require("scripts/zones/Sih_Gates/TextIDs");
-----------------------------------
-- onInitialize
----------------------------... | gpl-3.0 |
PRR78/TelePrr | plugins/anti_spam.lua | 417 | 3978 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Northern_San_dOria/npcs/Shakir.lua | 14 | 1059 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Shakir
-- Type: Standard NPC
-- @zone 231
-- @pos 48.952 -2.999 -16.687
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----... | gpl-3.0 |
imashkan/IMHAUL | plugins/translate.lua | 674 | 1637 |
--[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local p... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Talacca_Cove/Zone.lua | 12 | 1947 | -----------------------------------
--
-- Zone: Talacca_Cove (57)
--
-----------------------------------
package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/globals/settings");
require... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/EaseCubicActionIn.lua | 9 | 1363 |
--------------------------------
-- @module EaseCubicActionIn
-- @extend ActionEase
-- @parent_module cc
--------------------------------
-- brief Create the action with the inner action.<br>
-- param action The pointer of the inner action.<br>
-- return A pointer of EaseCubicActionIn action. If creation failed, retu... | mit |
ddumont/darkstar | scripts/zones/Windurst_Walls/Zone.lua | 30 | 2844 | -----------------------------------
--
-- Zone: Windurst_Walls (239)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
requ... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ej.lua | 13 | 3725 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #6 (J out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/serving_of_flurry_courante.lua | 18 | 1500 | -----------------------------------------
-- ID: 5555
-- Item: serving_of_flurry_courante
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic % 19
-- Magic Cap 65
-- Intelligence 2
-- Magic Regen While Healing 1
-- Wind Resist 5
-----------------------------------------
require("script... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tabar.lua | 6 | 1510 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Tabar
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngag... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/forgotten_knowledge/bosses/the_blazing_time_guardian.lua | 2 | 4243 | local mType = Game.createMonsterType("The Blazing Time Guardian")
local monster = {}
monster.description = "the blazing time guardian"
monster.experience = 50000
monster.outfit = {
lookType = 944,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 150000
mo... | gpl-2.0 |
jchuang1977/luci-1 | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialzones.lua | 68 | 3276 | -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require("luci.asterisk")
local uci = require("luci.model.uci").cursor()
--[[
Dialzone overview table
]]
if not arg[1] then
zonemap = Map("asterisk", "Dial Zones", [[
Dial zones hold patterns of... | apache-2.0 |
ff-kbu/fff-luci | applications/luci-firewall/luasrc/model/cbi/firewall/rules.lua | 62 | 7176 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-2012 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... | apache-2.0 |
Squeakz/darkstar | scripts/globals/abilities/hunters_roll.lua | 19 | 2715 | -----------------------------------
-- Ability: Hunter's Roll
-- Enhances accuracy and ranged accuracy for party members within area of effect
-- Optimal Job: Ranger
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 11
--
-- Die Roll |Without RNG |With RNG
-- -------- ------------ -------
-- 1 |+10 ... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/bowl_of_loach_slop.lua | 12 | 1674 | -----------------------------------------
-- ID: 5669
-- Item: Bowl of Loach Slop
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Make Group Effect
-- Accuracy 7% Cap 15
-- Ranged Accuracy 7% Cap 15
-- HP 7% Cap 15
-- Evasion 3
-----------------------------------------
require("scri... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Windurst_Woods/npcs/Erpolant.lua | 14 | 1051 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Erpolant
-- Type: Standard NPC
-- @zone 241
-- @pos -63.224 -0.749 -33.424
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Temenos/mobs/Ice_Elemental.lua | 28 | 1805 | -----------------------------------
-- Area: Temenos E T
-- NPC: Ice_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Lower_Jeuno/npcs/_l11.lua | 13 | 1543 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -9 0 12
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Lower_Jeuno/npcs/HomePoint#1.lua | 27 | 1269 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: HomePoint#1
-- @pos -98.588 0.001 -183.416 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/ho... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Kazham/npcs/Dakha_Topsalwan.lua | 14 | 1145 | -----------------------------------
-- Area: Kazham
-- NPC: Dakha Topsalwan
-- @zone 250
-- @pos
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Kazham/TextIDs");
---------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Dark.lua | 13 | 2375 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Dark
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles")... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Davoi/npcs/_452.lua | 13 | 1169 | -----------------------------------
-- Area: Davoi
-- NPC: _452 (Elevator Lever)
-- Notes: Used to operate Elevator @450 (actual npc script is _454)
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("s... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/AbstractCheckButton.lua | 4 | 7913 |
--------------------------------
-- @module AbstractCheckButton
-- @extend Widget
-- @parent_module ccui
--------------------------------
--
-- @function [parent=#AbstractCheckButton] getCrossDisabledFile
-- @param self
-- @return ResourceData#ResourceData ret (return value: cc.ResourceData)
--------------... | mit |
Squeakz/darkstar | scripts/zones/QuBia_Arena/mobs/Rojgnoj_s_Left_Hand.lua | 23 | 1152 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("2HGO",math.random(40,80));
end;
-------------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Temenos/mobs/Earth_Elemental.lua | 28 | 1790 | -----------------------------------
-- Area: Temenos E T
-- NPC: Earth_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
collmot/ardupilot | libraries/AP_Scripting/examples/MotorMatrix_fault_tolerant_hex.lua | 18 | 1532 | -- This script is an example setting up a custom motor matrix mix
-- this is the config for hexacopter with the motor rotations configured for improved fault tolerance
-- see: https://arxiv.org/pdf/1403.5986.pdf
-- duplicate the #defines from AP_Motors
local AP_MOTORS_MATRIX_YAW_FACTOR_CW = -1
local AP_MOTORS_MATRIX_... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Port_Bastok/npcs/Powhatan.lua | 29 | 3470 | -----------------------------------
-- Area: Port Bastok
-- NPC: Powhatan
-- Starts & Ends Quest: Welcome to Bastok, Guest of Hauteur
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Port_Bastok/npcs/Powhatan.lua | 29 | 3470 | -----------------------------------
-- Area: Port Bastok
-- NPC: Powhatan
-- Starts & Ends Quest: Welcome to Bastok, Guest of Hauteur
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Temenos/npcs/Matter_Diffusion_Module.lua | 13 | 6621 | -----------------------------------
-- Area: temenos
-- NPC: Matter diffusion module
-- @pos
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
require("scripts/zones/Te... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/SetInteriorVehicleData/014_Change_audio_source_from_MOBILE_APP_keepContext_false.lua | 1 | 3047 | ---------------------------------------------------------------------------------------------------
-- User story: TBD
-- Use case: TBD
--
-- Requirement summary:
-- TBD
--
-- Description:
-- In case:
-- 1) App is RC and Media
-- 2) App in FULL HMI level
-- 3) App tries to change audio source from MOBILE_APP without ke... | bsd-3-clause |
Squeakz/darkstar | scripts/globals/spells/bluemagic/power_attack.lua | 33 | 1732 | -----------------------------------------
-- Spell: Power Attack
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 5 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 1
-- Stat Bonus: MND+1
-- Level: 4
-- Casting Time: 0.5 seconds
-- Recast Time: 7.25 seconds
... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Jugner_Forest/npcs/Alexius.lua | 13 | 1600 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Alexius
-- Involved in Quest: A purchase of Arms & Sin Hunting
-- @pos 105 1 382 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/tit... | gpl-3.0 |
kinow/svnbot | scripts/pubsub.lua | 1 | 17392 | -- pubsub.lua - The big mess that is all the PubSub services :3
PubSubs = PubSubs or {}
-- countDirs(): Counts the number of folders edited
function countDirs(files)
local dirs = {}
for k, path in pairs(files) do
local found = false
local dir = path:match("^(.+)/[^/]+$")
if dir then
... | apache-2.0 |
ddumont/darkstar | scripts/zones/Castle_Oztroja/mobs/Quu_Domi_the_Gallant.lua | 12 | 1276 | -----------------------------------
-- Area: Castle Oztroja (151)
-- MOB: Quu_Domi_the_Gallant
-----------------------------------
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
if (math.random(1,100) <= 7) then -- Hardcoded "this or this item" dro... | gpl-3.0 |
jlcvp/otxserver | data/monster/humans/glooth_brigand.lua | 2 | 3611 | local mType = Game.createMonsterType("Glooth Brigand")
local monster = {}
monster.description = "a glooth brigand"
monster.experience = 1900
monster.outfit = {
lookType = 137,
lookHead = 114,
lookBody = 114,
lookLegs = 110,
lookFeet = 114,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 1120
monster.Bestiary ... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Spire_of_Vahzl/npcs/Radiant_Aureole.lua | 13 | 1136 | -----------------------------------
-- Area: Spire of Vahzl
-- NPC: Radiant Aureole
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Spire_of_Vahzl/TextIDs");
-----------------------------------
-- onTrade Act... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Newton_Movalpolos/npcs/Furnace_Hatch.lua | 30 | 3157 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Furnace_Hatch
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Newton_Movalpolos/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
jorgifumi/luci | protocols/luci-proto-relay/luasrc/model/network/proto_relay.lua | 61 | 2908 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local netmod = luci.model.network
local device = luci.util.class(netmod.interface)
netmod:register_pattern_virtual("^relay-%w")
local proto = netmod:register_protocol("relay")
function proto.get_i18n(self)
r... | apache-2.0 |
jchuang1977/luci-1 | protocols/luci-proto-relay/luasrc/model/network/proto_relay.lua | 61 | 2908 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local netmod = luci.model.network
local device = luci.util.class(netmod.interface)
netmod:register_pattern_virtual("^relay-%w")
local proto = netmod:register_protocol("relay")
function proto.get_i18n(self)
r... | apache-2.0 |
jlcvp/otxserver | data/monster/quests/killing_in_the_name_of/fazzrah.lua | 2 | 2909 | local mType = Game.createMonsterType("Fazzrah")
local monster = {}
monster.description = "Fazzrah"
monster.experience = 2600
monster.outfit = {
lookType = 343,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 2955
monster.maxHealth = 2955
monster.race = "... | gpl-2.0 |
LuaDist2/validate-args | tests/nested.lua | 1 | 4424 | local va = require( 'validate.args' )
local validate = va.validate
local validate_opts = va.validate_opts
setup = require 'setup'
describe( "nested", function ()
before_each( setup )
it( "not table", function ()
local template = { {
vtable = {
arg1 = { enum = { 'a', 'b' } },
arg2 = { type ... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Lower_Jeuno/npcs/Porter_Moogle.lua | 14 | 1536 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 245
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
re... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ComAudio.lua | 3 | 6147 |
--------------------------------
-- @module ComAudio
-- @extend Component
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ComAudio] stopAllEffects
-- @param self
-- @return ComAudio#ComAudio self (return value: ccs.ComAudio)
--------------------------------
--
-- @function ... | mit |
bdeak/nginx-log-elasticsearch-lua | functions.lua | 1 | 5460 | local json = require 'cjson'
local http = require "resty.http" -- don't forget adding these
local settings = ...
local function send_http(host, port, uri, req_scheme, timeout, payload)
local hc = http:new()
local req_url = string.format("%s://%s:%d%s", req_scheme, host, port, uri)
local ok, code, headers,... | apache-2.0 |
ddumont/darkstar | scripts/globals/spells/aspir_ii.lua | 21 | 1391 | -----------------------------------------
-- Spell: Aspir
-- Drain functions only on skill level!!
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Riverne-Site_A01/npcs/Unstable_Displacement.lua | 17 | 1049 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-- ENM Battlefield
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Riverne-Si... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Three_Steps_IM.lua | 14 | 3357 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Three Steps, I.M.
-- Type: Border Conquest Guards
-- @pos -120.393 -25.822 -592.604 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
Quit/remplace | controller.lua | 1 | 5377 | -- ASKDLSAFLHSALFHSLFJHLAJHSGKLJHGLASFD!!!!!!!
local Replacer = class()
function Replacer:initialize(player_id)
if not self._sv.initialized then
self._sv.initialized = true
self._sv.player_id = player_id
self._sv.keeper = radiant.entities.create_entity(nil, { owner = player_id })
self._sv.replacemen... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.