Skip to content

Instantly share code, notes, and snippets.

@AzureDoom
Created January 10, 2019 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AzureDoom/7d002798c7a2fe857c536d538e5b7a3c to your computer and use it in GitHub Desktop.
Save AzureDoom/7d002798c7a2fe857c536d538e5b7a3c to your computer and use it in GitHub Desktop.
aliases {
}
virtualchest {
TextTitle = "§l§n§eMac Anu Item Shop"
Rows = 6
UpdateIntervalTick = 10
Slot0 = [{
Item {
Count = 1
ItemType = "splash_potion"
UnsafeDamage = 0
DisplayName = "Health Drink"
UnsafeData {
Potion = "healing"
}
ItemLore = [
"&eBuy: 10 GP"
"&eSell: 5 GP"
]
}
PrimaryAction {
Command = "cost: 10; console: give %player_name% splash_potion 1 0 {Potion:healing,display:{Name:"Heatlh_Drink"}}; console: tell %player_name% You've bought 1 Health Drink!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -5; console: tell %player_name% You've sold 1 Health Drink!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "splash_potion"
UnsafeData {
Potion = "healing"
}
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
Slot1 = [{
Item {
Count = 1
ItemType = "lingering_potion"
UnsafeDamage = 0
DisplayName = "Healing Rain"
UnsafeData {
Potion = "healing"
}
ItemLore = [
"&eBuy: 30 GP"
"&eSell: 10 GP"
]
}
PrimaryAction {
Command = "cost: 30; console: give %player_name% lingering_potion 1 0 {Potion:healing,display:{Name:"Healing_Rain"}}; console: tell %player_name% You've bought 1 Healing Rain!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -10; console: tell %player_name% You've sold 1 Healing Rain!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "lingering_potion"
UnsafeData {
Potion = "healing"
}
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
Slot2 = [{
Item {
Count = 1
ItemType = "minecraft:glass_bottle"
UnsafeDamage = 0
DisplayName = "Glass Bottle"
ItemLore = [
"&eSell: 5 GP"
]
}
PrimaryAction {
Command = "cost-item: 1; cost: -5; console: tell %player_name% You've sold 1 Glass Bottle!"
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "minecraft:glass_bottle"
Count = 1
}
KeepInventoryOpen = true
}
SecondaryAction = ${?PrimaryAction}
Requirements = "%economy_balance% >= 10"
}]
Slot3 = [{
Item {
Count = 1
ItemType = "variedcommodities:bag"
UnsafeDamage = 0
DisplayName = "Basic Backpack"
ItemLore = [
"&eBuy: 30 GP"
]
}
PrimaryAction {
Command = "cost: 30; console: give %player_name% ironbackpacks:backpack 1 0 {packInfo: {upgrade: [], type: \"ironbackpacks:basic\", spec: \"NONE\"}}; console: tell %player_name% You've bought 1 Basic Backpack!"
KeepInventoryOpen = true
}
SecondaryAction = ${?PrimaryAction}
Requirements = "%economy_balance% >= 10"
}]
Slot4 = [{
Item {
Count = 1
ItemType = "variedcommodities:coin_wood"
UnsafeDamage = 0
DisplayName = "Wooden Coins"
ItemLore = [
"&eSell: 3 GP"
]
}
PrimaryAction {
Command = "cost-item: 8; cost: -3; console: tell %player_name% You've sold 9 Wooden Coins!"
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "variedcommodities:coin_wood"
Count = 8
}
KeepInventoryOpen = true
}
SecondaryAction = ${?PrimaryAction}
Requirements = "%economy_balance% >= 10"
}]
Slot18 = [{
Item {
Count = 1
ItemType = "mmorpg:ore0"
UnsafeDamage = 0
DisplayName = "Common Ore"
ItemLore = [
"&eSell Price: 10 GP"
]
}
PrimaryAction {
Command = "cost-item: 1; cost: -10; console: tell %player_name% You've sold 1 Common Ore!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:ore0"
UnsafeDamage = 0
Count = 1
}
KeepInventoryOpen = true
}
SecondaryAction = ${?PrimaryAction}
Requirements = "%economy_balance% >= 10"
}]
Slot19 = [{
Item {
Count = 1
ItemType = "mmorpg:ore1"
UnsafeDamage = 0
DisplayName = "Uncommon Ore"
ItemLore = [
"&eSell Price: 15 GP"
]
}
PrimaryAction {
Command = "cost-item: 1; cost: -15; console: tell %player_name% You've sold 1 Uncommon Ore!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:ore1"
UnsafeDamage = 0
Count = 1
}
KeepInventoryOpen = true
}
SecondaryAction = ${?PrimaryAction}
Requirements = "%economy_balance% >= 10"
}]
Slot20 = [{
Item {
Count = 1
ItemType = "mmorpg:ore2"
UnsafeDamage = 0
DisplayName = "Rare Ore"
ItemLore = [
"&eSell Price: 25 GP"
]
}
PrimaryAction {
Command = "cost-item: 1; cost: -25; console: tell %player_name% You've sold 1 Rare Ore!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:ore2"
UnsafeDamage = 0
Count = 1
}
KeepInventoryOpen = true
}
SecondaryAction = ${?PrimaryAction}
Requirements = "%economy_balance% >= 10"
}]
Slot21 = [{
Item {
Count = 1
ItemType = "mmorpg:ore3"
UnsafeDamage = 0
DisplayName = "Epic Ore"
ItemLore = [
"&eSell Price: 40 GP"
]
}
PrimaryAction {
Command = "cost-item: 1; cost: -40; console: tell %player_name% You've sold 1 Epic Ore!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:ore3"
UnsafeDamage = 0
Count = 1
}
KeepInventoryOpen = true
}
SecondaryAction = ${?PrimaryAction}
Requirements = "%economy_balance% >= 10"
}]
Slot22 = [{
Item {
Count = 1
ItemType = "mmorpg:ore4"
UnsafeDamage = 0
DisplayName = "Legendary Ore"
ItemLore = [
"&eSell Price: 70 GP"
]
}
PrimaryAction {
Command = "cost-item: 1; cost: -70; console: tell %player_name% You've sold 1 Legendary Ore!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:ore4"
UnsafeDamage = 0
Count = 1
}
KeepInventoryOpen = true
}
SecondaryAction = ${?PrimaryAction}
Requirements = "%economy_balance% >= 10"
}]
Slot23 = [{
Item {
Count = 1
ItemType = "mmorpg:ore5"
UnsafeDamage = 0
DisplayName = "Mythical Ore"
ItemLore = [
"&eSell Price: 100 GP"
]
}
PrimaryAction {
Command = "cost-item: 1; cost: -100; console: tell %player_name% You've sold 1 Mythical Ore!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:ore5"
UnsafeDamage = 0
Count = 1
}
KeepInventoryOpen = true
}
SecondaryAction = ${?PrimaryAction}
Requirements = "%economy_balance% >= 10"
}]
Slot36 = [{
Item {
Count = 1
ItemType = "mmorpg:add_suffix"
UnsafeDamage = 0
DisplayName = "Unearth Suffix"
ItemLore = [
"&eBuy: 3000 GP"
"&eSell Price: 100 GP"
]
}
PrimaryAction {
Command = "cost: 3000; console: give %player_name% mmorpg:add_suffix 1 0; console: tell %player_name% You've bought 1 Unearth Suffix!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -100; console: tell %player_name% You've sold 1 Unearth Suffix!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:add_suffix"
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
Slot37 = [{
Item {
Count = 1
ItemType = "mmorpg:add_prefix"
UnsafeDamage = 0
DisplayName = "Uneareth Prefix"
ItemLore = [
"&eBuy: 3000 GP"
"&eSell Price: 100 GP"
]
}
PrimaryAction {
Command = "cost: 3000; console: give %player_name% mmorpg:add_suffix 1 0; console: tell %player_name% You've bought 1 Uneareth Prefix!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -100; console: tell %player_name% You've sold 1 Uneareth Prefix!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:add_prefix"
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
Slot38 = [{
Item {
Count = 1
ItemType = "mmorpg:randomize_suffix"
UnsafeDamage = 0
DisplayName = "Orb of Ever-Changing Suffix"
ItemLore = [
"&eBuy: 4000 GP"
"&eSell Price: 150 GP"
]
}
PrimaryAction {
Command = "cost: 4000; console: give %player_name% mmorpg:add_suffix 1 0; console: tell %player_name% You've bought 1 Orb of Ever-Changing Suffix!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -100; console: tell %player_name% You've sold 1 Orb of Ever-Changing Suffix!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:randomize_suffix"
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
Slot39 = [{
Item {
Count = 1
ItemType = "mmorpg:reroll_prefix_numbers"
UnsafeDamage = 0
DisplayName = "Orb of Prefix Blessing"
ItemLore = [
"&eBuy: 5000 GP"
"&eSell Price: 200 GP"
]
}
PrimaryAction {
Command = "cost: 5000; console: give %player_name% mmorpg:add_suffix 1 0; console: tell %player_name% You've bought 1 Orb of Prefix Blessing!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -100; console: tell %player_name% You've sold 1 Orb of Prefix Blessing!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:reroll_prefix_numbers"
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
Slot40 = [{
Item {
Count = 1
ItemType = "mmorpg:add_secondary_stat"
UnsafeDamage = 0
DisplayName = "Crystal of Legend"
ItemLore = [
"&eBuy: 3000 GP"
"&eSell Price: 100 GP"
]
}
PrimaryAction {
Command = "cost: 3000; console: give %player_name% mmorpg:add_suffix 1 0; console: tell %player_name% You've bought 1 Crystal of Legend!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -100; console: tell %player_name% You've sold 1 Crystal of Legend!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:add_secondary_stat"
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
Slot41 = [{
Item {
Count = 1
ItemType = "mmorpg:reroll_unique_numbers"
UnsafeDamage = 0
DisplayName = "Orb of Unique Blessing"
ItemLore = [
"&eBuy: 6000 GP"
"&eSell Price: 250 GP"
]
}
PrimaryAction {
Command = "cost: 6000; console: give %player_name% mmorpg:add_suffix 1 0; console: tell %player_name% You've bought 1 Orb of Unique Blessing!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -250; console: tell %player_name% You've sold 1 Orb of Unique Blessing!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:reroll_unique_numbers"
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
Slot42 = [{
Item {
Count = 1
ItemType = "mmorpg:number_reroll"
UnsafeDamage = 0
DisplayName = "Orb of Blessing"
ItemLore = [
"&eBuy: 10000 GP"
"&eSell Price: 400 GP"
]
}
PrimaryAction {
Command = "cost: 10000; console: give %player_name% mmorpg:number_reroll 1 0; console: tell %player_name% You've bought 1 Orb of Blessing!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -400; console: tell %player_name% You've sold 1 Orb of Blessing!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:number_reroll"
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
Slot43 = [{
Item {
Count = 1
ItemType = "mmorpg:attack_infusion"
UnsafeDamage = 0
DisplayName = "Attack Infusion"
ItemLore = [
"&eBuy: 3000 GP"
"&eSell Price: 100 GP"
]
}
PrimaryAction {
Command = "cost: 3000; console: give %player_name% mmorpg:attack_infusion 1 0; console: tell %player_name% You've bought 1 Attack Infusion!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -100; console: tell %player_name% You've sold 1 Attack Infusion!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:attack_infusion"
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
Slot44 = [{
Item {
Count = 1
ItemType = "mmorpg:defense_infusion"
UnsafeDamage = 0
DisplayName = "Defense Infusion"
ItemLore = [
"&eBuy: 3000 GP"
"&eSell Price: 100 GP"
]
}
PrimaryAction {
Command = "cost: 3000; console: give %player_name% mmorpg:defense_infusion 1 0; console: tell %player_name% You've bought 1 Defense Infusion!"
KeepInventoryOpen = true
}
SecondaryAction = {
Command = "cost-item: 1; cost: -100; console: tell %player_name% You've sold 1 Defense Infusion!"
KeepInventoryOpen = true
HandheldItem {
SearchInventory = true
RepetitionUpperLimit = 8
ItemType = "mmorpg:defense_infusion"
UnsafeDamage = 0
Count = 1
}
}
Requirements = "%economy_balance% >= 10"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment