Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCrucibleMythicCrucible
  • Wiki
    • Skills
    • Mechanics
  • furnitureinventory

furnitureinventory · Changes

Page history
Create Skills/Mechanics/furnitureinventory authored May 10, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 35 additions and 0 deletions
+35 -0
  • Skills/Mechanics/furnitureinventory.md Skills/Mechanics/furnitureinventory.md +35 -0
  • No files found.
Skills/Mechanics/furnitureinventory.md 0 → 100644
View page @ f9418bb9
## Description
Opens an inventory with a specified amount of slots and name to the target player. The inventory is persistent and is dropped once the Furniture breaks.
Opening inventories with different amounts of slots is **not possible**: the first time an inventory is opened, the specified amount of slots is registered as the "correct" one, and trying to use the mechanic with a different amount will not work.
It is however **possible** to change the *name* of the inventory every time it is opened, and as long as the number of slots is constant the mechanic will open the same inventory, but with the specified name as the inventory's name.
The number of slots of the inventory can be `9`,`18`,`27`,`36`,`45`,`54`.
## Attributes
| Attribute | Aliases | Description | Default Value |
|----------------|-------------|---------------------------------------------------------|---------------|
| title | | The name displayed in the inventory |The Display name of the Item|
| size | | The number of slots of the inventory | 9 |
## Examples
```yaml
FurnitureSkills:
- FurnitureInventory{title="A Chest! more or less...";size=27} @trigger ~onInteract
```
```yaml
FurnitureSkills:
- randomskill{s=
[
- FurnitureInventory{title="Hello";size=54}
],
[
- FurnitureInventory{title="World";size=54}
]
} @trigger ~onInteract
```
\ No newline at end of file
Clone repository
  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Item Options
  • Item Skills
  • Item Durability
  • Custom Blocks
  • Furniture
  • Crafting Recipes
  • Custom Bags
  • Ammo System / Guns
New Mechanics
  • Item Mechanics
  • Item Targeters
  • Item Triggers
  • Item Conditions