https://github.com/kalabasa/mini_forts
https://github.com/kalabasa/mini_forts
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kalabasa/mini_forts
- Owner: Kalabasa
- License: other
- Created: 2021-06-02T05:24:20.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T14:19:17.000Z (10 months ago)
- Last Synced: 2025-04-04T23:48:44.696Z (3 months ago)
- Language: TypeScript
- Size: 1 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# MiniForts
This is a game for [Minetest](https://www.minetest.net/).
A game about building a fort and defending against invaders.

This project is not finished and development is paused.
**Important:** Read how to play below because this game is not finished (There are no in-game tutorials).
## How to install
0. Download and install Minetest.
1. Install from package or from source. (See next sections)
2. Enable `mini_forts` clientmod.
3. Play the game on Minetest.#### From package
1. Download the release package from Github.
2. Extract the package.
3. Copy the contents of the extracted directory to Minetest's content directory. (i.e., copy `games` to `games`, `clientmods` to `clientmods`)
4. Enable `mini_forts` clientmod.#### From source
1. Clone the repo.
2. Build the project.
1. Run `yarn install` / `npm install`
2. Run `yarn build` / `npm build`
3. Copy build outputs in `dist` to Minetest's corresponding directories.
1. `ln -s //dist/games/mini_forts //games/mini_forts`
2. `ln -s //dist/clientmods/mini_forts //clientmods/mini_forts`
4. Enable `mini_forts` clientmod.## How to play
#### Controls
The controls are same as regular Minetest's controls, with some exceptions:
* Some blocks can be `Use`d.
* If you enabled the clientmod, building will use drag-n-drop gestures.
| Action | Key |
|---|---|
| Place build order / Cancel mine order | Build mouse button (default: Mouse2) |
| Place dig order / Cancel build order | Dig mouse button (default: Mouse1) |
| `Use` a block | Tap Special key (default: E) |
| While build-dragging: Lock along Y axis | Hold Special key (default: E) |
| Undo last build | Tap Drop key (default: Q) |#### Resources
Some actions require resources. The types of resources are:
* Wood
* Stone
* Metal
* SporeResources can be extracted from blocks:
* Wood - from tree wood
* Stone - from ground rocks
* Metal - from ground ores (shiny rocks)
* Spore - from fertile soil (dark soil)#### Blocks
1. **Barricade**
Wooden spike barricade. Returns damage to attackers. Cannot be stacked.
2. **Wall**
Stone wall.
3. **Door**
Wooden door. Minions can pass through doors. Can be `Use`d to manually toggle.
4. **Den**
A home for Minions. Heals wounded Minions. Can be `Use`d to spawn more Minions.
5. **Extractor**
Extracts resources from the ground. Place directly on a resource block.
6. **Ballista**
Weapon. Minions can operate this to defend the fort. Uses Metal as ammunition.
Player-built structures need support otherwise they will collapse.

## License
I haven't figured this out yet. See `LICENSE` file for more information.