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
legoktm/wesnoth
data/ai/micro_ais/cas/ca_wolves_wander.lua
26
1946
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local BC = wesnoth.require "ai/lua/battle_calcs.lua" local LS = wesnoth.require "lua/location_set.lua" local function get_wolves(cfg) local wolves = AH.get_units_with_moves { side = wesnoth.current.side, { ...
gpl-2.0
lukego/snabbswitch
lib/ljsyscall/test/test.lua
18
89565
-- test suite for ljsyscall. -- TODO stop using globals for tests arg = arg or {} -- only use this installation for tests package.path = "./?.lua;" local strict = require "include.strict.strict" local helpers = require "syscall.helpers" local assert = helpers.assert local S local tmpabi local short if arg[1] ==...
apache-2.0
rpetit3/darkstar
scripts/globals/shop.lua
12
2386
----------------------------------- -- -- Functions for Shop system ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/conquest"); ----------------------------------- -- Nations ----------------------------------- SANDORIA = 0; BASTOK = 1; WINDURST = 2; KAZHAM = ...
gpl-3.0
darsor/opentx-frequency-chart
XLite.lua
1
4415
local current_screen = 1 -- minimum and maximum FPV frequencies local min_freq = 5645 local max_freq = 5945 -- Uncomment following two lines for EU --local min_allowed = 5725 --local max_allowed = 5875 -- minimum and maximum screen x-coordinates for position screen local min_xpos = 9 local max_xpos = 118 local freq...
mit
rpetit3/darkstar
scripts/zones/Castle_Oztroja/npcs/_m73.lua
13
2224
----------------------------------- -- Area: Castle Oztroja -- NPC: _m73 (Torch Stand) -- Notes: Opens door _477 when _m72 to _m75 are lit -- @pos -140.146 -72.058 -137.145 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
rpetit3/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sorrowful_Sage.lua
13
2482
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sorrowful Sage -- Type: Assault Mission Giver -- @pos 134.096 0.161 -30.401 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
rpetit3/darkstar
scripts/zones/Port_Windurst/npcs/Pherchabalet.lua
13
1054
----------------------------------- -- Area: Port Windurst -- NPC: Pherchabalet -- Type: Standard NPC -- @zone: 240 -- @pos 34.683 -5.999 137.447 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------...
gpl-3.0
rpetit3/darkstar
scripts/zones/Port_Bastok/npcs/Tilian.lua
13
1434
----------------------------------- -- Area: Port Bastok -- NPC: Tilian -- Type: Quest NPC -- @pos -118.460 4.999 -68.090 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones...
gpl-3.0
peterbarker/ardupilot
libraries/AP_Scripting/examples/OOP_example.lua
9
3279
-- this is an example of how to do object oriented programming in Lua function constrain(v, minv, maxv) -- constrain a value between two limits if v < minv then return minv end if v > maxv then return maxv end return v end --[[ a PI controller with feed-forward implemented as a Lua obje...
gpl-3.0
opentechinstitute/luci-commotion-linux
contrib/luasrcdiet/lua/lparser.lua
122
41820
--[[-------------------------------------------------------------------- lparser.lua: Lua 5.1 parser in Lua This file is part of LuaSrcDiet, based on Yueliang material. Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net> The COPYRIGHT file describes the conditions under which this software may be distribu...
apache-2.0
rpetit3/darkstar
scripts/zones/Southern_San_dOria/npcs/Nokkhi_Jinjahl.lua
13
13181
----------------------------------- -- Area: Southern San d'Oria -- NPC: Nokkhi Jinjahl -- Type: Travelling Merchant NPC / NPC Quiver Maker / San d'Oria 1st Place -- @zone: 230 -- @pos 24.829 0.978 -13.110 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package....
gpl-3.0
rpetit3/darkstar
scripts/globals/spells/swift_etude.lua
27
1611
----------------------------------------- -- Spell: Swift Etude -- Static AGI Boost, BRD 68 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagi...
gpl-3.0
luizfeliperj/nodemcu-firmware
lua_examples/ucglib/UcgLogo.lua
18
5054
-- setup SPI and connect display function init_spi_display() -- Hardware SPI CLK = GPIO14 -- Hardware SPI MOSI = GPIO13 -- Hardware SPI MISO = GPIO12 (not used) -- Hardware SPI /CS = GPIO15 (not used) -- CS, D/C, and RES can be assigned freely to available GPIOs local cs = 8 -- GPIO15, pull-d...
mit
rpetit3/darkstar
scripts/zones/Kazham/npcs/Tielleque.lua
27
1732
----------------------------------- -- Area: Kazham -- NPC: Tielleque -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onT...
gpl-3.0
rrthomas/luarocks
src/luarocks/manif_core.lua
18
2785
--- Core functions for querying manifest files. -- This module requires no specific 'fs' functionality. --module("luarocks.manif_core", package.seeall) local manif_core = {} package.loaded["luarocks.manif_core"] = manif_core local persist = require("luarocks.persist") local type_check = require("luarocks.type_check")...
mit
luizfeliperj/nodemcu-firmware
lua_modules/bh1750/bh1750_Example2.lua
89
1719
-- *************************************************************************** -- BH1750 Example Program for ESP8266 with nodeMCU -- BH1750 compatible tested 2015-1-30 -- -- Written by xiaohu -- -- MIT license, http://opensource.org/licenses/MIT -- ***********************************************************************...
mit
rpetit3/darkstar
scripts/globals/effects/dex_down.lua
34
1107
----------------------------------- -- -- EFFECT_DEX_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if ((target:getStat(MOD_DEX) - effect:ge...
gpl-3.0
nokizorque/ucd
guieditor/client/output.lua
2
10498
--[[-------------------------------------------------- GUI Editor client output.lua create the code output window --]]-------------------------------------------------- Output = { gui = {}, restoreData = {}, } local GenerateBasicLuaCode = true addEvent("guieditor:client_saveSuccess", true) addEventHandler(...
mit
tommo/gii
template/game/lib/mock/prefabs/PlaceHolder.lua
2
2677
--[[ * MOCK framework for Moai * Copyright (C) 2012 Tommo Zhou(tommo.zhou@gmail.com). All rights reserved. * * 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 *...
mit
wanghuan1115/sdkbox-chartboost-sample
lua/src/cocos/framework/extends/SpriteEx.lua
12
2141
--[[ Copyright (c) 2011-2014 chukong-inc.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 rights to use, copy, modify, merge, publish, dis...
mit
MinetestForFun/server-minetestforfun-creative
mods/WorldEdit/worldedit/init.lua
1
1330
--- Worldedit. -- @module worldedit -- @release 1.1 -- @copyright 2013 sfan5, Anthony Zhang (Uberi/Temperest), and Brett O'Donnell (cornernote). -- @license GNU Affero General Public License version 3 (AGPLv3) -- @author sfan5 -- @author Anthony Zang (Uberi/Temperest) -- @author Bret O'Donnel (cornernote) -- @author Sh...
unlicense
rpetit3/darkstar
scripts/zones/San_dOria-Jeuno_Airship/npcs/Ricaldo.lua
30
2318
----------------------------------- -- Area: San d'Oria-Jeuno Airship -- NPC: Ricaldo -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil; require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs"); ----------------------------------- -- onTra...
gpl-3.0
spacebuild/spacebuild
lua/autorun/resources_api.lua
5
6661
-- -- Created by IntelliJ IDEA. -- User: Sam Elmer -- Date: 8/11/12 -- Time: 9:03 AM -- To change this template use File | Settings | File Templates. -- RESOURCES = {} --TODO: Complete Documentation --TODO: For Developers: You need to fill this file out with your custom RD replacement/whatever. if (SERVER) then ...
apache-2.0
rpetit3/darkstar
scripts/globals/items/wild_onion.lua
18
1172
----------------------------------------- -- ID: 4387 -- Item: wild_onion -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 4 -- Vitality -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
rpetit3/darkstar
scripts/zones/Port_Bastok/npcs/Raifa.lua
12
1041
----------------------------------- -- Area: Port Bastok -- NPC: Raifa -- Type: Quest Giver -- @zone: 236 -- @pos -166.416 -8.48 7.153 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; -----------------------...
gpl-3.0
tvandijck/premake-core
binmodules/luasocket/samples/lpr.lua
43
1561
local lp = require("socket.lp") local function usage() print('\nUsage: lua lpr.lua [filename] [keyword=val...]\n') print('Valid keywords are :') print( ' host=remote host or IP address (default "localhost")\n' .. ' queue=remote queue or printer name (default "printer")\n' .. ' port=remote port ...
bsd-3-clause
dkogan/notion
contrib/styles/look_awesome_sm.lua
3
4081
-- Authors: Unknown -- License: Unknown -- Last Changed: Unknown -- -- look-awesome-sm.lua drawing engine configuration file for Ion. if not gr.select_engine("de") then return end de.reset() de.defstyle("*", { shadow_colour = "#99A", highlight_colour = "#99A", background_colour = "#667", foreground_c...
lgpl-2.1
rpetit3/darkstar
scripts/zones/Kazham-Jeuno_Airship/TextIDs.lua
22
1072
-- 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 = 6384; -- Obtained: <item> GIL_OBTAINED = 6385; -- Obtained <number> gil KEYITEM_OBTAINED = 6387; -- Obtain...
gpl-3.0
aradml/-
plugins/warn.lua
6
5882
do local function warn_by_username(extra, success, result) if success == 1 then local msg = result local target = extra.target local receiver = extra.receiver local hash = 'warn:'..target local value = redis:hget(hash, msg.id) local text = '' local name = '' if msg.first_name then name = string....
gpl-2.0
lbeltrame/bcbio-nextgen
config/vcfanno/GRCh37-gemini.lua
4
3900
function mean(vals) local sum=0 for i=1,#vals do sum = sum + vals[i] end return sum / #vals end function loc(chrom, start, stop) return chrom .. ":" .. start .. "-" .. stop end CLINVAR_LOOKUP = {} CLINVAR_LOOKUP['0'] = 'unknown' CLINVAR_LOOKUP['1'] = 'germline' CLINVAR_LOOKUP['2'] = 'somatic' CLINVAR_LOO...
mit
tvandijck/premake-core
src/tools/snc.lua
21
2813
-- -- snc.lua -- Provides Sony SNC-specific configuration strings. -- Copyright (c) 2010-2016 Jason Perkins and the Premake project -- local p = premake p.tools.snc = {} local snc = p.tools.snc local gcc = p.tools.gcc -- -- Retrieve the CFLAGS for a specific configuration. -- snc.shared = { flags = { Fat...
bsd-3-clause
rpetit3/darkstar
scripts/zones/Selbina/npcs/Herminia.lua
13
1311
----------------------------------- -- Area: Selbina -- NPC: Herminia -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); ---------------------...
gpl-3.0
ddouglascarr/rooset
lffrontend/app/main/issue/show.lua
1
4551
local issue = Issue:by_id ( param.get_id () ) if not issue then execute.view { module = "index", view = "404" } request.set_status("404 Not Found") return end local initiatives = issue.initiatives if app.session.member_id then issue:load_everything_for_member_id ( app.session.member_id ) initiatives:load_e...
mit
lukego/snabbswitch
lib/ljsyscall/syscall/netbsd/sysctl.lua
24
9682
--types for NetBSD sysctl, incomplete at present local require = require local c = require "syscall.netbsd.constants" -- TODO note might be considered bool, CTLTYPE_BOOL is defined. -- TODO we should traverse tree and read types instead of predefined values local types = { unspec = c.CTL.UNSPEC, kern = {...
apache-2.0
Easimer/ld33
vectordecay.lua
1
5902
require "class" require "assets" require "entities" require "player" require "background" require "cell" require "sound" game = { version = "0.1.0", ticktime = 0, player = nil, camera = { x = 0, y = 0 }, background = nil, layers = { game = { canvas = nil, shader = nil }, g...
mit
rpetit3/darkstar
scripts/zones/Metalworks/npcs/Romualdo.lua
33
1377
----------------------------------- -- Area: Metalworks -- NPC: Romualdo -- Involved in Quest: Stamp Hunt ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Metalworks/TextIDs"); -...
gpl-3.0
vseledkin/april-ann
packages/basics/class/lua_src/class.lua
3
13705
--[[ Copyright (c) 2014 Francisco Zamora-Martinez (pakozm@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 rights to ...
gpl-3.0
msva/verse
net/httpclient_listener.lua
1
1700
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local log = require "util.logger".init("httpclient_listener"); local t_concat, t_insert = table.concat, t...
mit
nokizorque/ucd
UCDutil/serverExports.lua
1
4224
function formatMil(mil) if not mil then mil = 0 end local secs = math.floor(mil / 1000 % 60) local mins = math.floor(mil / 1000 / 60 % 60) return string.format("%02d:%02d", mins, secs) end function getCityZoneFromXYZ(x, y, z) local theZone = getZoneName(x, y, z, true) if (theZone) then if (theZone == "Las Vent...
mit
rpetit3/darkstar
scripts/zones/Southern_San_dOria/Zone.lua
26
2786
----------------------------------- -- -- Zone: Southern_San_dOria (230) -- ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/events/harvest_festivals"); require("scripts/globals/zone"); require("scripts/gl...
gpl-3.0
rpetit3/darkstar
scripts/zones/Arrapago_Remnants/IDs.lua
12
1635
Arrapago = { text = { -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379, -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6384, -- Obtained: <item> GIL_OBTAINED = 6385, -- Obtained <number> gil KEYITEM_OBTAINED = 6387, -- Obtain...
gpl-3.0
rpetit3/darkstar
scripts/zones/Horlais_Peak/Zone.lua
30
1723
----------------------------------- -- -- Zone: Horlais_Peak (139) -- ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Horlais_Peak/TextIDs"); --------------------------------...
gpl-3.0
Aminkavari/xXD4RKXxBot
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
matinbot/telerobot
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
rpetit3/darkstar
scripts/zones/Cloister_of_Gales/bcnms/trial_by_wind.lua
30
1859
----------------------------------- -- Area: Cloister of Gales -- BCNM: Trial by Wind -- @zone -361 1 -381 201 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"...
gpl-3.0
rpetit3/darkstar
scripts/zones/Abyssea-Misareaux/npcs/qm2.lua
17
1726
----------------------------------- -- Zone: Abyssea-Misereaux -- NPC: ??? -- Spawns: Sobek ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(playe...
gpl-3.0
Endika/Algorithm-Implementations
Merge_Sort/Lua/Yonaba/merge_sort_test.lua
27
1362
-- Tests for merge_sort.lua local mergesort = require 'merge_sort' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 end local...
mit
rpetit3/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Fire.lua
13
2379
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Fire -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles")...
gpl-3.0
rpetit3/darkstar
scripts/zones/West_Sarutabaruta_[S]/TextIDs.lua
15
1235
-- 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
vlapsley/outback
mods/technic/technic/machines/register/grindings.lua
4
2306
local S = technic.getter local moretrees = minetest.get_modpath("moretrees") local mesecons_materials = minetest.get_modpath("mesecons_materials") local dye = minetest.get_modpath("dye") -- sawdust, the finest wood/tree grinding local sawdust = "technic:sawdust" minetest.register_craftitem(sawdust, { description = S(...
lgpl-2.1
rpetit3/darkstar
scripts/zones/Jugner_Forest_[S]/mobs/Decrepit_Gnole.lua
13
1685
----------------------------------- -- Area: Jugner Forest (S) -- NPC: Decrepit Gnole ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) mob:setLocalVar("transformTime", os.time()) end; ------------------------...
gpl-3.0
peterbarker/ardupilot
libraries/AP_Scripting/examples/rover-MinFixType.lua
13
6608
--[[---------------------------------------------------------------------------- MinFixType ArduPilot Lua script Checks for mission running and commands a hold/pause if the GPS fix type is less than a threshold value. CAUTION: This script is capable of engaging and disengaging autonomous control of a vehicle...
gpl-3.0
beko99/DEVBEKO
plugins/supergroup.lua
1
80607
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY devbeko ▀▄ ▄▀ ▀▄ ▄▀ BY devbeko (@D_1_T) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY devbeko ▀▄ ▄▀ ▀▄ ▄▀ Orders : سوبر كروب ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
lukego/snabbswitch
lib/pflua/src/pf/ssa.lua
26
10833
module(...,package.seeall) local utils = require('pf.utils') local verbose = os.getenv("PF_VERBOSE"); local set, pp, dup, concat = utils.set, utils.pp, utils.dup, utils.concat local relops = set('<', '<=', '=', '!=', '>=', '>') --- SSA := { start=Label, blocks={Label=>Block, ...} } --- Label := string --- Block :=...
apache-2.0
lthall/Leonard_ardupilot
libraries/AP_Scripting/examples/rover-TerrainDetector.lua
13
7767
--[[---------------------------------------------------------------------------- TerrainDetector ArduPilot Lua script Uses gyro and accelerometer data to detect rough terrain and slow the vehicle's speed accordingly during auto missions. Provides a set of custom tuning parameters: ROUGH_SPEED : (m/s) rou...
gpl-3.0
aircross/OpenWrt-Firefly-LuCI
applications/luci-upnp/luasrc/controller/upnp.lua
66
2082
--[[ 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
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/screenplays/village/phase3/fs_sad_2_theaters/fs_sad_2_theater_8.lua
1
3268
local ObjectManager = require("managers.object.object_manager") local QuestManager = require("managers.quest.quest_manager") local SpawnMobiles = require("utils.spawn_mobiles") require("utils.helpers") FsSad2Theater8 = GoToTheater:new { -- Task properties taskName = "FsSad2Theater8", -- GoToTheater properties min...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/conversations/village/fs_surveyor_conv.lua
1
6365
villageSurveyorConvoTemplate = ConvoTemplate:new { initialScreen = "", templateType = "Lua", luaClassHandler = "villageSurveyorConvoHandler", screens = {} } intro_wrong_phase = ConvoScreen:new { id = "intro_wrong_phase", leftDialog = "@quest/force_sensitive/fs_survey:wrong_phase", -- There's not really anything ...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/space_rebel_tier2_eker.lua
3
2204
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/hair/sullustan/sul_hair_s09_m.lua
3
2240
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/loot/items/armor/composite_armor_leggings.lua
4
1247
composite_armor_leggings = { minimumLevel = 0, maximumLevel = -1, customObjectName = "Composite Armor Leggings", directObjectTemplate = "object/tangible/wearables/armor/composite/armor_composite_leggings.iff", craftingValues = { {"armor_rating",1,1,0}, {"armor_effectiveness",8,39,10}, {"armor_integrity",3000...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/screenplays/tasks/dantooine/sg_567.lua
1
1446
sg_567_missions = { { missionType = "assassinate", primarySpawns = { { npcTemplate = "sg_567_droideka", npcName = "(a Malfunctioning Droideka)" } }, secondarySpawns = {}, itemSpawns = {}, rewards = { { rewardType = "credits", amount = 5000 }, { rewardType = "faction", faction = "i...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/lair/verne/lair_verne.lua
1
2251
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
sprunk/Zero-K
LuaUI/Fonts/KOMTXT___16.lua
26
33858
-- $Id: KOMTXT___16.lua 3171 2008-11-06 09:06:29Z det $ local fontSpecs = { srcFile = [[KOMTXT__.ttf]], family = [[Komika Text]], style = [[Regular]], yStep = 20, height = 16, xTexSize = 512, yTexSize = 256, outlineRadius = 2, outlineWeight = 100, } local glyphs = {} glyphs[32] = { --' '...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/community_crafting/component/refined_rudic.lua
1
3039
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/vehicle/civilian/jetpack.lua
3
2248
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/mission/quest_item/zogor_sturm_q3_needed.lua
3
2284
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/weapon/rifle_light_blaster_laser_carbine.lua
1
3809
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/static/item/wp_mle_sword_lightsaber_sleeksilver.lua
3
2276
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/commands/enragepets.lua
4
2123
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
agpl-3.0
sprunk/Zero-K
scripts/raveparty.lua
1
4444
include "pieceControl.lua" local base, turret, spindle, fakespindle = piece('base', 'turret', 'spindle', 'fakespindle') local guns = {} for i=1,6 do guns[i] = { center = piece('center'..i), sleeve = piece('sleeve'..i), barrel = piece('barrel'..i), flare = piece('flare'..i), y = 0, z = 0, } end local hp...
gpl-2.0
hthompson6/contrail-controller
src/analytics/uvedelete.lua
10
1755
-- -- Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. -- local function sub_del(_values) local lres = redis.call('hgetall',_values) local iter = 1 while iter <= #lres do local attr = lres[iter] local val = lres[iter+1] if string.byte(val,1) ~= 60 then loca...
apache-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/armor/component/armor_layer_stun.lua
1
3331
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/weapon/ranged/heavy/heavy_acid_beam.lua
1
6300
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/corellia/flail_butcher.lua
1
1771
flail_butcher = Creature:new { objectName = "@mob/creature_names:flail_butcher", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "flail", faction = "flail", level = 22, chanceHit = 0.35, damageMin = 220, damageMax = 230, baseXp = 2219, baseHAM = 6300, baseHAMmax = 7700, armor = 0, resis...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/attachment/weapon/blacksun_medium_weapon2_s02.lua
3
2324
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/commands/getAttributesBatch.lua
4
2147
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_drakka_judarrl.lua
3
2204
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/loot/items/wearables/necklace/necklace_s03.lua
4
1267
necklace_s03 = { -- Crested Neckpiece minimumLevel = 0, maximumLevel = -1, customObjectName = "", directObjectTemplate = "object/tangible/wearables/necklace/necklace_s03.iff", craftingValues = {}, skillMods = {}, customizationStringNames = {"/private/index_color_1","/private/index_color_2"}...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/powerup/weapon/ranged_power.lua
3
3296
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/thug/pirate_leader.lua
1
2156
pirate_leader = Creature:new { objectName = "@mob/creature_names:pirate_leader", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "pirate", faction = "pirate", level = 17, chanceHit = 0.320000, damageMin = 160, damageMax = 170, baseXp = 1257, baseHAM = 3500, baseHAMmax = 4300, armor = 0, ...
agpl-3.0
ghaznaviali1375/alijoon
plugins/anti_bot.lua
1
3075
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/building/general/bunker_imperial_03.lua
3
2228
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/draft_schematic/food/component/serverobjects.lua
3
2471
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/corellia/drall_abbot.lua
1
1079
drall_abbot = Creature:new { objectName = "@mob/creature_names:drall_abbot", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "drall", faction = "drall", level = 15, chanceHit = 0.31, damageMin = 160, damageMax = 170, baseXp = 831, baseHAM = 2400, baseHAMmax = 3000, armor = 0, resists = ...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/naboo/gungan_guard.lua
1
1103
gungan_guard = Creature:new { objectName = "@mob/creature_names:gungan_guard", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "gungan", faction = "gungan", level = 16, chanceHit = 0.31, damageMin = 170, damageMax = 180, baseXp = 960, baseHAM = 2900, baseHAMmax = 3500, armor = 0, resist...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/components/engine/serverobjects.lua
3
11779
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
sprunk/Zero-K
scripts/bomberriot.lua
6
1662
local base = piece 'base' local body = piece 'body' local jet = piece 'jet' local wingtipl = piece 'wingtipl' local wingtipr = piece 'wingtipr' local smokePiece = {body, jet} include "constants.lua" include "bombers.lua" include "fixedwingTakeOff.lua" local SIG_TAKEOFF = 1 local takeoffHeight = UnitDefNames["bomberr...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_sindra_lintikoor.lua
3
2212
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/commands/broadcast.lua
4
2120
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
agpl-3.0
Kasalehlia/Cooking-Mana
scenes/menu.lua
1
1593
-- scenes/menu.lua -- Main Menu module('scenes/menu', package.seeall) class 'Menu' (Scene) function Menu:__init() Scene.__init(self, VP(4000,3000)) -- set up main character local actor_hubert = require 'actors/hubert' local hubert = actor_hubert.create() GAME:setMainCharacter(hubert) GAME...
mit
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/ship/components/droid_interface/ddi_freitek_droid_commander_mk3.lua
3
2376
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/loot/items/wearables/wookiee/wke_shirt_s01.lua
4
1087
wke_shirt_s01 = { -- Wookiee Hide Jerkin minimumLevel = 0, maximumLevel = -1, customObjectName = "", directObjectTemplate = "object/tangible/wearables/wookiee/wke_shirt_s01.iff", craftingValues = {}, skillMods = {}, customizationStringNames = {"/private/index_color_1","/private/index_color_...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/tangible/lair/base/objective_gungan_statue.lua
1
2299
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_dathomir_spider_nightsister_web_dancer.lua
3
2300
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
motoschifo/mame
plugins/gdbstub/init.lua
18
7757
-- license:BSD-3-Clause -- copyright-holders: Carl local exports = {} exports.name = "gdbstub" exports.version = "0.0.1" exports.description = "GDB stub plugin" exports.license = "BSD-3-Clause" exports.author = { name = "Carl" } local gdbstub = exports -- percpu mapping of mame registers to gdb register order local r...
gpl-2.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/static/item/item_substance_analyzer.lua
3
2228
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/weapon/ranged/rifle/rifle_flame_thrower.lua
1
6184
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/tatooine/valarian_thief.lua
1
1230
valarian_thief = Creature:new { objectName = "@mob/creature_names:valarian_thief", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "valarian", faction = "valarian", level = 10, chanceHit = 0.28, damageMin = 90, damageMax = 110, baseXp = 356, baseHAM = 810, baseHAMmax = 990, armor = 0, r...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/object/mobile/dressed_commoner_naboo_twilek_female_01.lua
3
2272
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
agpl-3.0