repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
yylangchen/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsJointSpring.lua | 10 | 2061 |
--------------------------------
-- @module PhysicsJointSpring
-- @extend PhysicsJoint
-- @parent_module cc
--------------------------------
--
-- @function [parent=#PhysicsJointSpring] setAnchr2
-- @param self
-- @param #vec2_table anchr2
--------------------------------
--
-- @function [parent=#PhysicsJ... | mit |
xdemolish/darkstar | scripts/globals/weaponskills/tachi_rana.lua | 1 | 4535 | -----------------------------------
-- Tachi Rana
-- Great Katana weapon skill
-- Skill Level: N/A
-- Delivers a three-fold attack. params.accuracy varies with TP. Aftermath effect varies with TP. See Kogarasumaru.
-- In order to obtain Tachi: Rana, the Unlocking a Myth (Samurai) quest must be completed.
--... | gpl-3.0 |
hsiaoyi/Melo | cocos2d/tests/lua-tests/src/testResource.lua | 7 | 2060 | s_pPathGrossini = "Images/grossini.png"
s_pPathSister1 = "Images/grossinis_sister1.png"
s_pPathSister2 = "Images/grossinis_sister2.png"
s_pPathB1 = "Images/b1.png"
s_pPathB2 = "Images/b2.png"
s_pPathR1 = "Images/r1.png"
s_pPathR2 = "Images/r2.png"
s_pP... | apache-2.0 |
chris5560/openwrt-luci | applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdiface6.lua | 68 | 5949 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local util = require "luci.util"
local ip = require "luci.ip"
function write_float(self, section, value)
local n = tonumber(value)
if n ~= nil then
return Value.write(self, section, "%.1f" % n)
... | apache-2.0 |
xdemolish/darkstar | scripts/globals/abilities/maguss_roll.lua | 1 | 1407 | -----------------------------------
-- Ability: Magus's Roll
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onAbilityCheck(player,target,ability)
l... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kuhmden.lua | 34 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kuhmden
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
ld-test/dromozoa-unix | test/unix_server.lua | 1 | 1559 | -- Copyright (C) 2016 Tomoyuki Fujimori <moyu@dromozoa.com>
--
-- This file is part of dromozoa-unix.
--
-- dromozoa-unix 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
-... | gpl-3.0 |
xdemolish/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Cavernous_Maw.lua | 5 | 1382 | -----------------------------------
-- Cavernous Maw
-- Teleports Players to Jugner Forest
-- @pos -118 -8 -520 82
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/glob... | gpl-3.0 |
Andreas-Kreuz/ak-lua-skripte-fuer-eep | lua/LUA/ak/modellpacker/AkModellPaket.lua | 1 | 2685 | local AkModellPacker = require("ak.modellpacker.AkModellPacker")
local AkModellPaket = {}
function AkModellPaket:new(eepVersion, deutscherName, deutscheBeschreibung)
local o = {}
setmetatable(o, self)
self.__index = self
o.eepVersion = eepVersion
o.deutscherName = deutscherName
o.deutscheBeschr... | mit |
mohammad24/unixx | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
peymankhanas84877/Horror_Avatar_bot | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
hfjgjfg/mohammad | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
xdemolish/darkstar | scripts/zones/Port_Jeuno/npcs/Shami.lua | 17 | 18277 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Shami
-- Orb Seller (BCNM)
-- @pos -14 8 44 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quest... | gpl-3.0 |
jono659/enko | scripts/globals/mobskills/freezebite.lua | 5 | 1288 | -----------------------------------
-- Freezebite
-- Great Sword weapon skill
-- Skill Level: 100
-- Delivers an ice elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30% ; INT:20%
-- 100%TP ... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Windurst_Waters_[S]/npcs/Pahpe_Rauulih.lua | 3 | 1065 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pahpe Rauulih
-- Type: Standard NPC
-- @zone 94
-- !pos -39.740 -4.499 53.223
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
zacscott/lovi | console.lua | 1 | 5019 | -- console.lua - virtual console control interface
--
-- Copyright (C) 2015, Zachary Scott
--
-- 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 ... | gpl-3.0 |
jono659/enko | scripts/zones/Castle_Zvahl_Keep/npcs/Treasure_Chest.lua | 12 | 3193 | -----------------------------------
-- Area: Castle Zvahl Keep
-- NPC: Treasure Chest
-- @zone 162
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
jono659/enko | scripts/zones/Ilrusi_Atoll/Zone.lua | 36 | 1453 | -----------------------------------
--
-- Zone: Ilrusi_Atoll
-- zone 55
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
require("scripts/zones/Ilrusi_Atoll/TextIDs");
require("scripts/globals/settings");
------------------... | gpl-3.0 |
jono659/enko | scripts/zones/Temenos/mobs/Telchines_White_Mage.lua | 17 | 1139 | -----------------------------------
-- Area: Temenos N T
-- NPC: Telchines_White_Mage
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/mobskills/fuscous_ooze.lua | 34 | 1073 | ---------------------------------------------------
-- Fuscous Ooze
-- Family: Slugs
-- Description: A dusky slime inflicts encumberance and weight.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Cone
-- Notes:
---------------------------------------------------
require("scripts/globals/se... | gpl-3.0 |
spawnazzo/luci | modules/admin-mini/luasrc/model/cbi/mini/wifi.lua | 73 | 11663 | --[[
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 |
Arcscion/Shadowlyre | scripts/zones/Bastok_Markets_[S]/npcs/Silke.lua | 17 | 1235 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Silke
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]/TextIDs");
require("scripts/globals/... | gpl-3.0 |
Tikiwinkie/overthebox-feeds | luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua | 58 | 2299 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local wa = require "luci.tools.webadmin"
local fs = require "nixio.fs"
m = Map("network",
translate("Routes"),
translate("Routes specify over which interface and gateway a certain host or network " ..
"can ... | gpl-3.0 |
N0U/Zero-K | units/amphimpulse.lua | 4 | 5937 | unitDef = {
unitname = [[amphimpulse]],
name = [[Archer]],
description = [[Amphibious Raider/Riot Bot]],
acceleration = 0.2,
activateWhenBuilt = true,
brakeRate = 0.4,
buildCostMetal = 200,
buildPic = [[amphimpu... | gpl-2.0 |
jono659/enko | scripts/zones/Windurst_Waters_[S]/npcs/Ransnana.lua | 38 | 1050 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ransnana
-- Type: Standard NPC
-- @zone: 94
-- @pos -22.008 -13.339 122.819
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
jono659/enko | scripts/zones/Northern_San_dOria/npcs/HomePoint#4.lua | 12 | 1210 | -----------------------------------
-- Area: Northern San dOria
-- NPC: HomePoint#4
-- @pos: -132 12 195 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts... | gpl-3.0 |
jono659/enko | scripts/zones/Metalworks/npcs/Pius.lua | 23 | 1832 | -----------------------------------
-- Area: Metalworks
-- NPC: Pius
-- Involved In Mission: Journey Abroad
-- @pos 99 -21 -12 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zon... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/balik_sandvici_+1.lua | 12 | 1433 | -----------------------------------------
-- ID: 5591
-- Item: Balik Sandvic +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 3
-- Agility 1
-- Intelligence 3
-- Mind -2
-- Ranged ACC 6
-----------------------------------------
require("scripts/globals/status");
-------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/mobskills/mow.lua | 32 | 1069 | ---------------------------------------------
-- Mow
--
-- Description: Deals damage in an area of effect. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Poison can take around 10HP/tick
---------------------------------------------
require("sc... | gpl-3.0 |
N0U/Zero-K | units/grebe.lua | 5 | 4806 | unitDef = {
unitname = [[grebe]],
name = [[Grebe]],
description = [[Amphibious Raider Bot]],
acceleration = 0.2,
activateWhenBuilt = true,
brakeRate = 0.4,
buildCostMetal = 300,
buildPic = [[grebe.png]],
canGu... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Southern_San_dOria/npcs/Faulpie.lua | 3 | 2889 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Faulpie
-- Type: Leathercraft Guild Master
-- !pos -178.882 -2 9.891 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San... | gpl-3.0 |
jono659/enko | scripts/zones/Riverne-Site_B01/npcs/_0t1.lua | 19 | 1338 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_B01/Text... | gpl-3.0 |
jono659/enko | scripts/globals/spells/foe_requiem_ii.lua | 11 | 1622 | -----------------------------------------
-- Spell: Foe Requiem II
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
sevenbot/antispamsevenn | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
abferm/network-manager | examples/lua/lgi/show-wifi-networks.lua | 6 | 3967 | #!/usr/bin/env lua
-- -*- Mode: Lua; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-- vim: ft=lua ts=2 sts=2 sw=2 et ai
--
-- 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 ... | gpl-2.0 |
jono659/enko | scripts/zones/Southern_San_dOria_[S]/npcs/Achtelle.lua | 72 | 1069 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Achtelle
-- @zone 80
-- @pos 108 2 -11
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------... | gpl-3.0 |
spawnazzo/luci | modules/admin-full/luasrc/controller/admin/uci.lua | 85 | 1975 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010 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://w... | apache-2.0 |
Arcscion/Shadowlyre | scripts/globals/items/poultry_pitaru.lua | 12 | 1347 | -----------------------------------------
-- ID: 5890
-- Item: poultry_pitaru
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- MP +7% (cap 110)
-- Increases rate of magic skill gains by 40%
-----------------------------------------
require("scripts/globals/status");
---------------------... | gpl-3.0 |
jono659/enko | scripts/globals/mobskills/Tidal_Dive.lua | 6 | 1157 | ---------------------------------------------
-- Tidal Dive
--
-- Description: Dives at nearby targets. Additional effect: Weight and/or Bind (Status Effect)
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Only used over deep water.
------------------------------... | gpl-3.0 |
jono659/enko | scripts/zones/Bastok_Mines/npcs/Abd-al-Raziq.lua | 9 | 2433 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Abd-al-Raziq
-- Type: Alchemy Guild Master
-- @pos 126.768 1.017 -0.234 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/crafting");
require... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Cloister_of_Tremors/bcnms/trial_by_earth.lua | 3 | 1849 | -----------------------------------
-- Area: Cloister of Tremors
-- BCNM: Trial by Earth
-- !pos -539 1 -493 209
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/que... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/spells/cryohelix.lua | 3 | 1975 | --------------------------------------
-- Spell: Cryohelix
-- Deals ice damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magi... | gpl-3.0 |
jono659/enko | scripts/zones/Selbina/npcs/Lucia.lua | 17 | 1180 | -----------------------------------
-- Area: Selbina
-- NPC: Lucia
-- @zone
-- @pos
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------------------
-- onTrade Action... | gpl-3.0 |
Cyumus/GarryWare13 | entities/weapons/sware_velocitygun/shared.lua | 2 | 2503 |
if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
SWEP.Base = "gmdm_base"
SWEP.PrintName = "SWARE Velocity Gun"
SWEP.Slot = 1
SWEP.SlotPos = 0
SWEP.DrawAmmo = true
SWEP.DrawCrosshair = true
SWEP.ViewModel = "models/weapons/v_357.mdl"
SWEP.WorldModel = "models/weapons/w_357.mdl"
SWEP.HoldType =... | gpl-2.0 |
jono659/enko | scripts/zones/Mhaura/npcs/Albin.lua | 17 | 1072 | -----------------------------------
-- Area: Mhaura
-- NPC: Albin
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
-----------------------------------
-- onTrade Action... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/spells/bluemagic/mandibular_bite.lua | 33 | 1716 | -----------------------------------------
-- Spell: Mandibular Bite
-- Damage varies with TP
-- Spell cost: 38 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: INT+1
-- Level: 44
-- Casting Time: 0.5 seconds
-- Recast Time: 19.25 seconds
-- Skillchain property(ies): I... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Lufaise_Meadows/npcs/Jersey.lua | 3 | 1898 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Jersey
-- Type: Outpost Vendor
-- !pos -548.706 -7.197 -53.897 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("script... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/abilities/role_reversal.lua | 4 | 1201 | -----------------------------------
-- Ability: Role Reversal
-- Swaps Master's current HP with Automaton's current HP.
-- Obtained: Puppetmaster Level 75
-- Recast Time: 2:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/... | gpl-3.0 |
jono659/enko | scripts/zones/Bastok-Jeuno_Airship/npcs/Dereck.lua | 12 | 1993 | -----------------------------------
-- Area: Bastok-Jeuno Airship
-- NPC: Dereck
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Bastok-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Bastok-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade Action
-... | gpl-3.0 |
jono659/enko | scripts/zones/Windurst_Waters_[S]/npcs/Adjutant.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Adjutant
-- Type: Standard NPC
-- @zone: 94
-- @pos -67.819 -4.499 58.997
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Valkurm_Dunes/npcs/Tsunashige_IM.lua | 3 | 3324 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Tsunashige, I.M.
-- Outpost Conquest Guards
-- !pos 139.394 -7.885 100.384 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Southern_San_dOria/npcs/Clainomille.lua | 3 | 1301 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Clainomille
-- Type: Standard NPC
-- @zone 230
-- !pos -72.771 0.999 -6.112
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
----... | gpl-3.0 |
hypnoscope/let-s-code-an-indie-game | episode_38/src/logic/rooms/floorplans/dungeon_room.lua | 10 | 1312 | local tilemap = require("src.logic.rooms.tilemap")
local dungeonRoomFloorplan = [[
^^^^^^^^^^^^^^^^^^^^^XXX^^^^^^^^^^^^^^^^^^^^^^^^^^
xxxxxxxxxxxxxxxxxxxxxXXXxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxXXXxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxXXXxxxxxxxxxxxxxxxxxxxxxxxxxx
=====================XXXxxxxxxxx... | mit |
jono659/enko | scripts/globals/spells/bluemagic/cannonball.lua | 10 | 1737 | -----------------------------------------
-- Spell: Cannonball
-- Damage varies with TP
-- Spell cost: 66 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: STR+1, DEX+1
-- Level: 70
-- Casting Time: 0.5 seconds
-- Recast Time: 28.5 seconds
-- Skillchain Element... | gpl-3.0 |
zhangxiangxiao/nn | VolumetricConvolution.lua | 39 | 1702 | local VolumetricConvolution, parent = torch.class('nn.VolumetricConvolution', 'nn.Module')
function VolumetricConvolution:__init(nInputPlane, nOutputPlane, kT, kW, kH, dT, dW, dH)
parent.__init(self)
dT = dT or 1
dW = dW or 1
dH = dH or 1
self.nInputPlane = nInputPlane
self.nOutputPlane = nOutputPl... | bsd-3-clause |
Arcscion/Shadowlyre | scripts/globals/mobskills/tebbad_wing.lua | 33 | 1231 | ---------------------------------------------
-- Tebbad Wing
--
-- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Tiamat, Smok and Ildebrann
----... | gpl-3.0 |
jono659/enko | scripts/zones/Talacca_Cove/npcs/qm1.lua | 42 | 1267 | -----------------------------------
-- Area: Talacca_Cove
-- NPC: ??? (corsair job flag quest)
--
-----------------------------------
package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Talacca_Cove/TextIDs");
require("scripts/globals/keyitems");
--... | gpl-3.0 |
jono659/enko | scripts/zones/Port_Jeuno/npcs/Jaipal.lua | 12 | 1269 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Jaipal
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
--------------------... | gpl-3.0 |
jono659/enko | scripts/zones/VeLugannon_Palace/mobs/Zipacna.lua | 11 | 1794 | -----------------------------------
-- Area: VeLugannon Palace
-- NPC: Zipacna
-----------------------------------
local path = {
-202, 0, 391,
-209, 0, 387,
-214, 0, 381,
-238, 0, 380,
-256, 4, 381,
-261, 8, 400,
-257, 12, 417,
-240, 16, 420,
-257, 12, 417,
-261, 8, 400,
-256, 4, 381,
-238, 0, 380,
-214, 0, 381,
-209... | gpl-3.0 |
jono659/enko | scripts/zones/Bastok_Markets/npcs/Yafafa.lua | 36 | 1619 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Yafafa
-- Only sells when Bastok controls Kolshushu
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loade... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Metalworks/npcs/HomePoint#1.lua | 3 | 1248 | -----------------------------------
-- Area: Metalworks
-- NPC: HomePoint#1
-- !pos 46 -14 -19 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Metalworks/TextIDs");
require("scripts/globals/homepoint");
---... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Upper_Jeuno/npcs/Monberaux.lua | 1 | 5954 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Monberaux
-- Starts and Finishes Quest: The Lost Cardian (finish), The kind cardian (start)
-- Involved in Quests: Save the Clock Tower
-- !pos -43 0 -1 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
pac... | gpl-3.0 |
Configi/configi | vendor/lua/lfs.lua | 1 | 31578 | local bit = require "bit"
local ffi = require "ffi"
local band = bit.band
local rshift = bit.rshift
local lib = ffi.C
local ffi_str = ffi.string
local concat = table.concat
local has_table_new, new_tab = pcall(require, "table.new")
if not has_table_new or type(new_tab) ~= "function" then
new_tab = function () ret... | mit |
Kikkers/Factorio-Smarter-Circuitry | actuator_0.4.9/control.lua | 1 | 10305 | require "defines"
function prt(value)
game.players[1].print(tostring(value))
end
script.on_init(function()
init()
end)
script.on_load(function()
init()
for _,actuator in ipairs(global.actuators) do
if actuator.target ~= nil and actuator.target.valid then
findFunction(actuator, actuator.target)
end
end... | unlicense |
MetroGirl/Src_LUNA | Luna/data/script/cameracontroller.lua | 1 | 1618 | ID = "Script"
local g_init_pos = { 2.0, 2.0, -2.0 }
local g_init_at = { 0.0, 1.0, 0.0 }
local g_time = 0.0
local function greets_camera(scene_time_second)
local elapsed = scene_time_second - 75
return {
posx = g_init_pos[1] - 0.5 + 0.3 * elapsed,
posy = g_init_pos[2] + 1.5 + math.sin(scene_time_second),
posz ... | artistic-2.0 |
jono659/enko | scripts/zones/Windurst_Waters_[S]/npcs/Emhi_Tchaoryo.lua | 38 | 1061 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Emhi Tchaoryo
-- Type: Campaign Ops Overseer
-- @zone: 94
-- @pos 10.577 -2.478 32.680
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextI... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sharin-Garin.lua | 3 | 1976 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sharin-Garin
-- Type: Adventurer's Assistant
-- !pos 122.658 -1.315 33.001 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/b... | gpl-3.0 |
michelePap/tg | test.lua | 210 | 2571 | started = 0
our_id = 0
function vardump(value, depth, key)
local linePrefix = ""
local spaces = ""
if key ~= nil then
linePrefix = "["..key.."] = "
end
if depth == nil then
depth = 0
else
depth = depth + 1
for i=1, depth do spaces = spaces .. " " end
end
if type(value) == 'tab... | gpl-2.0 |
N0U/Zero-K | LuaUI/Configs/nubtron_config.lua | 5 | 8962 | --[[
INSTRUCTIONS
Choose names for the unitClass table and use those names in conditions.
For example if you use "Con" then you must use "ConSelected" not "conSelected":
local unitClasses = {
Con = { 'cloakcon' },
}
local steps = {
selectCon = {
image = unitClasses.Con[1] ..'.png',
passIfAny = { 'ConSelecte... | gpl-2.0 |
N0U/Zero-K | LuaUI/Widgets/gfx_nightvision.lua | 13 | 2723 | function widget:GetInfo() return {
name = "Nightvision Shader",
desc = "My vision is augmented",
author = "Evil4Zerggin; NV tweak by KingRaptor",
date = "3 November 2009",
license = "MIT",
layer = 1,
enabled = false
} end
if not gl.CreateShader then
Spring.Echo(GetInfo().name .. ": GLSL not support... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Abyssea-Uleguerand/npcs/qm3.lua | 3 | 1379 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm3 (???)
-- Spawns Blanga
-- !pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/effects/overdrive.lua | 7 | 1627 | -----------------------------------
--
-- EFFECT_OVERDRIVE
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:addMod(MOD_OVERLOAD_THRESH, 5000)
local pet = target:getPet()
if ... | gpl-3.0 |
jono659/enko | scripts/zones/King_Ranperres_Tomb/npcs/Treasure_Chest.lua | 12 | 2587 | -----------------------------------
-- Area: King Ranperres Tomb
-- NPC: Treasure Chest
-- @zone 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
requ... | gpl-3.0 |
dacap/loseface | scripts/cidisinc_render_images_matrix.lua | 1 | 1220 | -- Lose Face - An open source face recognition project
-- Copyright (C) 2008-2010 David Capello
-- All rights reserved.
--
-- Description:
-- Renders the selected faces CIDISINC images-matrix. The result is saved
-- in "cidisinc_images_matrix.png" file.
--
-- Usage:
-- You can use this script directly running the... | mit |
Arcscion/Shadowlyre | scripts/commands/takegil.lua | 22 | 1233 | ---------------------------------------------------------------------------------------------------
-- func: takegil <amount> <player>
-- desc: Removes the amount of gil from the given player.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permissio... | gpl-3.0 |
jono659/enko | scripts/zones/Silver_Sea_route_to_Nashmau/Zone.lua | 17 | 1444 | -----------------------------------
--
-- Zone: Silver_Sea_route_to_Nashmau
--
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs");
require("scripts/glo... | gpl-3.0 |
jono659/enko | scripts/zones/Al_Zahbi/npcs/Falzuuk.lua | 29 | 2711 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Falzuuk
-- Type: Imperial Gate Guard
-- @pos -60.486 0.999 105.397 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/global... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/spells/bluemagic/diamondhide.lua | 5 | 1028 | -----------------------------------------
-- Spell: Diamondhide
-- Gives party members within area of effect the effect of "Stoneskin"
-- Spell cost: 99 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1
-- Level: 67
-- Casting Time: 7 seconds
-- Recast Time: 1 minu... | gpl-3.0 |
jono659/enko | scripts/zones/Inner_Horutoto_Ruins/npcs/_5c5.lua | 17 | 1979 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Gate: Magical Gizmo
-- Involved In Mission: The Horutoto Ruins Experiment
-- @pos 419 0 -27 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/pipin_hot_popoto.lua | 12 | 1281 | -----------------------------------------
-- ID: 4282
-- Item: pipin_hot_popoto
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP 25
-- Vitality 3
-- HP recovered while healing 1
-----------------------------------------
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Xarcabard/npcs/Magumo-Yagimo_WW.lua | 3 | 3329 | -----------------------------------
-- Area: Xarcabard
-- NPC: Magumo-Yagimo, W.W.
-- Type: Outpost Conquest Guards
-- !pos 207.548 -24.795 -203.694 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
hypnoscope/let-s-code-an-indie-game | episode_30/src/mobs/player.lua | 5 | 1157 | local keyboardMovement = require("src.logic.ai.movement.keyboard_movement")
local spritesheet = require("src.graphics.spritesheet")
local entity = require("src.logic.entity")
local punch = require("src.items.punch")
local status = require("src.logic.status")
local animation = require("src.graphics.animation")
local pos... | mit |
hypnoscope/let-s-code-an-indie-game | episode_29/src/mobs/player.lua | 5 | 1157 | local keyboardMovement = require("src.logic.ai.movement.keyboard_movement")
local spritesheet = require("src.graphics.spritesheet")
local entity = require("src.logic.entity")
local punch = require("src.items.punch")
local status = require("src.logic.status")
local animation = require("src.graphics.animation")
local pos... | mit |
jono659/enko | scripts/zones/Metalworks/npcs/Lexun-Marixun_WW.lua | 30 | 4752 | -----------------------------------
-- Area: Metalworks
-- NPC: Lexun-Maxirun, W.W.
-- @pos 28 -16 28 237
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Su... | gpl-3.0 |
jono659/enko | scripts/globals/abilities/pets/tail_whip.lua | 6 | 1265 | ---------------------------------------------------
-- Tail Whip M=5
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/summon");
----------------------------------... | gpl-3.0 |
asfdfdfd/fceuxq | output/luaScripts/Excitingbike-speedometeronly.lua | 9 | 2348 | --Exciting Bike - Speedometer
--Written by XKeeper
--Shows the speedometer (obviously)
require("x_functions");
if not x_requires then
-- Sanity check. If they require a newer version, let them know.
timer = 1;
while (true) do
timer = timer + 1;
for i = 0, 32 do
gui.drawbox( 6, 28 + i, 250, 92 - ... | gpl-2.0 |
rtsisyk/tarantool | test/app/argparse.test.lua | 4 | 1456 | -- internal argparse test
argparse = require('internal.argparse').parse
-- test with empty arguments and options
argparse()
-- test with command name (should be excluded)
argparse({[0] = 'tarantoolctl', 'start', 'instance'})
-- test long option
argparse({'tarantoolctl', 'start', 'instance', '--start'})
argparse({'tar... | bsd-2-clause |
ereizertmbot/siss | plugins/spammer.lua | 12 | 15608 | do
function run(msg, matches)
local tex = matches[1]
local sps = matches[2]
local sp = ''
for i=1, tex, 1 do
sp = '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n... | gpl-2.0 |
siktirmirza/croco | plugins/spam.lua | 1 | 1985 |
--------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
-------------... | gpl-2.0 |
jono659/enko | scripts/zones/Temple_of_Uggalepih/Zone.lua | 8 | 1821 | -----------------------------------
--
-- Zone: Temple_of_Uggalepih (159)
--
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/... | gpl-3.0 |
jono659/enko | scripts/zones/Dynamis-Buburimu/mobs/Apocalyptic_Beast.lua | 17 | 1492 | -----------------------------------
-- Area: Dynamis Buburimu
-- NPC: Apocalyptic_Beast
-----------------------------------
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Buburimu/TextIDs"... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Northern_San_dOria/npcs/Pursuivant.lua | 3 | 1061 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pursuivant
-- Type: Standard NPC
-- @zone 231
-- !pos 54.000 -1.199 11.937
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
---... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Mhaura/npcs/Vera.lua | 3 | 3046 | -----------------------------------
-- Area: Mhaura
-- NPC: Vera
-- Finishes Quest: The Old Lady
-- !pos -49 -5 20 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
re... | gpl-3.0 |
jono659/enko | scripts/zones/Zeruhn_Mines/npcs/Drake_Fang.lua | 10 | 2191 | -----------------------------------
-- Area: Zeruhn Mines
-- NPC: Drake Fang
-- Involved in Mission: Bastok 6-1, 8-2
-- @pos -74 0.1 58 172
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("sc... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/bowl_of_pebble_soup.lua | 12 | 1137 | -----------------------------------------
-- ID: 4455
-- Item: Bowl of Pebble Soup
-- Food Effect: 3 Hr, All Races
-----------------------------------------
-- HP Recovered while healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cp.lua | 17 | 2597 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cp (Magical Gizmo) #1
-- Involved In Mission: The Horutoto Ruins Experiment
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
jono659/enko | scripts/zones/Windurst_Waters_[S]/npcs/Mindala-Andola_CC.lua | 38 | 1059 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mindala-Andola, C.C.
-- Type: Sigil
-- @zone: 94
-- @pos -31.869 -6.009 226.793
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ... | gpl-3.0 |
Configi/configi | lib/luajit/src/jit/bc.lua | 3 | 5828 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | mit |
jono659/enko | scripts/zones/Western_Adoulin/npcs/Home_Point#1.lua | 4 | 1185 | -----------------------------------
-- Area: Western_Adoulin
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Western_Adoulin/TextIDs");
require("scripts/globals/homepoint");
--... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Xarcabard/mobs/Boreal_Tiger.lua | 3 | 1112 | -----------------------------------
-- Area: Xarcabard
-- NM: Boreal Tiger
-- Involved in Quests: Atop the Highest Mountains
-- !pos 341 -29 370 112
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.