diff --git a/Obam-General/hats.sk b/Obam-General/hats.sk index 37060d6..e91e165 100644 --- a/Obam-General/hats.sk +++ b/Obam-General/hats.sk @@ -3,13 +3,13 @@ options: betahat: i;iron pressure plate;n;&3&lBeta Supporter Hat;l;&7This Special hat is for all members who supported||&7during our beta period. This hat is a thank you from the &eOBAM||&7Staff for those that helped us when we were starting. THANK YOU!;c;hatreward betahat %player% - + command /hat: permission: obam.free executable by: players trigger: show "s;1;{@betahat}" with 3 rows named "&9&lOBAM &9Hats" to player - + command /hatreward : executable by: console trigger: @@ -18,7 +18,7 @@ command /hatreward : send "&aYou now have a hat :D" to player-argument execute console command "hatgive iron pressure plate %player-argument%" - + command /hatgive []: executable by: players and console @@ -41,7 +41,7 @@ command /hatgive []: give player-argument's helmet to player-argument set player-argument's helmet to arg 1 set name of player-argument's helmet to "hat" - + command /hatadd : permission: obam.admin trigger: @@ -64,7 +64,7 @@ on drop: loop {hat.items.list::*}: item is loop-value named "hat": cancel event - + command /hattoggle: permission: obam.mod @@ -91,4 +91,7 @@ every 1 second: set loop-player's helmet to command block named "&d&lSmooch's Sassy Hat" loop-player is "Electric_Hamster": set loop-player's helmet to sponge named "&b&lThe Hamster Hat" - \ No newline at end of file + loop-player is "OrigamiJoe": + set loop-player's helmet to daylight sensor named "&6Bane's Mask" + loop-player is "Deathtomb8953": + set loop-player's helmet to spawner block named "&6Death's Hat" diff --git a/Obam-Other/referall.sk b/Obam-Other/referall.sk index f28a18f..8c439c6 100644 --- a/Obam-Other/referall.sk +++ b/Obam-Other/referall.sk @@ -14,7 +14,9 @@ command /refer : send "&aYou have received &e500 Tickets&a as thanks. If you like our stuff subscribe to us on on PMC! &ehttp://pmc.la/s0mF1" to player set {refer.chance.%player%} to false stop - + argument is player: + send "&3You cannot refer yourself" to player + stop {played.%argument%} is not set: send "&cThat Player is make believe!" to player stop @@ -36,4 +38,4 @@ command /imnew: trigger: set {refer.chance.%player%} to true set {join.time.%player%} to now - add 1 day to {join.time.%player%} \ No newline at end of file + add 1 day to {join.time.%player%} diff --git a/Obam-Survival/heal.sk b/Obam-Survival/heal.sk index dc0ee0a..6dec91f 100644 --- a/Obam-Survival/heal.sk +++ b/Obam-Survival/heal.sk @@ -2,10 +2,6 @@ variables: {heal.%player%} = false - - - - command /heal: executable by: players permission: obam.free @@ -13,7 +9,7 @@ command /heal: {heal.%player%} is not set: set {heal.%player%} to now add 13 hours to {heal.%player%} - + set {_check} to difference between {heal.%player%} and now {_check} is less than 12 hours: set {_check} to difference between {heal.%player%} and now @@ -39,5 +35,12 @@ command /heal: set {heal.%player%} to now send "&aYou have been healed" to player set player's health to 10 + set player's hunger to 10 + apply regeneration 4 for 30 seconds to player + apply fire resistance for 2 minutes to player + apply resistance 2 for 2 minutes to player + apply absortion 2 for 2 minutes to player + apply wither for 0 seconds to player + apply poison for 0 seconds to player send "&aYou have &e%player's balance%&a remaining" to player stop diff --git a/Obam-Testing/boats b/Obam-Testing/boats new file mode 100644 index 0000000..60f765c --- /dev/null +++ b/Obam-Testing/boats @@ -0,0 +1,19 @@ +variables: + set {_nextuse} to difference between {_time} and now + set {_time} to now + + +on right click on block: + block is water block: + {_nextuse} is less than 1 second + place boat on block-location + add 1 minute to {_time} + set {_nextuse} to now + + +on vehicle exit: + destroy vehicle + + + + diff --git a/Obam-Testing/carts b/Obam-Testing/carts new file mode 100644 index 0000000..c491901 --- /dev/null +++ b/Obam-Testing/carts @@ -0,0 +1,18 @@ +variables: + set {_nextuse} to difference between {_time} and now + set {_time} to now + + +on right click on block: + block is rail: + {_nextuse} is less than 1 second + place minecart on block-location + add 1 minute to {_time} + set {_nextuse} to now + + +on vehicle exit: + destroy vehicle + + + diff --git a/Obam-Testing/wtfronts.sk b/Obam-Testing/wtfronts.sk index 2eb7774..e599b24 100644 --- a/Obam-Testing/wtfronts.sk +++ b/Obam-Testing/wtfronts.sk @@ -11,8 +11,12 @@ options: fairydust: sugar;&3Fairy Dust;&6This mysterious dust is filled with special properties||&6that nobody quite understands. Rumor is the dust||&6when combined with the right items or situations can||&6yield interesting results. stable: packed ice;&3Stabilizer;&6The stabilizer contains the perfect elemental makeup||&6to bring unstable energies down to usable levels.|| ||&5&oSurround the Stabilizer in a crafting table with items||&5&othat contain unstable energy. stablechst: diamond chestplate;&3Stable Diamond Chestplate;&6This chestplate contains a slot for special||&6enchantments and a container for &3Elemental||&3Fuel&6. + hastechest: diamonds chestplate;&3Haste Chestplate; &6This chestplate grants the wearer haste 2||&6 while you have elemental fuel. + speedchest: diamonds chestplate;&3Speed Chestplate; &6This chestplate grants the wearer speed 2||&6 while you have elemental fuel. + strengthchest: diamonds chestplate:&3Strength Chestplate; &6This chestplate grants the wearer strength 2||&6 while you have elemental fuel. qnhchest: diamond chestplate;&3Chest of Quench;&6Utilizing the power of &3Elemental Fuel &6and||&6the &3Super Water Bottle&6, this chestplate makes||&6sure you never go thirsty!|| ||&c-1 Elemental Fuel Per Use|| ||&5&oWhile wearing this chestplate, your thirst will||&5&oautomatically go back up to 100 whenever it||&5&odips below 50, as long as you have Elemental||&5&oFuel in your inventory. snkchest: diamond chestplate;&3Chest of Snacks;&6Utilizing the power of &3Elemental Fuel &6and an||&6Enchanted Golden Apple, this chestplate makes||&6sure you never go hungry!|| ||&c-1 Elemental Fuel Per Use|| ||&5&oWhile wearing this chestplate, your hunger will||&5&oautomatically go back up to 10 whenever it||&5&odips below 5, as long as you have Elemental||&5&oFuel in your inventory. + coffee: potion of harming; &3Cup of Coffee;&4Will give 50 fatigue back to you;&5So you can keep mining on script load: register new shapeless recipe for named item stack from "{@bandages}" using paper, slimeball, air, air, air, air, air, air, air @@ -26,11 +30,16 @@ on script load: register new shaped recipe for named item stack from "{@stablechst}" using named item stack from "{@stablemetal}", air, named item stack from "{@stablemetal}", named item stack from "{@stablemetal}", diamond block, named item stack from "{@stablemetal}", named item stack from "{@stablemetal}", named item stack from "{@elefuel}", named item stack from "{@stablemetal}" register new shapeless recipe for named item stack from "{@qnhchest}" using named item stack from "{@superbottle}", named item stack from "{@stablechst}", air, air, air, air, air, air, air register new shapeless recipe for named item stack from "{@snkchest}" using named item stack from "{@stablechst}", enchanted golden apple, air, air, air, air, air, air, air + register new shaped recipe for named item stack from "{@coffee}" using air,Cocoa beans,air,air,milk bucket,air,air,air,air + register new shaped recipe for named item stack from "{@hastechest}" using air,air,air,air,named item stack from {@stablechst},beacon,air,air,diamond pickaxe + register new shaped recipe for named item stack from "{@speedchest}" using air,air,air,air,named item stack from {@stablechst},beacon,air,air,potion of speed + register new shaped recipe for named item stack from "{@strengthchest}" using air,air,air,air,named item stack from "{@stablechst}",beacon,air,air,potion of strength on join: display board named "&9&lWTF&9ronts" to player make score "&3Thirst" in board of player to {thirst.%player%} + make score "&3Fatigue" in board of player to {fatigue.%player%} set {board.%player%} to true {injured.%player%} is true: make score "&cINJURED" in board of player to 1 @@ -61,6 +70,11 @@ on chunk load: on mine: + block is ore: + set {_ran} to random integer between 1 and 5 + {_ran} is 1 + set {fatigue.%player%} to {fatigue.%player%} - 1 + player's tool is pickaxe y-coordinate of player is less than 40 {cavein.%chunk at location of player%.chance} is false: @@ -235,7 +249,7 @@ every 3 seconds: loop-player is sprinting: set {_ran} to random number between 1 and 3 set {thirst.%loop-player%} to {thirst.%loop-player%} - {_ran} - + #BIOME SPECIFIC STUFF biome at loop-player is desert: time in loop-player's world is day y-coordinate of loop-player is greater than 60 @@ -246,22 +260,32 @@ every 3 seconds: damage loop-player by 2 send "&cThe sun beats down on you" to loop-player + biome at loop-player is hell: + set {_ran} to random integer between 1 and 20 + {_ran} is 1: + damage loop-player by 1 heart + send "&3You are being cooked to a nice medium rare" + set {thirst.%loop-player} to {thirst.%loop-player%} - 1 + + biome at loop-player is swamp: set {_ran} to a random integer between 1 and 5 {_ran} is 1: apply hunger 2 to loop-player for 20 seconds send "&cMalaria runs through your body" to loop-player - + #TOO HIGH GETTING CHILLED y-coordinate of loop-player is greater than 110: loop-player's helmet is air damage loop-player by 1 send "&cYou are chilled " to loop-player apply slowness to loop-player for 3 seconds + #BURING IN YO POCKET loop-player has lava bucket: chance of 10%: damage loop-player by 0.5 send "&cThe lava in your inventory grows hotter" to loop-player + #INJURY DAMAGE {injured.%loop-player%} is true: chance of 10%: set {_location} to location of loop-player @@ -281,6 +305,8 @@ every 3 seconds: apply slowness 3 to loop-player for 999 days apply mining fatigue 2 to loop-player for 1 minute apply weakness to loop-player for 30 seconds + + #CHESTPLATES {thirst.%loop-player%} is less than or equal to 50: name of loop-player's chestplate is "&3Chest of Quench" loop-player has named item stack from "{@elefuel}": @@ -292,9 +318,34 @@ every 3 seconds: set loop-player's hunger level to 10 remove named item stack from "{@elefuel}" from loop-player - - - + {fatigue.%loop-player%} is less than or equal to 30: + apply slowness for 3 seconds + set {_spam} to {_spam} +1 + {_spam} is equal to 15 + send "%cYou are fatigued, You can drink coffee or rest to get your strength back" + set {_spam} to 0 + + loop-player's chestplate is named item stack from {@speedchest} + loop-player has named item stack from "{@elefuel}": + apply speed 2 for 8 seconds + set {_ran} to random integer between 1 and 5 + {_ran} is 1 + remove named item stack from "{@elefuel}" from loop-player + + loop-player's chestplate is named item stack from {@hastechest} + loop-player has named item stack from "{@elefuel}": + apply haste 2 for 8 seconds + set {_ran} to random integer between 1 and 5 + {_ran} is 1 + remove named item stack from "{@elefuel}" from loop-player + + loop-player's chestplate is named item stack from {@strengthchest} + loop-player has named item stack from "{@elefuel}": + apply strength 2 for 8 seconds + set {_ran} to random integer between 1 and 5 + {_ran} is 1 + remove named item stack from "{@elefuel}" from loop-player + @@ -427,6 +478,17 @@ on bed enter: remove slowness from player nullify score "&cINJURED" in board of player send "&aYou have been healed of your injuries!" to player + set {fatigue.%player%} to 100 + +on consume of potion of harming; + player is holding named item stack from "{@coffee}" + {fatigue.%player%} is greater or equal to 100 + send &a"You are not fatigued" to player + {fatigue.%player%} is less than 100 + cancel event + set {fatigue.%player%} to 100 + apply speed 2 for 30 seconds + on consume of water bottle: {thirst.%player%} is greater than or equal to 100: @@ -437,16 +499,11 @@ on consume of water bottle: {thirst.%player%} is greater than 100: set {thirst.%player%} to 100 stop - {thirst.%player%} is greater than or equal to 100: - set {thirst.%player%} to 100 - cancel event - add 10 to {thirst.%player%} - {thirst.%player%} is greater than 100: - set {thirst.%player%} to 100 on death of a player: {thirst.%player%} is less than 25: set {thirst.%player%} to 25 + command /ci []: permission: obam.admin @@ -593,6 +650,4 @@ command /debug: send "&aDebug off" stop - - - \ No newline at end of file +