Difference between revisions of "Extensions:Encounters"

From Lorekeeper Wiki
Jump to navigation Jump to search
(make page)
Tag: 2017 source edit
 
(config)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Extensioninfobox|title=the extension's name|desc=A short description|auth=Author(s)|status=status (such as WIP, testing, stable)|github={{Github|user=username|branch=branch}}|LKVer=What Lorekeeper version the ext is built on|migration=yes/no|package=yes/no}}
+
{{Extensioninfobox|title=Encounters|desc=Create interactable "encounters" users can be faced with|auth=CH3RVB, LostInProgres|status=stable + testing|github={{Github|user=CH3RVB|branch=extension\encounters}}|LKVer=2.1.2|migration=yes|package=no}}
<!-- Put a short summary of your extension here! -->
+
 
 +
Users can face "encounters" which are created by admins in the admin panel. Encounters are randomly rolled between "areas" which can hold multiple different encounters to be faced.
 +
 
 +
Each encounter has multiple prompts a user can pick from (made by admins) which can lead to different outcomes. Rewards can be given, as well as the user's exploration energy can be altered by an encounter.
 +
 
 +
Example:
 +
 
 +
Encounter in Cave
 +
 
 +
You stumble upon a glistening rock. What do you do?
 +
* >Pick up Rock
 +
* >Walk away
 +
* >Kick it
 +
 
 +
Maybe you want "Pick up Rock" to give a rock item, "Walk away" to do nothing, and "Kick it" to take away energy. All supported by the ext.
 +
 
 +
Includes a customizable overlapping image area designed by LostInProgres. For example, you can create a standard cave background for encounters in the cave area, and you can overlay an image of a glistening rock over top of it. You can position the encounter image over the background from the encounter page itself.
 +
 
 
== Installation ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
* php artisan migrate
 +
* php artisan add-site-settings
 +
* php artisan optimize
 +
* php artisan update-extension-tracker
 +
 
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
NEW: Config file added. config\lorekeeper\encounters.php. Edit to change various functions of the ext. Right now it just dictates if encounters use characters, if currency should be used as energy, etc.
 +
 
 +
php artisan optimize after updating the file
 
== Usage ==
 
== Usage ==
 
<!-- Is there anything users should know about using your extension? -->
 
<!-- Is there anything users should know about using your extension? -->
Line 13: Line 36:
 
== See Also ==
 
== See Also ==
 
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
 
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
 

Latest revision as of 12:29, 4 November 2023

Encounters
Description Create interactable "encounters" users can be faced with
Author(s) CH3RVB, LostInProgres
Status stable + testing
Github extension\encounters
LK Version 2.1.2
Contains a Migration







Users can face "encounters" which are created by admins in the admin panel. Encounters are randomly rolled between "areas" which can hold multiple different encounters to be faced.

Each encounter has multiple prompts a user can pick from (made by admins) which can lead to different outcomes. Rewards can be given, as well as the user's exploration energy can be altered by an encounter.

Example:

Encounter in Cave

You stumble upon a glistening rock. What do you do?

  • >Pick up Rock
  • >Walk away
  • >Kick it

Maybe you want "Pick up Rock" to give a rock item, "Walk away" to do nothing, and "Kick it" to take away energy. All supported by the ext.

Includes a customizable overlapping image area designed by LostInProgres. For example, you can create a standard cave background for encounters in the cave area, and you can overlay an image of a glistening rock over top of it. You can position the encounter image over the background from the encounter page itself.

Installation

  • php artisan migrate
  • php artisan add-site-settings
  • php artisan optimize
  • php artisan update-extension-tracker

Configuration

NEW: Config file added. config\lorekeeper\encounters.php. Edit to change various functions of the ext. Right now it just dictates if encounters use characters, if currency should be used as energy, etc.

php artisan optimize after updating the file

Usage

Troubleshooting

Images

See Also