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 |
|---|---|---|---|---|---|
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/EaseSineInOut.lua | 9 | 1271 |
--------------------------------
-- @module EaseSineInOut
-- @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 EaseSineInOut action. If creation failed, return nil.
... | mit |
jlcvp/otxserver | data/scripts/item_classification/item_tiers.lua | 2 | 1287 | local itemTierClassifications = {
-- Upgrade classification 1
[1] = {
-- Update tier 0
[1] = {price = 25000}
},
-- Upgrade classification 2
[2] = {
-- Update tier 0
[1] = {price = 750000},
-- Update tier 1
[2] = {price = 5000000}
},
-- Upgrade classification 3
[3] = {
[1] = {price = 4000000},
[2... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm1.lua | 30 | 1356 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Ob(ZNM T1))
-- @pos 542 0 -129 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/TextIDs... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TransitionSceneOriented.lua | 11 | 1256 |
--------------------------------
-- @module TransitionSceneOriented
-- @extend TransitionScene
-- @parent_module cc
--------------------------------
-- initializes a transition with duration and incoming scene
-- @function [parent=#TransitionSceneOriented] initWithDuration
-- @param self
-- @param #float t
-- @par... | mit |
ddumont/darkstar | scripts/zones/Abyssea-Vunkerl/npcs/qm9.lua | 5 | 1346 | -----------------------------------
-- Zone: Abyssea-Vunkerl
-- NPC: qm9 (???)
-- Spawns Chhir Batti
-- @pos ? ? ? 217
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Port_San_dOria/npcs/Brifalien.lua | 14 | 1824 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Brifalien
-- Involved in Quests: Riding on the Clouds
-- @zone 232
-- @pos -20 -4 -74
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Sa... | gpl-3.0 |
ddumont/darkstar | scripts/globals/spells/bluemagic/frightful_roar.lua | 26 | 1361 | -----------------------------------------
-- Spell: Frightful Roar
-- Weakens defense of enemies within range
-- Spell cost: 32 MP
-- Monster Type: Demon
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+2
-- Level: 50
-- Casting Time: 2 seconds
-- Recast Time: 20 seconds
-- Magic Bursts on: Deto... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Gusgen_Mines/npcs/Treasure_Chest.lua | 13 | 3763 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Treasure Chest
-- Involved In Quest: The Goblin Tailor
-- @zone 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("script... | gpl-3.0 |
ddumont/darkstar | scripts/globals/spells/plenilune_embrace.lua | 33 | 2101 | -----------------------------------------
-- Spell: Plenilune Embrace
-- Restores target party member's HP and enhances attack and magic attack..
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
requir... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/spells/plenilune_embrace.lua | 33 | 2101 | -----------------------------------------
-- Spell: Plenilune Embrace
-- Restores target party member's HP and enhances attack and magic attack..
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
requir... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Southern_San_dOria/npcs/Atelloune.lua | 14 | 2732 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Atelloune
-- Starts and Finishes Quest: Atelloune's Lament
-- @zone 230
-- @pos 122 0 82
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Lion_Springs.lua | 41 | 1799 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Door:Lion Springs
-- @zone 80
-- @pos 96 0 106
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/glob... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Castle_Oztroja/npcs/Treasure_Coffer.lua | 13 | 4295 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Treasure Coffer
-- @zone 151
-- @pos
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
nlleach/homedecor_modpack | homedecor/window_treatments.lua | 11 | 6410 | local S = homedecor.gettext
homedecor.register("window_quartered", {
description = "Window (quartered)",
tiles = {
"homedecor_window_sides.png",
"homedecor_window_sides.png",
"homedecor_window_sides.png",
"homedecor_window_sides.png",
"homedecor_window_quartered.png",
"homedecor_window_quartered.png"
},... | lgpl-3.0 |
ddumont/darkstar | scripts/zones/QuBia_Arena/mobs/Maat.lua | 14 | 1369 | -----------------------------------
-- Area: Qu'Bia Arena
-- MOB: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/QuBia_Arena/TextIDs");
-----------------------------------
-- onMobSpawn A... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Capabilities/UpdateVideoStreamingCapabilities/GetCapabilities/004_GetCapabilities_AddVSC_missing_all_params.lua | 1 | 2002 | -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0296-Update-video-streaming-capabilities-during-ignition-cycle.md
--
-- Description: SDL applies the videoStreamingCapability in case HMI responds with videoStreamingCapability
-- that contains additionalVideoStreamingCapabilities arra... | bsd-3-clause |
jlcvp/otxserver | data/monster/humans/nomad_female.lua | 2 | 2931 | local mType = Game.createMonsterType("Nomad Female")
local monster = {}
monster.name = "Nomad"
monster.description = "a nomad"
monster.experience = 60
monster.outfit = {
lookType = 150,
lookHead = 96,
lookBody = 39,
lookLegs = 40,
lookFeet = 3,
lookAddons = 3,
lookMount = 0
}
monster.raceId = 776
monster.Besti... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/mobskills/Fiery_Breath.lua | 32 | 1245 | ---------------------------------------------
-- Fiery Breath
--
-- Description: Deals Fire damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Tiamat, Smok and Ildebrann
---------------------------------------------
r... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/ojo_rice_ball.lua | 51 | 1472 | -----------------------------------------
-- ID: 5929
-- Item: Ojo Rice Ball
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- HP +50
-- Dexterity +5
-- Vitality +5
-- Character +5
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Attack +60
-- Defense... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/UnknownEnums/002_unknown_nonmandatory_param.lua | 1 | 2327 | ---------------------------------------------------------------------------------------------------
-- Description:
-- Mobile sends a non-mandatory param with an unknown enum value. The enum will be filtered out and
-- WARNINGS will be returned because the parameter was not mandatory
-- Pre-conditions:
-- a. HMI and S... | bsd-3-clause |
jorgifumi/luci | applications/luci-app-radvd/luasrc/model/cbi/radvd.lua | 61 | 7968 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("radvd", translate("Radvd"),
translate("Radvd is a router advertisement daemon for IPv6. " ..
"It listens to router solicitations and sends router advertisements " ..
"as described in RFC 4861."))
... | apache-2.0 |
reveller/trafficserver | lib/luajit/src/jit/bc.lua | 88 | 5606 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | apache-2.0 |
trishume/dotfiles | hammerspoon/hammerspoon.symlink/init.lua | 1 | 7316 | -- Load Extensions
-- require("luarocks.loader")
local application = require "hs.application"
local window = require "hs.window"
local hotkey = require "hs.hotkey"
local keycodes = require "hs.keycodes"
local fnutils = require "hs.fnutils"
local alert = require "hs.alert"
local screen = require "hs.screen"
local grid =... | mit |
Squeakz/darkstar | scripts/zones/Southern_San_dOria/npcs/Valeriano.lua | 13 | 2128 | -----------------------------------
-- Area: Southern_San_dOria
-- NPC: Valeriano
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
requ... | gpl-3.0 |
miladb79/fox | plugins/plugins.lua | 1 | 6156 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/items/trumpet_shell.lua | 18 | 1317 | -----------------------------------------
-- ID: 5466
-- Item: Trumpet Shell
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
NickSavage/koreader | frontend/ui/widget/confirmbox.lua | 1 | 4216 | --[[--
Widget that shows a message and OK/Cancel buttons
Example:
UIManager:show(ConfirmBox:new{
text = _("Save the document?"),
ok_text = _("Save"), -- ok_text defaults to _("OK")
ok_callback = function()
-- save document
end,
})
]]
local InputContainer = requir... | agpl-3.0 |
Squeakz/darkstar | scripts/zones/Bhaflau_Thickets/npcs/HomePoint#1.lua | 27 | 1274 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: HomePoint#1
-- @pos -98 -10 -493 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bhaflau_Thickets/TextIDs");
require("scripts/globa... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Jugner_Forest/npcs/Chaplion_RK.lua | 14 | 3317 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Chaplion, R.K.
-- Outpost Conquest Guards
-- @pos 54 0 -11 104
-------------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/conquest");
require("scrip... | gpl-3.0 |
jlcvp/otxserver | data/monster/amphibics/bog_frog.lua | 2 | 2099 | local mType = Game.createMonsterType("Bog Frog")
local monster = {}
monster.description = "a bog frog"
monster.experience = 0
monster.outfit = {
lookType = 412,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 738
monster.Bestiary = {
class = "Amphibic",... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Valkurm_Dunes/Zone.lua | 12 | 4762 | -----------------------------------
--
-- Zone: Valkurm_Dunes (103)
--
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dunes/TextIDs");
require("s... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/abilities/pets/attachments/auto-repair_kit_ii.lua | 23 | 1205 | -----------------------------------
-- Attachment: Auto-repair Kit II
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
pet:addMod(MOD_HPP, 13)
end
function onUnequip(pet)
pet:d... | gpl-3.0 |
develephant/mod_parse | mod_parse.lua | 1 | 38612 | ---Parse module for Corona SDK
-- @copyright develephant 2013-2015
-- @author Chris Byerley
-- @license MIT
-- @version 2.2.4
-- @see parse.com
local json = require("json")
local url = require("socket.url")
---Parse Class
-- @type Parse
local Parse =
{
--================================================================... | mit |
ff-kbu/fff-luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-chan.lua | 80 | 1726 | --[[
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... | apache-2.0 |
leegoonz/cmft | dependency/bx/scripts/toolchain.lua | 3 | 26702 | --
-- Copyright 2010-2015 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bx#license-bsd-2-clause
--
local bxDir = (path.getabsolute("..") .. "/")
local naclToolchain = ""
function toolchain(_buildDir, _libDir)
newoption {
trigger = "gcc",
value = "GCC",
description = "Choose ... | bsd-2-clause |
jlcvp/otxserver | data/lib/core/spawn.lua | 2 | 4743 | ---@author @Glatharth
---@version 1.0
---@since 1.0
MonsterStorage = {
Spawn = {
info = 550000,
monster_spawn_object = 550001,
}
}
Spawn = {}
SpawnMetatables = {}
setmetatable(Spawn, {
__call = function(self)
local spawn_data = {
storage = {
info = MonsterStorage.Spawn.info,
object = MonsterStorage.... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/West_Sarutabaruta_[S]/npcs/Sealed_Entrance_1.lua | 29 | 2253 | -----------------------------------
-- Area: West Sarutabaruta [S]
-- NPC: Sealed Entrance (Sealed_Entrance_1)
-- @pos -245.000 -18.100 660.000 95
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/que... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Physics3DComponent.lua | 11 | 3069 |
--------------------------------
-- @module Physics3DComponent
-- @extend Component
-- @parent_module cc
--------------------------------
-- synchronize node transformation to physics
-- @function [parent=#Physics3DComponent] syncNodeToPhysics
-- @param self
-- @return Physics3DComponent#Physics3DComponent self (ret... | mit |
8devices/luci | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua | 9 | 1081 | --[[
Luci statistics - cpu plugin diagram definition
(c) 2008 Freifunk Leipzig / 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
http://www.apache... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Protocol/NACKReason/012_Invalid_time_Video_Service_NACK.lua | 1 | 2795 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0308-protocol-nak-reason.md
--
-- Description: SDL provides reason information in NACK message
-- in case NACK received because system t... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Monarch_Linn/npcs/Spatial_Displacement.lua | 13 | 2635 | -----------------------------------
-- Area: Monarch_Linn
-- NPC: Spatial Displacement
-- @pos -35 -1 -539 31
-----------------------------------
package.loaded["scripts/zones/Monarch_LinnTextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Bastok-Jeuno_Airship/npcs/Michele.lua | 30 | 2226 | -----------------------------------
-- Area: Bastok-Jeuno Airship
-- NPC: Michele
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Bastok-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Bastok-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
WebShark025/NortTM | plugins/msg_checks.lua | 149 | 11202 | --Begin msg_checks.lua
--Begin pre_process function
local function pre_process(msg)
-- Begin 'RondoMsgChecks' text checks by @rondoozle
if is_chat_msg(msg) or is_super_group(msg) then
if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user
local data = load_data(_config.moderatio... | mit |
imashkan/IMHAUL | plugins/help.lua | 290 | 1653 | do
-- Returns true if is not empty
local function has_usage_data(dict)
if (dict.usage == nil or dict.usage == '') then
return false
end
return true
end
-- Get commands for that plugin
local function plugin_help(name)
local plugin = plugins[name]
if not plugin then return nil end
local text = ""
if ... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Port_Bastok/npcs/Evi.lua | 11 | 2023 | -----------------------------------
-- Area: Port Bastok
-- NPC: Evi
-- Starts Quests: Past Perfect (100%)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Davoi/npcs/_45i.lua | 13 | 2256 | -----------------------------------
-- Area: Davoi
-- NPC: Wailing Pond
-- Used In Quest: Whence Blows the Wind
-- @pos 380 0.1 -181 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/gl... | gpl-3.0 |
ddumont/darkstar | scripts/zones/RuAun_Gardens/mobs/Suzaku.lua | 19 | 2098 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NM: Suzaku
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Upper_Jeuno/npcs/Antonia.lua | 13 | 1305 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Antonia
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Outer_Horutoto_Ruins/Zone.lua | 12 | 1659 | -----------------------------------
--
-- Zone: Outer_Horutoto_Ruins (194)
--
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Outer_Ho... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/7_1/3628_Postponed_RAI_protocol_4.lua | 1 | 4691 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/SmartDeviceLink/sdl_core/issues/3628
---------------------------------------------------------------------------------------------------
-- Description: Check SDL is postpone RAI response unt... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Hazhalm_Testing_Grounds/Zone.lua | 12 | 1548 | -----------------------------------
--
-- Zone: Hazhalm_Testing_Grounds (78)
--
-----------------------------------
package.loaded["scripts/zones/Hazhalm_Testing_Grounds/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/settings");
require("scripts/zones... | gpl-3.0 |
jbq/nginx | debian/modules/nginx-lua/t/lib/Redis.lua | 49 | 35692 | --[[
Copyright (c) 2009-2011 Daniele Alessandri
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, merge, publish,
... | bsd-2-clause |
Squeakz/darkstar | scripts/zones/Hall_of_Transference/Zone.lua | 25 | 7029 | -----------------------------------
--
-- Zone: Hall_of_Transference
--
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Hall_of_Transference/TextIDs");
require("scripts/globals/teleports");
require("script... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/mobskills/Bomb_Toss_Suicide.lua | 10 | 1076 | require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(target,mob,skill)
-- notorious monsters shouldn't explode, nor dynamis
if (mob:isMobType(MOBTYPE_NOTORIOUS) or mob:isIn... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Labyrinth_of_Onzozo/npcs/Grounds_Tome.lua | 30 | 1104 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/weaponskills/mistral_axe.lua | 11 | 1565 | -----------------------------------
-- Mistral Axe
-- Axe weapon skill
-- Skill level: 225 (Beastmasters and Warriors only.)
-- Delivers a single-hit ranged attack at a maximum distance of 15.7'. Damage varies with TP.
-- Despite being able to be used from a distance it is considered a melee attack and can be stacked w... | gpl-3.0 |
jchuang1977/luci-1 | applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua | 43 | 1898 | -- Copyright 2012 Christian Gagneraud <chris@techworks.ie>
-- Licensed to the public under the Apache License 2.0.
m = Map("system",
translate("Watchcat"),
translate("Watchcat allows configuring a periodic reboot when the " ..
"Internet connection has been lost for a certain period of time."
))
s = m:secti... | apache-2.0 |
evgeni/sysdig | userspace/sysdig/chisels/iobytes.lua | 18 | 1666 | --[[
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 |
NexusInstruments/Seurat | Seurat.lua | 1 | 16030 | ------------------------------------------------------------------------------------------------
-- Seurat ver. @project-version@
-- by Chrono Syz--Entity-US
-- Build @project-hash@
-- Copyright (c) Chronosis. All rights reserved
--
-- https://github.com/NexusInstruments/Seurat
-----------------------------------------... | mit |
ddumont/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Cermet_Headstone.lua | 11 | 4417 | -----------------------------------
-- 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("s... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Mesachedeau_RK.lua | 14 | 3350 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Mesachedeau, R.K.
-- Type: Outpost Conquest Guards
-- @pos 470.843 23.465 415.520 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Middle_Delkfutts_Tower/Zone.lua | 12 | 5636 | -----------------------------------
--
-- Zone: Middle_Delkfutts_Tower
--
-----------------------------------
package.loaded["scripts/zones/Middle_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/globals/titles");... | gpl-3.0 |
albmarvil/The-Eternal-Sorrow | dependencies/lua/test/life.lua | 888 | 2635 | -- life.lua
-- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l
-- modified to use ANSI terminal escape sequences
-- modified to use for instead of while
local write=io.write
ALIVE="¥" DEAD="þ"
ALIVE="O" DEAD="-"
function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary
for i=1,10000 do... | apache-2.0 |
Squeakz/darkstar | scripts/globals/items/jar_of_marinara_sauce.lua | 18 | 1195 | -----------------------------------------
-- ID: 5747
-- Item: Jar of Marinara Sauce
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Mind 2
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
ddumont/darkstar | scripts/zones/The_Shrouded_Maw/bcnms/darkness_named.lua | 30 | 2857 | -----------------------------------
-- Area: The_Shrouded_Maw
-- Name: darkness_named
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/zones/Th... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/build_options/081_ATF_PTU_OnStatsusUpdate_Trigger_UPDATING_HTTP.lua | 1 | 3149 | ---------------------------------------------------------------------------------------------
-- Requirements summary:
-- [PolicyTableUpdate] OnStatusUpdate trigger
-- b) UPDATING VC
-- [HMI API] OnStatusUpdate
--
-- Description:
-- Status should be set to “UPDATING” and HMI is notifying with
-- OnStatusUpdate("UPDATIN... | bsd-3-clause |
jlcvp/otxserver | data/monster/quests/forgotten_knowledge/unbound_blightwalker.lua | 2 | 2523 | local mType = Game.createMonsterType("Unbound Blightwalker")
local monster = {}
monster.description = "an unbound blightwalker"
monster.experience = 5850
monster.outfit = {
lookType = 246,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 7900
monster.maxH... | gpl-2.0 |
geschwaerzler/nodemcu-herms | herms.lua | 1 | 6823 | local led = require 'led-module'
local sh1106 = require 'sh1106'
-- configure 1-wire
local owPin=5
ow.setup(owPin)
-- configure rotary push button interface
local rotA = 2
local rotB = 3
local rotPress = 4
local rotChannel = 0
-- SSR 1-wire modules:
-- 3af80721000000e2
-- 3A4DC82A000000D7
local addrSwitch_hlt = enco... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/AppServices/PerformAppServiceInteraction/006_Mobile_requestServiceActive_foreground_success_flow.lua | 1 | 4486 | ---------------------------------------------------------------------------------------------------
-- Precondition:
-- 1) Application 1 with <appID> is registered on SDL.
-- 2) Application 2 with <appID2> is registered on SDL.
-- 3) Specific permissions are assigned for <appID> with PublishAppService
-- 4) Speci... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Temple_of_Uggalepih/TextIDs.lua | 7 | 2342 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6385; -- Obtained: <item>
GIL_OBTAINED = 6386; -- Obtained <number> gil
KEYITEM_OBTAINED = 6388; -- Obtain... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Abyssea-Vunkerl/mobs/Div_e_Sepid.lua | 23 | 1036 | -----------------------------------
-- Area: Abyssea - Vunkerl
-- MOB: Div-e Sepid
-- ID: 17666515
-- Note: No position data in the database (won't spawn)
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-------------------------... | gpl-3.0 |
ff-kbu/fff-luci | libs/nixio/lua/nixio/fs.lua | 184 | 3723 | --[[
nixio - Linux I/O library for lua
Copyright 2009 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$
]]--
local... | apache-2.0 |
jlcvp/otxserver | data/monster/bosses/munster.lua | 2 | 2679 | local mType = Game.createMonsterType("Munster")
local monster = {}
monster.description = "Munster"
monster.experience = 35
monster.outfit = {
lookType = 56,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 58
monster.maxHealth = 58
monster.race = "blood"
... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/SEAT/GetInteriorVehicleData/007_Disallow_flow_in_case_moduleType_is_absent_in_LPT.lua | 1 | 1856 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0105-remote-control-seat.md
-- User story:
-- Use case:
-- Item:
--
-- Description:
-- In case:
-- 1) "moduleType" does not exist in app... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Southern_San_dOria/npcs/Maleme.lua | 15 | 1477 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Maleme
-- Type: Weather Reporter
-- Involved in Quest: Flyers for Regine
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/crepe_delice.lua | 17 | 1278 | -----------------------------------------
-- ID: 5767
-- Item: Crepe Delice
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP +15
-- Magic Accuracy +3
-- Magic Defense +2
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
jlcvp/otxserver | data/monster/fey/dryad.lua | 2 | 2618 | local mType = Game.createMonsterType("Dryad")
local monster = {}
monster.description = "a dryad"
monster.experience = 190
monster.outfit = {
lookType = 137,
lookHead = 99,
lookBody = 41,
lookLegs = 5,
lookFeet = 102,
lookAddons = 3,
lookMount = 0
}
monster.raceId = 383
monster.Bestiary = {
class = "Fey",
rac... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Security/RPCMessageProtection/002_Protected_Mode_Protected_RPC_EncryptedRequired_TrueFalseOrMissing_NotEncryptedNotification.lua | 1 | 2958 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0207-rpc-message-protection.md
-- Description:
-- Precondition:
-- 1) App registered and activated, OnHMIStatus(FULL)
-- 2) RPC servi... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Northern_San_dOria/npcs/Morjean.lua | 13 | 1774 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Morjean
-- Involved in Quest: A Squire's Test II (Optional), The Holy Crest
-- @pos 99 0 116 231
-------------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
markeldigital/design-system | vendor/ruby/2.0.0/gems/pygments.rb-0.6.3/vendor/pygments-main/tests/examplefiles/example.lua | 102 | 8677 | --[[
Auctioneer Advanced
Version: <%version%> (<%codename%>)
Revision: $Id: CoreMain.lua 2233 2007-09-25 03:57:33Z norganna $
URL: http://auctioneeraddon.com/
This is an addon for World of Warcraft that adds statistical history to the auction data that is collected
when the auction is scanned, so that you can ea... | mit |
Squeakz/darkstar | scripts/zones/West_Sarutabaruta/npcs/Ipupu.lua | 13 | 1410 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Ipupu
-- Involved in Quest: Glyph Hanger
-- @pos 251.745 -5.5 35.539 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems"... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/weaponskills/crescent_moon.lua | 11 | 1748 | -----------------------------------
-- Crescent Moon
-- Great Sword weapon skill
-- Skill level: 175
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:35%
-- 100%TP 200%TP 300%TP
-- 1.0 1.75 2.5
-----------------------------------
require("scripts/globals/status");
require("sc... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/build_options/103_ATF_Timeout_wait_response_PTU_PROPRIETARY.lua | 1 | 4549 | ---------------------------------------------------------------------------------------------
-- Requirements summary:
-- [PolicyTableUpdate] Timeout to wait a response on PTU
--
-- Description:
-- SDL should request PTU in app is registered and getting device consent
-- 1. Used preconditions
-- SDL is built with "-DEX... | bsd-3-clause |
ddumont/darkstar | scripts/globals/items/bowl_of_homemade_stew.lua | 12 | 1869 | -----------------------------------------
-- ID: 5222
-- Item: Bowl of Homemade Stew
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Vitality 1
-- Accuracy +12% (cap 80)
-- Attack +10% (cap 40)
-- Ranged Accuracy +12% (cap 80)
-- Ranged Attack +10% (cap 40)
--------------------------------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/7_0/1581_SubscribeVehicleData_Twice_Ignored.lua | 1 | 3902 | ---------------------------------------------------------------------------------------------------
-- https://github.com/smartdevicelink/sdl_core/issues/1581
--
-- Steps:
-- 1) Start SDL core and HMI
-- 2) Connect a mobile app and activate app
-- 3) Subscribe to some vehicle data
-- 4) Try to subscribe to the same veh... | bsd-3-clause |
ff-kbu/fff-luci | applications/luci-statistics/luasrc/model/cbi/luci_statistics/df.lua | 78 | 1628 | --[[
Luci configuration model for statistics - collectd df plugin configuration
(c) 2008 Freifunk Leipzig / 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... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/user_consent_of_Policies/200_ATF_Data_consent_prompt.lua | 1 | 2963 | ---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [Policies]: PoliciesManager must provide data consent prompt from the policy table upon request from HMI
--
-- Description:
-- HMI requests from SDL user friendly message for data consent
-- 1. Used ... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ei.lua | 17 | 3739 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #5 (I 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;
-----------------------------------
re... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Temenos/mobs/Carbuncle_Prime.lua | 20 | 2230 | -----------------------------------
-- Area: Temenos E T
-- NPC: mystic Avatar
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Abyssea-Altepa/npcs/qm9.lua | 14 | 1342 | -----------------------------------
-- Zone: Abyssea-Altepa
-- NPC: qm9 (???)
-- Spawns Vadleany
-- @pos ? ? ? 218
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[
... | gpl-3.0 |
Xetrill/XsLuaJIT | XsLuaJIT/lib/lxsext_c_tests.lua | 1 | 4123 | require('luaunit')
local StringLibraryExtensions = {}
function StringLibraryExtensions:make_map(v)
local m = table.create and table.create(0, #v) or {}
for i = 1, #v do
m[v[i]] = v[i]
end
return m
end
function StringLibraryExtensions:TestSplitWithSingleSeparator()
local split = string.split
assertE... | mit |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Resumption/HMI_Level/04_two_apps_LIMITED_FULL/004_06_LIMITED_BACKGROUND_different_types_resumption_LIMITED.lua | 1 | 1933 | ---------------------------------------------------------------------------------------------------
-- Description:
-- Check presence of HMI level resumption in case if:
-- - app has LIMITED level before unexpected disconnect
-- - another app of different HMI type is registered and switched to BACKGROUND just after u... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tachi.lua | 17 | 1486 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Tachi
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngag... | gpl-3.0 |
Talonis-the-Lantean/githu-test | lua/autorun/a_gmod13.lua | 1 | 6133 | -- Support for gmod13 by AlexALX
-- This lib still needed for fix some problems and add removed functions
if (Gmod13Lib!=nil) then return end -- prevent calling this file twice
if (SERVER) then
AddCSLuaFile();
end
-- needed for detect when this lib loaded or not in other files.
function Gmod13Lib()
return true;
en... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/SDL5_0/Image_template/002_isTemplate_is_false.lua | 1 | 1243 | ---------------------------------------------------------------------------------------------------
-- User story: TBD
-- Use case: TBD
--
-- Requirement summary: TBD
--
-- Description:
-- In case:
-- Mobile application sends request with isTemplate = false
-- SDL must:
-- send isTemplate = false to HMI
---------------... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Talacca_Cove/npcs/_1l0.lua | 9 | 1865 | -----------------------------------
-- Area: Talacca_Cove
-- NPC: rock slab (corsair job flag quest)
-- @pos -99 -7 -91 57
-----------------------------------
package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
DeinFreund/Zero-K-Infrastructure | PlanetWars.old/Mods/BA66PW.sdd/LuaUI/Fonts/FreeSansBold_16.lua | 18 | 35265 | -- $Id: FreeSansBold_16.lua 3171 2008-11-06 09:06:29Z det $
local fontSpecs = {
srcFile = [[FreeSansBold.ttf]],
family = [[FreeSans]],
style = [[Bold]],
yStep = 17,
height = 16,
xTexSize = 512,
yTexSize = 256,
outlineRadius = 2,
outlineWeight = 100,
}
local glyphs = {}
gl... | gpl-3.0 |
jlcvp/otxserver | data/monster/birds/berserker_chicken.lua | 2 | 2708 | local mType = Game.createMonsterType("Berserker Chicken")
local monster = {}
monster.description = "a berserker chicken"
monster.experience = 220
monster.outfit = {
lookType = 111,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 561
monster.Bestiary = {
... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Palborough_Mines/npcs/_3z8.lua | 14 | 1541 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Refiner Lever
-- Involved In Mission: Journey Abroad
-- @zone 143
-- @pos 180 -32 167
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
cp1337/devland | data/spells/scripts/monsters/phantasm_exori.lua | 1 | 2224 | local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_YELLOW_RINGS)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
local condition = createConditionObject(CONDITION_POISON)
setConditionParam... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.