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 |
|---|---|---|---|---|---|
Squeakz/darkstar | scripts/zones/Southern_San_dOria/npcs/Alaune.lua | 13 | 1495 | -----------------------------------
-- Area: Southern San d`Oria
-- NPC: Alaune
-- Type: Tutorial NPC
-- @zone: 230
-- @pos -90 1 -56
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/CLIMATE_RADIO/SetInteriorVehicleData/016_UNSUPPORTED_RESOURCE_hdRadioEnableAvailable_false.lua | 1 | 1719 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0160-rc-radio-parameter-update.md
-- User story: TBD
--
-- Requirement summary:
-- TBD
--
-- Description:
-- In case:
-- 1) RC.GetCapabi... | bsd-3-clause |
zonque/wireshark | test/lua/acme_file.lua | 6 | 57038 | ------------------------------------------
-- acme_file_reader.lua
-- Author: Hadriel Kaplan (hadrielk at yahoo dot com)
-- version = 1.0
-- date = 3/3/2014
------------------------------------------
--[[
This is a Wireshark Lua-based capture file reader.
This "capture file" reader reads message logs from Acme ... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/7_0/3170_AddCommand_DeleteCommand_multiple_times.lua | 1 | 3713 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/3170
---------------------------------------------------------------------------------------------------
-- Description: Processing of 'AddCommand' and 'Delete... | bsd-3-clause |
jchuang1977/luci-1 | modules/luci-mod-admin-full/luasrc/controller/admin/uci.lua | 40 | 1769 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.admin.uci", package.seeall)
function index()
local redir = luci.http.formvalue("redir", true) or
luci.dispatcher.build_url(unpack(... | apache-2.0 |
ddumont/darkstar | scripts/zones/Zeruhn_Mines/Zone.lua | 12 | 2515 | -----------------------------------
--
-- Zone: Zeruhn_Mines (172)
--
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/zone");
require("scripts/zones/Zeruhn_Mines/TextIDs");
-... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Port_San_dOria/npcs/Marquie.lua | 13 | 1355 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Marquie
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
--... | gpl-3.0 |
ddumont/darkstar | scripts/globals/mobskills/Emetic_Discharge.lua | 44 | 2025 | ---------------------------------------------
-- Emetic Discharge
-- Family: Bloodlapper and Brummbar
-- Description: Transfers all ailments to target
-- Type: Enfeebling
-- Utsusemi/Blink absorb: 2-3 shadows
-- Notes:
---------------------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/mobskills/Emetic_Discharge.lua | 44 | 2025 | ---------------------------------------------
-- Emetic Discharge
-- Family: Bloodlapper and Brummbar
-- Description: Transfers all ailments to target
-- Type: Enfeebling
-- Utsusemi/Blink absorb: 2-3 shadows
-- Notes:
---------------------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
jlcvp/otxserver | data/monster/vermins/lacewing_moth.lua | 2 | 2110 | local mType = Game.createMonsterType("Lacewing Moth")
local monster = {}
monster.description = "a Lacewing Moth"
monster.experience = 800
monster.outfit = {
lookType = 1148,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 1736
monster.Bestiary = {
class... | gpl-2.0 |
jlcvp/otxserver | data/monster/quests/cults_of_tibia/animated_stone_golem.lua | 2 | 2427 | local mType = Game.createMonsterType("Animated Stone Golem")
local monster = {}
monster.description = "an animated stone golem"
monster.experience = 160
monster.outfit = {
lookType = 67,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 270
monster.maxHeal... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/6_1/3136_01_Proprietary.lua | 1 | 6195 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/3136
--
-- Description: Successful 2nd PTU if it's triggered within failed retry for the 1st PTU
-- Note: script is applicable for PROPRIETARY policy flow
--
-... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Attohwa_Chasm/mobs/Alastor_Antlion.lua | 9 | 1866 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Alastor Antlion
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
mixins = {require("scripts/mixins/families/antlion_ambush_noaggro")}
-----------------------------------
-- onMobInitialize Actio... | gpl-3.0 |
montadar97/montadar-100k | plugin/VIRSON.lua | 1 | 1095 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ VIRSON : الاصدار ... | gpl-3.0 |
ff-kbu/fff-luci | contrib/luadoc/lua/luadoc/taglet/standard/tags.lua | 93 | 5221 | -------------------------------------------------------------------------------
-- Handlers for several tags
-- @release $Id: tags.lua,v 1.8 2007/09/05 12:39:09 tomas Exp $
-------------------------------------------------------------------------------
local luadoc = require "luadoc"
local util = require "luadoc.util"... | apache-2.0 |
aksenov/mybuild | CharacterView.lua | 1 | 2541 | -- The MIT License (MIT)
-- Copyright (c) 2015 Eugene Aksenov (e.aksenov@gmail.com)
--
-- 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... | mit |
ddumont/darkstar | scripts/globals/spells/sinewy_etude.lua | 27 | 1843 | -----------------------------------------
-- Spell: Sinewy Etude
-- Static STR Boost, BRD 24
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMag... | gpl-3.0 |
fredan/fDns | lua/ptr4.lua | 1 | 1980 | --
-- Copyright (C) 2016 Fredrik Danerklint, F redan AB
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Al_Zahbi/npcs/Hadibal.lua | 13 | 1037 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Hadibal
-- Type: Standard NPC
-- @zone: 48
-- @pos -34.345 -1 -38.842
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------------------... | gpl-3.0 |
miladb79/fox | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Port_Windurst/npcs/Pygmalion.lua | 13 | 1048 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pygmalion
-- Type: Standard NPC
-- @zone: 240
-- @pos 228.710 -7 93.314
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------------... | gpl-3.0 |
ddumont/darkstar | scripts/globals/spells/bluemagic/soporific.lua | 27 | 1377 | -----------------------------------------
-- Spell: Soporific
-- Puts all enemies within range to sleep
-- Spell cost: 38 MP
-- Monster Type: Plantoids
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 4
-- Stat Bonus: HP-5, MP+5
-- Level: 24
-- Casting Time: 3 seconds
-- Recast Time: 90 seconds
-- Duration: 90 secon... | gpl-3.0 |
cp1337/devland | data/npc/scripts/surgeon.lua | 1 | 2059 | local focus = 0
local talk_start = 0
local target = 0
local following = false
local attacking = false
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
if focus == cid then
selfSay('Good bye... | gpl-2.0 |
EnigmaTeam/EnigmaBot | plugins/ip.lua | 11 | 4571 | local function run(msg, matches)
if matches[1]:lower() == "config" then
local data = http.request("http://ip-api.com/json/"..URL.escape(matches[2]).."?fields=262143")
local jdat = JSON.decode(data)
if jdat.status == "success" then
local text = "مشخصات آی اس پی شخص-دامنه مورد نظر:\n"
.."کشور: "..jdat.countr... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Windurst_Waters/npcs/Aramu-Paramu.lua | 13 | 1685 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Aramu-Paramu
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -63 -4 27
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------------------------------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/ATF_UnsubscribeWayPoints.lua | 1 | 37994 | Test = require('connecttest')
local mobile_session = require('mobile_session')
local mobile = require("mobile_connection")
local tcp = require("tcp_connection")
local file_connection = require("file_connection")
require('cardinalities')
local events = require('events')
-------------------------------------------------... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Nyzul_Isle/mobs/Raubahn.lua | 12 | 5371 | -----------------------------------
-- Area: Nyzul Isle (Nashmeira's Plea)
-- MOB: Raubahn
-----------------------------------
require("scripts/zones/Nyzul_Isle/IDs");
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(m... | gpl-3.0 |
Adirelle/oUF | colors.lua | 2 | 8511 | local parent, ns = ...
local oUF = ns.oUF
local Private = oUF.Private
local frame_metatable = Private.frame_metatable
local colors = {
smooth = {
1, 0, 0,
1, 1, 0,
0, 1, 0
},
health = {49 / 255, 207 / 255, 37 / 255},
disconnected = {0.6, 0.6, 0.6},
tapped = {0.6, 0.6, 0.6},
runes = {
{247 / 255, 65 / 25... | mit |
ddumont/darkstar | scripts/globals/items/bowl_of_tomato_soup.lua | 12 | 1495 | -----------------------------------------
-- ID: 4420
-- Item: bowl_of_tomato_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- HP Recovered While Healing 5
-- Ranged Accuracy % 9 (cap 15)
-----------------------------------------
require("scripts/globals/sta... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Texture2D.lua | 1 | 8133 |
--------------------------------
-- @module Texture2D
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Gets max T.
-- @function [parent=#Texture2D] getMaxT
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Returns the pixel format.<... | mit |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/OrbitCamera.lua | 11 | 2060 |
--------------------------------
-- @module OrbitCamera
-- @extend ActionCamera
-- @parent_module cc
--------------------------------
-- Initializes a OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX.
-- @function [parent=#OrbitCamera] initWithDuration
-- @param self
-- @param #float t
-- @param... | mit |
ddumont/darkstar | scripts/globals/items/bowl_of_miso_soup_+1.lua | 12 | 2119 | -----------------------------------------
-- ID: 6467
-- Item: bowl_of_miso_soup_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP +8% (cap 55)
-- DEX +5
-- AGI +5
-- Accuracy +11% (cap 45)
-- Attack +11% (cap 45)
-- Ranged Accuracy +11% (cap 45)
-- Ranged Attack +11% (cap 45)
--------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Windurst_Walls/npcs/Four_of_Diamonds.lua | 14 | 1060 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Four of Diamonds
-- Type: Standard NPC
-- @zone 239
-- @pos -187.184 -3.545 151.092
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
----... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Western_Adoulin/npcs/Pagnelle.lua | 14 | 4477 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Pagnelle
-- Type: Standard NPC and Quest NPC
-- Starts, Involved with, and Finishes Quest: 'Raptor Rapture'
-- @zone 256
-- @pos -8 0 -100 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
---... | gpl-3.0 |
nubick/QuikSharp | lib/QL/Robots/Examples/Costs_counter.lua | 7 | 3172 | 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 |
jorgifumi/luci | modules/luci-base/luasrc/model/ipkg.lua | 6 | 5172 | -- Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local os = require "os"
local io = require "io"
local fs = require "nixio.fs"
local util = require "luci.util"
local type = type
local pairs = pai... | apache-2.0 |
jlcvp/otxserver | data/monster/quests/forgotten_knowledge/unbound_demon_outcast.lua | 2 | 3049 | local mType = Game.createMonsterType("Unbound Demon Outcast")
local monster = {}
monster.description = "an unbound demon outcast"
monster.experience = 6200
monster.outfit = {
lookType = 590,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 5900
monster.ma... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/CloudAppRPCs/009_GetCloudAppProperties_DATA_NOT_AVAILABLE.lua | 1 | 2091 | ---------------------------------------------------------------------------------------------------
-- Precondition:
-- 1) Application with <appID> is registered on SDL.
-- 2) Specific permissions are assigned for <appID> with GetCloudAppProperties
--
-- Steps:
-- 1) Application triggers a PTU with cloud app info... | bsd-3-clause |
yeewang/openwrt-luci | applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua | 44 | 1102 | --[[
LuCI hd-idle
(c) 2008 Yanira <forum-2008@email.de>
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$
]]--
require("nixio.fs")
m = Map... | apache-2.0 |
gogins/gogins.github.io | live_talks/silencio/lua/inversion_tests.lua | 2 | 1348 | Silencio = require("Silencio")
ChordSpace = require("ChordSpace")
local original = ChordSpace.chordsForNames['CM']
print(original:information())
print()
function invariantPcs(a_, b_)
local a = a_:eOP()
local b = b_:eOP()
local count = 0
for voice = 1, #a do
local p = a[voice]
if a:cou... | lgpl-2.1 |
ddumont/darkstar | scripts/zones/Temenos/Zone.lua | 35 | 4896 | -----------------------------------
--
-- Zone: Temenos (37)
--
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Temenos/TextIDs");
require("scripts/globals/limbus");
-------------... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/piece_of_cascade_candy.lua | 18 | 1175 | -----------------------------------------
-- ID: 5942
-- Item: Piece of Cascade Candy
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Mind +4
-- Charisma +4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
ddumont/darkstar | scripts/zones/RuLude_Gardens/npcs/Nelcabrit.lua | 14 | 2966 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Nelcabrit
-- Involved in Mission: San d'Oria 3-3, 4-1
-- @pos -32 9 -49 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
--------------------------... | gpl-3.0 |
UberWaffe/ScienceCostTweaker | configs/costs/uberwaffe.lua | 1 | 2214 | require("configs.costs.rawmodels")
if not sciencecosttweaker then sciencecosttweaker = {} end
if not sciencecosttweaker.costs then sciencecosttweaker.costs = {} end
-- ======================================================================================================================================================... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Wise_Turtle_IM.lua | 14 | 3342 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Wise Turtle, I.M.
-- Border Conquest Guards
-- @pos -599.903 -41.441 165.776 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/plate_of_shrimp_sushi.lua | 18 | 1544 | -----------------------------------------
-- ID: 5691
-- Item: plate_of_shrimp_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Vitality 1
-- Defense 5
-- Accuracy % 11
-- Store TP 2
-- Triple Attack 1
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
jlcvp/otxserver | data/scripts/lib/register_monster_type.lua | 2 | 16948 | registerMonsterType = {}
setmetatable(registerMonsterType,
{
__call =
function(self, mtype, mask)
for _,parse in pairs(self) do
parse(mtype, mask)
end
end
})
MonsterType.register = function(self, mask)
return registerMonsterType(self, mask)
end
registerMonsterType.name = function(mtype, mask)
if mask.name... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Kazham/npcs/Bubupp.lua | 17 | 3365 | -----------------------------------
-- Area: Kazham
-- NPC: Bubupp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
-- item ... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/SeparatingAudibleStatusChange/002_activate_App_audioStreamingState_during_PHONE_CALL_events.lua | 1 | 11529 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0264-Separating-the-change-of-Audible-status-and-the-change-of-HMI-Status.md
--------------------------------------------------------... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/8_2/3882/3882_009_two_apps_different_hmi_types_in_ptu_default_section.lua | 1 | 1898 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/3882
---------------------------------------------------------------------------------------------------
-- Description: SDL sends `UI.ChangeRegistration` with... | bsd-3-clause |
Squeakz/darkstar | scripts/globals/mobskills/Dragon_Breath.lua | 34 | 1375 | ---------------------------------------------
-- Dragon 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 Fafnir, Nidhogg, Cynoprosopi, and Wyrm. Because of the high damage output... | gpl-3.0 |
ff-kbu/fff-luci | protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua | 53 | 2242 | --[[
LuCI - Lua Configuration Interface
Copyright 2011-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
http://www.apache.org/licenses/LICENSE-2.0
]]--
loc... | apache-2.0 |
jlcvp/otxserver | data/monster/mammals/doom_deer.lua | 2 | 2486 | local mType = Game.createMonsterType("Doom Deer")
local monster = {}
monster.description = "a doom deer"
monster.experience = 200
monster.outfit = {
lookType = 31,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 559
monster.Bestiary = {
class = "Mammal"... | gpl-2.0 |
legatvs/libquvi-scripts | share/common/quvi/hash.lua | 3 | 1522 | -- libquvi-scripts
-- Copyright (C) 2013 Toni Gundogdu <legatvs@gmail.com>
--
-- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU Affero General Public
-- License as published by the Free Sof... | agpl-3.0 |
jlcvp/otxserver | data/monster/quests/the_first_dragon/bosses/kalyassa.lua | 2 | 3548 | local mType = Game.createMonsterType("Kalyassa")
local monster = {}
monster.description = "kalyassa"
monster.experience = 9000
monster.outfit = {
lookType = 947,
lookHead = 56,
lookBody = 113,
lookLegs = 19,
lookFeet = 95,
lookAddons = 3,
lookMount = 0
}
monster.health = 10000
monster.maxHealth = 10000
monster... | gpl-2.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/CardinalSplineTo.lua | 18 | 2195 |
--------------------------------
-- @module CardinalSplineTo
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- Return a PointArray.<br>
-- return A PointArray.
-- @function [parent=#CardinalSplineTo] getPoints
-- @param self
-- @return point_table#point_table ret (return value: poin... | mit |
smartdevicelink/sdl_atf_test_scripts | user_modules/shared_testcases/testCasesForImageParameterInResponse.lua | 1 | 5658 | --This script contains all test cases to verify Image Parameter
--How to use:
--1. local imageParameter = require('user_modules/shared_testcases/testCasesForImageParameter')
--2. imageParameter:verify_Image_Parameter(Request, Parameter, ImageValueBoundary, Mandatory)
--------------------------------------------------... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/CLIMATE_RADIO/OnInteriorVehicleData/003_Disallow_flow_by_policy_RADIO.lua | 1 | 1949 | ---------------------------------------------------------------------------------------------------
-- User story: https://github.com/smartdevicelink/sdl_requirements/issues/7
-- Use case: https://github.com/smartdevicelink/sdl_requirements/blob/master/detailed_docs/RC/Policy_Support_of_basic_RC_functionality.md
-- Ite... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Capabilities/UpdateVideoStreamingCapabilities/GetCapabilities/003_GetCapabilities_AddVSC_part_of_params.lua | 1 | 2437 | -- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0296-Update-video-streaming-capabilities-during-ignition-cycle.md
--
-- Description: SDL applies the videoStreamingCapability with additionalVideoStreamingCapabilities parameter
-- with several missed non-mandatory parameters in array ... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/IsReady/VR_IsReady/NotUsed/ATF_VR_IsReady_missed_splitRPC_VR_NotRespond.lua | 1 | 49022 | ---------------------------------------------------------------------------------------------
-- Purpose: Covert a part of CRQ APPLINK-20918
-- Verify functional requirement APPLINK-25044 (split RPCs).
-- Specific case: VR interface does not respond.
--------------------------------------------------------------------... | bsd-3-clause |
kennethlombardi/moai-graphics | engine/resources/prototypes/MOAILayerPrototype.lua | 1 | 4387 | local Layer = require "Layer";
MOAILayerPrototype = Layer:new();
local windowManager = require "WindowManager";
function MOAILayerPrototype:addToPartition(prop)
local partition = self.underlyingType:getPartition();
partition:insertProp(prop:getUnderlyingType());
end
function MOAILayerPrototype:allocate()
loca... | mit |
jlcvp/otxserver | data/monster/undeads/crypt_warrior.lua | 2 | 2631 | local mType = Game.createMonsterType("Crypt Warrior")
local monster = {}
monster.description = "a crypt warrior"
monster.experience = 4200
monster.outfit = {
lookType = 298,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 7800
monster.maxHealth = 7800
mo... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Kazham/npcs/Mitti_Haplihza.lua | 15 | 1054 | -----------------------------------
-- Area: Kazham
-- NPC: Mitti Haplihza
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Toraimarai_Canal/npcs/Transporter.lua | 13 | 1278 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: Transporter
-- Involved In Windurst Mission 7-1
-- @zone 169
-- @pos 182 11 -60 169
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
require("scripts/zones/Toraimarai_Canal/TextIDs");
--------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Throne_Room/mobs/Zeid.lua | 13 | 1689 | -----------------------------------
-- Area: Throne Room
-- MOB: Zeid
-- Mission 9-2 BASTOK BCNM Fight
-----------------------------------
-----------------------------------
-- onMobFight
-----------------------------------
function onMobFight(mob, target)
printf("mobtp %u",mob:getTP());
end;
-----------------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Protocol/Enable_OEM_exclusive_apps_support/008_3_GetSI_and_GetVT_delayed.lua | 1 | 1971 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0293-vehicle-type-filter.md
---------------------------------------------------------------------------------------------------
-- Descr... | bsd-3-clause |
premek/pink | examples/love2d/main.lua | 1 | 1088 | local pink = require('pink.pink')
local story = pink.getStory('game.ink')
-- you can also jump to a story knot based on some event in your game
story.choosePathString('back_in_london');
local currentText = nil
local a=10
function love.update(dt)
if not currentText then
if story.canContinue then
currentT... | mit |
ddumont/darkstar | scripts/zones/Southern_San_dOria_[S]/Zone.lua | 10 | 2560 | -----------------------------------
--
-- Zone: Southern_San_dOria_[S] (80)
--
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
requ... | gpl-3.0 |
kennethlombardi/moai-graphics | engine/editor/createDragonLayer.lua | 1 | 1148 | dofile("Pickle.lua")
layer1 = {
type = "Layer",
name = "dragonLayer.lua",
visible = "true",
propContainer = {},
position = {x = 0, y = 0, z = 0},
scripts = {"3DCameraMovement.lua"}
};
--dragon
scale = 4;
for i = 1, 1, 1 do
dragon = {
type = "Model",
fileName... | mit |
ddumont/darkstar | scripts/zones/Port_Bastok/npcs/Carmelo.lua | 14 | 4833 | -----------------------------------
-- Area: Port Bastok
-- NPC: Carmelo
-- Start & Finishes Quest: Love and Ice, A Test of True Love
-- Start Quest: Lovers in the Dusk
-- Involved in Quest: The Siren's Tear
-- @zone 236
-- @pos -146.476 -7.48 -10.889
-----------------------------------
require("scripts/globals/quests... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TransitionSlideInR.lua | 11 | 1045 |
--------------------------------
-- @module TransitionSlideInR
-- @extend TransitionSlideInL
-- @parent_module cc
--------------------------------
-- Creates a transition with duration and incoming scene.<br>
-- param t Duration time, in seconds.<br>
-- param scene A given scene.<br>
-- return A autoreleased Transit... | mit |
Squeakz/darkstar | scripts/globals/items/cup_of_healing_tea.lua | 17 | 1358 | -----------------------------------------
-- ID: 4286
-- Item: cup_of_healing_tea
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic 10
-- Vitality -1
-- Charisma 3
-- Magic Regen While Healing 2
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/AppServices/RPCPassThrough/003_SendLocation_Request_Timeout.lua | 1 | 4049 | ---------------------------------------------------------------------------------------------------
-- Precondition:
-- 1) app1 and app2 are registered on SDL.
-- 2) AppServiceProvider permissions(with NAVIGATION AppService permissions to handle rpc SendLocation) are assigned for <app1ID>
-- 3) SendLocation permis... | bsd-3-clause |
rcbebo82/OpenTx-Lua-Telemetry | Vario.lua | 1 | 3656 | -- This script is form OpenTx.org
-- edited by Benjamin Boy (rcbebo82@googlemail.com)
-- works now on OpenTX 2.1.x
-- Version 1
local MAXPOINTS = 92
local index = 0
local altitudes = {}
local launches = {}
local lastTime = 0
local lastTimerValue = 0
local lastMaxAltitude = 0
local time
local altitude
loc... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Gustav_Tunnel/MobIDs.lua | 28 | 1592 | -----------------------------------
-- Area: Gustav Tunnel (212)
-- Comments: -- posX, posY, posZ
-- (Taken from 'mob_spawn_points' table)
-----------------------------------
Goblinsavior_Heronox = 17645609;
Goblinsavior_Heronox_PH =
{
[17645592] = '1', -- 153.000, -10.000, -53.000
[17645605] = '1', -- 152.325... | gpl-3.0 |
simon247/omim | 3party/osrm/osrm-backend/profile.lua | 6 | 13380 | -- Begin of globals
--require("lib/access") --function temporarily inlined
barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["checkpoint"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["lift_gate"] = true, ["no"] = true, ["entrance"] = true }
access_tag_whitelist = { [... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/5_0/1032_CreateInteractionChoiceSet_core_successfully_creates_choice_set_with_duplicate_vrCommands_menuName_inside_it.lua | 1 | 1841 | ---------------------------------------------------------------------------------------------------
-- User story: https://github.com/smartdevicelink/sdl_core/issues/1032
--
-- Precondition:
-- 1) Core, HMI started.
-- 2) Application is registered, HMI level = FULL.
-- Description:
-- Steps to reproduce:
-- 1) Send Cre... | bsd-3-clause |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/AudioEngine.lua | 5 | 8261 |
--------------------------------
-- @module AudioEngine
-- @parent_module ccexp
--------------------------------
--
-- @function [parent=#AudioEngine] lazyInit
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Sets the current playback position of an audio ins... | mit |
jlcvp/otxserver | data/lib/core/container.lua | 2 | 1567 | function Container.isContainer(self)
return true
end
function Container.createLootItem(self, item, charm, prey)
if self:getEmptySlots() == 0 then
return true
end
local itemCount = 0
local randvalue = getLootRandom()
local lootBlockType = ItemType(item.itemId)
local chanceTo = item.chance
if not lootBlockTy... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Labyrinth_of_Onzozo/TextIDs.lua | 15 | 1092 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Norg/npcs/_700.lua | 14 | 2994 | -----------------------------------
-- Area: Norg
-- NPC: Oaken door (Gilgamesh's room)
-- @pos 97 -7 -12 252
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/settings")
-----------------------------------
-- onTrade Action
-----------------------------------
functio... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/meat_mithkabob.lua | 12 | 1456 | -----------------------------------------
-- ID: 4381
-- Item: meat_mithkabob
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 22
-- Attack Cap 60
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
jlcvp/otxserver | data/monster/elementals/lava_lurker.lua | 2 | 2795 | local mType = Game.createMonsterType("Lava Lurker")
local monster = {}
monster.description = "a lava lurker"
monster.experience = 4000
monster.outfit = {
lookType = 1041,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 1563
monster.Bestiary = {
class = ... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Southern_San_dOria/TextIDs.lua | 5 | 7055 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6423; -- Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6427; -- Try trading again after sorting your inventory.
ITEM_OBTAINED = 6429; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Spec... | gpl-3.0 |
albmarvil/The-Eternal-Sorrow | dependencies/luabind/examples/glut/glut_bindings.lua | 38 | 1543 | quit = false
function resize_func(w, h)
local ratio = w / h
print('====== resize')
glMatrixMode(gl.PROJECTION)
glLoadIdentity()
glViewport(0,0,w,h)
gluPerspective(45,ratio,1,1000)
glMatrixMode(gl.MODELVIEW)
glLoadIdentity()
end
angle = 0
angle2 = 0
previous_time = 0
function display_func()
if quit the... | apache-2.0 |
ddumont/darkstar | scripts/zones/Al_Zahbi/npcs/Taten-Bilten.lua | 14 | 1178 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Taten-Bilten
-- Guild Merchant NPC: Clothcraft Guild
-- @pos 71.598 -6.000 -56.930 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/dangerous_depth/fiery_blood.lua | 2 | 2104 | local mType = Game.createMonsterType("Fiery Blood")
local monster = {}
monster.description = "a fiery blood"
monster.experience = 0
monster.outfit = {
lookType = 49,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 5000
monster.maxHealth = 5000
monster.ra... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/Policy_Table_Update/165_ATF_Register_NewApp_not_exist_inLocalPT_start_PTU_for_NewApp.lua | 1 | 9101 | -- Requirement summary:
-- [PolicyTableUpdate] New application has registered and doesn't yet exist in Local PT during PTU in progress
--
-- Note: Copy attached ptu.json on this way: /tmp/fs/mp/images/ivsu_cache/
--
-- Description:
-- PoliciesManager must add the appID of the newly registered app to the Local PT in cas... | bsd-3-clause |
ff-kbu/fff-luci | modules/base/luasrc/ltn12.lua | 83 | 11303 | --[[
LuaSocket 2.0.2 license
Copyright � 2004-2007 Diego Nehab
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, me... | apache-2.0 |
Squeakz/darkstar | scripts/zones/Southern_San_dOria/npcs/Esmallegue.lua | 13 | 1505 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Esmallegue
-- General Info NPC
-- @zone 230
-- @pos 0 2 -83
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
ddumont/darkstar | scripts/globals/mobskills/Miasma.lua | 33 | 1139 | ---------------------------------------------
-- Miasma
--
-- Description: Releases a toxic cloud on nearby targets. Additional effects: Slow + Poison + Plague
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows?
-- Range: Less than or equal to 10.0
-- Notes: Only used by Gulool Ja Ja.
----------------------... | gpl-3.0 |
jlcvp/otxserver | data/monster/reptiles/young_sea_serpent.lua | 2 | 3508 | local mType = Game.createMonsterType("Young Sea Serpent")
local monster = {}
monster.description = "a young sea serpent"
monster.experience = 1000
monster.outfit = {
lookType = 317,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 439
monster.Bestiary = {... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/spells/jubaku_ni.lua | 27 | 1701 | -----------------------------------------
-- Spell: Jubaku: Ni
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------... | gpl-3.0 |
jchuang1977/luci-1 | applications/luci-app-vsftpd/luasrc/model/cbi/vsftpd/general.lua | 11 | 4092 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2014 HackPascal <hackpascal@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://ww... | apache-2.0 |
ddumont/darkstar | scripts/zones/Al_Zahbi/npcs/Yudi_Yolhbi.lua | 53 | 2326 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Yudi Yolhbi
-- Type: Woodworking Normal/Adv. Image Support
-- @pos -71.584 -7 -56.018 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
mcolmant/likwid | examples/Lua-likwidAPI.lua | 2 | 2871 | #!<PREFIX>/bin/likwid-lua
--[[
* =======================================================================================
*
* Filename: Lua-likwidAPI.lua
*
* Description: Example how to use the LIKWID API in Lua scripts
*
* Version: <VERSION>
* Released: <DATE>
*
* Author: Thom... | gpl-3.0 |
REZATITAN/PowerTG | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
ddumont/darkstar | scripts/zones/La_Theine_Plateau/npcs/Deaufrain.lua | 14 | 2537 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Deaufrain
-- Involved in Mission: The Rescue Drill
-- @pos -304 28 339 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions")... | gpl-3.0 |
vorbi123/testt | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/8_2/2468/2468_8_AddCommand_VR_Only_Timeout.lua | 1 | 1919 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/2468
---------------------------------------------------------------------------------------------------
-- Use case: AddCommand
-- Item: Timeout from VR porti... | bsd-3-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.