diff --git a/app/Http/Controllers/CityController.php b/app/Http/Controllers/CityController.php new file mode 100644 index 00000000..938ca6a9 --- /dev/null +++ b/app/Http/Controllers/CityController.php @@ -0,0 +1,22 @@ +middleware('auth'); + } + + public function getVoodoo() + { + return view('city.voodoo'); + } +} \ No newline at end of file diff --git a/database/migrations/2018_01_23_182100_add_premium_column_to_users.php b/database/migrations/2018_01_23_182100_add_premium_column_to_users.php new file mode 100644 index 00000000..ceca0273 --- /dev/null +++ b/database/migrations/2018_01_23_182100_add_premium_column_to_users.php @@ -0,0 +1,32 @@ +unsignedInteger('premium'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function(Blueprint $table) { + $table->dropColumn('premium'); + }); + } +} diff --git a/database/models/User.php b/database/models/User.php index 2bfd517d..46bcbab0 100644 --- a/database/models/User.php +++ b/database/models/User.php @@ -56,6 +56,7 @@ * @property int name_change * @property int vacation * @property int show_picture + * @property int premium */ class User extends Authenticatable { @@ -930,6 +931,24 @@ public function setShowPicture(bool $show_picture): User return $this; } + /** + * @return int + */ + public function getPremium(): int + { + return $this->premium; + } + + /** + * @param int $premium + * @return User + */ + public function setPremium(int $premium) + { + $this->premium = $premium; + return $this; + } + /** * Returns user level * @param $exp diff --git a/resources/lang/en/city.php b/resources/lang/en/city.php new file mode 100644 index 00000000..fb6a671b --- /dev/null +++ b/resources/lang/en/city.php @@ -0,0 +1,28 @@ + Library Strings + 'city_library_not_enough_gold' => 'Not enough gold.', + 'city_library_not_enough_hellstone' => 'Not enough hellstone.', + 'city_library_name_change_success' => 'Name change success.', + + // City -> Church Strings + 'city_church_healing_success' => 'The reverend tends to your wounds and you immediately feel better.', + + // City -> Graveyard Strings + 'city_graveyard_gravedigger' => 'Gravedigger', + 'city_graveyard_graveyard_gardener' => 'Graveyard Gardener', + 'city_graveyard_corpse_predator' => 'Corpse Predator', + 'city_graveyard_graveyard_guard' => 'Graveyard Guard', + 'city_graveyard_employee_manager' => 'Employee Manager', + 'city_graveyard_tombstone_designer' => 'Tombstone Designer', + 'city_graveyard_crypt_designer' => 'Crypt Designer', + 'city_graveyard_graveyard_manager' => 'Graveyard Manager', + 'city_graveyard_graveyard_master' => 'Graveyard Master', +]; \ No newline at end of file diff --git a/resources/lang/en/clan.php b/resources/lang/en/clan.php new file mode 100644 index 00000000..6f13e3f1 --- /dev/null +++ b/resources/lang/en/clan.php @@ -0,0 +1,16 @@ + 'Homepage', + 'clan_homepage_header' => 'set as homepage', + 'clan_rename_rename_clan' => 'rename clan', + 'clan_rename_new_name' => 'New clan name', + 'clan_rename_new_tag' => 'New clan tag', +]; \ No newline at end of file diff --git a/resources/lang/en/home.php b/resources/lang/en/home.php index b0ce5c1b..6216f25c 100644 --- a/resources/lang/en/home.php +++ b/resources/lang/en/home.php @@ -32,4 +32,10 @@ 'home_register_activation_info' => 'An e-mail containing your activation link will be sent to your email address. Please activate the account within the next 3 days.', 'home_register_accept_agb' => 'I accept the Terms and Conditions.', + // Highscore Strings + 'highscore_my_position' => 'My position', + 'highscore_player_highscore' => 'Player - Highscore', + 'highscore_clan_highscore' => 'Clan - Highscore', + 'highscore_show_limit' => '(Maximum of 5 options possible)', + ]; \ No newline at end of file diff --git a/resources/views/city/voodoo.blade.php b/resources/views/city/voodoo.blade.php new file mode 100644 index 00000000..c26409a7 --- /dev/null +++ b/resources/views/city/voodoo.blade.php @@ -0,0 +1,136 @@ +@extends('index') + +@section('content') +
Welcome to the Voodoo Shop, a really wondrous place. With a short look into the shop you can guess what kind of mysterious items might be hidden here. Suddenly a goblin appears behind the dusty bar and bows to you: "What can I do for you, Sir?"
+ +Your possessions: {{prettyNumber(user()->getGold())}} {{gold_image_tag()}} + {{prettyNumber(user()->getHellstone())}} {{hellstone_image_tag()}} +
+ |
+ How do I benefit in becoming a Shadow-Lord?++ You get nothing for now LOLLLLL + + + + + + + + + + + |
+
+ 14 days
+
+ |
+
+ You will be a Shadow-Lord until: {{date('D, d.m.Y - H:i:s', user()->getPremium())}} + |
+
+ | +
+ Metamorphosis stone+You can change your race with the metamorphosis stone. sale price: 50 {{hellstone_image_tag()}} + |
+
+
+
+
+
+
+
+
+ |
+
+