Machinations Documentation
  • What is Machinations?
  • ☉Getting Started
    • Explore
    • Interface
    • Framework Basics
    • How-To Videos
  • ▷ Simulations
    • Run Modes
    • Charts
  • ⦽ Basic Nodes
    • Pools
    • Sources
    • Drains
  • ⇢ Connections
    • Resource Connections
    • State Connections
      • Label Modifiers
      • Node Modifiers
      • Triggers
      • Activators
    • Labels
  • ⧰ Advanced Nodes
  • Converters & Traders
  • Gates
    • Sorting Gates
    • Trigger Gates
    • Mixed Gates
  • Registers
    • Math.js Functions
  • Delays & Queues
  • End Conditions
  • Artificial Player
  • ✑ Nodes Properties
    • Activation Modes
    • Pulling & Pushing Resources
    • Filter (Colour Coding)
  • ⚯ Collaboration
    • Live Collaborative Editing
    • Public Diagrams
    • Google Sheets
    • Tags
  • ♔ Accounts
    • User Profile
    • Pricing
    • Billing Policy
    • Team Management
  • ☆ Tips
    • Shortcuts
    • Best Practices
  • ⚙️Unity Plugin (UP) & API
    • Game Engine Plugin
    • Quick Start
    • Main Concepts
    • Real-Time Sync
    • Unity Integration Guide
    • Known Issues
    • Key Features
      • Game-Aware Analytics
      • Local Cache
      • Game State Awareness
      • Data Formats & Handoff
  • ≏ Evolution
    • Changelog
    • Framework Diff Log
  • 〄 Localisations
  • 🇷🇺 RU by Lev "evlko" Kobelev
Powered by GitBook
On this page
  1. ⦽ Basic Nodes

Drains

destroy Resources

PreviousSourcesNextResource Connections

Last updated 4 years ago

A Resource that goes into a Drain is permanently removed from a game's economy.

A Drain has the 4 and the actions of all other Nodes.

The rate of a Drain is determined by the flow rate of its input . Some Drains consume Resources at a steady rate, while others consume Resources at random rates or intervals.

  1. Shooter: The Shoot Drain consumes 1 Ammo every time the player shoots

  2. Resource Management: The player has a cost of 1 coin every 2 weeks

  3. Brawler: During a boss fight, player takes damage anywhere between 1 to 6 Health points (D6 notion), every time the boss hits.

In the gif above, there are 3 examples of flow rates:

Find out other types of Resources flows you can design:

You can also set a Drain consume all Resource within a Pool by labelling the Resource Connection with all.

🔧
📖
🔧
Labels
Activation Modes
Pulling & Pushing
Resource Connection