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 |
|---|---|---|---|---|---|
greasydeal/darkstar | scripts/zones/Quicksand_Caves/npcs/Fountain_of_Kings.lua | 17 | 1486 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Fountain of Kings
-- @pos 567 18 -939 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextIDs");
require("scri... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/lungfish.lua | 18 | 1255 | -----------------------------------------
-- ID: 4315
-- Item: Lungfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -2
-- Mind 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cp.lua | 17 | 2436 | -----------------------------------
-- 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... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/weaponskills/tachi_kagero.lua | 30 | 1533 | -----------------------------------
-- Tachi Kagero
-- Great Katana weapon skill
-- Skill Level: 100
-- Deals fire elemental damage to enemy. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget.
-- Aligned with the Flame Belt.
-- Element: Fire
-- Modifiers: STR:75%
-- 100%... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Rolanberry_Fields/Zone.lua | 6 | 4757 | -----------------------------------
--
-- Zone: Rolanberry_Fields (110)
--
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Rolanberry_Fields/TextIDs");
require("scripts/globals/icanheararainbow");
... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Horlais_Peak/IDs.lua | 1 | 1889 | -----------------------------------
-- Area: Horlais_Peak
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.HORLAIS_PEAK] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come bac... | gpl-3.0 |
softer/prosody-modules | mod_muc_restrict_rooms/mod_muc_restrict_rooms.lua | 32 | 2140 | local st = require "util.stanza";
local jid = require "util.jid";
local nodeprep = require "util.encodings".stringprep.nodeprep;
local rooms = module:shared "muc/rooms";
if not rooms then
module:log("error", "This module only works on MUC components!");
return;
end
local restrict_patterns = module:get... | mit |
ibm2431/darkstar | scripts/globals/mobskills/decussate.lua | 11 | 1079 | ---------------------------------------------
-- Decussate
--
-- Description: Performs a cross attack on nearby targets.
-- Type: Magical
-- Utsusemi/Blink absorb: 2-3 shadows?
-- Range: Less than or equal to 10.0
-- Notes: Only used by Gulool Ja Ja when below 35% health.
-----------------------------------------... | gpl-3.0 |
aginor/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 |
LegionXI/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ezura-Romazura.lua | 17 | 1589 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Ezura-Romazura
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Windurst_Wa... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/RuLude_Gardens/npcs/_6r5.lua | 1 | 1976 | -----------------------------------
-- Area: Ru'Lude Gardens
-- Door: San d'Orian Emb.
-- San d'Oria Missions 3.3 "Appointment to Jeuno" and 4.1 "Magicite"
-----------------------------------
local ID = require("scripts/zones/RuLude_Gardens/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
-... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Lower_Jeuno/npcs/Bki_Tbujhja.lua | 17 | 4119 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Bki Tbujhja
-- Involved in Quest: The Old Monument
-- Starts and Finishes Quests: Path of the Bard (just start), The Requiem (BARD AF2)
-- @zone 245
-- @pos -22 0 -60
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/T... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/suiton_san.lua | 21 | 1288 | -----------------------------------------
-- Spell: Suiton: San
-- Deals water damage to an enemy and lowers its resistance against lightning.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_Jeuno/npcs/_6u8.lua | 20 | 1578 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Door: Departures Exit (for Kahzam)
-- @zone 246
-- @pos -12 8 54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
CuteOne/meta | Libs/DiesalMenu-1.0/DiesalMenu-1.0.lua | 11 | 3368 | -- $Id: DiesalMenu-1.0.lua 53 2016-07-12 21:56:30Z diesal2010 $
local MAJOR, MINOR = "DiesalMenu-1.0", "$Rev: 53 $"
local DiesalMenu, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
if not DiesalMenu then return end -- No Upgrade needed.
-- ~~| Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | gpl-3.0 |
ricker75/Global-Server | data/npc/scripts/Jefrey.lua | 2 | 14715 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local count = {}
local transfer = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
... | gpl-2.0 |
greasydeal/darkstar | scripts/globals/weaponskills/heavy_shot.lua | 30 | 1328 | -----------------------------------
-- Heavy Shot
-- Marksmanship weapon skill
-- Skill Level: 225
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifiers: AGI:30%
-- 1... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Port_Bastok/npcs/Jabbar.lua | 11 | 1318 | -----------------------------------
-- Area: Port Bastok
-- NPC: Jabbar
-- Type: Tenshodo Merchant
-- Involved in Quests: Tenshodo Menbership
-- !pos -99.718 -2.299 26.027 236
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
require("scripts/globals/quests");
re... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Cirdas_Caverns_U/Zone.lua | 36 | 1125 | -----------------------------------
--
-- Zone: Cirdas Caverns U
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Cirdas_Caverns_U/TextIDs"] = nil;
require("scripts/zones/Cirdas_Caverns_U/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Scotwick.lua | 14 | 1079 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Scotwick
-- Type: Allied Notes Notorious Monsters
-- @zone 94
-- @pos 153.785 -3.134 9.895
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/Te... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Throne_Room/mobs/Shadow_of_Rage.lua | 29 | 1102 | -----------------------------------
-- Area: Throne Room
-- NPC: Shadows
-- Mission 9-2 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpaw... | gpl-3.0 |
evrooije/beerarchy | mods/00_bt_nodes/protector/doors_chest.lua | 1 | 18137 |
-- Since the doors mod has changed in the latest daily builds I have taken the
-- WTFPL licenced code from the old doors mod and included an edited version
-- within this mod for local use.
local S = protector.intllib
-- Registers a door
function register_door(name, def)
def.groups.not_in_creative_inventory = 1
l... | lgpl-2.1 |
naclander/tome | game/modules/tome/data/zones/south-beach/npcs.lua | 1 | 2712 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
naclander/tome | game/modules/tome/data/quests/lumberjack-cursed.lua | 3 | 3091 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
SIfoxDevTeam/wireshark | test/lua/inspect.lua | 36 | 21274 | -------------------------------------------------------------------
-- This was changed for Wireshark's use by Hadriel Kaplan.
--
-- Changes made:
-- * provided 'serialize' option to output serialized info (ie, can be marshaled),
-- though note that serializing functions/metatables/userdata/threads will not
-- magi... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Chest.lua | 12 | 2762 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Treasure Chest
-- @zone 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure")... | gpl-3.0 |
Codex-NG/otxserver | data/npc/scripts/runes.lua | 12 | 8233 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCre... | gpl-2.0 |
TheFlyingFiddle/TIER | test/opaque.lua | 1 | 2070 | local tier = require"tier"
local standard = tier.standard
local primitive = tier.primitive
local format = require"format"
local ostream = format.outmemorystream
local istream = format.inmemorystream
local semantic = standard.semantic
local bytearray = standard.bytearray
local embedded = standard.embedded
... | mit |
greasydeal/darkstar | scripts/globals/spells/bluemagic/filamented_hold.lua | 2 | 1469 | -----------------------------------------
-- Spell: Filamented Hold
-- Reduces the attack speed of enemies within a fan-shaped area originating from the caster
-- Spell cost: 38 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1
-- Level: 52
-- Casting Time: ... | gpl-3.0 |
naclander/tome | game/modules/tome/data/chats/fallen-aeryn.lua | 3 | 2185 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/bird_egg.lua | 12 | 1179 | -----------------------------------------
-- ID: 4570
-- Item: Bird Egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 6
-- Magic 6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/mobskills/great_sandstorm.lua | 11 | 1024 | ---------------------------------------------
-- Great Sandstorm
--
-- Description: Deals Earth damage to single target. Additional effect: Blind
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Single target
-- Notes:
---------------------------------------------
require("scripts/globals/sett... | gpl-3.0 |
CuteOne/meta | meta/engines/enemies.lua | 1 | 4204 | -- Required to access other files.
local meta = ...
local base = require('conditions.base')
local unit = require('conditions.unit')
local om = require('engines.om')
-- Init Enemies
enemies = { }
-- Collect Enemies
function enemies.engine()
for k,v in pairs(om) do
-- define our unit
--local thisUnit = GetObje... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Konschtat_Highlands/npcs/Signpost2.lua | 34 | 1033 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Signpost
-- @pos 387 32 386 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Konschtat_Highlands/TextIDs");
---------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Windurst_Woods/npcs/Anillah.lua | 53 | 1829 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Anillah
-- Type: Clothcraft Image Support
-- @pos -34.800 -2.25 -119.950 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/sleepga.lua | 9 | 1493 | -----------------------------------------
-- Spell: Sleep I
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)... | gpl-3.0 |
SOHUDBA/SOHU-DBProxy | tests/suite/base/t/overlong-test.lua | 4 | 2883 | --[[ $%BEGINLICENSE%$
Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
greasydeal/darkstar | scripts/globals/weaponskills/blade_retsu.lua | 12 | 1971 | -----------------------------------
-- Blade Retsu
-- Katana weapon skill
-- Skill Level: 30
-- Delivers a two-hit attack. Paralyzes enemy. Duration of paralysis varies with TP.
-- Proc rate of Paralyze seems to be based on your level in comparison to the targets level. The higher level you are compared to your ta... | gpl-3.0 |
naclander/tome | game/modules/tome/data/maps/towns/derth.lua | 3 | 5074 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/Queasyshroom.lua | 7 | 1272 | ---------------------------------------------------
-- Queasyshroom
-- Additional effect: Poison. Duration of effect varies with TP.
-- Range is 13.5 yalms.
-- Piercing damage Ranged Attack.
-- Secondary modifiers: INT: 20%.
-- Additional Effect: Poison is 3 HP/tick.
-- Poison effect may not always process.
-- ... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/abilities/no_foot_rise.lua | 28 | 2102 | -----------------------------------
-- Ability: No Foot Rise
-- Instantly grants additional Finishing Moves.
-- Obtained: Dancer Level 75 Merit Group 2
-- Recast Time: 3 minutes
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Oldton_Movalpolos/Zone.lua | 9 | 1647 | -----------------------------------
--
-- Zone: Oldton_Movalpolos (11)
--
-----------------------------------
local ID = require("scripts/zones/Oldton_Movalpolos/IDs")
require("scripts/globals/conquest")
require("scripts/globals/missions")
require("scripts/globals/treasure")
require("scripts/globals/helm")
------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_Windurst/npcs/Porter_Moogle.lua | 41 | 1533 | -----------------------------------
-- Area: Port Windurst
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 240
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Windurst/TextID... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/mobskills/palsynyxis.lua | 11 | 1042 | ---------------------------------------------
-- Palsynyxis
--
-- Description: Single target damage. Additional effect: Paralysis
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadows
-- Range: Unknown radial
---------------------------------------------
require("scripts/globals/settings")
require("scripts/globals... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Metalworks/npcs/Moyoyo.lua | 38 | 1034 | -----------------------------------
-- Area: Metalworks
-- NPC: Moyoyo
-- Type: Standard NPC
-- @zone: 237
-- @pos 19.508 -17 26.870
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/zones/M... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Waters/npcs/Akkeke.lua | 14 | 1402 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Akkeke
-- Involved in Quest: Making the Grade
-- Working 100%
-- @zone = 238
-- @pos = 135 -6 165
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
naclander/tome | game/engines/default/engine/ui/Inventory.lua | 3 | 10143 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 |
caidongyun/Dato-Core | src/unity/python/graphlab/lua/pl/Date.lua | 14 | 17714 | --- Date and Date Format classes.
-- See @{05-dates.md|the Guide}.
--
-- Dependencies: `pl.class`, `pl.stringx`
-- @module pl.Date
-- @pragma nostrip
local class = require 'pl.class'
local os_time, os_date = os.time, os.date
local stringx = require 'pl.stringx'
local utils = require 'pl.utils'
local assert_arg,assert... | agpl-3.0 |
LegionXI/darkstar | scripts/globals/items/prominence_sword.lua | 42 | 1451 | -----------------------------------------
-- ID: 18381
-- Item: Prominence Sword
-- Additional Effect: Fire Damage
-- Enchantment: Enfire
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----... | gpl-3.0 |
UPO33/darkhammer | test-data/test9.lua | 2 | 1028 | s = eng.Scene()
s:clear()
s:createPhysicsPlane()
--eng.setSunDir(1, -1, 0)
eng.setSunIntensity(0.2)
eng.setAmbientSky(128, 128, 128)
eng.setAmbientGround(230, 255, 230)
core.printcon("Adding object")
ground = s:createModel("ground", "plane.h3dm")
obj = s:createModel("soldier", "soldier.h3dm")
-- obj:loadAnimation("... | bsd-2-clause |
autismuk/Transition-Manager | main.lua | 1 | 1498 | --- ************************************************************************************************************************************************************************
---
--- Name : main.lua
--- Purpose : Demo for transaction library.
--- Created: 30 April 2014
--- Author: Paul Robson (paul@robsons... | mit |
LegionXI/darkstar | scripts/zones/Lower_Jeuno/npcs/Aldo.lua | 14 | 1976 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Aldo
-- Involved in Mission: Magicite, Return to Delkfutt's Tower (Zilart)
-- @pos 20 3 -58 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/k... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/cocos2d/json.lua | 106 | 15353 | -----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.40
-- This module is released under the MIT License (MIT).
-- Please see L... | mit |
greasydeal/darkstar | scripts/zones/Windurst_Waters/npcs/Panna-Donna.lua | 38 | 1038 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Panna-Donna
-- Type: Mission NPC
-- @zone: 238
-- @pos -57.502 -6 229.571
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------... | gpl-3.0 |
naclander/tome | game/modules/tome/class/Store.lua | 1 | 7852 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
xsilium-frameworks/xsilium-engine | Library/Cegui/cegui/src/ScriptModules/Lua/support/tolua++bin/lua/declaration.lua | 15 | 14464 | -- tolua: declaration class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id$
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide maintenance, support, updates,
-- enhancemen... | mit |
LegionXI/darkstar | scripts/zones/Mog_Garden/npcs/Porter_Moogle.lua | 14 | 1523 | -----------------------------------
-- Area: Mog Garden
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 280
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Mog_Garden/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mog_Garden/TextIDs");
requi... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/bluemagic/sheep_song.lua | 12 | 1449 | -----------------------------------------
-- Spell: Sheep Song
-- Puts all enemies within range to sleep
-- Spell cost: 22 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Light)
-- Blue Magic Points: 2
-- Stat Bonus: CHR+1, HP+5
-- Level: 16
-- Casting Time: Casting Time: 3 seconds
-- Recast Time: Recast Time: 60 se... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/bluemagic/maelstrom.lua | 12 | 1775 | -----------------------------------------
-- Spell: Maelstrom
-- Deals water damage to enemies within range. Additional effect: STR Down
-- Spell cost: 162 MP
-- Monster Type: Aquans
-- Spell Type: Magical (Water)
-- Blue Magic Points: 5
-- Stat Bonus: Mind +2
-- Level: 61
-- Casting Time: 6 seconds
-- Recast Time: 39 ... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Lower_Delkfutts_Tower/Zone.lua | 9 | 2918 | -----------------------------------
--
-- Zone: Lower_Delkfutts_Tower (184)
--
-----------------------------------
local ID = require("scripts/zones/Lower_Delkfutts_Tower/IDs")
require("scripts/globals/conquest")
require("scripts/globals/missions")
require("scripts/globals/settings")
require("scripts/globals/zone")
---... | gpl-3.0 |
mathiasbynens/PokeBot | main.lua | 1 | 4258 | -- OPTIONS
RESET_FOR_TIME = false -- Set to false if you just want to see the bot finish a run
local CUSTOM_SEED = nil -- Set to a known seed to replay it, or leave nil for random runs
local NIDORAN_NAME = "A" -- Set this to the single character to name Nidoran (note, to replay a seed, it MUST match!)
local PAINT_ON... | mit |
LegionXI/darkstar | scripts/globals/spells/paralyze.lua | 6 | 2016 | -----------------------------------------
-- Spell: Paralyze
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpell... | gpl-3.0 |
Codex-NG/otxserver | data/talkactions/scripts/ban.lua | 39 | 1131 | local banDays = 7
function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
local name = param
local reason = ''
local separatorPos = param:find(',')
if separatorPos ~= nil then
name = param:sub(0, separatorPos - 1)
reason = string.trim(param:sub(separatorPos + 1))
e... | gpl-2.0 |
pokemoncentral/wiki-lua-modules | Move-data.lua | 1 | 106873 | -- Modulo dati per le mosse
-- TODO: dati delle gare
-- TODO: multigen (some moves changed stats between generations)
local t = {}
-- stylua: ignore start
t.botta = {name = 'Botta', type = 'normale', category = 'fisico', power = 40, accuracy = 100, pp = 35, gen = 1}
t.colpokarate = {name = 'Colpokarate', type = {[1] ... | cc0-1.0 |
aginor/wesnoth | data/ai/micro_ais/cas/ca_wolves_multipacks_functions.lua | 33 | 5509 | local H = wesnoth.require "lua/helper.lua"
local W = H.set_wml_action_metatable {}
local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua"
local wolves_multipacks_functions = {}
function wolves_multipacks_functions.clear_label(x, y)
W.label{ x = x, y = y, text = "" }
end
function wolves_multipac... | gpl-2.0 |
ricker75/Global-Server | data/actions/scripts/wrath of the emperor quest/wrathOfTheEmperorQuestReward.lua | 2 | 2357 | function onUse(cid, item, fromPosition, itemEx, toPosition)
if(getPlayerStorageValue(cid, 10014) < 1) then
doPlayerAddExp(cid, 500000, true, true)
setPlayerStorageValue(cid, 10014, 1)
end
if(item.uid == 3200) then
if(canPlayerWearOutfit(cid, getPlayerSex(cid) == 0 and 366 or 367, 3) == false) then
doPlayerA... | gpl-2.0 |
ricker75/Global-Server | data/npc/scripts/Captain Waverider.lua | 2 | 2665 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Ilrusi_Atoll/npcs/Excaliace.lua | 29 | 4503 | -----------------------------------
-- Area: Periqia
-- NPC: Excaliace
-----------------------------------
require("scripts/zones/Periqia/IDs");
require("scripts/globals/pathfind");
local start = {-322,-16.5,380};
local startToChoice1 = {
-320.349548, -16.046591, 379.684570
-318.312317, -16.046591, 379.5798... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_Windurst/npcs/Tohopka.lua | 38 | 1032 | -----------------------------------
-- Area: Port Windurst
-- NPC: Tohopka
-- Type: Standard NPC
-- @zone: 240
-- @pos -105.723 -10 83.813
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/spells/hojo_ichi.lua | 11 | 1161 | -----------------------------------------
-- Spell: Hojo:Ichi
-- Description: Inflicts Slow on target.
-- Edited from slow.lua
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_Bastok/npcs/Qiji.lua | 36 | 2002 | -----------------------------------
-- Area: Port Bastok
-- NPC: Qiji
-- Starts & Ends Quest: Forever to Hold
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests")... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Northern_San_dOria/IDs.lua | 9 | 10732 | -----------------------------------
-- Area: Northern_San_dOria
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.NORTHERN_SAN_DORIA] =
{
text =
{
YOU_ACCEPT_THE_MISSION = 5, -- You accept the mission.
O... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Abyssea-Konschtat/npcs/qm8.lua | 10 | 1343 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: qm8 (???)
-- Spawns Alkonost
-- @pos ? ? ? 15
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[... | gpl-3.0 |
Wargus/wargus | scripts/human/ui_pandora.lua | 1 | 9568 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//__... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5ch.lua | 34 | 1079 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5ch (Gate of Thunder)
-- @pos -331 0 139 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextI... | gpl-3.0 |
Igalia/snabbswitch | src/program/wall/spy/spy.lua | 9 | 6255 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local lib = require("core.lib")
local now = require("core.app").now
local timer = require("core.timer")
local ipv4 = require("lib.protocol.ipv4")
local ipv6 = require("lib.protocol.ipv6")
local util = requ... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Lower_Jeuno/npcs/Audee.lua | 27 | 1733 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Audee
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- on... | gpl-3.0 |
gwlim/luci | applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua | 50 | 1867 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Copyright 2010 Manuel Munz <freifunk@somakoma.de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Li... | apache-2.0 |
alerque/sile | lua-libraries/bitshim.lua | 1 | 1456 | --[[ This module smooths over all the various Lua bit libraries
Sourced from:
https://github.com/daurnimator/lua-http/blob/v0.3/http/bit.lua
Note using these functions one must me careful to do bit operations only:
- on bytes (8 bits),
- with quantities <= LONG_MAX (0x7fffffff)
- band with 0x80000000 that is su... | mit |
SOHUDBA/SOHU-DBProxy | tests/suite/base/t/bug_49248-mock.lua | 8 | 1526 | --[[ $%BEGINLICENSE%$
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is distribut... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Tahrongi_Canyon/Zone.lua | 12 | 4282 | -----------------------------------
--
-- Zone: Tahrongi_Canyon (117)
--
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Tahrongi_Canyon/TextIDs");
requ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Statue_Prototype.lua | 17 | 1242 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Statue Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scri... | gpl-3.0 |
ricker75/Global-Server | data/npc/scripts/A Sleeping Dragon.lua | 2 | 13926 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... | gpl-2.0 |
gilzoide/hell | src/lua/Builder.lua | 1 | 3548 | --- @file Builder.lua
-- Builder: the heart of the Hell build scripts
--[[
-- Copyright (C) 2015 Gil Barbosa Reis
-- This file is part of Hell.
--
-- Hell 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, eit... | gpl-3.0 |
SOHUDBA/SOHU-DBProxy | tests/suite/base/t/chain1a.lua | 4 | 2320 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/West_Sarutabaruta_[S]/npcs/Harvesting_Point.lua | 29 | 1137 | -----------------------------------
-- Area: West Sarutabaruta [S]
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/West_Saruta... | gpl-3.0 |
peymankhanas8487/Horror-Avatar | plugins/remind.lua | 362 | 1875 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
LegionXI/darkstar | scripts/globals/mobskills/Benthic_Typhoon.lua | 33 | 1030 | ---------------------------------------------
-- Benthic Typhoon
--
-- Description: Delivers an area attack that lowers target's defense and magic defense. Damage varies with TP.
-- Type: Physical (Piercing)
--
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
samanhatami/spam | plugins/msg-checks.lua | 1 | 13955 | --Begin msg_checks.lua By @SoLiD
local TIME_CHECK = 2
local function pre_process(msg)
local data = load_data(_config.moderation.data)
local chat = msg.to.id
local user = msg.from.id
local is_channel = msg.to.type == "channel"
local is_chat = msg.to.type == "chat"
local auto_leave = 'auto_leave_bot'
local hash = "gp_la... | gpl-3.0 |
ricker75/Global-Server | data/npc/scripts/Eruaran.lua | 1 | 17469 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHan... | gpl-2.0 |
ibm2431/darkstar | scripts/zones/Valkurm_Dunes/npcs/Cavernous_Maw.lua | 11 | 1403 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Cavernous Maw
-- !pos 368.980, -0.443, -119.874 103
-- Teleports Players to Abyssea Misareaux
-----------------------------------
local ID = require("scripts/zones/Valkurm_Dunes/IDs");
require("scripts/globals/settings");
require("scripts/globals/keyit... | gpl-3.0 |
OpenPrograms/SuPeRMiNoR2-Programs | networking/tunnel.lua | 1 | 1434 | local version = "0.1.1"
fs = require("filesystem")
serial = require("serialization")
component = require("component")
event = require("event")
modem = component.modem
tunnel = component.tunnel
function decode(data)
status, result = pcall(serial.unserialize, data)
return status, result
end
function encode(data)
retur... | mit |
greasydeal/darkstar | scripts/globals/items/beef_stewpot.lua | 36 | 1674 | -----------------------------------------
-- ID: 5547
-- Item: Beef Stewpot
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 50
-- MP +10
-- HP Recoverd while healing 5
-- MP Recovered while healing 1
-- Attack +15% Cap 40
-- Evasion +5
--------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/bowl_of_zesti_zoni.lua | 36 | 1605 | -----------------------------------------
-- ID: 5619
-- Item: Bowl of Zesti Zoni
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 10
-- MP 10
-- Strength 1
-- Dexterity 1
-- Vitality 1
-- Agility 1
-- MP Recovered while healing 1
-- HP Recovered while healing 1
-------------------------... | gpl-3.0 |
A2AFMI/devams2 | plugins/addsudo.lua | 1 | 1841 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ---ch @il_20
▀▄ ▄▀ ▀▄ ▄▀ -----cuores DevAMS
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ --by @a_2afmi : اضــف مطور ▀▄ ... | gpl-2.0 |
naclander/tome | game/modules/tome/data/quests/starter-zones.lua | 3 | 3283 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
Drooids/xenia | src/xenia/app/premake5.lua | 10 | 1460 | project_root = "../../.."
include(project_root.."/build_tools")
group("src")
project("xenia-app")
uuid("d7e98620-d007-4ad8-9dbd-b47c8853a17f")
kind("WindowedApp")
targetname("xenia")
language("C++")
links({
"elemental-forms",
"gflags",
"xenia-apu",
"xenia-apu-nop",
"xenia-base",
"xeni... | bsd-3-clause |
ricker75/Global-Server | data/npc/scripts/Eighty.lua | 2 | 14694 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local count = {}
local transfer = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
... | gpl-2.0 |
ibm2431/darkstar | scripts/globals/mobskills/chains_of_rage.lua | 12 | 1265 | ---------------------------------------------
-- Chains of Rage
--
---------------------------------------------
local ID = require("scripts/zones/Empyreal_Paradox/IDs")
require("scripts/globals/monstertpmoves")
require("scripts/globals/keyitems")
require("scripts/globals/settings")
require("scripts/globals/status")
re... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/rolanberry_pie_+1.lua | 12 | 1285 | -----------------------------------------
-- ID: 4339
-- Item: rolanberry_pie_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 60
-- Intelligence 3
-- MP Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.