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 |
|---|---|---|---|---|---|
jlcvp/otxserver | data/monster/quests/forgotten_knowledge/shadow_fiend.lua | 2 | 2629 | local mType = Game.createMonsterType("Shadow Fiend")
local monster = {}
monster.description = "a shadow fiend"
monster.experience = 500
monster.outfit = {
lookType = 320,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 4000
monster.maxHealth = 4000
monst... | gpl-2.0 |
ddumont/darkstar | scripts/globals/items/dish_of_salsa.lua | 12 | 1593 | -----------------------------------------
-- ID: 5299
-- Item: dish_of_salsa
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Strength -1
-- Dexterity -1
-- Agility -1
-- Vitality -1
-- Intelligence -1
-- Mind -1
-- Sleep Resist 5
-----------------------------------------
require("scripts/g... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/VehicleData/GpsShiftSupport/006_GetInteriorVehicleData_stationLocation_without_shift.lua | 1 | 1464 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0199-Adding-GPS-Shift-support.md
-- Description:
-- In case:
-- 1) Mobile sends GetInteriorVehicleData request
-- 2) SDL transfers th... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Smoke/API/031_PerformAudioPassThru_PositiveCase_SUCCESS.lua | 1 | 5416 | ---------------------------------------------------------------------------------------------------
-- User story: Smoke
-- Use case: PerformAudioPassThru
-- Item: Happy path
--
-- Requirement summary:
-- [PerformAudioPassThru] SUCCESS: getting SUCCESS:UI.PerformAudioPassThru()
--
-- Description:
-- Mobile application ... | bsd-3-clause |
ddumont/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Jailer_of_Fortitude.lua | 18 | 2647 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NM: Jailer of Fortitude
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob... | gpl-3.0 |
ddumont/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 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/MultipleModules/ModulesAllocation/016_No_multipleAccess_default_RA_userLocation_not_within_serviceArea.lua | 1 | 4778 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0221-multiple-modules.md
-- Description:
-- Check allocation/reallocation of RC module to mobile application in case:
-- - RC modul... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Castle_Oztroja/npcs/_47j.lua | 13 | 1608 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47j (Torch Stand)
-- Notes: Opens door _472 near password #1
-- @pos -62.533 -1.859 -30.634 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/HomePoint#1.lua | 14 | 1294 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: HomePoint#3
-- @pos -12 0.5 -288 34
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs");
re... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm2.lua | 13 | 1918 | -----------------------------------
-- Area: The Sanctuary of ZiTah
-- NPC: qm2 (???)
-- Involved in Quest: Forge Your Destiny
-- @pos 639 -1 -151 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Toraimarai_Canal/npcs/Treasure_Coffer.lua | 13 | 4558 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: Treasure Coffer
-- Involved In Quest: Wild Card
-- @zone 169
-- @pos 220 16 -50
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
invokerbot/kaler | libs/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-3.0 |
mohamadmtf/norton | libs/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-2.0 |
ddumont/darkstar | scripts/globals/items/coeurl_sub_+1.lua | 12 | 2020 | -----------------------------------------
-- ID: 5167
-- Item: coeurl_sub_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 15
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 80
-- Ranged ATT % 22
-- Ranged ATT Cap 80
-- Sle... | gpl-3.0 |
chrislotix/WhosTheKiller | Game/scripts/vscripts/internal/narrowmaze.lua | 1 | 8767 | -- This function initializes the game mode and is called before anyone loads into the game
-- It can be used to pre-initialize any values/tables that will be needed later
function NarrowMaze:_InitNarrowMaze()
-- Setup rules
GameRules:SetHeroRespawnEnabled( ENABLE_HERO_RESPAWN )
GameRules:SetUseUniversalShopMode( ... | gpl-2.0 |
nubick/QuikSharp | lib/QL/Robots/Examples/Auto_stop.lua | 6 | 3247 | if string.find(package.path,'C:\\Program Files (x86)\\Lua\\5.1\\lua\\?.lua')==nil then
package.path=package.path..';C:\\Program Files (x86)\\Lua\\5.1\\lua\\?.lua;'
end
if string.find(package.path,'C:\\Program Files\\Lua\\5.1\\lua\\?.lua')==nil then
package.path=package.path..';C:\\Program Files\\Lua\\5.1\\lua\\?.... | apache-2.0 |
ddumont/darkstar | scripts/zones/Kazham/npcs/Rauteinot.lua | 26 | 3159 | -----------------------------------
-- Area: Kazham
-- NPC: Rauteinot
-- Starts and Finishes Quest: Missionary Man
-- @zone 250
-- @pos -42 -10 -89
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Kazham/npcs/Rauteinot.lua | 26 | 3159 | -----------------------------------
-- Area: Kazham
-- NPC: Rauteinot
-- Starts and Finishes Quest: Missionary Man
-- @zone 250
-- @pos -42 -10 -89
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
upfluence/thrift | lib/lua/TFramedTransport.lua | 23 | 2926 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
Squeakz/darkstar | scripts/zones/Yhoator_Jungle/npcs/Telepoint.lua | 13 | 1672 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Yhoator_Jungle/TextIDs");
-------------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Windurst_Woods/npcs/Soni-Muni.lua | 13 | 2724 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Soni-Muni
-- Starts & Finishes Quest: The Amazin' Scorpio
-- @pos -17.073 1.749 -59.327 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Cermet_Headstone.lua | 13 | 4242 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Fire Fragment)
-- @pos 491 20 301 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
alireza1998/gfx | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
miladb79/fox | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
jchuang1977/luci-1 | applications/luci-app-redsocks2/luasrc/model/cbi/redsocks2/general.lua | 10 | 4917 | --[[
Redsocks2 基础配置页面
Copyright (C) 2015 GuoGuo <gch981213@gmail.com>
]]--
m = Map("redsocks2", translate("Redsocks2 - General Settings"),
translatef("A modified version of redsocks.Beside the basic function of redsocks,it can redirect TCP connections which are blocked via proxy automatically without a blacklist.")... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/AppServices/RPCPassThrough/WayPoints/004_WayPointsSubscription_Not_Handled_Request.lua | 1 | 6110 | ---------------------------------------------------------------------------------------------------
-- Precondition:
-- 1) app1 and app2 are registered on SDL.
-- 2) AppServiceProvider permissions (with NAVIGATION AppService permissions to handle rpc GetWayPoints) are assigned for <app1ID>
-- 3) WayPoints permissi... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Bibiki_Bay/mobs/Shen.lua | 17 | 1234 | -----------------------------------
-- Area: Bibiki Bay
-- MOB: Shen
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobFight Action
-------------------------------... | gpl-3.0 |
ddumont/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 |
jlcvp/otxserver | data/monster/humanoids/furious_troll.lua | 2 | 2455 | local mType = Game.createMonsterType("Furious Troll")
local monster = {}
monster.description = "a furious troll"
monster.experience = 185
monster.outfit = {
lookType = 281,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 540
monster.Bestiary = {
class =... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Bastok_Mines/npcs/HomePoint#3.lua | 27 | 1256 | -----------------------------------
-- Area: Bastok Mines
-- NPC: HomePoint#3
-- @pos 87 7 1 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Mines/TextIDs");
require("scripts/globals/homepoint");
-... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Qufim_Island/npcs/Jiwon.lua | 13 | 1889 | -----------------------------------
-- Area: Qufim Island
-- NPC: Jiwon
-- Type: Outpost Vendor
-- @pos -249 -19 300 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conques... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Southern_San_dOria/npcs/Balasiel.lua | 24 | 6649 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Balasiel
-- Starts and Finishes: A Squire's Test, A Squire's Test II, A Knight's Test
-- @zone 230
-- @pos -136 -11 64
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/East_Sarutabaruta/npcs/Sama_Gohjima.lua | 13 | 1487 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Sama Gohjima
-- Involved in Mission: The Horutoto Ruins Experiment (optional)
-- @pos 377 -13 98 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
jorgifumi/luci | modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua | 15 | 17116 | -- Licensed to the public under the Apache License 2.0.
module "luci.sys.zoneinfo.tzdata"
TZ = {
{ 'Africa/Abidjan', 'GMT0' },
{ 'Africa/Accra', 'GMT0' },
{ 'Africa/Addis Ababa', 'EAT-3' },
{ 'Africa/Algiers', 'CET-1' },
{ 'Africa/Asmara', 'EAT-3' },
{ 'Africa/Bamako', 'GMT0' },
{ 'Africa/Bangui', 'WAT-1' },
... | apache-2.0 |
Squeakz/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Heumila.lua | 13 | 1045 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Heumila
-- Type: Past Event Watcher
-- @zone: 87
-- @pos
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-------------------... | gpl-3.0 |
asoracarbuncle/gearswap | brd.lua | 1 | 20314 | function get_sets()
----------------------------------------------------------------------
-- Bind the keys you wish to use with GearSwap
----------------------------------------------------------------------
send_command('bind f9 gs c toggle idle set')
send_command('bind f10 gs c toggle instrument set')
... | gpl-3.0 |
pvpgn/pvpgn-server | lua/include/string.lua | 7 | 1737 | --[[
Copyright (C) 2014 HarpyWar (harpywar@gmail.com)
This file is a part of the PvPGN Project http://pvpgn.pro
Licensed under the same terms as Lua itself.
]]--
-- Split text into table by delimeter
-- Usage example: string.split("one,two",",")
function string:split(str, sep)
str = str or '%s+'
local st, g ... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/SDL5_0/LowVoltage/020_Low_Voltage_and_Ignition_Off_absence_resumption_FULL_hmi_level_in_case_more_30_sec_after_ing_on.lua | 1 | 2761 | ---------------------------------------------------------------------------------------------------
-- In case:
-- 1. Mobile app is in FULL HMILevel
-- 2. App has some persistent data that can be resumed
-- 3. Mobile app is disconnected during the time frame of 30 sec (inclusive) before "SDL_LOW_VOLTAGE" unix signal fr... | bsd-3-clause |
ddumont/darkstar | scripts/globals/mobskills/Spirit_Tap.lua | 32 | 1401 | ---------------------------------------------------
-- Spirit Tap
-- Attempts to absorb one buff from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buff... | gpl-3.0 |
leegoonz/cmft | scripts/toolchain.lua | 3 | 11094 | --
-- Copyright 2014-2015 Dario Manesku. All rights reserved.
-- License: http://www.opensource.org/licenses/BSD-2-Clause
--
function addTrailingStr(_path, _str)
if _path == nil then
return ""
end
if string.sub(_path, -1) ~= _str then
return _path .. _str
else
return _path
e... | bsd-2-clause |
jlcvp/otxserver | data/monster/quests/svargrond_arena/greenhorn/bloodpaw.lua | 2 | 1860 | local mType = Game.createMonsterType("Bloodpaw")
local monster = {}
monster.description = "Bloodpaw"
monster.experience = 50
monster.outfit = {
lookType = 42,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 100
monster.maxHealth = 100
monster.race = "blo... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/External_UCS/External_Consent_OFF/020_ATF_Policies_External_Consent_OFF_external_consent_allowed_user_consent_omitted.lua | 1 | 8491 | require('user_modules/script_runner').isTestApplicable({ { extendedPolicy = { "EXTERNAL_PROPRIETARY" } } })
--------------------------------------Requirement summary---------------------------------------------
--[Policies] External UCS: "OFF" user disables "functional grouping" for specific app
--[Policies] External U... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Open_sea_route_to_Al_Zahbi/npcs/Cehn_Teyohngo.lua | 13 | 1212 | -----------------------------------
-- Area: Open sea route to Al Zahbi
-- NPC: Cehn Teyohngo
-- Guild Merchant NPC: Fishing Guild
-- @zone 4.986 -2.101 -12.026 46
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Bastok_Mines/npcs/HomePoint#2.lua | 27 | 1311 | -----------------------------------
-- Area: Bastok Mines
-- NPC: HomePoint#2
-- @pos 118 1 -58 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
package.loaded["scripts/globals/homepoint"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Mi... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Shattered_Telepoint.lua | 27 | 2330 | -----------------------------------
-- Area: Tahrongi_Canyon
-- NPC: Shattered Telepoint
-- @pos 179 35 255 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Tahrongi_Ca... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/loaf_of_iron_bread.lua | 12 | 1184 | -----------------------------------------
-- ID: 4499
-- Item: loaf_of_iron_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 4
-- Vitality 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Fort_Ghelsba/Zone.lua | 19 | 1601 | -----------------------------------
--
-- Zone: Fort_Ghelsba (141)
--
-----------------------------------
package.loaded["scripts/zones/Fort_Ghelsba/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Fort_Ghelsba/TextIDs");
--------------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/alchemists_belt.lua | 18 | 1171 | -----------------------------------------
-- ID: 15450
-- Item: Alchemist's belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Alchemy Skill +3
-----------------------------------------
require("scripts/... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/FeiYin/npcs/Grounds_Tome.lua | 30 | 1074 | -----------------------------------
-- Area: Fei'Yin
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
e... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Vunkerl_Inlet_[S]/Zone.lua | 10 | 2225 | -----------------------------------
--
-- Zone: Vunkerl_Inlet_[S] (83)
--
-----------------------------------
package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Vunkerl_Inlet_[S]/TextIDs");
require("scripts/globals/settings");
require("scripts/gl... | gpl-3.0 |
ddumont/darkstar | scripts/globals/abilities/corsairs_roll.lua | 19 | 2648 | -----------------------------------
-- Ability: Corsair's Roll
-- Increases the amount of experience points earned by party members within area of effect
-- Optimal Job: Corsair
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 5
--
-- Die Roll |Exp Bonus%
-- -------- -----------
-- 1 |10%
-- 2 ... | gpl-3.0 |
Squeakz/darkstar | scripts/commands/animatesubnpc.lua | 20 | 1046 | ---------------------------------------------------------------------------------------------------
-- func: animatesubnpc
-- desc: Changes the animationSub of the given npc. (For testing purposes.)
---------------------------------------------------------------------------------------------------
require("scripts/glo... | gpl-3.0 |
ddumont/darkstar | scripts/globals/spells/vivacious_etude.lua | 45 | 1815 | -----------------------------------------
-- Spell: Vivacious Etude
-- Static VIT Boost, BRD 30
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function on... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/SDL5_0/Handling_VR_help_requests/018_SetGlobalProp_processing_30_commands_by_resumption.lua | 1 | 2456 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0122-New_rules_for_providing_VRHelpItems_VRHelpTitle.md
-- User story: TBD
-- Use case: TBD
--
-- Requirement summary: TBD
--
-- Descrip... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Bhaflau_Thickets/npcs/Kamih_Mapokhalam.lua | 17 | 1869 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Kamih Mapokhalam
-- 20 -30 597 z 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Bhaflau_Thickets... | gpl-3.0 |
jlcvp/otxserver | data/monster/mammals/thornfire_wolf.lua | 2 | 3016 | local mType = Game.createMonsterType("Thornfire Wolf")
local monster = {}
monster.description = "a thornfire wolf"
monster.experience = 200
monster.outfit = {
lookType = 414,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 739
monster.Bestiary = {
class... | gpl-2.0 |
evgeni/sysdig | userspace/sysdig/chisels/ansiterminal.lua | 19 | 2230 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Wajaom_Woodlands/npcs/Harvesting_Point.lua | 13 | 1138 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
package.loaded["scripts/globals/harvesting"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
... | gpl-3.0 |
Squeakz/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 |
cp1337/devland | data/npc/scripts/Olfera/Miller.lua | 1 | 2786 | local focus = 0
local talk_start = 0
local target = 0
local following = false
local attacking = false
local buyit = 0
local count = 0
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
if focus == cid... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/4_5/Trigger_PTU_NO_Certificate/1891_3_video.lua | 1 | 1530 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/SmartDeviceLink/sdl_core/issues/1891
---------------------------------------------------------------------------------------------------
--[[ Required Shared libraries ]]
local common = requi... | bsd-3-clause |
ddumont/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 |
Squeakz/darkstar | scripts/zones/Windurst_Waters/Zone.lua | 24 | 3310 | -----------------------------------
--
-- Zone: Windurst_Waters (238)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Waters/TextIDs");
require("scripts/globals/events/harvest_festivals");
require("... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/abilities/pets/gust_breath.lua | 29 | 1334 | ---------------------------------------------------
-- Gust Breath
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/ability");
------------------------------------------------... | gpl-3.0 |
anewell/pose-hg-train | src/opts.lua | 1 | 5839 | if not opt then
projectDir = projectDir or paths.concat(os.getenv('HOME'),'pose-hg-train')
local function parse(arg)
local cmd = torch.CmdLine()
cmd:text()
cmd:text(' ---------- General options ------------------------------------')
cmd:text()
cmd:option('-expID', 'default', 'Experiment ID')... | bsd-3-clause |
NickSavage/koreader | frontend/logger.lua | 5 | 1942 | --[[--
Logger module.
See @{Logger.levels} for list of supported levels.
Example:
local logger = require("logger")
logger.info("Something happened.")
logger.err("House is on fire!")
]]
local dump = require("dump")
local isAndroid, android = pcall(require, "android")
local DEFAULT_DUMP_LVL = 10
--- Supp... | agpl-3.0 |
Squeakz/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Achtelle1.lua | 38 | 1029 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Achtelle
-- @zone 80
-- @pos 108 2 -11
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Kazham/npcs/Tahn_Posbei.lua | 17 | 1580 | -----------------------------------
-- Area: Kazham
-- NPC: Tahn Posbei
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Aydeewa_Subterrane/mobs/Pandemonium_Warden.lua | 12 | 11865 | -----------------------------------
-- Area: Aydeewa Subterrane
-- ZNM: Pandemonium_Warden
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
------------------------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/WebEngine/005_WSS_connection_missing_serverSslPrameters.lua | 1 | 2062 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0240-sdl-js-pwa.md
--
-- Description:
-- Verify that the SDL does not establish WebSocket-Secure connection in case of WS Server Certifi... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Spire_of_Mea/npcs/_0l0.lua | 13 | 1482 | -----------------------------------
-- Area: Spire of Mea
-- NPC: Web of Recollection
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/mission... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/crawler_egg.lua | 18 | 1180 | -----------------------------------------
-- ID: 4357
-- Item: crawler_egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/Rockwell.lua | 13 | 2270 | -----------------------------------
-- Area: Maze of Shakhrami
-- Quest: Your Crystal Ball
-- @pos -18 -13 181 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/title... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/dish_of_spaghetti_carbonara_+1.lua | 18 | 1824 | -----------------------------------------
-- ID: 5199
-- Item: dish_of_spaghetti_carbonara_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 180
-- Magic 15
-- Strength 4
-- Vitality 2
-- Intelligence -3
-- Attack % 18
-- Attack Cap 70
-- Store TP 6
-------------... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/serving_of_zaru_soba_+1.lua | 12 | 1399 | -----------------------------------------
-- ID: 5728
-- Item: serving_of_zaru_soba_+1
-- Food Effect: 60min, All Races
-----------------------------------------
-- Agility 4
-- HP % 12 (cap 185)
-- Resist Sleep +10
-----------------------------------------
require("scripts/globals/status");
-------------------------... | gpl-3.0 |
jlcvp/otxserver | data/scripts/movements/others/closing_door.lua | 2 | 3349 | -- Level and quests closing door (onStepIn).
-- This prevents a player who has not yet done the quest, from crossing the player who has already done so, skipping the entire quest and going straight to the final reward.
local closingDoor = MoveEvent()
local doorIds = {}
for index, value in ipairs(QuestDoorTable) do
... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Port_Jeuno/npcs/Sugandhi.lua | 13 | 1545 | -----------------------------------
-- Area: Port Bastok
-- NPC: Sugandhi
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Heavens_Tower/npcs/Rakano-Marukano.lua | 13 | 2303 | -----------------------------------
-- Area: Heavens Tower
-- NPC: Rakano-Marukano
-- Type: Immigration NPC
-- @pos 6.174 -1 32.285 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
-----------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Mainchelite.lua | 29 | 5404 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Mainchelite
-- @zone 80
-- @pos -16 1 -30
-- CS IDs:
-- 0x005 = Generic Greeting for Iron Ram members
-- 0x006 = Mid Initiation of other nation
-- 0x007 = Ask player to Join Iron Rams
-- 0x008 = Ask if changed mind about joining Iron rams (after... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/persikos.lua | 12 | 1182 | -----------------------------------------
-- ID: 4274
-- Item: persikos
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Kuftal_Tunnel/MobIDs.lua | 28 | 2819 | -----------------------------------
-- Area: Kuftal Tunnel
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Amemet
Amemet=17490016;
Amemet_PH={
[17490000] = '1', -- 123.046, 0.250, 18.642
[17489994] = '1', -- 112.135, -0.278, 38.281
[17490001] = '1'... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/5_0/1006/003_AddSubMenu_UNSUPPORTED_RESOURCE_UI_isReady_false.lua | 1 | 1574 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/1006
---------------------------------------------------------------------------------------------------
-- Description: SDL sends AddSubMenu response with UNS... | bsd-3-clause |
ddumont/darkstar | scripts/globals/weaponskills/wheeling_thrust.lua | 25 | 1603 | -----------------------------------
-- Wheeling Thrust
-- Polearm weapon skill
-- Skill Level: 225
-- Ignores enemy's defense. Amount ignored varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifiers: STR:... | gpl-3.0 |
AwrmawnTg-Cli/Uzzbot | plugins/search_youtube.lua | 674 | 1270 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
local function searchYoutubeVideos(text)
local url = 'https://www.googleapis.com/youtube/v3/search?'
u... | gpl-2.0 |
theonlywild/telegram-bot | plugins/search_youtube.lua | 674 | 1270 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
local function searchYoutubeVideos(text)
local url = 'https://www.googleapis.com/youtube/v3/search?'
u... | gpl-2.0 |
Planimeter/grid-sdk | game/client/gui/hudgamemenu/navigation.lua | 1 | 1943 | --=========== Copyright © 2019, Planimeter, All rights reserved. ===========--
--
-- Purpose: Game Menu Navigation class
--
--==========================================================================--
class "gui.hudgamemenunavigation" ( "gui.radiobuttongroup" )
local hudgamemenunavigation = gui.hudgamemenunavigatio... | mit |
ddumont/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Romaa_Mihgo.lua | 14 | 1060 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Romaa Mihgo
-- Type: Standard NPC
-- @zone 94
-- @pos -1.967 -3 -26.337
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
slyon/MoonGen | test/proto/testIPHeader.lua | 5 | 2520 | describe("IP header class", function()
local ffi = require "ffi"
local pkt = require "packet"
it("should set IPv4", function()
local raw = ffi.new("struct ip4_header")
local set = ffi.new("struct ip4_header")
raw.verihl = 0x45
set:setVersion()
set:setHeaderLength()
assert.are.same(raw.verihl, set.verihl... | mit |
Squeakz/darkstar | scripts/zones/Misareaux_Coast/npcs/_0p2.lua | 27 | 2156 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Dilapidated Gate
-- Entrance to Riverne Site #B01
-- @pos -259 -30 276 178
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
re... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/7_1/2354_2_Response.lua | 1 | 2165 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/SmartDeviceLink/sdl_core/issues/2354
---------------------------------------------------------------------------------------------------
-- Description: Check SDL is able to proceed with resp... | bsd-3-clause |
Squeakz/darkstar | scripts/globals/items/pot-au-feu.lua | 32 | 1707 | -----------------------------------------
-- ID: 5752
-- Item: Pot-au-feu
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 3
-- Agility 3
-- Intelligence -3
-- Ranged Attk % 15 Cap 60
-- Ranged ACC % 10 Cap 50
-- Enmity -3
-----------------------------------------
require("scripts... | gpl-3.0 |
ironbee/ironbee | lua/list-registered.lua | 2 | 5331 | -- =========================================================================
-- =========================================================================
-- Licensed to Qualys, Inc. (QUALYS) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional informatio... | apache-2.0 |
jlcvp/otxserver | data/monster/event_creatures/memory_creatures/memory_of_a_golem.lua | 2 | 2959 | local mType = Game.createMonsterType("Memory Of A Golem")
local monster = {}
monster.description = "a memory of a golem"
monster.experience = 1620
monster.outfit = {
lookType = 600,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 3660
monster.maxHealth =... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Bhaflau_Thickets/npcs/qm1.lua | 30 | 1349 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: ??? (Spawn Lividroot Amooshah(ZNM T2))
-- @pos 334 -10 184 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/TextIDs");
... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Norg/npcs/Quntsu-Nointsu.lua | 27 | 2965 | -----------------------------------
-- Area: Norg
-- NPC: Quntsu-Nointsu
-- Title Change NPC
-- @pos -67 -1 34 252
-----------------------------------
require("scripts/globals/titles");
local title2 = { HONORARY_DOCTORATE_MAJORING_IN_TONBERRIES , BUSHIDO_BLADE , BLACK_MARKETEER , CRACKER_OF_THE_SECRET_CODE ,
... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | user_modules/shared_testcases_custom/commonFunctions.lua | 1 | 20750 | --This script contains common functions that are used in many script.
--How to use:
--1. local commonFunctions = require('user_modules/shared_testcases/commonFunctions')
--2. commonFunctions:createString(500) --example
---------------------------------------------------------------------------------------------
loca... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Riverne-Site_A01/npcs/Spatial_Displacement.lua | 17 | 3365 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Spacial Displacement
-----------------------------------
-----------------------------------
-- onTrade
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- onTrigger
--------------... | gpl-3.0 |
kennethlombardi/moai-graphics | engine/editor/createCubeLayer.lua | 1 | 1029 | dofile("Pickle.lua")
layer1 = {
type = "Layer",
name = "cubeLayer.lua",
visible = "true",
propContainer = {},
position = {x = 0, y = 0, z = 0},
scripts = {"3DCameraMovement.lua"}
};
--cube
cube = {
type = "Model",
fileName = "cubetest.obj",
name = "cube",
positi... | mit |
jlcvp/otxserver | data/monster/extra_dimensional/breach_brood.lua | 2 | 3565 | local mType = Game.createMonsterType("Breach Brood")
local monster = {}
monster.description = "a breach brood"
monster.experience = 1760
monster.outfit = {
lookType = 878,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 1235
monster.Bestiary = {
class =... | gpl-2.0 |
ddumont/darkstar | scripts/globals/spells/foe_requiem_vi.lua | 26 | 1736 | -----------------------------------------
-- Spell: Foe Requiem VI
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.