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
  • furniturestate

furniturestate · Changes

Page history
updated examples authored May 15, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 26 additions and 2 deletions
+26 -2
  • Skills/Mechanics/furniturestate.md Skills/Mechanics/furniturestate.md +26 -2
  • No files found.
Skills/Mechanics/furniturestate.md
View page @ afdbda5c
......@@ -8,9 +8,33 @@ Sets the casting Furniture's [State](/Furniture#furniture-states) as the specifi
## Examples
```yaml
#ITEM CONFIG
ExampleFurniture:
Id: STONE
Display: "Example Furniture"
Type: FURNITURE
Furniture:
Material: BRICK
DefaultState: CLOSED
States:
OPEN:
Model: 6
CLOSED:
Model: 7
FurnitureSkills:
- furniturestate{state=OPEN} @self ~onInteract ?furnitureState{s=CLOSED}
- furniturestate{state=CLOSED} @self ~onInteract ?furnitureState{s=OPEN}
- skill{s=ExampleFurniture_SwitchState} @self ~onInteract
```
```yaml
#SKILL CONFIG
ExampleFurniture_SwitchState:
Conditions:
- furnitureState{s=CLOSED} orElseCast ExampleFurniture_Close
Skills:
- furniturestate{state=OPEN}
ExampleFurniture_Close:
Skills:
- furniturestate{state=CLOSED}
```
## Aliases
......
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