From a5d418e60531577dbb20902fcdfe08ea7d5f3483 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Tue, 8 Apr 2014 17:14:01 -0500 Subject: [PATCH 01/20] Create disenchant --- disenchant | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 disenchant diff --git a/disenchant b/disenchant new file mode 100644 index 0000000..72e3bb5 --- /dev/null +++ b/disenchant @@ -0,0 +1,27 @@ +command /unenchant: + executable by: players + aliases: /disenchant + trigger: + player's tool is not a sword or axe or pickaxe or shovel or bow or helmet or chestplate or leggings or boots: + message "&cYou may only disenchant Armour, Weapons or Tools!" to player + stop + set {_c.tool} to player's tool + + set {_bal} to player's balance + {_bal} is less than 200: + send "&cYou do not have enough tickets to do this!" to player + stop + player's level is less than 15: + + send "&cYou must have at least 15 levels to do this!" to player + stop + disenchant player's tool + + reduce the player's level by 15 + + remove 200 from player's balance + send "&6&lThe Gods have taken their gifts back!" to player + send "&aYou have used &e200 Tickets&a to disenchant this tool" to player + send "&aYou have &e%player's balance%&a remaining" to player + log "%player%^%{_bal}%^DEDUCT^200^%player's balance%^DISENCHANT FEE" to "tickets/disenchant.log" + stop From 06be90e4e99a9c7482f7e04aae5c5a4340b29945 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Tue, 8 Apr 2014 17:23:25 -0500 Subject: [PATCH 02/20] Update disenchant --- disenchant | 1 + 1 file changed, 1 insertion(+) diff --git a/disenchant b/disenchant index 72e3bb5..fd9eaee 100644 --- a/disenchant +++ b/disenchant @@ -1,5 +1,6 @@ command /unenchant: executable by: players + permission obam.free: aliases: /disenchant trigger: player's tool is not a sword or axe or pickaxe or shovel or bow or helmet or chestplate or leggings or boots: From 0a0bcbbb5e96ea8aa3f8ea5178ef088a3389f0d1 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Tue, 8 Apr 2014 17:23:58 -0500 Subject: [PATCH 03/20] Update disenchant --- disenchant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disenchant b/disenchant index fd9eaee..0659add 100644 --- a/disenchant +++ b/disenchant @@ -1,6 +1,6 @@ command /unenchant: executable by: players - permission obam.free: + permission: obam.free aliases: /disenchant trigger: player's tool is not a sword or axe or pickaxe or shovel or bow or helmet or chestplate or leggings or boots: From 63a4b54b7c22f1a76b87420b5172e142190184a9 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Tue, 8 Apr 2014 17:41:35 -0500 Subject: [PATCH 04/20] Delete disenchant --- disenchant | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 disenchant diff --git a/disenchant b/disenchant deleted file mode 100644 index 0659add..0000000 --- a/disenchant +++ /dev/null @@ -1,28 +0,0 @@ -command /unenchant: - executable by: players - permission: obam.free - aliases: /disenchant - trigger: - player's tool is not a sword or axe or pickaxe or shovel or bow or helmet or chestplate or leggings or boots: - message "&cYou may only disenchant Armour, Weapons or Tools!" to player - stop - set {_c.tool} to player's tool - - set {_bal} to player's balance - {_bal} is less than 200: - send "&cYou do not have enough tickets to do this!" to player - stop - player's level is less than 15: - - send "&cYou must have at least 15 levels to do this!" to player - stop - disenchant player's tool - - reduce the player's level by 15 - - remove 200 from player's balance - send "&6&lThe Gods have taken their gifts back!" to player - send "&aYou have used &e200 Tickets&a to disenchant this tool" to player - send "&aYou have &e%player's balance%&a remaining" to player - log "%player%^%{_bal}%^DEDUCT^200^%player's balance%^DISENCHANT FEE" to "tickets/disenchant.log" - stop From b887f763583a973501fa10ad257bad7ad65cb27e Mon Sep 17 00:00:00 2001 From: jrlizard Date: Tue, 8 Apr 2014 17:42:41 -0500 Subject: [PATCH 05/20] disenchant --- Obam-Testing/disenchant | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Obam-Testing/disenchant diff --git a/Obam-Testing/disenchant b/Obam-Testing/disenchant new file mode 100644 index 0000000..de68ea9 --- /dev/null +++ b/Obam-Testing/disenchant @@ -0,0 +1,28 @@ +command /unenchant: + executable by: players + permission: obam.free + aliases: /disenchant + trigger: + player's tool is not a sword or axe or pickaxe or shovel or bow or helmet or chestplate or leggings or boots: + message "&cYou may only disenchant Armour, Weapons or Tools!" to player + stop + + + set {_bal} to player's balance + {_bal} is less than 200: + send "&cYou do not have enough tickets to do this!" to player + stop + player's level is less than 15: + + send "&cYou must have at least 15 levels to do this!" to player + stop + disenchant player's tool + + reduce the player's level by 15 + + remove 200 from player's balance + send "&6&lThe Gods have taken their gifts back!" to player + send "&aYou have used &e200 Tickets&a to disenchant this tool" to player + send "&aYou have &e%player's balance%&a remaining" to player + log "%player%^%{_bal}%^DEDUCT^200^%player's balance%^DISENCHANT FEE" to "tickets/disenchant.log" + stop From 296d388829d1bd90ad1a36aa93851434354ecc6b Mon Sep 17 00:00:00 2001 From: jrlizard Date: Tue, 8 Apr 2014 18:54:04 -0500 Subject: [PATCH 06/20] Update wtfronts.sk added malaria --- Obam-Testing/wtfronts.sk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Obam-Testing/wtfronts.sk b/Obam-Testing/wtfronts.sk index e75214d..4391704 100644 --- a/Obam-Testing/wtfronts.sk +++ b/Obam-Testing/wtfronts.sk @@ -263,6 +263,14 @@ every 3 seconds: apply mining fatigue 2 to loop-player for 1 minute apply weakness to loop-player for 30 seconds +every 120 seconds: + loop all players: + biome is swamp at location of player + set {_ran} to a random integer between 1 and 5 + {_ran} is 1: + apply hunger 2 for 20 seconds + + on spawn of a creeper or a skeleton or a spider or zombie: {unstable.%chunk at event-location%} is true: @@ -540,4 +548,4 @@ command /debug: - \ No newline at end of file + From 640743cc595c4c8f8f3b43f4b3557cda8c1a6318 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Tue, 8 Apr 2014 21:12:10 -0500 Subject: [PATCH 07/20] heal heal yourself for 2000 tix --- Obam-Testing/heal | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Obam-Testing/heal diff --git a/Obam-Testing/heal b/Obam-Testing/heal new file mode 100644 index 0000000..3c5e350 --- /dev/null +++ b/Obam-Testing/heal @@ -0,0 +1,33 @@ +variables: + {heal.%player%} = false + {check.%player%} = false + {use.%player%} = true + + + +command /heal: + executable by: players + permission: obam.free + trigger: + + {use.%player%} = true + set {_bal} to player's balance + {_bal} is less than 2000: + send "&cYou do not have enough tickets to do this!" to player + stop + + remove 2000 from player's balance + set {heal.%player%} to now + set {use.%player%} to false + send "&aYou have been healed" to player + send "&aYou have &e%player's balance%&a remaining" to player + stop + +every 1 hour: + + loop all players: + set {_check} to difference between {heal.%player%} and now + {_check} is less than 12 hours + set {use.%player%} to false: + + set {use.%players%} to true From aae5517a19fd676b33c491c6a923d976efcca6b2 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Tue, 8 Apr 2014 21:50:48 -0500 Subject: [PATCH 08/20] Update heal --- Obam-Testing/heal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Obam-Testing/heal b/Obam-Testing/heal index 3c5e350..acfba78 100644 --- a/Obam-Testing/heal +++ b/Obam-Testing/heal @@ -2,6 +2,7 @@ variables: {heal.%player%} = false {check.%player%} = false {use.%player%} = true + {abstain.%player%} = true @@ -9,7 +10,7 @@ command /heal: executable by: players permission: obam.free trigger: - + {abstain.%player%} = true {use.%player%} = true set {_bal} to player's balance {_bal} is less than 2000: From 84e6fb886cea6bef092a53e7d3d0f12bb09dc642 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Wed, 9 Apr 2014 18:21:46 -0500 Subject: [PATCH 09/20] Create soap --- Obam-Testing/soap | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Obam-Testing/soap diff --git a/Obam-Testing/soap b/Obam-Testing/soap new file mode 100644 index 0000000..00d45a1 --- /dev/null +++ b/Obam-Testing/soap @@ -0,0 +1,23 @@ +variable: + {dirty.%player%} = 25 + + +options: + soap1: Enchant bottle;&3Soap;&6Makes it so you don't stink||&6by tossing it when you are in water. + +on script load: + + register new shaped recipe for named item stack from "{@soap1}" using air,air,air,air,milk bucket,dandelion,air,air,water bottle + register new shaped recipe for named item stack from "{@soap1}" using air,air,air,air,milk bucket,poppy,air,air,water bottle + +on shoot: + + on walking on water block: + {dirty.%player%} = 25 + + + +every 3 seconds: + on walking on dirt or grass: + {dirty.%player%) - 1 + From 206a8ad1a98a74d990f030acfd3e4c4ad2e94494 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Wed, 9 Apr 2014 18:45:22 -0500 Subject: [PATCH 10/20] Update soap --- Obam-Testing/soap | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Obam-Testing/soap b/Obam-Testing/soap index 00d45a1..c6438ab 100644 --- a/Obam-Testing/soap +++ b/Obam-Testing/soap @@ -17,7 +17,17 @@ on shoot: -every 3 seconds: - on walking on dirt or grass: - {dirty.%player%) - 1 +every 5 seconds: + walking on dirt or grass: + set {dirty.%loop-player%} to {dirty.%loop-player%} - 1 + + +every 60 seconds: + if {dirty.%player%} is less than 10: + apply nausea 2 for 3 seconds + send "&cYour stench affects you, you might want to get some soap" to loop-player + + + #Eventually want to make it so it can repel passive mobs + From c93f61431f5433d7d4b1872da51150aacd72c715 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Wed, 9 Apr 2014 19:07:35 -0500 Subject: [PATCH 11/20] Update soap --- Obam-Testing/soap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Obam-Testing/soap b/Obam-Testing/soap index c6438ab..e8fc20f 100644 --- a/Obam-Testing/soap +++ b/Obam-Testing/soap @@ -10,7 +10,7 @@ on script load: register new shaped recipe for named item stack from "{@soap1}" using air,air,air,air,milk bucket,dandelion,air,air,water bottle register new shaped recipe for named item stack from "{@soap1}" using air,air,air,air,milk bucket,poppy,air,air,water bottle -on shoot: +on soap1 shoot: on walking on water block: {dirty.%player%} = 25 From f4cde26f29d3dc44504a116fc7e32d780564cd9c Mon Sep 17 00:00:00 2001 From: jrlizard Date: Wed, 9 Apr 2014 19:26:03 -0500 Subject: [PATCH 12/20] Update soap --- Obam-Testing/soap | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Obam-Testing/soap b/Obam-Testing/soap index e8fc20f..160c561 100644 --- a/Obam-Testing/soap +++ b/Obam-Testing/soap @@ -3,14 +3,16 @@ variable: options: - soap1: Enchant bottle;&3Soap;&6Makes it so you don't stink||&6by tossing it when you are in water. + soap1: nether brick;&3Soap;&6Makes it so you don't stink||&6by tossing it when you are in water. on script load: register new shaped recipe for named item stack from "{@soap1}" using air,air,air,air,milk bucket,dandelion,air,air,water bottle register new shaped recipe for named item stack from "{@soap1}" using air,air,air,air,milk bucket,poppy,air,air,water bottle -on soap1 shoot: +on drop: + + player's tool is named item stack from "{@soap1}": on walking on water block: {dirty.%player%} = 25 From e13ba791045f60e01d75c2b6b8f068257b3d8eca Mon Sep 17 00:00:00 2001 From: jrlizard Date: Wed, 9 Apr 2014 19:49:34 -0500 Subject: [PATCH 13/20] Create Crafting Aura Not completed. Needs enchants done. --- Obam-Testing/Crafting Aura | 289 +++++++++++++++++++++++++++++++++++++ 1 file changed, 289 insertions(+) create mode 100644 Obam-Testing/Crafting Aura diff --git a/Obam-Testing/Crafting Aura b/Obam-Testing/Crafting Aura new file mode 100644 index 0000000..2192e5a --- /dev/null +++ b/Obam-Testing/Crafting Aura @@ -0,0 +1,289 @@ + + +command /aura [] [] [text]: + permission: obam.free + description: For all Aura related commands + + + trigger: + {abstain.%player%} is true: + send "&cThis feature is unavailable while abstaining" + stop + {abstain.%player%} is "wait abstain": + send "&cThis feature is unavailable while abstaining" + stop + {abstain.%player%} is "wait pvp": + send "&cThis feature is unavailable while abstaining" + stop + + + argument 1 is not set: + {current.aura.%player%} is not set: + send "&7You do not have an active aura! Use &e/aura list&7 for a list of available auras" + stop + + {current.aura.%player%} is "fortune": + send "&7You have the &eFortune Aura&7 activated" to player + send "&7You have a &6%{fortune.chance.%player%}% Percent&7 chance to find extra ingots/gems" to player + + + {current.aura.%player%} is "crafting": + send "&7You have the &eCrafting Aura&7 activated" to player + + + argument 1 is "help" or "h": + message "&3--[&6&lAura Help&3]--" + message "&cRequired = [] Optional = ()" + message "&a * /Aura" + message "&7 Shows you information regarding your current Aura." + message "&a * /aura [alerts] [on/off]" + message "&7 Turn on/off aura alerts from other players." + message "&a * /aura [aura-name] [on/off]" + message "&7 A mystical aura is placed on you, with a price to pay." + send "&a * /aura list" + send "&7 Lists the currently available auras." + send " " + send " " + send "&6Developed for &7OBAMCraft &eBy: &aThe OBAM Mechanics" + send "&cV 1.0" + + argument 1 is "alerts": + + argument 2 is not set : + send "&cYou must choose &6on&c or &6off&c." to player + + argument 2 is "on": + set {aura.alert.%player%} to true + send "&aYou have activated aura alerts." to player + + argument 2 is "off": + set {aura.alert.%player%} to false + send "&aYou have deactivated aura alerts." to player + + argument 1 is "fortune": + argument 2 is not set: + send "&cYou must choose &6on&c or &6off&c." to player + + argument 2 is "on": + + {current.aura.%player%} is "fortune": + send "&cYou already have a Fortune Aura active." to player + stop + + set {current.aura.%player%} to "fortune" + send "&aYou have activated the &eFortune&a Aura!" to player + set {fortune.chance.%player%} to 1 + set {for.ran.%player%} to random number between 5 and 15 + + argument 2 is "off": + clear {current.aura.%player%} + send "&aYou have deactivated your Fortune Aura!" to player + + + set {fortune.spam.%player%} to 0 + argument 1 is "list": + message "&3--[&6&lAura List&3]--" + send "&a Fortune Aura" + send "&7 This aura gives you an increasing chance to find more gems and ingots at the cost of alerting others to your position." + + + + + + + + + argument 1 is "crafting": + argument 2 is not set: + send "&cYou must choose &6on&c or &6off&c." to player + + argument 2 is "on": + + {current.aura.%player%} is "crafting": + send "&cYou already have a Crafting Aura active." to player + stop + + set {current.aura.%player%} to "crafting" + send "&aYou have activated the &eCrafting&a Aura!" to player + + + argument 2 is "off": + clear {current.aura.%player%} + send "&aYou have deactivated your Creative Aura!" to player + + +on break: + {chunk.live.%chunk at location of event-block%} is not name of player: + {chunk.live.%chunk at location of event-block%.%player%} is not set: + cancel event + stop + {fortune.spam.%player%} is greater than 16: + set {fortune.spam.%player%} to 0 + {for.ran.%player%} is not set: + set {for.ran.%player%} to random integer between 5 and 15 + {current.aura.%player%} is "fortune": + {abstain.%player%} is true: + clear {current.aura.%player%} + {abstain.%player%} is "wait abstain": + clear {current.auar.%player%} + block is diamond ore or emerald ore or gold ore or iron ore or lapis ore or redstone ore or coal ore or nether quartz ore: + player's tool is a pickaxe of silk touch: + send "&cYour fortune aura has no effect with this enchantment!" to player + stop + {chunk.live.%chunk at location of event-block%} is set: + send "&cYour fortune aura has no effect in this area." + stop + loop blocks in radius 50 of event-block: + {chunk.live.%chunk at location of loop-block%} is set: + send "&cYour fortune aura has no effect in this area, go further out!" to player + stop + + {fortune.spam.%player%} is greater than {for.ran.%player%}: + loop all players: + + {aura.alert.%loop-player%} is true: + send "&3&lIt seems %player% hit the %block% jackpot at %location of player%!" to loop-player + set {fortune.spam.%player%} to 0 + set {for.ran.%player%} to random integer between 5 and 15 + {current.aura.%player%} is "fortune" + + block is diamond ore: + add 1 to {fortune.spam.%player%} + chance of {fortune.chance.%player%}%: + send "&aFortune favours you!" to player + drop 1 diamond + add 1 to {fortune.spam.%player%} + + block is emerald ore: + add 1 to {fortune.spam.%player%} + chance of {fortune.chance.%player%}%: + send "&aFortune favours you!" to player + drop 1 emerald + add 1 to {fortune.spam.%player%} + + block is gold ore: + add 1 to {fortune.spam.%player%} + chance of {fortune.chance.%player%}%: + cancel event + delete event-block + drop 1 gold ingot + send "&aFortune favours you!" to player + drop 1 gold ingot + add 1 to {fortune.spam.%player%} + + block is iron ore: + + add 1 to {fortune.spam.%player%} + + chance of {fortune.chance.%player%}%: + cancel event + delete event-block + drop 1 iron ingot + send "&aFortune favours you!" to player + drop 1 iron ingot + add 1 to {fortune.spam.%player%} + + block is lapis ore: + add 1 to {fortune.spam.%player%} + chance of {fortune.chance.%player%}%: + send "&aFortune favours you!" to player + drop 1 lapis + add 1 to {fortune.spam.%player%} + + block is redstone ore: + add 1 to {fortune.spam.%player%} + chance of {fortune.chance.%player%}%: + send "&aFortune favours you!" to player + drop 1 redstone + add 1 to {fortune.spam.%player%} + + block is coal ore: + add 1 to {fortune.spam.%player%} + chance of {fortune.chance.%player%}%: + send "&aFortune favours you!" to player + drop 1 coal + add 1 to {fortune.spam.%player%} + + block is nether quartz ore: + add 1 to {fortune.spam.%player%} + chance of {fortune.chance.%player%}%: + send "&aFortune favours you!" to player + drop 1 nether quartz + add 1 to {fortune.spam.%player%} + + + +on loop-player crafting of tool: + {current.aura.%player%} is "crafting" + + + set {_ran} to random integer between 1 and 200 + + {_ran} is 1 + players tool is sword: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is pickaxe: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is axe: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is shovel: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + + {_ran} is 2 + players tool is sword: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is pickaxe: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is axe: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is shovel: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + + {_ran} is 3 + players tool is sword: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is pickaxe: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is axe: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is shovel: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + + {_ran} is 4 + players tool is sword: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is pickaxe: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is axe: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + players tool is shovel: + enchant tool with #RANDOM ENCHANT THAT WE WILL CHOSE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From ad39175f3ca4f79f044052ca5d35c81f68000f58 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Wed, 9 Apr 2014 20:17:44 -0500 Subject: [PATCH 14/20] Create break the hands if punch stone or stuff it has a 1-5 chance of hurting you --- Obam-Testing/break the hands | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Obam-Testing/break the hands diff --git a/Obam-Testing/break the hands b/Obam-Testing/break the hands new file mode 100644 index 0000000..5193826 --- /dev/null +++ b/Obam-Testing/break the hands @@ -0,0 +1,5 @@ +on leftclick on a stone or netherbrick or ore or end stone with fist +set {_ran} to a random integer between 1 and 5 + +{_ran} is 1 +damage player by 1 heart From d5de10f3bd75093a37e9f9dc47a505338c0bc666 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Wed, 9 Apr 2014 20:23:23 -0500 Subject: [PATCH 15/20] Update break the hands --- Obam-Testing/break the hands | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Obam-Testing/break the hands b/Obam-Testing/break the hands index 5193826..c8a4775 100644 --- a/Obam-Testing/break the hands +++ b/Obam-Testing/break the hands @@ -1,4 +1,4 @@ -on leftclick on a stone or netherbrick or ore or end stone with fist +on leftclick on a stone or netherbrick or ore or end stone with air set {_ran} to a random integer between 1 and 5 {_ran} is 1 From ca9fdfa02ac70a02ae9b60ad95c09b6ac524eeff Mon Sep 17 00:00:00 2001 From: jrlizard Date: Wed, 9 Apr 2014 21:04:05 -0500 Subject: [PATCH 16/20] Update soap --- Obam-Testing/soap | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Obam-Testing/soap b/Obam-Testing/soap index 160c561..f955705 100644 --- a/Obam-Testing/soap +++ b/Obam-Testing/soap @@ -17,10 +17,12 @@ on drop: on walking on water block: {dirty.%player%} = 25 +on break of coal ore or dirt: + set {dirty.%loop-player%} to {dirty.%loop-player%} - 1 - -every 5 seconds: - walking on dirt or grass: + +walking on dirt or grass: + every 5 seconds: set {dirty.%loop-player%} to {dirty.%loop-player%} - 1 From 4a4b48f01087380be726817ccbcdf431a31de352 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Wed, 9 Apr 2014 21:19:43 -0500 Subject: [PATCH 17/20] Update soap --- Obam-Testing/soap | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Obam-Testing/soap b/Obam-Testing/soap index f955705..6e3ae23 100644 --- a/Obam-Testing/soap +++ b/Obam-Testing/soap @@ -10,6 +10,13 @@ on script load: register new shaped recipe for named item stack from "{@soap1}" using air,air,air,air,milk bucket,dandelion,air,air,water bottle register new shaped recipe for named item stack from "{@soap1}" using air,air,air,air,milk bucket,poppy,air,air,water bottle +on craft: + event-item is named item stack from "{@soap1}": + drop 1 bucket at locaiton of event-player + + + + on drop: player's tool is named item stack from "{@soap1}": From 0df64d4b7508961a5deacce7145bc9de8255d0db Mon Sep 17 00:00:00 2001 From: jrlizard Date: Thu, 10 Apr 2014 16:43:25 -0500 Subject: [PATCH 18/20] Create rank up --- Creative/rank up | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Creative/rank up diff --git a/Creative/rank up b/Creative/rank up new file mode 100644 index 0000000..b3ee9f3 --- /dev/null +++ b/Creative/rank up @@ -0,0 +1,8 @@ +variables: + {rank.%player} = 0 + +command /rankup [] + permission: + obam.admin + description: ranks up player if their build is good + set {rank.%player} to {rank.%player} + 1 From e88b947de7bf78ffd7627a93ee905bfabda8c896 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Thu, 10 Apr 2014 16:45:59 -0500 Subject: [PATCH 19/20] Update rank up --- Creative/rank up | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Creative/rank up b/Creative/rank up index b3ee9f3..57fe8e8 100644 --- a/Creative/rank up +++ b/Creative/rank up @@ -2,7 +2,8 @@ variables: {rank.%player} = 0 command /rankup [] - permission: - obam.admin - description: ranks up player if their build is good + permission: obam.admin + description: ranks up player if their build is good + + trigger: set {rank.%player} to {rank.%player} + 1 From a3bb37133380c5e71758add223b03ca56034d7b6 Mon Sep 17 00:00:00 2001 From: jrlizard Date: Thu, 10 Apr 2014 18:01:59 -0500 Subject: [PATCH 20/20] Create RANK UP ELITE --- Creative/RANK UP ELITE | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Creative/RANK UP ELITE diff --git a/Creative/RANK UP ELITE b/Creative/RANK UP ELITE new file mode 100644 index 0000000..b8d3041 --- /dev/null +++ b/Creative/RANK UP ELITE @@ -0,0 +1,9 @@ +command /rankup []: + permission: obam.admin + description: ranks up player if their build is good + trigger: + if %argument% is set: + set {_valenian.rank.%argument%} to {_valenian.rank.%argument%} + 1 + send "%argument% is now rank {_valenian.rank.%argument%}" to player + if %argument% is not set: + send "Please type in a playername." to player