https://github.com/script47/panther
A free game 'engine', with minimal modifications.
https://github.com/script47/panther
Last synced: 9 months ago
JSON representation
A free game 'engine', with minimal modifications.
- Host: GitHub
- URL: https://github.com/script47/panther
- Owner: Script47
- Created: 2013-03-31T19:13:02.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2018-06-25T20:47:45.000Z (almost 8 years ago)
- Last Synced: 2025-04-04T13:37:52.855Z (about 1 year ago)
- Language: PHP
- Size: 264 KB
- Stars: 13
- Watchers: 3
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Panther Skeleton 1.0
-
Panther is a lightweight game 'engine'(read: skeleton), to help programmers start
with something 'useful' for their text-based game adventure.
DO NOT USE THIS UNLESS TOLD OTHERWISE.
Quick Guide
- **How to create a module**
* Go to mods/
* Create a new folder for your module
* Create the main.php page
* Go to mods/home
* Edit mods/home/menu.php
- **How to disable a module**
* Go to mods/
* Find the module to disable
* Create disabled.panther in the module directory
* Simply delete the disabled.panther file to enable it again
- **How to contribute to Panther Skeleton**
* Fork it on GitHub (https://github.com/snikonet/PantherSkeleton)
* Push the update to me
* I'll review&pull it
- **How to update stats**
* Adding 10 to users strength
`$user->setStat($user->getStatId('str'), $user->getStat('str')+10);`
* Subtracting 10 from users strength
`$user->setStat($user->getStatId('str'), $user->getStat('str')-10);`
* Setting users strength to 5
`$user->setStat($user->getStatId('str'), 5);`
- **Updates**
* Hacks have been added; just create an account, and you'll see it in the menu.
- **Author notes**
Please do not resell panther, as it is intended to be open source.
www.sniko.net