Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Aliases:
- ^vibe (\w+)$
- embed(matches[2])
- ^vibeup (\w+)$
- vibe_def = true
- vibe_set(matches[2])
- ^vibepause$
- vibepause()
- ^vibecycle$
- --you shouldn't have to use this unless the automatic vibration embedding hangs.
- cycle_vibeSet()
- Trigger:
- You have recovered equilibrium. (exact match)
- You have recovered balance on all limbs. (exact match)
- if vibe_def == true then
- cycle_vibeSet()
- end
- Script:
- --Special permissions is just a way for the script to differentiate when it has
- --to target or when there are other commands like sonicportal or cataclysm. It
- --is best if you don't play with these as it could break the script. Do feel
- --free and change the auto-vibe tables between true and false as you wish.
- --by default, "full" vibes includes every non-targetable vibe and excludes
- --cataclysm.
- crystalism_table = {
- ["reverberation"] = { --name of vibe// as a side note, reverberation
- ["vibe_set"] = { --auto-vibe table// is added to the defup table
- ["combat"] = false, --combat vibes// by default. So there is no
- ["basic"] = false, --basic vibes// reason to change these values.
- ["full"] = false, --full vibes
- },
- ["effect"] = "Protects vibes", --text to be displayed
- ["crystals"] = {"disc","pentagon",}, --crystals required
- ["targeted"] = false, --special permissions
- }, --end reverberation
- ["dissipate"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = true,
- ["full"] = true,
- },
- ["effect"] = "Drains mana",
- ["crystals"] = {"pentagon",},
- ["targeted"] = false,
- },
- ["palpitation"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = true,
- ["full"] = true,
- },
- ["effect"] = "Drains health",
- ["crystals"] = {"cylinder",},
- ["targeted"] = false,
- },
- ["heat"] ={
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Heats room",
- ["crystals"] = {"pyramid",},
- ["targeted"] = false,
- },
- ["alarm"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = false,
- ["full"] = true,
- },
- ["effect"] = "Alert enemy entrance",
- ["crystals"] = {"spiral",},
- ["targeted"] = false,
- },
- ["tremors"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = true,
- ["full"] = true,
- },
- ["effect"] = "Prones if no levitation",
- ["crystals"] = {"egg","disc"},
- ["targeted"] = false,
- },
- ["sonicportal"] = {
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Opens a portal",
- ["crystals"] = {"sphere","torus"},
- ["targeted"] = true,
- },
- ["harmony"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = true,
- ["full"] = true,
- },
- ["effect"] = "Heals you (only)",
- ["crystals"] = {"egg","sphere"},
- ["targeted"] = false,
- },
- ["creeps"] = {
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Causes shyness/fear",
- ["crystals"] = {"torus"},
- ["targeted"] = false,
- },
- ["silence"] = {
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Communication is halted",
- ["crystals"] = {"egg"},
- ["targeted"] = false,
- },
- ["revelation"] = {
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Reveals hidden people",
- ["crystals"] = {"cube","diamond"},
- ["targeted"] = false,
- },
- ["grounding"] = {
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Roots you to ground",
- ["crystals"] = {"sphere"},
- ["targeted"] = false,
- },
- ["oscillate"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = true,
- ["full"] = true,
- },
- ["effect"] = "Causes amnesia",
- ["crystals"] = {"diamond"},
- ["targeted"] = false,
- },
- ["focus"] = {
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Summons vibes (minus reverb)",
- ["crystals"] = {"pyramid"},
- ["targeted"] = true,
- },
- ["disorientation"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = true,
- ["full"] = true,
- },
- ["effect"] = "Causes dizziness",
- ["crystals"] = {"spiral"},
- ["targeted"] = false,
- },
- ["energise"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = true,
- ["full"] = true,
- },
- ["effect"] = "Drains health (absorbable)",
- ["crystals"] = {"polyhedron"},
- ["targeted"] = false,
- },
- ["stridulation"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = true,
- ["full"] = true,
- },
- ["effect"] = "Distrupt if undeaf",
- ["crystals"] = {"cylinder","polyhedron"},
- ["targeted"] = false,
- },
- ["gravity"] = {
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Pulls flyers",
- ["crystals"] = {"egg","torus"},
- ["targeted"] = false,
- },
- ["forest"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = false,
- ["full"] = true,
- },
- ["effect"] = "Hurts if fall",
- ["crystals"] = {"diamond","pyramid"},
- ["targeted"] = false,
- },
- ["dissonance"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = true,
- ["full"] = true,
- },
- ["effect"] = "Strips defences",
- ["crystals"] = {"cylinder","sphere","spiral"},
- ["targeted"] = false,
- },
- ["plague"] = {
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Random afflictions",
- ["crystals"] = {"cube","pyramid","spiral"},
- ["targeted"] = false,
- },
- ["lullaby"] = {
- ["vibe_set"] = {
- ["combat"] = true,
- ["basic"] = true,
- ["full"] = true,
- },
- ["effect"] = "Sleep",
- ["crystals"] = {"pyramid"},
- ["targeted"] = false,
- },
- ["retardation"] = {
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Roomwide aeon",
- ["crystals"] = {"disc"},
- ["targeted"] = false,
- },
- ["cataclysm"] = {
- ["vibe_set"] = {
- ["combat"] = false,
- ["basic"] = false,
- ["full"] = false,
- },
- ["effect"] = "Prones if no levitation",
- ["crystals"] = {"egg","disc"},
- ["targeted"] = true,
- },
- }
- local embed_table = {}
- function vibepause()
- if embed_table[1] then
- if vibe_def == false then
- vibe_def = true
- cecho("\n<white>Vibing resumed.")
- cycle_vibeSet()
- else
- vibe_def = false
- cecho("\n<white>Vibing paused.")
- end
- else
- cecho("\n<white>Not embedding vibrations, no need to pause.")
- end
- end
- function embed(vibe)
- for k,v in ipairs(crystalism_table[vibe].crystals) do
- send("outr "..v)
- send("spin "..v)
- end
- if not crystalism_table[vibe].targeted then
- send("embed "..vibe)
- end
- end
- function vibe_set(set)
- if set == "basic" or set == "full" or set == "combat" then
- embed_table = {}
- local i = set:lower()
- table.insert(embed_table,"reverberation")
- for k,v in pairs(crystalism_table) do
- if v.vibe_set[i] == true then
- table.insert(embed_table,k)
- end
- end
- vibe_def = true
- cycle_vibeSet()
- else
- cecho("\n<white:firebrick>Invalid vibe set. Please use combat, basic, or full.")
- end
- end
- function cycle_vibeSet()
- embed(embed_table[1])
- table.remove(embed_table,1)
- if not embed_table[1] then
- vibe_def = false
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement