Warning: Undefined variable $http_response_header in /var/www/html/new/skunity/library/skUnity/Util/HTTP.php on line 95

skunitybackup-354.sk

Created by TheJayCool

Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.

#															#
#															#
# ▄▄▄▄▄ ▄▄▄· • ▌ ▄ ·.  ▄▄▄·  ▄▄ •       ▄▄▄▄▄ ▄▄·  ▄ .▄▪  	#
# •██  ▐█ ▀█ ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪▪     •██  ▐█ ▌▪██▪▐███ 	#
#  ▐█.▪▄█▀▀█ ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄ ▄█▀▄  ▐█.▪██ ▄▄██▀▐█▐█·	#
#  ▐█▌·▐█ ▪▐▌██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌.▐▌ ▐█▌·▐███▌██▌▐▀▐█▌	#
#  ▀▀▀  ▀  ▀ ▀▀  █▪▀▀▀ ▀  ▀ ·▀▀▀▀  ▀█▄▀▪ ▀▀▀ ·▀▀▀ ▀▀▀ ·▀▀▀	#
#															#
#					By TheJayCool							#
#															#

options:
	happyFace1:   █       █
	happyFace2: █           █
	happyFace3:   ████
	sickFace1:    X        X
	sickFace2: █  █  █  █
	sickFace3:  █  █  █
	deadFace1: &c   X        X
	deadFace2: &c █  █  █  █
	deadFace3: &c  █  █  █
	
variables:
	{tg.%player%.health} = 100
	{tg.%player%.happiness} = 100
	{tg.%player%.weight} = 50
	{tg.%player%.hunger} = 100
	{tg.%player%.age} = 0
command /tamagotchi [<text>] [<text>]:
	trigger:
		if arg 1 is "restart":
			set {tg.%player%.health} to 100
			set {tg.%player%.hunger} to 100
			set {tg.%player%.mood} to "Happy"
			set {tg.%player%.weight} to 50
			set {tg.%player%.happiness} to 100
			set {tg.%player%.age} to 0
			send "&aYou have restarted!"
		if {tg.%player%.health} is above 50:
			set {tg.%player%.mood} to "Happy"
		if {tg.%player%.health} is above 100:
			set {tg.%player%.health} to 100
		if {tg.%player%.happiness} is above 100:
			set {tg.%player%.happiness} to 100
		if {tg.%player%.hunger} is above 100:
			set {tg.%player%.hunger} to 100
		if {tg.%player%.health} is below or equal to 0:
			set {tg.%player%.mood} to "Dead"
		if arg 1 is "feed":
			if {tg.%player%.maxmeals} is above or equal to 5:
				send "&aYou have fed your tamagotchi too much!"
				stop
			if arg 2 is not set:
				json("%player%", "&aWhat would you like to feed your tamagotchi?")
				json("%player%", "&aSteak ||ttp:&6Hunger:&a25 &6Happiness:&a15 &6Weight:&a30 &eHOLD STEAK IN YOUR HAND||cmd:/tamagotchi feed steak ||&aApple ||ttp:&6Health:&a15 &6Happiness:&c-10 &eHOLD APPLE IN YOUR HAND||cmd:/tamagotchi feed fruit ||&aCandy ||ttp:&6Happiness:&a25 &6Health:&c-10 &6Weight:&a10 &eHOLD ANYTHING IN YOUR HAND||cmd:/tamagotchi feed candy")
			if arg 2 is "steak":
				if player's tool is steak:
					remove 1 steak from player's inventory
					add 1 to {tg.%player%.maxmeals}
					add 25 to {tg.%player%.hunger}
					add 15 to {tg.%player%.happiness}
					add 30 to {tg.%player%.weight}
					send "&aYou have fed your tamagotchi a steak!" to player
					stop
				else:
					send "&aYou do not have steak!"
					stop
			if arg 2 is "fruit":
				if player's tool is apple:
					remove 1 apple from player's inventory
					add 1 to {tg.%player%.maxmeals}
					add 15 to {tg.%player%.health}
					remove 10 from {tg.%player%.happiness}
					send "&aYou have fed your tamagotchi an apple!" to player
					stop
				else:
					send "&aYou do not have an apple!"
					stop
			if arg 2 is "candy":
				if player's tool is air:
					send "&aYou cannot feed your tamagotchi air!"
					stop
				send "&aYou have fed your tamagotchi %player's tool%" to player
				remove player's tool from player's inventory
				add 1 to {tg.%player%.maxmeals}
				remove 10 from {tg.%player%.health}
				add 25 to {tg.%player%.happiness}
				add 10 to {tg.%player%.weight}
				stop
		if arg 1 is "play":
			if {tg.%player%.maxplay} is 10:
				send "&aYour tamagotchi is exhausted!"
				stop
			set {_tg.%player%.play} to random number between 0 and 100
			if {_tg.%player%.play} is above 50:
				add 1 to {tg.%player%.maxplay}
				add 10 to {tg.%player%.happiness}
				send "&a+10 Happiness"
			else:
				add 1 to {tg.%player%.maxplay}
				remove 10 from {tg.%player%.happiness}
				send "&c-10 Happiness"
		if arg 1 is "clean":
			set {tg.%player%.isthereshit} to false
			send "&aYou have cleaned up your tamagotchi!"
		if arg 1 is "medical":
			if {tg.%player%.maxmedication} = 10:
				send "&aYour pet has taken too many medication!"
				stop
			else:
				add 1 to {tg.%player%.maxmedication}
				add 15 to {tg.%player%.health}
				remove 5 from {tg.%player%.happiness}
				send "&aYou have given your tamagotchi medication!"
		if arg 1 is not set:
			if {tg.%player%.mood} is "Happy":
				send "&6&m--&eYour Tamagotchi&6&m--"
				send ""
				send "   &4Player:&e %player%"
				send ""
				send "  {@happyFace1}"
				send ""
				send "{@happyFace2}"
				send "  {@happyFace3}"
				send ""
				send "   &6Status: %{tg.%player%.mood}%"
				send ""
				send "   &6Age: %{tg.%player%.age}%"
				send "   &6Happiness: %{tg.%player%.happiness}%/100"
				send "   &6Hunger: %{tg.%player%.hunger}%/100"
				send "   &6Weight: %{tg.%player%.weight}%"
				send "   &6Health: %{tg.%player%.health}%/100"
				send ""
				send "   &4&lActions:"
				json("%player%", "    &aFeed||cmd:/tamagotchi feed || &aPlay||cmd:/tamagotchi play || &aClean||cmd:/tamagotchi clean || &aMedical||cmd:/tamagotchi medical")
				send ""
				send "&6&m-------------------"
			if {tg.%player%.mood} is "Sick":
				send "&6&m--&eYour Tamagotchi&6&m--"
				send ""
				send "   &4Player:&e %player%"
				send ""
				send "  {@sickFace1}"
				send ""
				send "{@sickFace2}"
				send "  {@sickFace3}"
				send ""
				send "   &6Status: %{tg.%player%.mood}%"
				send ""
				send "   &6Age: %{tg.%player%.age}%"
				send "   &6Happiness: %{tg.%player%.happiness}%/100"
				send "   &6Hunger: %{tg.%player%.hunger}%/100"
				send "   &6Weight: %{tg.%player%.weight}%"
				send "   &6Health: %{tg.%player%.health}%/100"
				send ""
				send "   &4&lActions:"
				json("%player%", "    &aFeed||cmd:/tamagotchi feed || &aPlay||cmd:/tamagotchi play || &aClean||cmd:/tamagotchi clean || &aMedical||cmd:/tamagotchi medical")
				send ""
				send "&6&m-------------------"
			if {tg.%player%.mood} is "Dead":
				send "&6&m--&eYour Tamagotchi&6&m--"
				send ""
				send "   &4Player:&e %player%"
				send ""
				send "  {@deadFace1}"
				send ""
				send "{@deadFace2}"
				send "  {@deadFace3}"
				send ""
				send "   &6Status: %{tg.%player%.mood}%"
				send ""
				send "   &6Age: %{tg.%player%.age}%"
				send "   &6Happiness: %{tg.%player%.happiness}%/100"
				send "   &6Hunger: %{tg.%player%.hunger}%/100"
				send "   &6Weight: %{tg.%player%.weight}%"
				send "   &6Health: %{tg.%player%.health}%/100"
				send ""
				send "   &4&lActions:"
				json("%player%", "    &aFeed||cmd:/tamagotchi feed || &aPlay||cmd:/tamagotchi play || &aClean||cmd:/tamagotchi clean || &aMedical||cmd:/tamagotchi medical")
				json("%player%", "&4Restart||cmd:/tamagotchi restart")
				send "&6&m-------------------"
every 10 minutes:
	loop all players:
		set {_tg.hunger.%loop-player%.randomizer} to random integer between 1 and 10
		set {_tg.weight.%loop-player%.randomizer} to random integer between 0 and 5
		set {_tg.sickness.%loop-player%.randomizer} to random integer between 0 and 100
		set {_tg.world.%loop-player%} to world of loop-player
		set {_tg.SHIT.%loop-player%} to random integer between 0 and 100
		set {tg.%loop-player%.maxmeals} to 0
		set {tg.%loop-player%.maxplay} to 0
		set {tg.%loop-player%.maxmedication} to 0

	loop all players:
		if {tg.%loop-player%.age} is above 50:
			set {_tg.sickness.%loop-player%.randomizer} to {_tg.sickness.%loop-player%.randomizer} * 1.8
		set {tg.%loop-player%.hunger} to {tg.%loop-player%.hunger} - {_tg.hunger.%loop-player%.randomizer}
		set {tg.%loop-player%.weight} to {tg.%loop-player%.weight} - {_tg.weight.%loop-player%.randomizer}
		if {_tg.sickness.%loop-player%.randomizer} is above 90:
			set {tg.%loop-player%.mood} to "Sick"
			send "&b&oSomething vibrates in your pockets..." to loop-player
			add 5 to {tg.%loop-player%.happiness}
		if {tg.%loop-player%.weight} is above 100:
			remove 1 from {tg.%loop-player%.health}
			remove 10 from {tg.%loop-player%.happiness}
		if {tg.%loop-player%.health} is below 25:
			set {tg.%loop-player%.mood} to "Sick"
			remove 5 from {tg.%loop-player%.happiness}
		if {tg.%loop-player%.hunger} is below 25:
			remove 15 from {tg.%loop-player%.weight}
			remove 10 from {tg.%loop-player%.health}
			remove 5 from {tg.%loop-player%.happiness}
		if {tg.%loop-player%.health} is 0:
			set {tg.%loop-player%.mood} to "Dead"
			send "&c&oGame Over" to loop-player
		if {_tg.SHIT.%loop-player%} is above 75:
			send "&b&oSomething vibrates in your pockets..." to loop-player
			set {tg.%loop-player%.isthereshit} to true
		if {tg.%loop-player%.isthereshit} is true:
			if {_tg.sickness.%loop-player%.randomizer} is above 50:
				set {tg.%loop-player%.mood} to "Sick"
				
every 2 hours:
	loop all players:
		add 1 to {tg.%loop-player%.age}