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

Last edited by Lxlp Jul 29, 2023
Page history
This is an old version of this page. You can view the most recent version or browse the history.

furnitureinventory

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
title The name displayed in the inventory The Display name of the Item
size The number of slots of the inventory 9

Examples

  FurnitureSkills:
  - FurnitureInventory{title="A Chest! more or less...";size=27} @trigger ~onInteract
  FurnitureSkills:
  - randomskill{s=
    [
      - FurnitureInventory{title="Hello";size=54}
    ],
    [
      - FurnitureInventory{title="World";size=54}
    ]
    } @trigger ~onInteract
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